:root {
  color-scheme: dark;
  --void: #020408;
  --abyss: #060a10;
  --depth: #0a0f18;
  --shelf: #111827;
  --cloud: #1a2236;
  --surface: #1e293b;
  --text-pure: #f8fafc;
  --text-body: #cbd5e1;
  --text-soft: #94a3b8;
  --text-ghost: #475569;
  --ray: #67e8f9;
  --glow: #a5f3fc;
  --aurora: #6ee7b7;
  --bloom: #c4b5fd;
  --warm: #fbbf24;
  --pulse: #fb7185;
  --line: rgba(248, 250, 252, 0.06);
  --line-strong: rgba(103, 232, 249, 0.3);
  --gradient-brand: linear-gradient(135deg, #67e8f9 0%, #a5f3fc 25%, #6ee7b7 50%, #a78bfa 75%, #67e8f9 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(103,232,249,0.12), rgba(110,231,183,0.06), rgba(167,139,250,0.04));
  --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(103,232,249,0.08), transparent 60%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 60px rgba(103,232,249,0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --glass: rgba(10, 15, 24, 0.65);
  --glass-border: rgba(248, 250, 252, 0.06);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--void);
  color: var(--text-pure);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }

/* ===== GLOBAL POLISH: scrollbar, selection, focus ===== */
::selection {
  background: rgba(103, 232, 249, 0.28);
  color: var(--text-pure);
}

* { scrollbar-width: thin; scrollbar-color: rgba(103,232,249,0.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(103,232,249,0.35), rgba(167,139,250,0.3));
  border-radius: 999px;
  border: 2px solid var(--void);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(103,232,249,0.6), rgba(167,139,250,0.5));
}

/* Visible keyboard focus without affecting mouse users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ray);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.gradient-text {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 8s ease-in-out infinite;
}

@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.site-shell > main,
.site-shell > footer {
  position: relative;
  z-index: 1;
}

/* El <header> del nav contiene el .top-nav (position: fixed). Como <header> es
   relative con z-index, crea un stacking context que "atrapa" al nav: sin esto,
   <main> (mismo z-index pero posterior en el DOM) se pinta ENCIMA del nav al
   hacer scroll y bloquea sus clicks. Elevamos ese header por encima de main.
   Los modales (z-index 9999, fuera de .site-shell) siguen quedando por arriba. */
.site-shell > header {
  position: relative;
  z-index: 100;
}

/* OJO: las subpaginas (pricing, features, terms, ...) tienen un SEGUNDO
   <header> que es el banner del titulo (.page-hero / .legal-hero). Eso tambien
   es hijo de .site-shell, asi que si lo dejaramos en z-index:100 (como el del
   nav) y al ir despues en el DOM, volveria a taparse el nav. Lo tratamos como
   contenido normal (z-index:1) para que pase POR DEBAJO de la barra fija. */
.site-shell > header.page-hero,
.site-shell > header.legal-hero {
  z-index: 1;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--noise);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== ANIMATED ORBS ===== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb-1 {
  width: 700px; height: 700px;
  top: -250px; left: -200px;
  background: radial-gradient(circle, rgba(103,232,249,0.25), transparent 70%);
  animation: orbFloat1 22s ease-in-out infinite;
}

.orb-2 {
  width: 550px; height: 550px;
  top: 35%; right: -180px;
  background: radial-gradient(circle, rgba(167,139,250,0.18), transparent 70%);
  animation: orbFloat2 28s ease-in-out infinite;
}

.orb-3 {
  width: 450px; height: 450px;
  bottom: -120px; left: 25%;
  background: radial-gradient(circle, rgba(110,231,183,0.15), transparent 70%);
  animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 80px) scale(1.12); }
  66% { transform: translate(-50px, 120px) scale(0.88); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-120px, -100px) scale(1.18); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -70px) scale(1.1); }
}

/* ===== GRID OVERLAY ===== */
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,232,249,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,232,249,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}

/* ===== NAVIGATION ===== */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 10, 16, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
}

.nav-inner {
  width: min(1280px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--void);
  background: transparent;
  background-size: 200% 200%;
  font-size: 15px;
  font-weight: 700;
  box-shadow:
    0 0 20px rgba(103,232,249,0.25),
    0 0 60px rgba(103,232,249,0.08),
    inset 0 1px 0 rgba(255,255,255,0.2);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 200ms, transform 200ms;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-pure); transform: translateY(-1px); }

.nav-menu-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  color: var(--text-pure);
  background: rgba(255,255,255,0.04);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(248,250,252,0.08);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  color: var(--text-pure);
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 250ms cubic-bezier(.22,1,.36,1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  opacity: 0;
  transition: opacity 200ms;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(103,232,249,0.2);
  box-shadow: 0 8px 32px rgba(103,232,249,0.06), 0 0 0 1px rgba(103,232,249,0.05);
}

.btn:hover::before { opacity: 1; }

.btn:active { transform: translateY(0) scale(0.985); transition-duration: 80ms; }
.btn.primary:active { transform: translateY(-1px) scale(0.99); }

.btn.primary {
  color: var(--void);
  border-color: transparent;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: shimmerText 6s ease-in-out infinite;
  box-shadow:
    0 4px 16px rgba(103,232,249,0.2),
    0 12px 40px rgba(103,232,249,0.12),
    inset 0 1px 0 rgba(255,255,255,0.25);
  font-weight: 700;
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(103,232,249,0.3),
    0 20px 60px rgba(103,232,249,0.15),
    0 0 0 2px rgba(103,232,249,0.1);
}

.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--line); }

.btn.large { min-height: 52px; padding: 0 28px; font-size: 15px; border-radius: 14px; }
.btn.xl { min-height: 60px; padding: 0 40px; font-size: 17px; border-radius: 16px; letter-spacing: -0.02em; }

.glow-btn { position: relative; overflow: hidden; }
.glow-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 35% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  border: 1px solid rgba(103,232,249,0.15);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ray);
  background: rgba(103,232,249,0.04);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 40px;
  box-shadow: 0 0 30px rgba(103,232,249,0.05), inset 0 1px 0 rgba(103,232,249,0.08);
  letter-spacing: -0.01em;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 16px rgba(103,232,249,0.8), 0 0 4px rgba(103,232,249,1);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 16px rgba(103,232,249,0.6); }
  50% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 24px rgba(103,232,249,1); }
}

.hero-title {
  margin-bottom: 32px;
}

.hero-line {
  display: block;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -2px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-accent {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 6s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(103,232,249,0.2));
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* HERO SCREEN MOCKUP */
.hero-screen {
  position: relative;
  max-width: 880px;
  margin: 72px auto 0;
  border-radius: 24px;
  border: 1px solid rgba(103,232,249,0.1);
  background: linear-gradient(180deg, rgba(17,24,39,0.95), var(--depth));
  box-shadow:
    0 0 0 1px rgba(103,232,249,0.04),
    0 8px 40px rgba(0,0,0,0.5),
    0 40px 120px rgba(0,0,0,0.6),
    0 0 160px rgba(103,232,249,0.04),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  animation: screenFloat 8s ease-in-out infinite;
}

@keyframes screenFloat {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-6px) rotateX(0.5deg); }
}

.screen-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
}

.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; box-shadow: inset 0 -1px 1px rgba(0,0,0,0.2); }
.dot.yellow { background: #febc2e; box-shadow: inset 0 -1px 1px rgba(0,0,0,0.2); }
.dot.green { background: #28c840; box-shadow: inset 0 -1px 1px rgba(0,0,0,0.2); }

.screen-url {
  margin-left: 20px;
  color: var(--text-ghost);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}

.screen-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 340px;
}

.screen-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}

.sb-item {
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  color: var(--text-ghost);
  font-size: 12px;
  font-weight: 600;
  transition: all 200ms;
}

.sb-item.active {
  color: var(--text-pure);
  background: rgba(103,232,249,0.06);
  border: 1px solid rgba(103,232,249,0.15);
  box-shadow: 0 0 16px rgba(103,232,249,0.04);
}

.screen-main { padding: 24px; }

.chat-bubble {
  max-width: 82%;
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.55;
  animation: bubbleIn 700ms cubic-bezier(.22,1,.36,1) both;
}

