/* =========================================================
   WAVIA · styles.css
   Sistema basado en design-tokens.md
   Paleta: Deep Space + Wave (Signal · Pulse · Mist)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --wavia-signal: #0066FF;
  --wavia-pulse:  #22C7FF;
  --wavia-mist:   #7AE3FF;
  --deep-space:   #0A0E1A;

  /* Neutros */
  --surface:  #151A2B;
  --surface-2: #1B2236;
  --border:   #232940;
  --border-2: #2C3550;
  --muted:    #8A93A8;
  --soft:     #D4DAEB;
  --pure:     #FFFFFF;

  /* Gradients */
  --gradient-wave-flow: linear-gradient(135deg, #8B5CF6 0%, #22C7FF 50%, #F0F9FF 100%);
  --gradient-text-pulse: linear-gradient(90deg, #22C7FF 0%, #7AE3FF 60%, #F0F9FF 100%);
  --gradient-cta: linear-gradient(180deg, #1A8CFF 0%, #0066FF 100%);
  --gradient-card: linear-gradient(180deg, rgba(34,199,255,0.06) 0%, rgba(10,14,26,0) 60%);

  /* Glows */
  --glow-hero: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(34,199,255,0.55) 0%, rgba(0,102,255,0.25) 30%, rgba(0,102,255,0) 70%);
  --glow-card: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(0,102,255,0.45) 0%, rgba(34,199,255,0.18) 35%, transparent 70%);
  --glow-cta:  radial-gradient(ellipse 75% 60% at 50% 100%, rgba(34,199,255,0.65) 0%, rgba(0,102,255,0.35) 30%, transparent 70%);

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px; --s-24: 96px; --s-32: 128px;

  /* Radius */
  --r-sm: 8px;  --r-md: 14px; --r-lg: 22px;
  --r-xl: 32px; --r-pill: 999px;

  /* Container */
  --container: 1200px;
  --container-narrow: 880px;

  /* Type scales */
  --fs-display: clamp(2.75rem, 6.5vw, 5.5rem);
  --fs-h1:      clamp(2.25rem, 4.5vw, 3.75rem);
  --fs-h2:      clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-h3:      1.375rem;
  --fs-lead:    1.0625rem;
  --fs-body:    1rem;
  --fs-ui:      0.875rem;
  --fs-caption: 0.75rem;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--deep-space);
  color: var(--soft);
  font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Sutil grano + halo de fondo global */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(34,199,255,0.08), transparent 70%),
    radial-gradient(900px 500px at 100% 10%, rgba(139,92,246,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--pure);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(34,199,255,0.35); color: var(--pure); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.container--narrow { max-width: var(--container-narrow); }

/* ---------- Utilities ---------- */
.text-gradient {
  background: var(--gradient-text-pulse);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px;
  background: rgba(34,199,255,0.08);
  border: 1px solid rgba(34,199,255,0.22);
  border-radius: var(--r-pill);
  font-family: "Inter Tight", sans-serif;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wavia-pulse);
}
.pill--link { transition: all .2s var(--ease); }
.pill--link:hover {
  background: rgba(34,199,255,0.14);
  border-color: rgba(34,199,255,0.4);
}
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--wavia-pulse);
  box-shadow: 0 0 12px var(--wavia-pulse);
  animation: pulse 1.8s ease-in-out infinite;
}
.pill__arrow { font-weight: 500; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 12px 22px;
  font-family: "Inter Tight", sans-serif;
  font-size: var(--fs-ui);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 0.8125rem; }
.btn--lg { padding: 15px 28px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--gradient-cta);
  color: var(--pure);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 10px 30px -8px rgba(0,102,255,0.55),
    0 0 0 1px rgba(34,199,255,0.35);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 14px 36px -8px rgba(0,102,255,0.7),
    0 0 0 1px rgba(34,199,255,0.55);
}

.btn--ghost {
  background: rgba(255,255,255,0.02);
  color: var(--soft);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: rgba(34,199,255,0.06);
  border-color: rgba(34,199,255,0.45);
  color: var(--pure);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10,14,26,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(34,199,255,0.18); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-6);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__brand { display: flex; align-items: center; gap: var(--s-2); }
.nav__brand img { height: 30px; width: auto; display: block; }

