/* ============================================================
   RUPTA STUDIOS — BLACK GLASSMORPHISM SYSTEM
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Base */
  --bg:            #030305;
  --bg-halo-1:     #12121e;
  --bg-halo-2:     #3b076415;
  --ink:           #EDEDED;
  --ink-dim:       #737373;
  --ink-faint:     #45454b;

  /* Glass */
  --glass-1:       rgba(10, 10, 14, 0.65);
  --glass-2:       rgba(15, 15, 22, 0.45);
  --glass-border:  rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-blur:    20px;
  --shadow-glass:  inset 0 1px 1px 0 rgba(255,255,255,0.06), 0 20px 50px rgba(0,0,0,0.85);

  /* Accents */
  --violet:        #7c5cff;
  --violet-dim:    #4c2fa8;
  --amber:         #ffb454;
  --flame:         #ff5c46;
  --green:         #3ddc84;

  /* Type */
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;

  /* Radii */
  --r-lg:  24px;
  --r-md:  16px;
  --r-sm:  10px;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-14: 56px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  --max-w: 1180px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient background: halos + noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 500px at 15% -5%, var(--bg-halo-2), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, var(--bg-halo-1), transparent 55%),
    radial-gradient(800px 700px at 50% 100%, var(--bg-halo-1), transparent 60%),
    var(--bg);
  filter: blur(0px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section {
  padding: var(--sp-24) var(--sp-6);
  position: relative;
}

/* ---------- Reveal on scroll ---------- */
.rv, .rv-l, .rv-r {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.rv-l { transform: translate(-18px, 0); }
.rv-r { transform: translate(18px, 0); }
.rv.in, .rv-l.in, .rv-r.in { opacity: 1; transform: translate(0,0); }

/* ---------- Glass primitives ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, var(--glass-1), var(--glass-2));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

/* Cursor spotlight — glow that follows the pointer inside glass panels */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,0.22), transparent 62%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-shell {
  position: fixed;
  top: var(--sp-4);
  left: 0;
  right: 0;
  margin-inline: auto;
  z-index: 200;
  width: min(var(--max-w), calc(100% - 32px));
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: 10px 10px 10px 20px;
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.85);
}

.nav-logo img { height: 20px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--sp-6);
  font-size: 13.5px;
  color: var(--ink-dim);
}
.nav-links a { transition: color .2s ease; white-space: nowrap; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(155deg, #2a2a33, #101014);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 8px 20px rgba(0,0,0,0.5);
  white-space: nowrap;
  transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
}

.nav-mob {
  display: none;
  background: none; border: none; color: var(--ink);
  width: 36px; height: 36px; align-items: center; justify-content: center;
}

.mob-overlay {
  position: fixed; inset: 0; z-index: 201;
  background: rgba(3,3,5,0.92);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-8);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.mob-overlay.open { opacity: 1; pointer-events: all; }
.mob-overlay a { font-size: 22px; color: var(--ink); }
.mob-cta { margin-top: var(--sp-4); padding: 12px 28px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: var(--sp-16);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}
.blob-a {
  width: 460px; height: 460px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(124,92,255,0.35), transparent 70%);
  animation: floatBlobA 16s ease-in-out infinite;
}
.blob-b {
  width: 380px; height: 380px;
  bottom: -140px; right: -80px;
  background: radial-gradient(circle, rgba(255,92,70,0.22), transparent 70%);
  animation: floatBlobB 20s ease-in-out infinite;
}
@keyframes floatBlobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, 40px) scale(1.12); }
  66%      { transform: translate(-30px, 70px) scale(0.95); }
}
@keyframes floatBlobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, -60px) scale(1.15); }
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-dim);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  width: fit-content;
  margin-bottom: var(--sp-8);
}
.dot-live { display: none; }