.user-bubble {
  margin-left: auto;
  color: var(--text-pure);
  background: rgba(103,232,249,0.08);
  border: 1px solid rgba(103,232,249,0.2);
  box-shadow: 0 4px 16px rgba(103,232,249,0.04);
}

.ai-bubble {
  color: var(--text-body);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}

.ai-thinking {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aurora);
  margin-right: 8px;
  box-shadow: 0 0 8px var(--aurora);
  animation: pulse 1.5s infinite;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.live-stream {
  margin-top: 18px;
  border: 1px solid rgba(103,232,249,0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(103,232,249,0.03);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.live-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 12px var(--aurora);
  animation: pulse 2s infinite;
}

.stream-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.03);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-soft);
  animation: rowSlide 500ms ease both;
}

.stream-row:nth-child(2) { animation-delay: 120ms; }
.stream-row:nth-child(3) { animation-delay: 240ms; }
.stream-row:nth-child(4) { animation-delay: 360ms; }

@keyframes rowSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}

.check { color: var(--aurora); font-weight: 700; }
.time { color: var(--text-ghost); }

/* ===== MARQUEE ===== */
.marquee-section {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10,15,24,0.6);
  overflow: hidden;
}

.marquee-track { overflow: hidden; }

.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-stat {
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}

.marquee-stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-pure);
  margin-right: 8px;
  letter-spacing: -0.3px;
}

.marquee-divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-ghost);
  flex-shrink: 0;
  opacity: 0.5;
}

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

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 140px 0;
}

.dark-section {
  background:
    var(--gradient-glow),
    rgba(2, 4, 8, 0.8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(103,232,249,0.15);
  border-radius: 999px;
  color: var(--ray);
  background: rgba(103,232,249,0.04);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(103,232,249,0.04);
}

.massive-title {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -1.5px;
  margin-bottom: 56px;
  line-height: 1.15;
}

/* ===== GLASS CARDS ===== */
.glass {
  background: linear-gradient(165deg, rgba(17,24,39,0.8), rgba(10,15,24,0.95));
  border: 1px solid rgba(248,250,252,0.06);
  border-top-color: rgba(248,250,252,0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.35),
    0 16px 64px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ===== STEPS GRID ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  padding: 36px 30px;
  transition: all 350ms cubic-bezier(.22,1,.36,1);
}

.step-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(103,232,249,0.2);
  box-shadow:
    0 12px 40px rgba(103,232,249,0.06),
    0 32px 80px rgba(0,0,0,0.3),
    0 0 0 1px rgba(103,232,249,0.1),
    var(--shadow-glow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: shimmerText 6s ease-in-out infinite;
  color: var(--void);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(103,232,249,0.25), 0 0 0 4px rgba(103,232,249,0.05);
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.step-card p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.step-demo {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: rgba(0,0,0,0.35);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.cursor-blink {
  display: inline-block;
  width: 2px; height: 16px;
  background: var(--ray);
  margin-right: 4px;
  box-shadow: 0 0 8px var(--ray);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typed-text {
  color: var(--text-body);
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  animation: typeWriter 4.5s steps(55) infinite;
  max-width: 0;
}

@keyframes typeWriter {
  0% { max-width: 0; }
  60%, 100% { max-width: 100%; }
}

.activity-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

.glow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 10px var(--aurora);
  flex-shrink: 0;
}

.result-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(110,231,183,0.2);
  border-radius: var(--radius-sm);
  background: rgba(110,231,183,0.03);
  color: var(--aurora);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  padding: 36px 30px;
  transition: all 350ms cubic-bezier(.22,1,.36,1);
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(103,232,249,0.2);
  box-shadow:
    0 12px 40px rgba(103,232,249,0.05),
    0 24px 72px rgba(0,0,0,0.3),
    0 0 0 1px rgba(103,232,249,0.08);
}

.bento-large { grid-column: span 2; }

.bento-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  margin-bottom: 22px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(103,232,249,0.12);
  position: relative;
  box-shadow: 0 4px 20px rgba(103,232,249,0.06);
  display: grid;
  place-items: center;
}

.bento-icon::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ray);
  opacity: 0.8;
  box-shadow: 0 0 16px currentColor;
}

.memory-icon::after { background: var(--ray); border-radius: 50%; }
.research-icon::after { background: var(--bloom); }
.code-icon::after { background: var(--aurora); clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 50%); }
.image-icon::after { background: var(--warm); border-radius: 4px; }
.auto-icon::after { background: var(--pulse); border-radius: 50%; }
.team-icon::after { background: var(--bloom); border-radius: 50% 50% 0 0; }

.bento-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.bento-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ===== COMPARE TABLE ===== */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
}

.compare-col {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, rgba(17,24,39,0.7), rgba(10,15,24,0.9));
}

.compare-col.luz {
  border-color: rgba(103,232,249,0.25);
  background: linear-gradient(180deg, rgba(103,232,249,0.03), rgba(10,15,24,0.95));
  box-shadow:
    var(--shadow-md),
    0 0 80px rgba(103,232,249,0.03);
}

.col-header {
  padding: 20px 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.others .col-header {
  color: var(--text-ghost);
  background: rgba(255,255,255,0.02);
}

.luz .col-header {
  color: var(--ray);
  background: rgba(103,232,249,0.04);
}

.col-item {
  padding: 15px 26px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  transition: all 200ms;
}

.col-item:last-child { border-bottom: none; }

.others .col-item { color: var(--text-ghost); }
.luz .col-item { color: var(--text-body); }
.luz .col-item:hover { background: rgba(103,232,249,0.03); }

/* ===== SHOWCASE ===== */
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.showcase-desc {
  color: var(--text-body);
  font-size: 17px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255,255,255,0.02);
  transition: all 200ms;
}

.pill:hover {
  border-color: rgba(103,232,249,0.15);
  color: var(--ray);
}

.showcase-visual {
  position: relative;
  min-height: 420px;
  perspective: 1200px;
}

.floating-app {
  position: relative;
  width: 100%;
  height: 340px;
}

.app-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(103,232,249,0.06), transparent 70%);
  border-radius: 30px;
}

.app-window {
  position: relative;
  width: 100%; height: 100%;
  border: 1px solid rgba(248,250,252,0.1);
  border-top-color: rgba(248,250,252,0.15);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17,24,39,0.95), var(--depth));
  box-shadow:
    0 8px 40px rgba(0,0,0,0.4),
    0 40px 100px rgba(0,0,0,0.5),
    0 0 100px rgba(103,232,249,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  animation: appFloat 7s ease-in-out infinite;
}

@keyframes appFloat {
  0%, 100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-2deg) rotateX(1deg) translateY(-10px); }
}

.app-bar {
  height: 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
}

.app-content {
  display: grid;
  grid-template-columns: 52px 1fr;
  height: calc(100% - 36px);
}

.app-rail {
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}

.app-main { padding: 28px; }

.app-line {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 14px;
  animation: linePulse 3.5s ease-in-out infinite;
}

.app-line.short { width: 55%; animation-delay: 300ms; }
.app-line.medium { width: 78%; animation-delay: 600ms; }

@keyframes linePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.float-card {
  position: absolute;
  padding: 14px 20px;
  border: 1px solid rgba(248,250,252,0.1);
  border-top-color: rgba(248,250,252,0.14);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(17,24,39,0.96), rgba(10,15,24,0.99));
  backdrop-filter: blur(16px);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.35),
    0 16px 56px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.04);
  animation: floatCard 5.5s ease-in-out infinite;
}

.fc-1 { top: 8px; right: -15px; }
.fc-2 { bottom: 110px; left: -25px; animation-delay: 700ms; }
.fc-3 { bottom: 16px; right: 16px; animation-delay: 1400ms; }

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

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 180px 0;
}

.cta-title {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.cta-sub {
  color: var(--text-soft);
  font-size: 18px;
  margin-bottom: 44px;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--void);
  padding: 72px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-pure);
  letter-spacing: -0.02em;
}

.footer a, .footer p {
  display: block;
  color: var(--text-ghost);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 200ms;
}