.nav__menu { display: flex; gap: var(--s-8); }
.nav__link {
  font-size: var(--fs-ui);
  color: var(--muted);
  font-weight: 500;
  transition: color .2s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--pure); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--wavia-pulse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; gap: var(--s-3); align-items: center; }

@media (max-width: 800px) {
  .nav__menu { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--s-20) 0 var(--s-16);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 1200px;
  height: 600px;
  transform: translateX(-50%);
  background: var(--glow-hero);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,199,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,199,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: var(--fs-display);
  margin-top: var(--s-8);
  margin-bottom: var(--s-6);
  letter-spacing: -0.035em;
}
.hero__lead {
  color: var(--muted);
  font-size: var(--fs-lead);
  max-width: 580px;
  margin: 0 auto var(--s-12);
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s-16);
}

/* Trust bar */
.trust {
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.05);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.trust__label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-6);
}
.trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-6);
}
.trust__logo {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.65;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.trust__logo--dot { opacity: 0.3; }
.trust__logo:not(.trust__logo--dot):hover {
  opacity: 1;
  color: var(--soft);
}

/* ============================================================
   SECTION (genérico)
   ============================================================ */
.section {
  padding: var(--s-32) 0;
  position: relative;
}
.section--tight { padding: var(--s-20) 0; }

.section__head { margin-bottom: var(--s-16); }
.section__head--center { text-align: center; }

.section__title {
  font-size: var(--fs-h2);
  margin: var(--s-4) 0 var(--s-4);
  letter-spacing: -0.025em;
}
.section__lead {
  color: var(--muted);
  font-size: var(--fs-lead);
  max-width: 580px;
  margin: var(--s-4) auto 0;
  line-height: 1.55;
}

/* ============================================================
   FEATURES (Por qué WAVIA — grid 2x2)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
.feature {
  position: relative;
  padding: var(--s-12);
  background:
    var(--gradient-card),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.feature:hover {
  border-color: rgba(34,199,255,0.32);
  transform: translateY(-3px);
}
.feature__glow {
  position: absolute;
  left: 50%; bottom: -50%;
  width: 110%;
  height: 100%;
  transform: translateX(-50%);
  background: var(--glow-card);
  filter: blur(30px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  transition: opacity .35s var(--ease);
}
.feature:hover .feature__glow { opacity: 1; }

.feature__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
  color: var(--wavia-pulse);
  margin-bottom: var(--s-8);
}
.feature__icon svg { width: 28px; height: 28px; }

.feature__title {
  font-size: 1.375rem;
  margin-bottom: var(--s-3);
}
.feature__copy {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .feature { padding: var(--s-8); }
}

/* ============================================================
   PROCESS (3 cards)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.process__step {
  position: relative;
  padding: var(--s-12) var(--s-8);
  text-align: center;
  background:
    var(--gradient-card),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.process__step:hover {
  transform: translateY(-3px);
  border-color: rgba(34,199,255,0.3);
}
.process__glow {
  position: absolute;
  left: 50%; bottom: -60%;
  width: 130%;
  height: 100%;
  transform: translateX(-50%);
  background: var(--glow-card);
  filter: blur(36px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.process__num {
  font-family: "Inter Tight", sans-serif;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--wavia-pulse);
  margin-bottom: var(--s-6);
}
.process__bubble {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto var(--s-6);
  background: radial-gradient(circle at 50% 30%, rgba(34,199,255,0.25), rgba(0,102,255,0.08) 70%);
  border: 1px solid rgba(34,199,255,0.4);
  box-shadow:
    0 0 0 6px rgba(34,199,255,0.06),
    0 0 30px -4px rgba(34,199,255,0.5);
  color: var(--wavia-pulse);
}
.process__bubble svg { width: 32px; height: 32px; }

.process__title { font-size: 1.25rem; margin-bottom: var(--s-3); }
.process__copy { color: var(--muted); font-size: 0.9375rem; }

@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; }
}

/* ============================================================
   SPLIT (Adiós plantillas / Pensamos antes)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

.split__card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  background:
    var(--gradient-card),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  align-items: center;
}
.split__card--reverse { grid-template-columns: 1.05fr 1fr; }

.split__body { padding: var(--s-16) var(--s-12); }
.split__title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  margin-bottom: var(--s-4);
}
.split__copy {
  color: var(--muted);
  margin-bottom: var(--s-8);
  max-width: 380px;
  line-height: 1.55;
}

.split__visual {
  position: relative;
  height: 320px;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,102,255,0.35), transparent 60%);
  display: grid; place-items: center;
}

/* Devices stack (left card visual) */
.split__device {
  position: absolute;
  width: 110px; height: 130px;
  background: linear-gradient(180deg, #1A2238 0%, #0E1426 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 20px 40px -10px rgba(0,0,0,0.6),
    0 0 30px -5px rgba(0,102,255,0.4);
}
.split__device::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(34,199,255,0.18) 0%, rgba(34,199,255,0.03) 100%),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(255,255,255,0.04) 12px 13px);
}
.split__device--1 {
  transform: translate(-90px, 8px) rotate(-10deg);
  z-index: 1;
}
.split__device--2 {
  transform: translate(0, -10px);
  z-index: 3;
  width: 130px; height: 150px;
}
.split__device--3 {
  transform: translate(90px, 8px) rotate(10deg);
  z-index: 1;
}

