/* =============================================================
   PsicoMétrica — Hoja de estilos principal
   Archetype: Dark Glassmorphism (psicología/SaaS)
   ============================================================= */

/* =============================================================
   1. Tokens (design system)
   ============================================================= */
:root {
  /* Colores base */
  --bg:          #080712;
  --bg-2:        #0d0b1f;
  --bg-3:        #13112a;
  --bg-card:     rgba(255, 255, 255, 0.04);
  --bg-card-h:   rgba(255, 255, 255, 0.07);

  /* Texto */
  --ink:         #f0eeff;
  --ink-soft:    rgba(240, 238, 255, 0.65);
  --ink-mute:    rgba(240, 238, 255, 0.35);

  /* Acento principal — azul marino del logo */
  --accent:      #1266b8;
  --accent-h:    #1a7fd4;
  --accent-2:    #003664;
  --accent-3:    #7bb8e8;
  --teal:        #4ecdc4;
  --teal-soft:   rgba(78, 205, 196, 0.15);
  --rose:        #f472b6;

  /* Azul marino del logo (parte derecha del icono circular) */
  --brand-navy:  #003664;
  --brand-navy-mid: #1266b8;
  --brand-navy-light: rgba(18, 102, 184, 0.18);

  /* Glass */
  --glass:       rgba(255, 255, 255, 0.05);
  --glass-h:     rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-h: rgba(18, 102, 184, 0.45);

  /* Líneas */
  --line:        rgba(18, 102, 184, 0.12);
  --line-soft:   rgba(255, 255, 255, 0.06);

  /* Tipografía */
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif:       'Playfair Display', Georgia, serif;
  --mono:        'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Espaciado */
  --gutter:      clamp(1.25rem, 4vw, 3rem);
  --max-w:       1200px;
  --max-w-text:  700px;
  --nav-h:       72px;

  /* Radios */
  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill: 999px;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
  --shadow-accent: 0 8px 32px rgba(18, 102, 184, 0.25);
}

/* =============================================================
   2. Reset y base
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img  { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a  { color: inherit; text-decoration: none; }
p  { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.025em; }
ul, ol { list-style: none; padding: 0; }

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Defensive: .reveal con data-split nunca se queda invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem;
  background: var(--accent); color: #fff;
  z-index: 9999; border-radius: var(--r-sm);
  font-weight: 600; font-size: .875rem;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem;
  background: rgba(18, 102, 184, 0.12);
  border: 1px solid rgba(18, 102, 184, 0.25);
  border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-3);
}

/* =============================================================
   4. Tipografía
   ============================================================= */
.display-xl {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.display-xl em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-3);
}

.display-lg {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.display-lg em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-3);
}

.kicker {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =============================================================
   5. Componentes — Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--r-md);
  font-weight: 600; font-size: .9375rem;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-h) 0%, #4d9de0 100%);
  box-shadow: 0 12px 40px rgba(18, 102, 184, 0.45);
}

.btn-ghost {
  background: var(--glass);
  border: 1px solid rgba(10, 82, 152, 0.45);
  color: var(--ink-soft);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--brand-navy-light);
  border-color: var(--brand-navy-mid);
  color: var(--ink);
}

/* Botón sólido marino — para CTAs secundarios */
.btn-navy {
  background: linear-gradient(135deg, var(--brand-navy-mid) 0%, var(--brand-navy) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 54, 100, 0.4);
}
.btn-navy:hover {
  background: linear-gradient(135deg, #1266b8 0%, var(--brand-navy-mid) 100%);
  box-shadow: 0 8px 30px rgba(0, 54, 100, 0.55);
}

.btn-sm {
  padding: .55rem 1.25rem;
  font-size: .875rem;
  border-radius: var(--r-sm);
}

/* =============================================================
   5b. Componentes — Glass Card
   ============================================================= */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}

@supports not (backdrop-filter: blur(20px)) {
  .glass-card { background: rgba(13, 11, 31, 0.9); }
}