.footer a:hover { color: var(--ray); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 900ms cubic-bezier(.22,1,.36,1) forwards;
}

.delay-1 { animation-delay: 150ms; }
.delay-2 { animation-delay: 300ms; }
.delay-3 { animation-delay: 450ms; }
.delay-4 { animation-delay: 600ms; }
.delay-5 { animation-delay: 1000ms; }

@keyframes revealUp {
  to { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
  .hero-screen { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-column: span 2; }
  .compare-table { grid-template-columns: 1fr; }
  .showcase-layout { grid-template-columns: 1fr; gap: 48px; }
  .showcase-visual { min-height: 320px; }
}

@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 72px;
    padding: 14px 0;
  }

  .brand { margin-right: auto; }

  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .top-nav.nav-open .nav-links { display: flex; }

  .nav-actions { margin-left: auto; }

  .hero { min-height: auto; padding: 120px 20px 60px; }
  .hero-line { font-size: clamp(38px, 11vw, 60px); letter-spacing: -2px; }

  .screen-body { grid-template-columns: 1fr; }
  .screen-sidebar { display: none; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .section { padding: 80px 0; }
  .massive-title { font-size: clamp(28px, 8vw, 48px); letter-spacing: -1px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal animations are JS-paused until in view; without motion we must
     guarantee content is visible even if the observer never fires. */
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .orb, .glow-btn::after { display: none !important; }
}

/* ===== PRICING PAGE ===== */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  background: var(--gradient-glow);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ray);
  font-size: 13px;
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.page-hero p { color: var(--text-soft); font-size: 16px; line-height: 1.65; }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,0.02);
  transition: all 200ms;
}

.stat:hover { border-color: rgba(103,232,249,0.15); }

.stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.stat span { color: var(--text-ghost); font-size: 12px; }

/* Plan Selector */
.purchase-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-head p { color: var(--text-soft); font-size: 15px; line-height: 1.6; max-width: 600px; }
.section-head.compact { margin-bottom: 24px; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

.plan-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.plan-selector button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text-soft);
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  font-size: 13px;
  transition: all 200ms cubic-bezier(.22,1,.36,1);
}

.plan-selector button.active, .plan-selector button:hover {
  color: var(--void);
  border-color: transparent;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: shimmerText 4s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(103,232,249,0.15);
}

.plan-preview {
  border: 1px solid rgba(103,232,249,0.15);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(103,232,249,0.02);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.plan-preview h3 {
  margin: 14px 0 10px;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.5px;
}

.plan-preview p { color: var(--text-body); line-height: 1.6; font-size: 14px; }

.plan-tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.preview-metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 200ms;
}

.preview-metrics div:hover { border-color: rgba(103,232,249,0.15); }

.preview-metrics strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.preview-metrics span { display: block; color: var(--text-ghost); font-size: 11px; margin-top: 2px; }

/* Membership Cards */
.membership-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.membership-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(17,24,39,0.6), rgba(10,15,24,0.9));
  display: flex;
  flex-direction: column;
  transition: all 300ms cubic-bezier(.22,1,.36,1);
}

.membership-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103,232,249,0.15);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), var(--shadow-glow);
}

.membership-card.featured {
  border-color: rgba(103,232,249,0.3);
  background: linear-gradient(180deg, rgba(103,232,249,0.04), rgba(10,15,24,0.95));
  box-shadow: 0 0 60px rgba(103,232,249,0.04);
}

.membership-card.featured:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 80px rgba(103,232,249,0.06);
}

.membership-head { margin-bottom: 12px; }

.price {
  margin: 12px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.price small { color: var(--text-ghost); font-size: 13px; font-weight: 400; }

.discount {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(110,231,183,0.08);
  border: 1px solid rgba(110,231,183,0.2);
  color: var(--aurora);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.membership-card > p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.plan-meta {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.plan-meta span { display: block; color: var(--text-ghost); font-size: 11px; }
.plan-meta strong { font-size: 13px; }

.plan-list {
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text-body);
  font-size: 13px;
}

.plan-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  line-height: 1.4;
}

.plan-list li::before { content: "+"; color: var(--ray); font-weight: 700; }

.guardrail {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: rgba(251,113,133,0.03);
  border: 1px solid rgba(251,113,133,0.1);
  color: var(--text-ghost);
  font-size: 12px;
  margin-bottom: 16px;
  line-height: 1.45;
}

.membership-card .btn { margin-top: auto; }

/* Compare Table (pricing) */
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table table th,
.compare-table table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-ghost);
  background: rgba(255,255,255,0.02);
}

.compare-table table td { color: var(--text-body); }
.compare-table table td:first-child { color: var(--text-pure); font-weight: 600; }

/* Scenario Grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scenario-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,0.02);
  transition: all 250ms;
}

.scenario-grid article:hover {
  border-color: rgba(103,232,249,0.15);
  transform: translateY(-4px);
}

.scenario-grid span { color: var(--text-ghost); font-size: 12px; font-weight: 600; }
.scenario-grid strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0;
  letter-spacing: -0.5px;
}
.scenario-grid p { color: var(--text-soft); font-size: 13px; line-height: 1.5; }

/* FAQ */
.band {
  background: rgba(2,4,8,0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.faq-list { display: grid; gap: 12px; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  transition: all 200ms;
}

.faq-list details[open] {
  border-color: rgba(103,232,249,0.12);
  background: rgba(103,232,249,0.02);
}

.faq-list summary {
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-list summary::before {
  content: "+";
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ray);
  transition: transform 200ms;
}

.faq-list details[open] summary::before { content: "-"; }

.faq-list details p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 28px;
}

.section.tight { padding: 80px 0; }

/* ===== AUTH PAGE ===== */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(103,232,249,0.04), transparent 40%),
    radial-gradient(ellipse at 70% 70%, rgba(167,139,250,0.03), transparent 40%),
    var(--abyss);
}

.auth-card {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: linear-gradient(180deg, rgba(17,24,39,0.8), var(--depth));
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.auth-card h1 { color: var(--text-pure); margin-bottom: 8px; font-size: 28px; letter-spacing: -1px; }
.auth-card p, .auth-card label { color: var(--text-soft); }

.form-grid { display: grid; gap: 14px; margin-top: 22px; }

.input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text-pure);
  background: rgba(255,255,255,0.03);
  outline: none;
  transition: all 200ms;
}

.input:focus {
  border-color: var(--ray);
  box-shadow: 0 0 0 3px rgba(103,232,249,0.08), 0 0 16px rgba(103,232,249,0.04);
}

.error-box {
  display: none;
  padding: 14px 16px;
  border: 1px solid rgba(251,113,133,0.25);
  border-radius: var(--radius-sm);
  color: var(--pulse);
  background: rgba(251,113,133,0.04);
  font-size: 13px;
}

.error-box.visible { display: block; }

/* ===== DASHBOARD ===== */
.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--void);
  color: var(--text-pure);
}

.dash-side {
  border-right: 1px solid var(--line);
  background: var(--abyss);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.dash-side .brand { padding: 0 8px; margin-bottom: 8px; }

.dash-side nav { display: grid; gap: 2px; margin-top: 16px; flex: 1; }

.dash-side a, .dash-side button {
  width: 100%; border: 0; border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-soft); background: transparent;
  text-align: left; font-weight: 600; font-size: 13px;
  transition: all 180ms cubic-bezier(.22,1,.36,1);
  letter-spacing: -0.01em;
  position: relative;
}

.dash-side a:hover, .dash-side button:hover {
  color: var(--text-pure);
  background: rgba(255,255,255,0.04);
}

.dash-side a.active {
  color: var(--text-pure);
  background: rgba(103,232,249,0.06);
  box-shadow: inset 3px 0 0 var(--ray);
}

.dash-main {
  min-width: 0;
  padding: 40px 48px;
  max-width: 1100px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(103,232,249,0.02), transparent 50%),
    var(--void);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.dash-top h1 { font-size: 26px; letter-spacing: -0.5px; }
.dash-top p { color: var(--text-soft); font-size: 13px; margin-top: 4px; }

.badge {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: shimmerText 6s ease-in-out infinite;
  color: var(--void);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.dash-summary-strip > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: linear-gradient(165deg, rgba(17,24,39,0.5), rgba(10,15,24,0.8));
  transition: all 200ms;
}

