/* ============ Tokens ============ */
:root {
  --bg: #0a0a0c;
  --bg-1: #0e0e11;
  --bg-2: #131318;
  --bg-3: #1a1a21;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --ink: #f5f4f8;
  --ink-2: #c8c6d2;
  --ink-3: #8a8794;
  --ink-4: #56535e;
  --accent: oklch(0.82 0.08 295);     /* soft violet */
  --accent-2: oklch(0.72 0.10 295);
  --accent-soft: oklch(0.82 0.08 295 / 0.16);
  --accent-line: oklch(0.82 0.08 295 / 0.35);
  --warn: oklch(0.78 0.10 60);
  --good: oklch(0.78 0.10 150);
  --bad: oklch(0.72 0.12 25);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-soft: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.8);
  --font-sans: 'Inter', 'Inter Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.site {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01","cv11";
  letter-spacing: -0.011em;
  line-height: 1.5;
  width: 100%;
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
}

.site a { color: inherit; text-decoration: none; }
.site button { font-family: inherit; }

/* Aurora background — subtle violet glow */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora::before, .aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.aurora::before {
  width: 720px; height: 720px;
  background: radial-gradient(circle, oklch(0.55 0.16 295 / 0.5), transparent 60%);
  top: -240px; left: -200px;
}
.aurora::after {
  width: 600px; height: 600px;
  background: radial-gradient(circle, oklch(0.58 0.13 240 / 0.4), transparent 60%);
  top: 200px; right: -180px;
}
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ============ Nav ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(56px, calc(50% - 672px));
  position: relative;
  z-index: 5;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 15px;
}
.nav-brand .mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), oklch(0.6 0.13 270));
  position: relative;
  box-shadow: 0 0 0 1px var(--line-2), 0 8px 24px -8px var(--accent);
}
.nav-brand .mark::after {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 4px;
  background: var(--bg);
  opacity: 0.55;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.nav-links a:hover { color: var(--ink); transition: color .2s; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.lang-toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--ink-3);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
}
.lang-toggle button.on {
  background: var(--ink);
  color: var(--bg);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 30px -12px rgba(255,255,255,0.3);
}
.btn-primary:hover { background: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-2);
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(255,255,255,0.28); }
.btn-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}
.btn-accent:hover { background: oklch(0.82 0.08 295 / 0.24); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3, h4 { letter-spacing: -0.028em; font-weight: 500; margin: 0; line-height: 1.05; }
h1 { font-size: 64px; }
h2 { font-size: 44px; }
h3 { font-size: 22px; letter-spacing: -0.018em; }
.lede {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
}

.section {
  padding: 110px 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}
.section-head .eyebrow { align-self: flex-start; }

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--line-2); }

/* Mono utilities */
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; }