/* Orbs (right card visual) */
.split__visual--orbs { padding: var(--s-12); }
.orb {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--wavia-mist), var(--wavia-signal) 70%);
  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.4),
    0 0 30px -2px rgba(34,199,255,0.55);
  animation: float 6s ease-in-out infinite;
}
.orb--1 { top: 30%; left: 22%; animation-delay: 0s; }
.orb--2 { top: 55%; left: 50%; width: 72px; height: 72px; animation-delay: -1.5s; }
.orb--3 { top: 22%; left: 65%; width: 48px; height: 48px; animation-delay: -3s; }
.orb--4 { top: 60%; left: 25%; width: 38px; height: 38px; animation-delay: -4.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 880px) {
  .split__card,
  .split__card--reverse { grid-template-columns: 1fr; }
  .split__body { padding: var(--s-12) var(--s-8); order: 2; }
  .split__visual { height: 260px; order: 1; }
  .split__card--reverse .split__body { order: 2; }
  .split__card--reverse .split__visual { order: 1; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.testimonial {
  padding: var(--s-8);
  background:
    var(--gradient-card),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.testimonial:hover {
  border-color: rgba(34,199,255,0.3);
  transform: translateY(-3px);
}
.testimonial--featured {
  border-color: rgba(34,199,255,0.35);
  box-shadow: 0 0 0 1px rgba(34,199,255,0.12), 0 30px 60px -20px rgba(0,102,255,0.35);
}
.testimonial__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wavia-mist), var(--wavia-signal));
  display: grid; place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--deep-space);
  position: relative;
}
.testimonial__avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: rgba(10,14,26,0.85);
}
.testimonial__name {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: var(--pure);
  font-size: 0.9375rem;
}
.testimonial__role {
  color: var(--muted);
  font-size: 0.8125rem;
}
.testimonial__quote {
  color: var(--soft);
  line-height: 1.6;
  font-size: 0.9375rem;
}

@media (max-width: 920px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ============================================================
   CASOS · ANTES / DESPUÉS
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.case {
  position: relative;
  padding: var(--s-3);
  background:
    var(--gradient-card),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.case:hover {
  border-color: rgba(34,199,255,0.32);
  transform: translateY(-3px);
}

.case__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--border);
}

.case__shot {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  background: var(--deep-space);
  overflow: hidden;
}
.case__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.case:hover .case__shot img { transform: scale(1.04); }

.case__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.case__tag--before {
  background: rgba(10, 14, 26, 0.6);
  color: var(--soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.case__tag--after {
  background: var(--gradient-cta);
  color: var(--pure);
  box-shadow: 0 8px 20px -6px rgba(0, 102, 255, 0.55);
  border: 1px solid rgba(34, 199, 255, 0.4);
}

.case__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-4) var(--s-3) var(--s-2);
  font-size: 0.8125rem;
}
.case__sector {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: var(--pure);
}
.case__time {
  color: var(--muted);
  letter-spacing: 0.04em;
}