.dash-summary-strip > div:hover {
  border-color: rgba(103,232,249,0.12);
  transform: translateY(-2px);
}

.dash-summary-strip span { display: block; color: var(--text-ghost); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-summary-strip strong { font-size: 15px; margin-top: 6px; display: block; color: var(--text-pure); }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dash-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(175deg, rgba(17,24,39,0.6), rgba(10,15,24,0.9));
  transition: all 280ms cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}

.dash-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,0.15), transparent);
  opacity: 0;
  transition: opacity 280ms;
}

.dash-card:hover {
  border-color: rgba(103,232,249,0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 60px rgba(103,232,249,0.02);
}

.dash-card:hover::before { opacity: 1; }

.dash-card h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-card h2::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ray);
  opacity: 0.6;
  flex-shrink: 0;
}

.dash-card > p {
  color: var(--text-soft);
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.team-panel, .desktop-panel { grid-column: span 2; }

.usage-list { display: grid; gap: 8px; margin-top: 14px; }

.usage-stat {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.015);
  transition: all 200ms;
}

.usage-stat:hover {
  border-color: rgba(103,232,249,0.1);
  background: rgba(103,232,249,0.02);
}

.usage-stat strong { display: block; font-size: 14px; margin-bottom: 3px; }
.usage-stat .muted, .usage-stat span.muted { color: var(--text-ghost); font-size: 12px; line-height: 1.4; }

.light-meter {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  margin: 10px 0;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.light-meter span {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  border-radius: 4px;
  background: var(--gradient-brand);
  background-size: 200% 100%;
  animation: shimmerText 4s ease-in-out infinite;
  transition: width 600ms cubic-bezier(.22,1,.36,1);
  box-shadow: 0 0 12px rgba(103,232,249,0.3);
}

.workspace-key {
  padding: 14px 18px;
  border: 1px solid rgba(103,232,249,0.2);
  border-radius: var(--radius-sm);
  background: rgba(103,232,249,0.04);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ray);
  margin: 14px 0;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(103,232,249,0.03);
}

.desktop-link-state {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.desktop-link-state > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, rgba(17,24,39,0.4), rgba(10,15,24,0.7));
  transition: all 200ms;
}

.desktop-link-state > div:hover {
  border-color: rgba(103,232,249,0.1);
  transform: translateY(-1px);
}

.desktop-link-state span { display: block; color: var(--text-ghost); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.desktop-link-state strong { font-size: 13px; margin-top: 6px; display: block; }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.download-actions .btn.dark {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  animation: shimmerText 6s ease-in-out infinite;
  color: var(--void);
  border-color: transparent;
  font-weight: 700;
}

.download-status {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 13px;
  min-height: 20px;
}

.plan-adaptive-panel {
  border: 1px solid rgba(103,232,249,0.1);
  border-radius: var(--radius);
  padding: 24px;
  margin: 18px 0;
  background: linear-gradient(165deg, rgba(103,232,249,0.03), rgba(10,15,24,0.8));
  box-shadow: 0 0 40px rgba(103,232,249,0.02);
}

.plan-adaptive-panel span { color: var(--ray); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.plan-adaptive-panel strong { display: block; font-size: 17px; margin: 6px 0 8px; }
.plan-adaptive-panel p { color: var(--text-soft); font-size: 13px; line-height: 1.55; }

.plan-adaptive-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.plan-adaptive-metrics div {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  text-align: center;
  transition: all 200ms;
}

.plan-adaptive-metrics div:hover {
  border-color: rgba(103,232,249,0.12);
  transform: translateY(-1px);
}

.plan-adaptive-metrics strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-pure); }
.plan-adaptive-metrics span { color: var(--text-ghost); font-size: 11px; margin-top: 2px; display: block; }

.feature-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-state.is-on span { color: var(--aurora); font-weight: 600; }
.feature-state.is-off span { color: var(--text-ghost); }
.feature-state.is-on { border-left: 3px solid var(--aurora); }
.feature-state.is-off { border-left: 3px solid transparent; }

.text-link {
  color: var(--ray);
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== LEGACY (other pages) ===== */
.plans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--glass);
}

.plan-card { display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--line-strong); background: rgba(103,232,249,0.03); }

.module-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.module-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text-soft);
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  transition: all 200ms;
}

.module-tabs button.active, .module-tabs button:hover {
  color: var(--void);
  border-color: transparent;
  background: var(--gradient-brand);
}

.module-panel {
  min-height: 300px;
  border: 1px solid rgba(103,232,249,0.15);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--glass);
  box-shadow: var(--shadow-md);
}

.module-panel h3 { margin: 14px 0 10px; font-size: clamp(22px, 3.5vw, 36px); letter-spacing: -0.5px; }
.module-panel p { color: var(--text-body); line-height: 1.55; }

.mini-list { padding: 0; margin: 12px 0; list-style: none; display: grid; gap: 6px; }
.mini-list li { color: var(--text-body); font-size: 13px; padding-left: 18px; position: relative; line-height: 1.45; }
.mini-list li::before { content: "+"; position: absolute; left: 0; color: var(--ray); font-weight: 700; }

.full { width: 100%; }

/* Profile Modal */
.profile-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  padding: 24px;
}

.profile-card {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: linear-gradient(180deg, rgba(17,24,39,0.9), var(--depth));
  box-shadow: var(--shadow-lg);
}

.profile-card h2 { margin: 16px 0 8px; font-size: 24px; letter-spacing: -0.5px; }
.profile-card p { color: var(--text-soft); font-size: 14px; margin-bottom: 20px; }

.profile-kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(103,232,249,0.06);
  border: 1px solid rgba(103,232,249,0.15);
  color: var(--ray);
  font-size: 11px;
  font-weight: 700;
}

.name-options {
  display: flex; gap: 8px; margin-bottom: 16px;
}

.name-options button {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  color: var(--text-soft);
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  font-size: 13px;
  transition: all 200ms;
}

.name-options button.active {
  color: var(--void);
  border-color: transparent;
  background: var(--gradient-brand);
}

.profile-name-field { display: grid; gap: 6px; margin-bottom: 16px; color: var(--text-soft); font-size: 13px; }
.profile-error { color: var(--pulse); font-size: 13px; min-height: 20px; margin-bottom: 12px; }