.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 15ch;
}
.split-words .word-inner {
  display: inline-block;
  overflow: hidden;
}
.split-words .word-inner span {
  display: inline-block;
  transform: translateY(115%);
  animation: wordUp .8s cubic-bezier(.2,.8,.15,1) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes wordUp {
  to { transform: translateY(0); }
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fff, #9d8bff 55%, #5a41c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: var(--sp-6);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: #06060a;
  background: linear-gradient(155deg, #ffffff, #cfcfe0);
  box-shadow: 0 10px 30px rgba(124,92,255,0.18), 0 1px 0 rgba(255,255,255,0.5) inset;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}

/* Continuous shine sweep — draws the eye to primary CTAs */
.shine-sweep { position: relative; overflow: hidden; }
.shine-sweep::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 30%;
  height: 220%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: rotate(12deg);
  animation: shineSweep 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shineSweep {
  0%   { left: -40%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
.nav-cta.shine-sweep::after { background: linear-gradient(115deg, transparent, rgba(255,255,255,0.25), transparent); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  transition: border-color .25s ease, transform .25s ease;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: var(--sp-10);
  margin-top: var(--sp-20);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.metric b {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.metric span {
  font-size: 12.5px;
  color: var(--ink-dim);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-8);
  margin: 0 auto var(--sp-14);
  max-width: var(--max-w);
  flex-wrap: wrap;
}
.sec-eyebrow {
  font-size: 12.5px;
  color: var(--violet);
  font-weight: 500;
  margin-bottom: var(--sp-3);
  display: block;
}
.sec-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 16ch;
}
.sec-sub {
  color: var(--ink-dim);
  max-width: 38ch;
  font-size: 15px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.svc-card {
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  overflow: hidden;
}
.svc-card .n {
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: var(--sp-6);
  display: block;
}
.svc-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.svc-card p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.port-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-5);
}
.port-card {
  grid-column: span 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.port-card.w-2 { grid-column: span 2; }
.port-card.w-4 { grid-column: span 4; }
.port-card.w-6 { grid-column: span 6; }

.port-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #0a0a0e;
  padding: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.port-thumb img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .5s ease;
  filter: saturate(0.92) brightness(0.92);
}
.port-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,3,5,0.55));
  opacity: 0;
  transition: opacity .4s ease;
}

.port-info {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}
.port-info-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-2);
}
.port-info-top h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.port-arrow { color: var(--ink-faint); transition: transform .3s ease, color .3s ease; }

.port-info p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; margin-bottom: var(--sp-4); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--ink);
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.about-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-14);
  align-items: center;
}
.about-media { position: relative; }
.about-frame {
  aspect-ratio: 4/5;
  overflow: hidden;
  padding: 0;
}
.about-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.94) contrast(1.02) brightness(0.96);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.about-stat { padding: var(--sp-4) var(--sp-3); text-align: center; }
.about-stat b { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 2px; }
.about-stat span { font-size: 11px; color: var(--ink-dim); }