.cases__note {
  text-align: center;
  margin-top: var(--s-12);
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cases__note strong {
  color: var(--wavia-pulse);
  font-weight: 600;
}

@media (max-width: 980px) {
  .cases { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  align-items: stretch;
}
.plan {
  position: relative;
  padding: var(--s-8);
  background:
    var(--gradient-card),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.plan:hover {
  border-color: rgba(34,199,255,0.32);
  transform: translateY(-3px);
}
.plan--featured {
  border-color: rgba(34,199,255,0.4);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34,199,255,0.12), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow:
    0 0 0 1px rgba(34,199,255,0.15),
    0 40px 80px -20px rgba(0,102,255,0.4);
  transform: translateY(-8px);
}
.plan--featured:hover { transform: translateY(-11px); }

.plan__ribbon {
  position: absolute;
  top: var(--s-6);
  right: var(--s-6);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--gradient-cta);
  color: var(--pure);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -5px rgba(0,102,255,0.6);
}

.plan__pattern {
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 200px;
  background-image: radial-gradient(circle at 1px 1px, rgba(34,199,255,0.18) 1px, transparent 0);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at 100% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.plan__head { margin-bottom: var(--s-8); }
.plan__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-4);
}
.plan__badge--accent {
  background: rgba(34,199,255,0.12);
  border-color: rgba(34,199,255,0.4);
  color: var(--wavia-pulse);
}
.plan__name {
  font-size: 2rem;
  margin-bottom: var(--s-3);
}
.plan__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.plan__price {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-6);
}
.plan__amount {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--pure);
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan__amount small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan__setup {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: var(--s-2);
}

.plan__list {
  flex-grow: 1;
  margin-bottom: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.plan__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  color: var(--soft);
  line-height: 1.5;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px; height: 16px;
  background:
    radial-gradient(circle, var(--wavia-pulse) 0%, var(--wavia-pulse) 30%, transparent 50%);
  border-radius: 50%;
  opacity: 0.9;
}
.plan__list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--deep-space);
  border-bottom: 1.5px solid var(--deep-space);
  transform: rotate(-45deg);
}

.pricing__note {
  text-align: center;
  margin-top: var(--s-12);
  color: var(--muted);
  font-size: 0.9375rem;
}
.pricing__note strong {
  color: var(--wavia-pulse);
  font-weight: 600;
}

@media (max-width: 980px) {
  .pricing { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-3px); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq__item {
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item[open] {
  border-color: rgba(34,199,255,0.35);
  box-shadow: 0 0 0 1px rgba(34,199,255,0.1), 0 20px 40px -15px rgba(0,102,255,0.35);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-6) var(--s-8);
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--pure);
  gap: var(--s-4);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  transition: all .25s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--soft);
  top: 50%; left: 50%;
  transition: transform .25s var(--ease);
}
.faq__icon::before {
  width: 10px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px; height: 10px;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon {
  border-color: rgba(34,199,255,0.5);
  background: rgba(34,199,255,0.12);
}
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  padding: 0 var(--s-8) var(--s-6);
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  padding: var(--s-32) 0 var(--s-32);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-final__glow {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 1400px;
  height: 800px;
  transform: translateX(-50%);
  background: var(--glow-cta);
  filter: blur(60px);
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-final__icon {
  margin: 0 auto var(--s-8);
  width: 80px; height: 80px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(34,199,255,0.25), rgba(0,102,255,0.08) 70%);
  border: 1px solid rgba(34,199,255,0.45);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(34,199,255,0.05),
    0 0 60px -5px rgba(34,199,255,0.6);
}
.cta-final__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--s-6);
  letter-spacing: -0.03em;
}
.cta-final__lead {
  color: var(--soft);
  font-size: var(--fs-lead);
  margin-bottom: var(--s-12);
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #07091A;
  border-top: 1px solid var(--border);
  padding: var(--s-16) 0 var(--s-8);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--s-16);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--border);
}
.footer__brand img,
.footer__logo { height: 34px; width: auto; display: block; margin-bottom: var(--s-4); }
.footer__tag {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 280px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}
.footer__col { display: flex; flex-direction: column; gap: var(--s-3); }
.footer__title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--pure);
  margin-bottom: var(--s-2);
}
.footer__link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.footer__link:hover { color: var(--wavia-pulse); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer__copy {
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer__social { display: flex; gap: var(--s-2); }
.footer__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.footer__icon:hover {
  color: var(--wavia-pulse);
  border-color: rgba(34,199,255,0.45);
  background: rgba(34,199,255,0.06);
}

@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--s-8); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Motion · reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