/* ===== PAGE SPECIFIC RESPONSIVE ===== */
@media (max-width: 1050px) {
  .page-hero .container { grid-template-columns: 1fr; }
  .purchase-panel { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .dash-side { position: relative; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; }
  .dash-side nav { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 0; }
  .dash-side .brand { margin-right: auto; margin-bottom: 0; }
  .dash-grid { grid-template-columns: 1fr; }
  .team-panel, .desktop-panel { grid-column: span 1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); }
  .page-hero p { font-size: 14px; }
  .section { padding: 60px 0; }
  .section.tight { padding: 50px 0; }
  .cta-section { padding: 80px 0; }
  .cta-title { font-size: clamp(26px, 7vw, 40px); }
  .cta-sub { font-size: 15px; }
  .section-head h2 { font-size: clamp(24px, 6vw, 36px); }
  .membership-grid, .stat-strip, .scenario-grid { grid-template-columns: 1fr; }
  .dash-summary-strip { grid-template-columns: 1fr; }
  .desktop-link-state { grid-template-columns: 1fr; }
  .preview-metrics { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .purchase-panel { gap: 24px; }
  .plan-preview { padding: 20px; }
  .plan-preview h3 { font-size: clamp(18px, 5vw, 26px); }
  .membership-card { padding: 22px 18px; }
  .compare-table table { font-size: 12px; }
  .compare-table table th, .compare-table table td { padding: 10px 12px; }
  .faq-grid { gap: 24px; }
  .faq-list details { padding: 14px 16px; }
  .auth-card { padding: 24px 20px; }
  .auth-card h1 { font-size: 22px; }
  .dash-main { padding: 24px 16px; }
  .dash-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-top h1 { font-size: 22px; }
  .dash-card { padding: 20px; }
  .dash-card h2 { font-size: 16px; }
  .plan-adaptive-metrics { grid-template-columns: 1fr; }
  .steps-grid { gap: 14px; }
  .step-card { padding: 24px 20px; }
  .step-card h3 { font-size: 20px; }
  .bento-card { padding: 24px 20px; }
  .bento-card h3 { font-size: 18px; }
  .showcase-layout { gap: 32px; }
  .showcase-visual { min-height: 260px; }
  .floating-app { height: 260px; }
  .compare-table { gap: 14px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .footer { padding: 48px 0; }
  .footer-grid { gap: 28px; }
  .marquee-stat strong { font-size: 18px; }
  .marquee-stat { font-size: 13px; }
  .plan-selector { gap: 6px; }
  .plan-selector button { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .module-panel { min-height: auto; padding: 20px; }
  .module-panel h3 { font-size: clamp(18px, 5vw, 28px); }
  .module-tabs button { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .name-options { flex-direction: column; }
  .profile-card { padding: 24px 20px; }
  .profile-card h2 { font-size: 20px; }
  .download-actions { flex-direction: column; }
  .download-actions .btn { width: 100%; }
  .plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .hero { padding: 100px 16px 50px; }
  .hero-line { font-size: clamp(32px, 10vw, 48px); letter-spacing: -1.5px; }
  .hero-badge { font-size: 11px; padding: 0 14px; height: 34px; margin-bottom: 28px; }
  .nav-inner { padding: 12px 0; }
  .nav-actions .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .btn.xl { min-height: 50px; padding: 0 24px; font-size: 15px; }
  .btn.large { min-height: 46px; padding: 0 20px; font-size: 14px; }
  .stat strong { font-size: 22px; }
  .membership-card .price { font-size: 26px; }
  .scenario-grid strong { font-size: 18px; }
  .hero-screen { margin-top: 40px; border-radius: 16px; }
  .screen-body { min-height: 220px; }
  .feature-card { padding: 22px 18px; }
  .feature-card h3 { font-size: 17px; }
}

/* ===== FEATURES PAGE ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
  transition: all 300ms cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card::before {
  content: "";
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(103,232,249,0.12);
  flex-shrink: 0;
}

.feature-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(103,232,249,0.06)); }
.feature-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(110,231,183,0.15), rgba(103,232,249,0.06)); }
.feature-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(103,232,249,0.06)); }
.feature-card:nth-child(5)::before { background: linear-gradient(135deg, rgba(251,113,133,0.12), rgba(103,232,249,0.06)); }
.feature-card:nth-child(6)::before { background: linear-gradient(135deg, rgba(196,181,253,0.15), rgba(103,232,249,0.06)); }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103,232,249,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), var(--shadow-glow);
}

.feature-card h3 { font-size: 20px; margin-bottom: 4px; letter-spacing: -0.3px; }
.feature-card p { color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown button {
  background: none; border: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 200ms;
}
.nav-dropdown:hover button { color: var(--text-pure); }

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10,15,24,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.nav-dropdown:hover .mega-menu { display: block; }

.mega-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  transition: background 150ms;
}

.mega-menu a:hover { background: rgba(103,232,249,0.04); }
.mega-menu a strong { display: block; font-size: 14px; margin-bottom: 2px; }
.mega-menu a span { color: var(--text-ghost); font-size: 12px; }

/* ===== TIMELINE ===== */
.timeline { display: grid; gap: 16px; }

.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,0.02);
  transition: all 200ms;
}

.timeline article:hover {
  border-color: rgba(103,232,249,0.12);
}

.timeline article h3 { font-size: 18px; margin-bottom: 6px; }
.timeline article p { color: var(--text-soft); font-size: 13px; }

/* ===== LEGAL / POLICY PAGES ===== */
.legal-hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 48px;
  background: var(--gradient-glow);
  border-bottom: 1px solid var(--line);
}
.legal-hero .container { max-width: min(1080px, calc(100% - 48px)); }
.legal-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.legal-hero .lead {
  max-width: 680px;
  color: var(--text-body);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}
.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--text-soft);
  font-size: 13px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.legal-meta b { color: var(--text-pure); font-weight: 600; }

.legal-layout {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 96px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}

/* Sticky table of contents */
.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
}
.legal-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 14px;
}
.legal-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--line);
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 160ms, border-color 160ms, background 160ms;
}
.legal-toc a:hover {
  color: var(--text-pure);
  border-left-color: var(--ray);
  background: rgba(103,232,249,0.04);
}

/* Document body */
.legal-doc { max-width: 720px; }
.legal-doc h2 {
  scroll-margin-top: 96px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-doc section:first-of-type h2 { margin-top: 0; padding-top: 0; border-top: none; }
.legal-doc h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
  color: var(--text-pure);
}
.legal-doc p,
.legal-doc li {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
}
.legal-doc p { margin: 0 0 16px; }
.legal-doc ul,
.legal-doc ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.legal-doc li::marker { color: var(--ray); }
.legal-doc a:not(.btn) {
  color: var(--ray);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(103,232,249,0.4);
}
.legal-doc a:not(.btn):hover { text-decoration-color: var(--ray); }
.legal-doc strong { color: var(--text-pure); font-weight: 600; }

/* Contact / summary card */
.legal-card {
  margin: 32px 0 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gradient-subtle);
  box-shadow: var(--shadow-glow);
}
.legal-card h3 { margin-top: 0; }
.legal-card p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .legal-toc {
    position: static;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.02);
  }
  .legal-doc { max-width: 100%; }
}

/* ============================================================
   EDITORIAL PREMIUM DIRECTION  (scoped to body.editorial)
   Less glow, one accent (cyan), big confident left-aligned type.
   ============================================================ */
body.editorial .orb { display: none !important; }      /* drop the 3 generic floating orbs */
body.editorial .site-shell::before { opacity: 0.5; }    /* fainter noise */
body.editorial .site-shell::after {                      /* tighter, fainter grid */
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 70% at 70% 0%, black 10%, transparent 65%);
}

/* one calm, static light source instead of moving orbs */
.ed-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 80% at 78% -10%, rgba(103,232,249,0.12), transparent 52%),
    radial-gradient(70% 60% at -5% 10%, rgba(103,232,249,0.05), transparent 55%);
}

.ed-hero {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 5vw, 76px);
  padding: 144px 0 72px;
}

/* Centered hero statement (replaces the side "operations" panel): the copy owns
   the full width for a more premium, less template-card feel. Scoped to the
   .ed-hero-center modifier so nothing else changes. text-align inherits into the
   copy to center the kicker (inline-flex), title and subtitle; the flex rows
   (CTA, meta) are centered explicitly. */
.ed-hero-center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  min-height: 80vh;
  padding-top: clamp(150px, 19vh, 232px);
}
.ed-hero-center .ed-copy {
  max-width: 940px;
}
.ed-hero-center .ed-title {
  font-size: clamp(48px, 8vw, 112px);
  margin-bottom: 34px;
}
.ed-hero-center .ed-sub {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.ed-hero-center .ed-cta { justify-content: center; }
.ed-hero-center .ed-meta { justify-content: center; flex-wrap: wrap; row-gap: 12px; }

.ed-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
  min-width: 0;
}

.ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.ed-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--ray);
}

.ed-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--text-pure);
  margin: 0 0 30px;
}
.ed-title .mark {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(90deg, #67e8f9, #6ee7b7, #a78bfa, #67e8f9);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: markFlow 7s ease-in-out infinite;
}
.ed-title .mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.07em;
  height: 0.1em;
  border-radius: 3px;
  background: linear-gradient(90deg, #67e8f9, #6ee7b7, #a78bfa, #67e8f9);
  background-size: 250% 100%;
  box-shadow: 0 0 24px rgba(103,232,249,0.5);
  animation: markFlow 7s ease-in-out infinite;
}
@keyframes markFlow {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-title .mark, .ed-title .mark::after { animation: none; }
}

.ed-sub {
  max-width: 520px;
  margin: 0 0 38px;
  color: var(--text-body);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

.ed-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-pure);
  font-weight: 600;
  font-size: 15px;
}
.ed-link svg { transition: transform 200ms var(--ease-out, ease); }
.ed-link:hover svg { transform: translateX(5px); }