/* ============ Hero ============ */
.hero {
  padding: 60px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.hero h1 {
  margin-top: 22px;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-family: 'Instrument Serif', 'Inter', serif;
  font-weight: 400;
}
.hero-lede {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 50ch;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .pulse {
  width: 6px; height: 6px;
  background: var(--good);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--good);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Chat demo */
.chat-demo {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: var(--shadow-soft), 0 60px 120px -40px rgba(0,0,0,0.8);
  position: relative;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.chat-head .lights { display: flex; gap: 6px; }
.chat-head .light { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.chat-head .light.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.chat-head .title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chat-body {
  padding: 8px 4px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  animation: fadeup .5s cubic-bezier(.2,.8,.2,1);
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bubble.user {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid var(--accent-line);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}
.bubble.bot {
  background: var(--bg-3);
  color: var(--ink-2);
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.bubble.bot .tool-call {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
  align-items: center;
}
.bubble.bot .tool-call .icon { color: var(--accent); }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span {
  width: 5px; height: 5px;
  background: var(--ink-3);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}
.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 14px;
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.chat-input input::placeholder { color: var(--ink-4); }
.chat-input .send {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-suggest {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.chat-suggest button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-3);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
}
.chat-suggest button:hover { color: var(--ink); border-color: var(--line-2); background: var(--bg-2); }

/* ============ Logos / signal row ============ */
.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  text-transform: uppercase;
}

/* ============ Antes vs Despues ============ */
.compare {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  height: 460px;
}
.compare-side {
  position: absolute;
  inset: 0;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.compare-side.before {
  background:
    radial-gradient(ellipse at 30% 20%, oklch(0.4 0.05 30 / 0.4), transparent 60%),
    var(--bg-2);
  z-index: 1;
}
.compare-side.after {
  background:
    radial-gradient(ellipse at 70% 80%, oklch(0.55 0.1 295 / 0.4), transparent 60%),
    var(--bg-1);
  z-index: 2;
  clip-path: inset(0 0 0 var(--split, 50%));
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: var(--ink);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-1px);
}
.compare-handle::after {
  content: '⇆';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.compare-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.compare-tag .num { color: var(--ink); margin-right: 8px; }
.compare h3 {
  font-size: 28px;
  margin: 16px 0 12px;
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.compare-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.compare-list .marker {
  font-family: var(--font-mono);
  color: var(--ink-4);
  min-width: 16px;
}
.compare-side.after .compare-list .marker { color: var(--accent); }

/* ============ Stack diagram ============ */
.stack {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.cap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  cursor: pointer;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cap:hover, .cap.active {
  background: var(--bg-2);
  border-color: var(--accent-line);
  transform: translateY(-2px);
}
.cap .glyph {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
}
.cap .name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.cap .blurb {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}

.stack-detail {
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  min-height: 200px;
}
.stack-detail .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.stack-detail h3 { margin: 8px 0 12px; font-size: 28px; }
.stack-detail p { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0; }
.stack-detail .example {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.6;
  white-space: pre;
}
.stack-detail .example .key { color: var(--accent); }
.stack-detail .example .str { color: oklch(0.78 0.1 150); }
.stack-detail .example .com { color: var(--ink-4); }

/* ============ Roadmap ============ */
.roadmap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  margin-top: 24px;
}
.road-levels {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.road-levels::before {
  content: '';
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  width: 1px; background: var(--line);
}
.road-level {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 12px;
  position: relative;
  transition: all .25s;
  font-size: 14px;
  color: var(--ink-3);
}
.road-level .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-left: 7px;
  transition: all .25s;
}
.road-level.active { color: var(--ink); background: var(--bg-2); }
.road-level.active .dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.road-level .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
}
.road-level.active .num { color: var(--accent); }

.road-panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  min-height: 380px;
}
.road-panel .stage-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.road-panel h3 {
  margin: 12px 0 16px;
  font-size: 32px;
}
.road-panel p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 56ch;
}
.road-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.road-bullets li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.road-bullets li .check { color: var(--accent); flex-shrink: 0; }

/* ============ For-whom ============ */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.persona {
  padding: 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.persona::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  border-radius: 50%;
  opacity: 0.7;
}
.persona .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.persona h3 { font-size: 22px; margin-bottom: 12px; }
.persona p { color: var(--ink-2); font-size: 14px; margin: 0 0 20px; line-height: 1.6; }
.persona .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.persona .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* ============ Modalidad ============ */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.mode {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .3s;
  position: relative;
}
.mode:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mode.featured { background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); border-color: var(--accent-line); }
.mode .ribbon {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
}
.mode .mode-name { font-size: 13px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mode .price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.mode .price .amount { font-size: 40px; font-weight: 500; letter-spacing: -0.03em; }
.mode .price .ph { color: var(--ink-4); }
.mode .price .unit { font-size: 13px; color: var(--ink-3); }
.mode h3 { font-size: 20px; }
.mode .desc { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.mode ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.mode ul li { display: flex; gap: 10px; align-items: flex-start; }
.mode ul li::before { content: '+'; color: var(--accent); font-family: var(--font-mono); }
.mode .btn { margin-top: auto; justify-content: center; }

/* ============ ROI calculator ============ */
.roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  margin-top: 24px;
}
.roi-controls { display: flex; flex-direction: column; gap: 22px; }
.roi-control { display: flex; flex-direction: column; gap: 8px; }
.roi-control .label-row { display: flex; justify-content: space-between; font-size: 13px; }
.roi-control .label { color: var(--ink-3); }
.roi-control .value { color: var(--ink); font-family: var(--font-mono); }
.roi-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-3);
  border-radius: 999px;
  outline: none;
}
.roi-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.roi-result {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.roi-result .result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.roi-result .result-num {
  font-size: 56px;
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
  background: linear-gradient(180deg, var(--ink), var(--ink-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.roi-result .result-sub { color: var(--ink-3); font-size: 14px; }
.roi-result .breakdown {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.roi-result .breakdown div {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.roi-result .breakdown span { color: var(--ink); }

/* ============ Instructor ============ */
.instructor {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}
.instructor .photo {
  width: 280px; height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.instructor .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  scale: 1.1;
}
.instructor h3 { font-size: 32px; margin-bottom: 8px; }
.instructor .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; }
.instructor p { color: var(--ink-2); font-size: 16px; line-height: 1.7; max-width: 56ch; margin: 16px 0; }
.instructor .bio-stats {
  display: flex; gap: 32px; margin-top: 24px;
}
.bio-stat .num { font-size: 28px; letter-spacing: -0.02em; }
.bio-stat .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }

/* ============ Testimonios ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.testi {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi .quote { font-size: 16px; line-height: 1.6; color: var(--ink); flex: 1; }
.testi .who { display: flex; gap: 12px; align-items: center; }
.testi .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.5 0.15 270));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
}
.testi .who-meta { display: flex; flex-direction: column; gap: 2px; }
.testi .who-meta .name { font-size: 14px; }
.testi .who-meta .role { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ============ CTA / Footer ============ */
.cta-final {
  text-align: center;
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 50% 0%, oklch(0.55 0.16 295 / 0.25), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
}
.cta-final h2 { font-size: 56px; max-width: 18ch; margin: 0 auto 18px; }
.cta-final h2 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.cta-final p { font-size: 18px; color: var(--ink-2); max-width: 50ch; margin: 0 auto 32px; }
.cta-final .row { display: inline-flex; gap: 12px; }

.foot {
  display: flex;
  justify-content: space-between;
  padding: 32px 56px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Cursor follower */
.cursor-glow {
  position: fixed;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.7 0.13 295 / 0.18), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .3s;
  filter: blur(20px);
}

/* ============ Modal de contacto ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadein .2s ease;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-box {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 40px 44px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.04) inset;
  animation: slideup .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideup {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-3);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.modal-close:hover { color: var(--ink); border-color: var(--line-2); }
.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.modal-box h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.modal-sub {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 28px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mfield {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mfield label {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.mfield input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.mfield input:focus { border-color: var(--accent-line); }
.mfield input::placeholder { color: var(--ink-4); }
.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 20px;
  font-size: 15px;
}
.modal-thanks {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.modal-thanks-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-thanks h3 { font-size: 24px; margin: 0; }
.modal-thanks p { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 34ch; }
.modal-thanks a { color: var(--accent); text-decoration: underline; }
.modal-thanks .btn { margin-top: 8px; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 18px 32px; }
  .nav-links { display: none; }
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .modes { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 180px 1fr; gap: 32px; }
  .instructor { grid-template-columns: 220px 1fr; gap: 32px; }
  .instructor .photo { width: 220px; height: 280px; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-right { gap: 8px; }
  .nav-right .btn { font-size: 13px; padding: 9px 14px; }

  h1 { font-size: 36px; line-height: 1.1; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .lede { font-size: 16px; }
  .section { padding: 64px 0; }

  /* Hero */
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-lede { font-size: 16px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-wrap: wrap; gap: 12px; font-size: 10px; }

  /* Chat demo */
  .chat-demo { border-radius: var(--r-lg); }
  .chat-body { min-height: 260px; }

  /* Signal row */
  .signal-row { flex-wrap: wrap; gap: 12px; padding: 16px 0; justify-content: center; }

  /* Compare */
  .compare { height: auto; min-height: 360px; }
  .compare-side { padding: 28px 24px; }
  .compare h3 { font-size: 20px; }

  /* Stack */
  .stack { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cap { min-height: 130px; padding: 14px; }
  .stack-detail { grid-template-columns: 1fr; gap: 20px; }
  .stack-detail .example { display: none; }

  /* Roadmap */
  .roadmap { grid-template-columns: 1fr; gap: 24px; }
  .road-levels { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .road-levels::before { display: none; }
  .road-level { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; }
  .road-level .dot { display: none; }
  .road-panel { min-height: auto; padding: 24px; }
  .road-panel h3 { font-size: 24px; }
  .road-bullets { grid-template-columns: 1fr; }

  /* Audience */
  .audience { grid-template-columns: 1fr; }

  /* Modes */
  .modes { grid-template-columns: 1fr; }

  /* ROI */
  .roi { grid-template-columns: 1fr; padding: 24px 20px; }
  .roi-result .result-num { font-size: 40px; }

  /* Instructor */
  .instructor { grid-template-columns: 1fr; gap: 28px; }
  .instructor .photo { width: 100%; height: 260px; }
  .instructor .photo img { object-position: center 20%; }
  .bio-stats { gap: 20px; }

  /* Testimonials */
  .testimonials { grid-template-columns: 1fr; }

  /* CTA Final */
  .cta-final { padding: 80px 20px; }
  .cta-final h2 { font-size: 32px; }
  .cta-final .row { flex-direction: column; width: 100%; max-width: 320px; }
  .cta-final .btn { width: 100%; justify-content: center; }

  /* Footer */
  .foot { flex-direction: column; gap: 8px; padding: 24px 20px; text-align: center; }

  /* Modal */
  .modal-box { padding: 28px 24px; }

  /* Cursor glow — off on mobile */
  .cursor-glow { display: none; }
}