.glass-card:hover {
  background: var(--glass-h);
  border-color: var(--glass-border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(18, 102, 184, 0.15);
}

/* =============================================================
   6. Navegación
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-out), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(8, 7, 18, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  display: flex; align-items: center; gap: 2rem;
  width: 100%; max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo-psi {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-family: var(--serif);
  color: #fff;
}

.nav__logo-icon {
  height: 38px !important;
  width: 38px !important;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
  display: block;
}

.nav__links {
  display: none;
  align-items: center; gap: 1.75rem;
  margin-left: auto;
}

.nav__links a {
  font-size: .9rem; font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}

.nav__links a:hover { color: var(--ink); }

.nav__actions {
  display: flex; align-items: center; gap: .75rem;
  margin-left: auto;
}

.nav__hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: .4rem;
  cursor: pointer;
}

.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: .3s var(--ease-out);
}

.nav__hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav__mobile {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(8, 7, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex; flex-direction: column;
  padding: 2rem var(--gutter);
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
}

.nav__mobile.is-open { transform: translateX(0); }

.nav__mobile a {
  font-size: 1.5rem; font-weight: 600;
  color: var(--ink-soft);
  padding: .5rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s;
}

.nav__mobile a:hover { color: var(--ink); }

/* En móvil los CTAs viven en el menú hamburguesa: evita que el nav se corte */
@media (max-width: 719px) {
  .nav__actions { display: none; }
  .nav__inner   { gap: 1rem; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Fondo animado */
.hero__mesh {
  position: absolute; inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(18, 102, 184, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(0, 54, 100, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 80%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 75%, rgba(196, 181, 253, 0.1) 0%, transparent 45%);
  filter: blur(80px) saturate(150%);
  animation: meshDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshDrift {
  0%   { transform: scale(1) rotate(0deg); opacity: .9; }
  50%  { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1.05) rotate(-2deg); opacity: .85; }
}

/* Grid de puntos sutil */
.hero__dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin-inline: auto;
  padding: 5rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content { max-width: 620px; }

.hero__kicker {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem;
}

.hero__kicker-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(78, 205, 196, 0); }
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-3);
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
}

.hero__stat {
  display: flex; flex-direction: column;
  gap: .15rem;
}

.hero__stat-num {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__stat-label {
  font-size: .75rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

/* Visual del hero — radar chart */
.hero__visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.hero__radar-wrap {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
}

.hero__radar-glow {
  position: absolute; inset: -30%;
  background: radial-gradient(ellipse, rgba(18, 102, 184, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

/* Floating mini-cards sobre el radar */
.hero__badge {
  position: absolute;
  padding: .65rem 1rem;
  background: rgba(13,11,31,0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.hero__badge--1 { top: 10%; right: -8%; animation-delay: 0s; }
.hero__badge--2 { bottom: 20%; left: -5%; animation-delay: 1.5s; }
.hero__badge--3 { top: 58%; right: -12%; animation-delay: 0.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero__badge-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}

.hero__badge-icon--green  { background: rgba(52, 211, 153, 0.2); }
.hero__badge-icon--violet { background: rgba(18, 102, 184, 0.2); }
.hero__badge-icon--blue   { background: rgba(0, 54, 100, 0.25); }

/* =============================================================
   8. Sección: Confianza / Trust badges
   ============================================================= */
.trust {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust__inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2rem;
  text-align: center;
}

.trust__item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--ink-mute);
}

.trust__item svg { color: var(--accent); }

/* =============================================================
   9. Sección: Features
   ============================================================= */
.features {
  padding: 7rem 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-header .kicker { margin-bottom: .75rem; }

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-3);
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card__icon--violet { background: rgba(18, 102, 184, 0.15); }
.feature-card__icon--blue   { background: rgba(0, 54, 100, 0.18); }
.feature-card__icon--teal   { background: rgba(78, 205, 196, 0.15); }
.feature-card__icon--rose   { background: rgba(244, 114, 182, 0.15); }

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .6rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =============================================================
   10. Sección: Tests
   ============================================================= */
.tests-section {
  padding: 7rem 0;
}

.tests__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.test-card {
  padding: 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1.25rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.test-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.test-card__icon--bigfive  { background: rgba(18, 102, 184, 0.15); }
.test-card__icon--dass21   { background: rgba(251, 146, 60, 0.15); }
.test-card__icon--phq9     { background: rgba(244, 114, 182, 0.15); }
.test-card__icon--phqa     { background: rgba(52, 211, 153, 0.15); }
.test-card__icon--hexaco   { background: rgba(0, 54, 100, 0.18); }

.test-card__info h3 {
  font-size: 1rem; font-weight: 600;
  margin-bottom: .3rem;
  letter-spacing: -0.01em;
}

.test-card__info p {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: .75rem;
}

.test-card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem;
}

.test-card__pill {
  padding: .2rem .65rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 500;
  color: var(--ink-mute);
}

.test-card__arrow {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s var(--ease-out);
  font-size: 1.2rem;
  align-self: center;
}

.test-card:hover .test-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.tests__cta {
  text-align: center;
}

/* =============================================================
   11. Sección: Cómo funciona
   ============================================================= */
.how {
  padding: 7rem 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 50%, transparent 100%);
}

.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
}

.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: .875rem; font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.step__content h3 {
  font-size: 1.125rem; font-weight: 600;
  margin-bottom: .5rem;
  letter-spacing: -0.01em;
}

.step__content p {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =============================================================
   12. Sección: Panel Profesional
   ============================================================= */
.professional {
  padding: 7rem 0;
}

.professional__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.professional__content .kicker { margin-bottom: 1rem; }

.professional__content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.professional__content h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-3);
}

.professional__content p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.professional__list {
  display: flex; flex-direction: column; gap: .9rem;
  margin-bottom: 2rem;
}

.professional__list-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.professional__list-item::before {
  content: '';
  width: 20px; height: 20px;
  background: rgba(78, 205, 196, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234ecdc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Panel preview mockup */
.professional__mockup {
  background: var(--bg-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: .75rem;
}

.mockup__dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup__dot--r { background: #ff5f57; }
.mockup__dot--y { background: #ffbd2e; }
.mockup__dot--g { background: #28ca41; }

.mockup__title {
  margin-left: auto;
  font-size: .8125rem; font-weight: 600;
  color: var(--ink-mute);
  font-family: var(--mono);
}

.mockup__body {
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.mockup__row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  background: var(--glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-size: .8125rem;
}

.mockup__alias { font-weight: 600; color: var(--ink); }
.mockup__test  { color: var(--ink-mute); }
.mockup__token { font-family: var(--mono); font-size: .75rem; color: var(--accent-3); letter-spacing: .05em; }

.mockup__badge {
  padding: .2rem .6rem;
  border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 600;
}

.mockup__badge--done    { background: rgba(52,211,153,.15); color: #34d399; }
.mockup__badge--pending { background: rgba(251,146,60,.15); color: #fb923c; }

/* =============================================================
   13. Sección: Stats
   ============================================================= */
.stats {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 50%, transparent 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item__num {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .4rem;
}

.stat-item__label {
  font-size: .875rem;
  color: var(--ink-mute);
  letter-spacing: .02em;
}

/* =============================================================
   14. Sección: Pricing teaser
   ============================================================= */
.pricing-teaser {
  padding: 7rem 0;
}

.pricing-teaser__inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding: 4rem var(--gutter);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pricing-teaser__inner .kicker { margin-bottom: 1rem; }

.pricing-teaser__inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.pricing-teaser__inner p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.pricing-teaser__plans {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-bottom: 2rem;
}

.pricing-teaser__plan {
  padding: .5rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-size: .875rem;
  color: var(--ink-soft);
}

.pricing-teaser__plan strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--line-soft);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand .nav__logo {
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: .875rem;
  color: var(--ink-mute);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer__crisis {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(244, 114, 182, 0.08);
  border: 1px solid rgba(244, 114, 182, 0.2);
  border-radius: var(--r-md);
  font-size: .8125rem; font-weight: 500;
  color: var(--rose);
}

.footer__nav h4 {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
}

.footer__nav ul {
  display: flex; flex-direction: column; gap: .6rem;
}

.footer__nav a {
  font-size: .9rem;
  color: var(--ink-soft);
  transition: color .2s;
}

.footer__nav a:hover { color: var(--ink); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: var(--ink-mute);
}

.footer__legal {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
}

.footer__legal a {
  color: var(--ink-mute);
  transition: color .2s;
}

.footer__legal a:hover { color: var(--ink-soft); }

/* =============================================================
   16. Animaciones de entrada (reveal)
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 720px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .nav__mobile { display: none; }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .hero__content { max-width: none; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .tests__grid    { grid-template-columns: 1fr; }
  .how__steps     { grid-template-columns: 1fr; }

  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .features__grid  { grid-template-columns: repeat(4, 1fr); }

  .professional__inner {
    grid-template-columns: 1fr 1.1fr;
  }
}

@media (min-width: 1280px) {
  .hero__inner { padding-top: 7rem; }
  .how__steps  { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   18. Reduced-motion: solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero__mesh { animation: none; }
  .hero__badge { animation: none; }
  .hero__kicker-dot { animation: none; }
}

/* =============================================================
   19. SVG Radar chart (hero visual)
   ============================================================= */
.radar-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.radar-axis { stroke: rgba(255,255,255,0.08); stroke-width: 1; fill: none; }
.radar-ring { stroke: rgba(255,255,255,0.05); stroke-width: 1; fill: none; }
.radar-area { fill: rgba(18, 102, 184, 0.2); stroke: var(--accent); stroke-width: 2; }
.radar-area-2 { fill: rgba(78,205,196,0.15); stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 4 3; }
.radar-dot  { fill: var(--accent); }

/* Animación de la línea del radar */
.radar-area {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawRadar 2s var(--ease-out) 0.5s forwards;
}

@keyframes drawRadar {
  to { stroke-dashoffset: 0; }
}

.radar-area-fill {
  opacity: 0;
  animation: fadeRadar 1s var(--ease-out) 2.2s forwards;
}

@keyframes fadeRadar {
  to { opacity: 1; }
}