/* One accent: primary buttons become solid cyan (no rainbow) in editorial */
body.editorial .btn.primary {
  background: linear-gradient(180deg, #8af0ff 0%, #5fd9ee 100%);
  background-size: auto;
  animation: none;
  box-shadow:
    0 4px 16px rgba(103,232,249,0.25),
    0 12px 40px rgba(103,232,249,0.14),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
body.editorial .btn.primary:hover {
  box-shadow:
    0 8px 24px rgba(103,232,249,0.35),
    0 20px 60px rgba(103,232,249,0.18);
}

/* ---- Extend editorial to every section: collapse the rainbow into ONE cyan accent ---- */
body.editorial {
  --gradient-brand: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 48%, #22d3ee 100%);
  --bloom: #67e8f9;            /* fold the violet accent into cyan */
  --aurora: #67e8f9;           /* fold the green accent into cyan */
}
body.editorial .gradient-text,
body.editorial .step-num,
body.editorial .btn.primary { animation: none !important; }

/* single-accent bento icons */
body.editorial .bento-icon::after { background: var(--ray) !important; }

/* calmer glass: keep depth, drop the neon glow */
body.editorial .glass {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 18px 60px rgba(0,0,0,0.28);
}
body.editorial .step-card:hover,
body.editorial .bento-card:hover {
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(103,232,249,0.12);
}

/* big titles: a touch tighter, more editorial */
body.editorial .massive-title,
body.editorial .cta-title { letter-spacing: -2px; }

.ed-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13.5px;
  letter-spacing: -0.01em;
}
.ed-meta span { display: inline-flex; align-items: center; gap: 10px; }
.ed-meta .d {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 10px rgba(103,232,249,0.8);
}

/* Right-side restrained product panel (monochrome + single accent) */
.ed-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.ed-panel {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.ed-panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.ed-panel-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-ghost);
}
.ed-panel-url {
  margin-left: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-ghost);
}
.ed-panel-body { padding: 24px; }
.ed-task {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 18px;
}
.ed-task b { color: var(--text-pure); }
.ed-steps { display: grid; gap: 10px; }
.ed-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,0.015);
  font-size: 13.5px;
  color: var(--text-soft);
  animation: edStepIn 600ms var(--ease-out, ease) both;
}
.ed-step:nth-child(2) { animation-delay: 140ms; }
.ed-step:nth-child(3) { animation-delay: 280ms; }
.ed-step .ok {
  flex: none;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(103,232,249,0.14);
  color: var(--ray);
  font-size: 11px;
}
.ed-step .t {
  margin-left: auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--text-ghost);
}
@keyframes edStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 940px) {
  .ed-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding: 116px 0 64px;
  }
  .ed-visual { order: 2; }
}

/* ============================================================
   LANDING V2  (scoped to body.lzv2 + new lz-* components)
   Premium reconstruction: layered backdrop, ops-center hero,
   pillars, execution flow, control grid, living memory,
   derived agents, premium footer. Controlled cyan/violet/magenta.
   ============================================================ */

/* ---- Enriched, cinematic backdrop (landing only) ---- */
body.lzv2 .ed-backdrop {
  background:
    radial-gradient(115% 80% at 80% -12%, rgba(103,232,249,0.16), transparent 50%),
    radial-gradient(80% 70% at 8% 6%, rgba(167,139,250,0.10), transparent 55%),
    radial-gradient(60% 55% at 98% 72%, rgba(236,72,153,0.06), transparent 60%),
    radial-gradient(80% 60% at 50% 122%, rgba(103,232,249,0.05), transparent 60%);
}
body.lzv2 .site-shell::after { background-size: 72px 72px; }

/* ---- Navbar elevation (shared, additive & safe) ---- */
.top-nav { box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.top-nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,0.28), transparent);
  opacity: 0.7;
  pointer-events: none;
}

/* ---- Hero microcopy ---- */
body.lzv2 .ed-cta { margin-bottom: 16px; }
.lz-microcopy {
  margin: 0 0 6px;
  color: var(--text-ghost);
  font-size: 13px;
  letter-spacing: -0.01em;
}

/* ============ HERO: CENTRO DE OPERACIONES ============ */
.lz-ops {
  position: relative;
  width: min(100%, 540px);
  margin-left: auto;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,26,40,0.92), rgba(8,12,20,0.97));
  box-shadow:
    0 40px 110px rgba(0,0,0,0.6),
    0 0 0 1px rgba(103,232,249,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.lz-ops::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,0.5), transparent);
}
.lz-ops-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
}
.lz-ops-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 12px rgba(103,232,249,0.9);
}
.lz-ops-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.lz-ops-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}
.lz-ops-state i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52,211,153,0.8);
  animation: pulse 2s ease-in-out infinite;
}
.lz-ops-body { padding: 20px; display: grid; gap: 16px; }
.lz-zone { display: grid; gap: 9px; }
.lz-zone-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-ghost);
}
.lz-goal {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-pure);
  font-weight: 500;
}
.lz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lz-chips span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: var(--text-soft);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.lz-plan { display: grid; gap: 7px; }
.lz-pline {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,0.015);
  font-size: 13px;
  color: var(--text-soft);
}
.lz-pline i {
  width: 16px; height: 16px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
}
.lz-pline.done { color: var(--text-body); }
.lz-pline.done i { background: rgba(52,211,153,0.16); }
.lz-pline.done i::after {
  content: "";
  width: 4px; height: 8px;
  border: solid #34d399;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(0, -1px);
}
.lz-pline.run { color: var(--text-pure); }
.lz-pline.run i { background: rgba(103,232,249,0.12); }
.lz-pline.run i::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(103,232,249,0.3);
  border-top-color: var(--ray);
  animation: lzSpin 0.9s linear infinite;
}
@keyframes lzSpin { to { transform: rotate(360deg); } }
.lz-approval {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid rgba(251,191,36,0.28);
  background: rgba(251,191,36,0.06);
}
.lz-approval-text { display: grid; gap: 3px; }
.lz-approval-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm);
}
.lz-approval strong { font-size: 13.5px; color: var(--text-pure); font-weight: 600; }
.lz-approve {
  margin-left: auto;
  flex: none;
  padding: 8px 16px;
  border-radius: 9px;
  background: rgba(251,191,36,0.14);
  border: 1px solid rgba(251,191,36,0.35);
  color: var(--warm);
  font-size: 12.5px;
  font-weight: 700;
}
.lz-ops-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.lz-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text-soft);
}
.lz-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.lz-tag.mem::before { background: #a78bfa; box-shadow: 0 0 8px rgba(167,139,250,0.7); }
.lz-tag.voice::before { background: var(--ray); box-shadow: 0 0 8px rgba(103,232,249,0.7); }

/* ============ TRUST PRINCIPLES (marquee) ============ */
.lz-principle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.lz-principle::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 10px rgba(103,232,249,0.6);
}

/* ============ PILLARS (Entiende / Planea / Actúa / Aprende) ============ */
.lz-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lz-pillar { padding: 30px 26px; transition: all 350ms cubic-bezier(.22,1,.36,1); }
.lz-pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(103,232,249,0.2);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(103,232,249,0.12);
}
.lz-pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ray);
  background: rgba(103,232,249,0.08);
  border: 1px solid rgba(103,232,249,0.2);
}
.lz-pillar h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.4px; }
.lz-pillar p { color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ============ CAPABILITIES: example line + controlled icon colors ============ */
.lz-eg {
  display: block;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--text-ghost);
  font-size: 12.5px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1.5;
}
/* Inline SVG icons inside the square chips (no icon-font dependency) */
.lz-ico {
  width: 24px; height: 24px;
  display: block;
  fill: none;
  stroke: var(--ray);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bento-icon .lz-ico { width: 26px; height: 26px; }
/* capability squares now carry an SVG icon instead of the colored dot */
body.lzv2 .bento-icon[class*="lz-ic-"]::after { content: none; }
/* feature cards: replace the empty ::before square with a real icon chip */
.feature-card::before { display: none; }
.feature-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--gradient-subtle);
  border: 1px solid rgba(103,232,249,0.12);
  box-shadow: 0 4px 20px rgba(103,232,249,0.06);
}
.feature-ico .lz-ico { width: 22px; height: 22px; }
/* page-hero eyebrow icon chip + premium hero polish for inner pages */
body.lzv2 .page-hero { background: var(--gradient-glow), rgba(2,4,8,0.4); }