.about-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: var(--sp-3) 0 var(--sp-6);
  max-width: 16ch;
}
.about-copy p {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: var(--sp-4);
}
.about-copy p strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  max-width: fit-content;
  margin: 0 auto var(--sp-14);
  padding: 6px;
  border-radius: 999px;
}
.pt-btn {
  border: none;
  background: none;
  color: var(--ink-dim);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.pt-btn.active {
  color: #06060a;
  background: linear-gradient(155deg, #fff, #d7d7ea);
}

.pricing-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
}
.plan-card {
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.popular {
  border: 1.5px solid transparent;
  background-image:
    linear-gradient(160deg, var(--glass-1), var(--glass-2)),
    conic-gradient(from var(--border-angle), #7c5cff, #ff5c46, #ffb454, #7c5cff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 25px 60px rgba(76,47,168,0.28);
  animation: spinBorder 5s linear infinite;
}
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes spinBorder { to { --border-angle: 360deg; } }
.plan-flag {
  position: absolute; top: -1px; right: var(--sp-6);
  transform: translateY(-50%);
  background: linear-gradient(120deg, #9d8bff, #5a41c9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.plan-name { font-size: 1.05rem; font-weight: 600; margin-bottom: var(--sp-2); }
.plan-desc { font-size: 13px; color: var(--ink-dim); margin-bottom: var(--sp-6); min-height: 32px; }
.plan-price-row { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-1); }
.plan-old {
  font-size: 15px;
  color: var(--ink-faint);
  text-decoration: line-through;
}
.plan-price { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; }
.plan-price sup { font-size: 15px; font-weight: 500; margin-right: 2px; }
.plan-period { font-size: 13px; color: var(--ink-dim); margin-bottom: var(--sp-6); }
.plan-feats { list-style: none; margin-bottom: var(--sp-8); flex: 1; }
.plan-feats li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: #cfcfd4;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.plan-feats li:first-child { border-top: none; }
.plan-feats svg { flex-shrink: 0; margin-top: 2px; color: var(--violet); }
.plan-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  transition: border-color .25s ease, background .25s ease;
}

.plan-card.popular .plan-cta {
  color: #06060a;
  background: linear-gradient(155deg, #fff, #cfcfe0);
  border: none;
}

/* ---------- Flash offer banner ---------- */
.flash-banner {
  max-width: var(--max-w);
  margin: var(--sp-16) auto 0;
  padding: var(--sp-10) var(--sp-10);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
  background-image:
    radial-gradient(600px 300px at 10% 0%, rgba(255,92,70,0.16), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(124,92,255,0.16), transparent 60%),
    linear-gradient(160deg, rgba(16,14,20,0.85), rgba(8,8,11,0.75)),
    conic-gradient(from var(--border-angle), #ff5c46, #ffb454, #7c5cff, #ff5c46);
  background-origin: border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 30px 70px rgba(0,0,0,0.9);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  animation: spinBorder 6s linear infinite;
}
.flash-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  background: rgba(255,180,84,0.1);
  border: 1px solid rgba(255,180,84,0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: var(--sp-5);
}
.flash-banner h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
  max-width: 22ch;
}
.flash-banner p { color: var(--ink-dim); font-size: 14.5px; max-width: 46ch; margin-bottom: var(--sp-6); }
.flash-includes { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-2); }
.flash-includes li { font-size: 13px; color: #cfcfd4; display: flex; align-items: center; gap: 6px; }
.flash-includes svg { color: var(--flame); }

.flash-right {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.flash-price-old { font-size: 14px; color: var(--ink-faint); text-decoration: line-through; }
.flash-price { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: var(--sp-2) 0; }
.flash-price sup { font-size: 18px; font-weight: 600; }
.flash-slots { font-size: 12.5px; color: var(--flame); margin-bottom: var(--sp-6); font-weight: 500; }

.btn-flash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  background: linear-gradient(120deg, var(--flame), #ff8a4c);
  box-shadow: 0 0 0 0 rgba(255,92,70,0.55);
  animation: flashPulse 2.2s infinite;
}
@keyframes flashPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,92,70,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(255,92,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,92,70,0); }
}

/* ============================================================
   TECH / GUARANTEE
   ============================================================ */
.tech-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.tech-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.tech-stat { padding: var(--sp-6); }
.tech-stat b { font-size: 1.8rem; font-weight: 600; display: block; margin-bottom: 4px; letter-spacing: -0.02em; }
.tech-stat span { font-size: 12.5px; color: var(--ink-dim); }

.stack-chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #d8d8dc;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  white-space: nowrap;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--sp-3);
  width: max-content;
  animation: marqueeScroll 18s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6) 4px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
}
.faq-q .ico { flex-shrink: 0; color: var(--ink-dim); transition: transform .3s ease; }
.faq-item.open .ico { transform: rotate(45deg); color: var(--violet); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-in { padding: 0 4px var(--sp-6); color: var(--ink-dim); font-size: 14.5px; line-height: 1.65; max-width: 62ch; }
.faq-a-in strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-14);
}
.contact-grid h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: var(--sp-4); }
.contact-grid > div:first-child > p { color: var(--ink-dim); margin-bottom: var(--sp-8); max-width: 40ch; }
.cd { display: flex; flex-direction: column; gap: var(--sp-5); }
.cd-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); display: block; margin-bottom: 6px; }
.cd a, .cd-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); }

form { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-8); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: 12.5px; color: var(--ink-dim); }
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: rgba(124,92,255,0.5); }
.fg textarea { resize: vertical; min-height: 90px; }
.fg select { appearance: none; -webkit-appearance: none; }
.form-hint { font-size: 12px; color: var(--ink-faint); }
.form-sub {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 14.5px;
  color: #06060a;
  background: linear-gradient(155deg, #fff, #cfcfe0);
  border: none;
  transition: transform .2s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: var(--sp-16) var(--sp-6) var(--sp-8); border-top: 1px solid rgba(255,255,255,0.06); }
.ft-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.ft-logo img { height: 18px; margin-bottom: var(--sp-2); }
.ft-tag { font-size: 12.5px; color: var(--ink-faint); }
.ft-social { display: flex; gap: var(--sp-5); font-size: 13.5px; color: var(--ink-dim); }

.ft-bottom {
  max-width: var(--max-w);
  margin: var(--sp-8) auto 0;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-2);
  font-size: 12px; color: var(--ink-faint);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 150;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #25D366, #128C4A);
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  transition: transform .25s ease;
}

/* ============================================================
   HOVER STATES (pointer devices only)
   Wrapped in @media (hover: hover) so touch devices never get a
   hover state "stuck" after a tap/scroll.
   ============================================================ */
@media (hover: hover) {
  .glass:hover { border-color: var(--glass-border-hover); }
  .glass:hover::before { opacity: 1; }

  .nav-links a:hover { color: var(--ink); }
  .nav-cta:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-1px); }

  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(124,92,255,0.28); }
  .btn-ghost:hover { border-color: var(--glass-border-hover); transform: translateY(-2px); }

  .port-card:hover .port-thumb img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }
  .port-card:hover .port-thumb::after { opacity: 1; }
  .port-card:hover .port-arrow { transform: translate(3px,-3px); color: var(--violet); }

  .plan-cta:hover { border-color: var(--glass-border-hover); }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .cd a:hover { color: var(--violet); }
  .form-sub:hover { transform: translateY(-1px); }
  .ft-social a:hover { color: var(--ink); }
  .wa-float:hover { transform: scale(1.08); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  section { padding: var(--sp-20) var(--sp-6); }
  .hero { padding-top: 120px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mob { display: flex; width: 44px; height: 44px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .port-grid { gap: var(--sp-4); }
  .port-card, .port-card.w-2, .port-card.w-4 { grid-column: span 6; }
  .pricing-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .flash-banner { grid-template-columns: 1fr; padding: var(--sp-8); gap: var(--sp-6); }
  .tech-wrap { grid-template-columns: 1fr; gap: var(--sp-6); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-wrap { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-frame { max-width: 340px; margin: 0 auto; }
  .about-stats { max-width: 340px; margin: var(--sp-4) auto 0; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .sec-head { margin-bottom: var(--sp-10); }
}
@media (max-width: 620px) {
  section { padding: var(--sp-16) var(--sp-4); }
  .wrap { padding: 0 var(--sp-4); }
  .hero { padding-top: 110px; padding-bottom: var(--sp-12); }
  .hero h1 { max-width: 100%; }
  .hero-actions { gap: var(--sp-3); }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; padding: 15px 20px; }
  .hero-metrics { gap: var(--sp-4); margin-top: var(--sp-12); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: var(--sp-6) var(--sp-5); }
  .port-info { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
  .frow { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: var(--sp-8); gap: var(--sp-4); }
  .pricing-toggle { margin-bottom: var(--sp-10); width: 100%; }
  .pt-btn { flex: 1; padding: 12px 16px; }
  .flash-banner { padding: var(--sp-6); border-radius: 20px; }
  .flash-right { padding: var(--sp-6) var(--sp-4); }
  form { padding: var(--sp-6); }
  .form-sub { padding: 15px; }
  .ft-wrap { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 48px; height: 48px; bottom: var(--sp-4); right: var(--sp-4); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