/* ============ EXECUTION FLOW (timeline) ============ */
.lz-flow { list-style: none; display: grid; gap: 0; max-width: 760px; padding: 0; }
.lz-flow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 0 0 28px;
  position: relative;
}
.lz-flow-step:last-child { padding-bottom: 0; }
.lz-flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px; top: 46px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(103,232,249,0.35), rgba(103,232,249,0.04));
}
.lz-flow-num {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ray);
  background: rgba(103,232,249,0.06);
  border: 1px solid rgba(103,232,249,0.22);
}
.lz-flow-step > div { padding-top: 7px; }
.lz-flow-step h3 { font-size: 18px; margin-bottom: 5px; letter-spacing: -0.3px; }
.lz-flow-step p { color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ============ LIVING MEMORY PANEL ============ */
body.lzv2 .showcase-visual { min-height: auto; }
.lz-memory { padding: 24px; }
.lz-memory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lz-memory-ctl {
  font-size: 11px;
  font-weight: 700;
  color: var(--ray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lz-mem-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 13.5px;
  color: var(--text-body);
}
.lz-mem-row:last-of-type { border-bottom: none; }
.lz-mem-row i {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
  background: #a78bfa;
  box-shadow: 0 0 8px rgba(167,139,250,0.7);
}
.lz-mem-foot { margin-top: 16px; }

/* ============ DERIVED AGENTS ============ */
.lz-agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lz-agent { padding: 28px 26px; transition: all 300ms cubic-bezier(.22,1,.36,1); }
.lz-agent:hover {
  transform: translateY(-6px);
  border-color: rgba(103,232,249,0.2);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(103,232,249,0.12);
}
.lz-agent-role {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ray);
  background: rgba(103,232,249,0.06);
  border: 1px solid rgba(103,232,249,0.18);
}
.lz-agent h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.3px; }
.lz-agent p { color: var(--text-soft); font-size: 13.5px; line-height: 1.6; }

/* ============ FAQ heading (landing + pricing share .faq-grid) ============ */
.faq-grid h2 { font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -1px; line-height: 1.15; }

/* ============ PREMIUM FOOTER (landing only) ============ */
.lz-footer { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.lz-footer-brand p { max-width: 280px; margin: 14px 0; }
.lz-footer-brand .lz-footer-mail { color: var(--ray); font-weight: 600; }

/* ============ LANDING V2 RESPONSIVE ============ */
@media (max-width: 1050px) {
  .ed-hero {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 44px));
    gap: 40px;
    padding-top: 128px;
  }
  .ed-copy { max-width: 100%; }
  .ed-title { font-size: clamp(42px, 10vw, 72px); }
  .lz-ops { margin-left: 0; }
  .lz-pillars { grid-template-columns: repeat(2, 1fr); }
  .lz-agents { grid-template-columns: repeat(2, 1fr); }
  .lz-footer { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Collapse the denser landing nav earlier (5 links) */
@media (max-width: 980px) {
  body.lzv2 .nav-inner { flex-wrap: wrap; height: auto; min-height: 72px; padding: 14px 0; }
  body.lzv2 .brand { margin-right: auto; }
  body.lzv2 .nav-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.lzv2 .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  body.lzv2 .top-nav.nav-open .nav-links { display: flex; }
  body.lzv2 .nav-actions { margin-left: auto; }
}

@media (max-width: 760px) {
  .lz-pillars { grid-template-columns: 1fr; }
  .lz-agents { grid-template-columns: 1fr; }
  .lz-footer { grid-template-columns: 1fr; gap: 28px; }
  .lz-footer-brand p { max-width: 100%; }
  .lz-ops-body { padding: 16px; gap: 14px; }
  .lz-flow-step { gap: 16px; }
}

/* ===================================================================== */
/*  Codigos promocionales / referidos  +  Panel del creador             */
/* ===================================================================== */
.promo-banner {
  margin: 0 0 26px;
}
.promo-widget {
  border: 1px solid var(--line-strong);
  background: var(--gradient-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.promo-copy { display: grid; gap: 4px; margin-bottom: 12px; }
.promo-copy strong { font-size: 16px; color: var(--text-pure); }
.promo-copy span { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.promo-row { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-row .promo-input {
  flex: 1 1 220px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.promo-row .promo-apply { flex: 0 0 auto; min-width: 120px; }
.promo-feedback {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  display: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.promo-feedback.is-ok,
.promo-feedback.is-warn,
.promo-feedback.is-error { display: flex; }
.promo-feedback.is-ok { color: var(--aurora); }
.promo-feedback.is-warn { color: var(--warm); }
.promo-feedback.is-error { color: var(--pulse); }
.btn.small {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

/* Panel admin */
.admin-shell .dash-card { margin-bottom: 20px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--depth);
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}
.metric-card span { font-size: 12px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.metric-card strong { font-size: 20px; color: var(--text-pure); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.admin-table th, .admin-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--text-soft); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
.admin-table td { color: var(--text-body); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.on { background: rgba(110, 231, 183, 0.16); color: var(--aurora); }
.pill.off { background: rgba(251, 113, 133, 0.14); color: var(--pulse); }
.admin-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.admin-form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-soft); }
.admin-form .admin-full { grid-column: 1 / -1; }
.admin-form .admin-checkbox { flex-direction: row; align-items: center; gap: 8px; }
.admin-checkbox input { width: auto; }
.admin-subpanel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .promo-row { flex-direction: column; }
  .promo-row .promo-apply { width: 100%; }
  .admin-form { grid-template-columns: 1fr; }
}

/* ============================================================================
   IDENTIDAD POR PLAN (pricing) — cada tarjeta con caracter propio
   ========================================================================= */
.membership-card { position: relative; overflow: hidden; }
.membership-card { --tier: #67e8f9; --tier-soft: rgba(103, 232, 249, 0.10); }
.membership-card.tier-free { --tier: #94a3b8; --tier-soft: rgba(148, 163, 184, 0.10); }
.membership-card.tier-pro { --tier: #67e8f9; --tier-soft: rgba(103, 232, 249, 0.12); }
.membership-card.tier-ultra { --tier: #a78bfa; --tier-soft: rgba(167, 139, 250, 0.12); }
.membership-card.tier-mega { --tier: #6ee7b7; --tier-soft: rgba(110, 231, 183, 0.12); }
.membership-card.tier-enterprise { --tier: #fbbf24; --tier-soft: rgba(251, 191, 36, 0.10); }

.tier-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tier), transparent);
  background-size: 220% 100%;
  animation: tierStripeFlow 5.5s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes tierStripeFlow {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.membership-card:hover {
  border-color: var(--tier);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 56px var(--tier-soft);
}

.membership-card .plan-tag { color: var(--tier); border-color: var(--tier-soft); }

.tier-ribbon {
  position: absolute;
  top: 14px; right: -34px;
  transform: rotate(38deg);
  padding: 4px 40px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04141a;
  background: linear-gradient(90deg, var(--tier), color-mix(in srgb, var(--tier) 65%, #ffffff));
  box-shadow: 0 4px 14px var(--tier-soft);
  pointer-events: none;
}
.tier-ribbon.alt { color: #120a24; }

.tier-hero {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--tier-soft);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tier-soft), transparent 70%);
}
.tier-hero strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  color: var(--tier);
  line-height: 1;
}
.tier-hero span { font-size: 11.5px; color: var(--text-soft); line-height: 1.3; }

/* Entrada escalonada de las tarjetas */
.membership-grid .membership-card { animation: cardRise 600ms cubic-bezier(.22,1,.36,1) both; }
.membership-grid .membership-card:nth-child(1) { animation-delay: 40ms; }
.membership-grid .membership-card:nth-child(2) { animation-delay: 120ms; }
.membership-grid .membership-card:nth-child(3) { animation-delay: 200ms; }
.membership-grid .membership-card:nth-child(4) { animation-delay: 280ms; }
.membership-grid .membership-card:nth-child(5) { animation-delay: 360ms; }
@keyframes cardRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .membership-grid .membership-card { animation: none; }
  .tier-stripe { animation: none; }
}

/* ============================================================
   V43 — LUMEN · capa de elegancia editorial (todo el sitio)
   Fondo fluido en movimiento, display serif (Fraunces),
   kickers hairline y componentes refinados. Scope: body.editorial,
   presente en todas las páginas, así que aplica a subpáginas.
   ============================================================ */

/* ---- 1. Fondo fluido: dos masas de luz orgánicas que derivan ---- */
body.editorial .ed-backdrop { overflow: hidden; }

body.editorial .ed-backdrop::before {
  content: "";
  position: absolute;
  width: 95vmax; height: 95vmax;
  top: -48vmax; right: -30vmax;
  background:
    radial-gradient(closest-side at 62% 38%, rgba(103,232,249,0.13), transparent 68%),
    radial-gradient(closest-side at 28% 72%, rgba(167,139,250,0.09), transparent 62%);
  border-radius: 42% 58% 55% 45% / 48% 38% 62% 52%;
  filter: blur(48px);
  animation: lumenDriftA 52s ease-in-out infinite alternate;
  will-change: transform;
}

body.editorial .ed-backdrop::after {
  content: "";
  position: absolute;
  width: 70vmax; height: 70vmax;
  bottom: -42vmax; left: -22vmax;
  background:
    radial-gradient(closest-side at 55% 45%, rgba(45,212,191,0.08), transparent 66%),
    radial-gradient(closest-side at 70% 25%, rgba(103,232,249,0.06), transparent 60%);
  border-radius: 58% 42% 45% 55% / 52% 62% 38% 48%;
  filter: blur(52px);
  animation: lumenDriftB 64s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes lumenDriftA {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-7vw, 6vh, 0) rotate(14deg) scale(1.07); }
  100% { transform: translate3d(5vw, -4vh, 0) rotate(-10deg) scale(0.95); }
}
@keyframes lumenDriftB {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(8vw, -7vh, 0) rotate(-16deg) scale(1.1); }
  100% { transform: translate3d(-5vw, 4vh, 0) rotate(9deg) scale(0.97); }
}

/* velo superior: una lámina de luz finísima que respira */
body.editorial .site-shell .ed-backdrop {
  background-blend-mode: screen;
}

/* ---- 2. Tipografía de display: serif editorial ---- */
body.editorial .ed-title,
body.editorial .massive-title,
body.editorial .cta-title,
body.editorial .page-hero h1,
body.editorial .legal-hero h1,
body.editorial .section-head h2,
body.editorial .faq-grid h2 {
  font-family: 'Fraunces', 'Space Grotesk', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 530;
  letter-spacing: -0.02em;
}

body.editorial .ed-title { line-height: 1.04; }
body.editorial .massive-title { line-height: 1.08; letter-spacing: -0.022em; }

/* acentos en cursiva serif: el detalle que rompe lo genérico */
body.editorial .ed-title .mark,
body.editorial .gradient-text {
  font-style: italic;
  font-weight: 470;
  padding-right: 0.07em;   /* la cursiva sobresale del clip del gradiente */
  margin-right: -0.07em;
}

/* subtítulos un punto más serenos */
body.editorial .ed-sub,
body.editorial .cta-sub { color: var(--text-body); font-weight: 400; }

/* ---- 3. Kickers hairline (sin pastilla): editorial puro ---- */
body.editorial .section-label-tag {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  gap: 14px;
  color: var(--ray);
  font-size: 11px;
  letter-spacing: 0.3em;
}
body.editorial .section-label-tag::before {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--ray), transparent);
}

/* ---- 4. Tabla comparativa: contraste con carácter ---- */
body.editorial .compare-table { gap: 24px; }
body.editorial .compare-col {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13,18,30,0.66), rgba(7,11,18,0.92));
}
body.editorial .compare-col.others { opacity: 0.82; }
body.editorial .compare-col.luz {
  border-color: rgba(103,232,249,0.32);
  background: linear-gradient(180deg, rgba(103,232,249,0.05), rgba(7,11,18,0.96));
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 90px rgba(103,232,249,0.05);
  position: relative;
}
body.editorial .compare-col.luz::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103,232,249,0.7), transparent);
}
body.editorial .col-item {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 16px 26px;
  font-size: 14.5px;
  line-height: 1.5;
}
body.editorial .others .col-item::before {
  content: "—";
  flex: none;
  color: var(--text-ghost);
  opacity: 0.7;
}
body.editorial .luz .col-item::before {
  content: "✓";
  flex: none;
  color: var(--ray);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(103,232,249,0.5);
}
body.editorial .luz .col-header { color: var(--ray); background: rgba(103,232,249,0.04); }

/* ---- 5. Pilares: numerales serif fantasma ---- */
body.editorial .lz-pillar { position: relative; padding: 36px 28px 32px; overflow: hidden; }
body.editorial .lz-pillar-num {
  width: auto; height: auto;
  margin-bottom: 14px;
  border: none;
  background: none;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 420;
  font-size: 46px;
  line-height: 1;
  color: rgba(103,232,249,0.34);
}
body.editorial .lz-pillar::after {
  content: "";
  position: absolute;
  left: 28px; right: 28px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(103,232,249,0.35), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
}
body.editorial .lz-pillar:hover::after { opacity: 1; }

/* ---- 6. Flow / agentes / escenarios: hover con luz contenida ---- */
body.editorial .scenario-grid article { transition: transform 300ms cubic-bezier(.22,1,.36,1), border-color 300ms, box-shadow 300ms; }
body.editorial .scenario-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(103,232,249,0.22);
  box-shadow: 0 16px 44px rgba(0,0,0,0.38);
}
body.editorial .scenario-grid article strong {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 530;
  font-size: 19px;
  letter-spacing: -0.01em;
}

/* ---- 7. FAQ: acordeones de lectura serena ---- */
body.editorial .faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  transition: border-color 250ms, background 250ms;
}
body.editorial .faq-list details + details { margin-top: 10px; }
body.editorial .faq-list details[open] {
  border-color: rgba(103,232,249,0.25);
  background: rgba(103,232,249,0.025);
}
body.editorial .faq-list summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
body.editorial .faq-list summary::-webkit-details-marker { display: none; }
body.editorial .faq-list summary::before { display: none; }   /* marcador +/− del estilo base */
body.editorial .faq-list summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-weight: 400;
  transition: transform 250ms, color 250ms, border-color 250ms;
}
body.editorial .faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--ray);
  border-color: rgba(103,232,249,0.35);
}
body.editorial .faq-list details p {
  padding: 0 20px 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ---- 8. CTA final: foco de luz ---- */
body.editorial .cta-section {
  position: relative;
  overflow: hidden;
}
body.editorial .cta-section::before {
  content: "";
  position: absolute;
  left: 50%; top: 12%;
  width: 760px; height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(103,232,249,0.09), transparent 70%);
  pointer-events: none;
  animation: ctaBreath 9s ease-in-out infinite;
}
@keyframes ctaBreath {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* ---- 9. Footer: cierre con hairline de marca ---- */
body.editorial .footer {
  background: linear-gradient(180deg, rgba(2,4,8,0.4), var(--void));
  border-top: none;
  position: relative;
}
body.editorial .footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(103,232,249,0.3) 50%, transparent 95%);
}

/* ---- 10. Subpáginas: heroes con el mismo lenguaje ---- */
body.editorial .page-hero h1,
body.editorial .legal-hero h1 { line-height: 1.1; }
body.editorial .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 11px;
  font-weight: 600;
}

/* ---- 11. Marquee de principios: voz de manifiesto ---- */
body.editorial .lz-principle {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 450;
  font-size: 16px;
  color: var(--text-body);
}
body.editorial .marquee-section { background: rgba(6,10,16,0.45); }

/* ---- 12. Movimiento responsable ---- */
@media (prefers-reduced-motion: reduce) {
  body.editorial .ed-backdrop::before,
  body.editorial .ed-backdrop::after,
  body.editorial .cta-section::before { animation: none; }
}
