/* viiia — Landing Page styles */

:root {
  --charcoal: #111827;
  --charcoal-2: #0b1220;
  --charcoal-3: #1a2235;
  --indigo: #4F46E5;
  --indigo-soft: #6366f1;
  --indigo-deep: #3730a3;
  --indigo-glow: rgba(79, 70, 229, 0.45);
  --pure: #ffffff;
  --ink: #0a0e1a;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.08);
  --line-dark: rgba(255, 255, 255, 0.08);
  --bg: #ffffff;
  --fg: #111827;
  --density: 1;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg: var(--charcoal);
  --fg: #f3f4f6;
  --line: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ================= LAYOUT ================= */
.shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: calc(120px * var(--density)) 0;
  position: relative;
}

.section--dark {
  background: var(--charcoal);
  color: #f3f4f6;
}
.section--light {
  background: #fafafa;
  color: var(--charcoal);
}
.section--white {
  background: #fff;
  color: var(--charcoal);
}

/* ================= TYPE ================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--indigo);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.h-card {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  font-weight: 300;
  opacity: 0.78;
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

.quote {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--fg);
  opacity: 0.85;
  text-wrap: balance;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 200ms ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--indigo);
  color: white;
  box-shadow: 0 0 0 0 var(--indigo-glow);
}
.btn--primary:hover {
  background: #4338ca;
  box-shadow: 0 0 32px 0 var(--indigo-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
  opacity: 0.85;
}
.btn--ghost:hover { opacity: 1; }
.btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost-light:hover { color: #fff; border-color: rgba(255,255,255,0.6); }

.btn .arrow {
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 250ms ease, backdrop-filter 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__dot {
  width: 8px; height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--indigo);
}
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  transition: color 150ms ease;
}
.nav a:hover { color: white; }

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  padding: 6px 10px;
  letter-spacing: 0.1em;
  transition: all 150ms ease;
}
.lang-toggle button.active {
  background: var(--indigo);
  color: white;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 30%, transparent 80%);
}
.hero__beam {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--indigo) 50%, transparent);
  opacity: 0.7;
  filter: blur(0.5px);
  animation: beam 6s ease-in-out infinite;
}
.hero__beam--1 { left: 18%; top: -10%; height: 40%; animation-delay: 0s; }
.hero__beam--2 { left: 72%; top: 20%; height: 60%; animation-delay: 1.8s; }
.hero__beam--3 { left: 88%; top: -5%; height: 30%; animation-delay: 3.6s; }
@keyframes beam {
  0%, 100% { opacity: 0; transform: translateY(-20px); }
  50% { opacity: 0.8; transform: translateY(20px); }
}
.hero__glow {
  position: absolute;
  width: 800px; height: 800px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, var(--indigo-glow) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.5;
  animation: glow-pulse 8s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.6; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
}

.hero__content {
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.hero__badge .dot {
  width: 6px; height: 6px;
  background: var(--indigo);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--indigo);
}

.hero h1 {
  color: white;
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero h1 .accent {
  color: white;
  position: relative;
  display: inline-block;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a5b4fc 0%, var(--indigo) 50%, #818cf8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 560px;
  text-wrap: pretty;
}
.hero__sub strong { color: white; font-weight: 400; }

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__signature {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--indigo-soft);
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__signature::before {
  content: "//";
  color: rgba(255,255,255,0.3);
}

/* Hero panel (right side) */
.hero__panel {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: linear-gradient(135deg, transparent 40%, var(--indigo-glow) 50%, transparent 60%);
  z-index: -1;
  opacity: 0.6;
}

.hero__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.hero__panel-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
}
.hero__panel-head .live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero__panel-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.hero__panel-row span:last-child { color: white; }
.hero__panel-row.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 0;
  color: white;
  font-size: 14px;
}
.hero__panel-row.total .price {
  color: var(--indigo-soft);
  font-size: 18px;
}

.hero__panel-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.hero__panel-foot .latency { color: #a5b4fc; }

/* ================= CREDIBILITY STRIP ================= */
.credibility {
  background: var(--charcoal-2);
  color: white;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 880px) {
  .credibility__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
}
.cred-stat {
  padding: 0 32px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.cred-stat:first-child { border-left: 0; padding-left: 0; }
.cred-stat__num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: white;
  display: block;
}
.cred-stat__num .unit {
  color: var(--indigo-soft);
  font-size: 0.5em;
  margin-left: 4px;
  font-weight: 300;
}
.cred-stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-top: 12px;
}

/* ================= PROBLEM ================= */
.problem__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 880px) {
  .problem__head { grid-template-columns: 1fr; gap: 24px; }
}
.problem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .problem__cards { grid-template-columns: 1fr; }
}
.pain {
  background: #fafafa;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 250ms ease;
}
.pain:hover { background: white; }
.pain__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--indigo);
}
.pain__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  margin-bottom: 8px;
  color: var(--indigo);
}
.pain p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  font-weight: 300;
}
.problem__quote {
  margin-top: 80px;
  text-align: center;
  padding: 0 5%;
}

/* ================= SOLUTION ================= */
.solution {
  background: var(--charcoal);
  color: white;
  position: relative;
  overflow: hidden;
}
.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 880px) {
  .solution__inner { grid-template-columns: 1fr; gap: 48px; }
}
.solution h2 { color: white; }
.solution__body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  text-wrap: pretty;
}
.solution__tagline {
  margin-top: 32px;
  padding: 24px;
  border-left: 2px solid var(--indigo);
  background: rgba(79,70,229,0.05);
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.solution__visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin-left: auto;
}
.solution__viz-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}
.solution__viz-ring::before, .solution__viz-ring::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--indigo);
}
.solution__viz-ring::before { top: -4px; left: 50%; transform: translateX(-50%); }
.solution__viz-ring::after { bottom: -4px; right: 30%; }
.solution__viz-ring--2 { inset: 12%; animation-duration: 40s; animation-direction: reverse; }
.solution__viz-ring--3 { inset: 24%; animation-duration: 28s; }
@keyframes rotate { to { transform: rotate(360deg); } }

.solution__viz-core {
  position: absolute;
  inset: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--indigo-deep) 0%, transparent 70%);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 22px;
  color: white;
  letter-spacing: -0.02em;
}
.solution__viz-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.solution__viz-label--top { top: -8px; left: 0; }
.solution__viz-label--bottom { bottom: -8px; right: 0; }

/* ================= FEATURES ================= */
.features__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 96px;
  gap: 48px;
  flex-wrap: wrap;
}
.features__head h2 { max-width: 720px; margin: 0; }
.features__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.feature:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}
.feature:nth-child(even) .feature__text { order: 2; }
@media (max-width: 980px) {
  .feature, .feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature:nth-child(even) .feature__text { order: 0; }
}

.feature__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--indigo);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.feature__what {
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 28px;
  font-weight: 300;
  text-wrap: pretty;
}
.feature__impact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature__impact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: #1f2937;
  font-weight: 400;
  line-height: 1.5;
}
.feature__impact li::before {
  content: "→";
  color: var(--indigo);
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature__impact strong {
  font-weight: 600;
  color: var(--charcoal);
}

/* Feature visuals */
.fviz {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 24px 48px -24px rgba(17,24,39,0.18);
  position: relative;
  overflow: hidden;
}
.fviz__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.fviz__chip {
  background: rgba(79,70,229,0.08);
  color: var(--indigo);
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
}

/* ================= COMPARISON ================= */
.comparison {
  background: var(--charcoal);
  color: white;
}
.comparison h2 { color: white; }
.comparison__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 0;
  margin-top: 64px;
  border: 1px solid rgba(255,255,255,0.08);
}
.comparison__cards { display: none; }
@media (max-width: 880px) {
  .comparison__grid { display: none; }
  .comparison__cards { display: block; margin-top: 40px; }
}
.comp-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  padding: 20px;
  margin-bottom: 16px;
}
.comp-card__cap {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.comp-card__opt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  margin-top: 8px;
  background: rgba(255,255,255,0.03);
}
.comp-card__opt--viiia {
  background: rgba(79,70,229,0.14);
  border: 1px solid rgba(99,102,241,0.45);
}
.comp-card__who {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.comp-card__opt--viiia .comp-card__who { color: var(--indigo-soft); }
.comp-card__opt .icon-yes,
.comp-card__opt .icon-no,
.comp-card__opt .icon-warn { font-size: 14px; }
.comparison__col {
  padding: 32px 24px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.comparison__col:first-child { border-left: 0; }
.comparison__col--header {
  background: rgba(255,255,255,0.02);
}
.comparison__col--viiia {
  background: linear-gradient(180deg, rgba(79,70,229,0.12), rgba(79,70,229,0.02));
  position: relative;
  border-left: 1px solid var(--indigo);
}
.comparison__col--viiia::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(99,102,241,0.4);
  pointer-events: none;
}
.comparison__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.comparison__col--viiia .comparison__col-title { color: var(--indigo-soft); }
.comparison__col-name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 32px;
  line-height: 1.2;
}

.comparison__row {
  display: contents;
}
.comparison__cell {
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  min-height: 70px;
}
.comparison__cell:first-child {
  border-left: 0;
  font-weight: 400;
  color: white;
}
.comparison__cell--viiia {
  background: rgba(79,70,229,0.06);
  border-left-color: var(--indigo);
}
.icon-yes, .icon-no, .icon-warn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.icon-yes { color: #34d399; }
.icon-no { color: rgba(255,255,255,0.4); }
.icon-warn { color: #fbbf24; }
.icon-yes::before { content: "✓"; font-weight: 600; font-size: 14px; }
.icon-no::before { content: "—"; }
.icon-warn::before { content: "⚠"; }

/* ================= PERSONAS ================= */
.personas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
@media (max-width: 980px) {
  .personas__grid { grid-template-columns: 1fr; }
}
.persona {
  background: white;
  border: 1px solid var(--line);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 250ms ease;
  position: relative;
}
.persona:hover {
  border-color: var(--indigo);
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -32px var(--indigo-glow);
}
.persona__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79,70,229,0.08);
  color: var(--indigo);
  border-radius: 2px;
}
.persona__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.persona__brands {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.persona__pitch {
  font-size: 14px;
  line-height: 1.6;
  color: #44505f;
  margin: 0;
  font-weight: 400;
}
.persona__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #1f2937;
}
.persona__list li {
  display: flex;
  gap: 10px;
}
.persona__list li::before {
  content: "—";
  color: var(--indigo);
  flex-shrink: 0;
}

/* ================= ROADMAP / TAM ================= */
.vision {
  background: #fafafa;
}
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 64px;
}
@media (max-width: 880px) {
  .roadmap { grid-template-columns: 1fr; }
}
.roadmap__col {
  background: white;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.roadmap__phase {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--indigo);
}
.roadmap__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0;
}
.roadmap__list {
  list-style: none; padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #4b5563;
}
.roadmap__list li {
  padding-left: 16px;
  position: relative;
  font-weight: 300;
}
.roadmap__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--indigo);
}

.tam {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .tam { grid-template-columns: 1fr; gap: 32px; }
}
.tam__head h3 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.tam__head p {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
  font-weight: 300;
}
.tam__table {
  border-top: 1px solid var(--line);
}
.tam__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.tam__row--total {
  border-bottom: 0;
  border-top: 2px solid var(--charcoal);
  padding-top: 24px;
  margin-top: 8px;
}
.tam__market {
  font-size: 14px;
  color: #1f2937;
  font-weight: 400;
}
.tam__row--total .tam__market { font-weight: 600; }
.tam__value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--indigo);
  font-weight: 400;
  text-align: right;
}
.tam__row--total .tam__value {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ================= INFRA ================= */
.infra__pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 64px;
  border: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 980px) {
  .infra__pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .infra__pillars { grid-template-columns: 1fr; }
}
.pillar {
  background: var(--charcoal);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.pillar__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}
.pillar__icon {
  color: var(--indigo);
  margin-bottom: 4px;
}
.pillar__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin: 0;
}

/* ================= CTA FINAL ================= */
.cta-final {
  background: var(--charcoal);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-final__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.cta-final h2 {
  color: white;
  text-wrap: balance;
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 32px;
}
.cta-final p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 48px;
}
.cta-final__sig {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 200;
  margin-top: 64px;
  font-size: 18px;
  color: var(--indigo-soft);
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 100%, var(--indigo-glow) 0%, transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(79,70,229,0.2) 0%, transparent 40%);
  filter: blur(40px);
  opacity: 0.6;
}

/* ================= FAQ ================= */
.faq {
  background: var(--charcoal-2);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
@media (max-width: 880px) {
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
}
.faq h2 { color: white; }
.faq__list {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  color: white;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 200ms ease;
}
.faq__q:hover { color: var(--indigo-soft); }
.faq__q-icon {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--indigo);
  transition: transform 250ms ease;
  flex-shrink: 0;
}
.faq__item[data-open="true"] .faq__q-icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  padding: 0;
}
.faq__item[data-open="true"] .faq__a {
  max-height: 400px;
  padding: 0 0 28px;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--charcoal-2);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__nav { display: flex; gap: 32px; font-size: 12px; }
.footer__nav a { color: rgba(255,255,255,0.6); }
.footer__nav a:hover { color: white; }

/* ================= MODAL ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.modal-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: white;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  border-radius: 6px;
  position: relative;
  transform: translateY(16px);
  transition: transform 250ms ease;
}
.modal-backdrop[data-open="true"] .modal { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  font-size: 20px;
  color: var(--muted);
}
.modal h3 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  background: white;
  transition: border-color 150ms ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--indigo);
}
.modal__success {
  text-align: center;
  padding: 16px 0;
}
.modal__success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(79,70,229,0.1);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
}

/* ================= REVEAL ANIM ================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* mobile header */
@media (max-width: 880px) {
  .nav { display: none; }
  .header__demo { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ===== Accessibility: visible keyboard focus ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn--primary:focus-visible,
.lang-toggle button:focus-visible,
.modal__close:focus-visible {
  outline-color: #fff;
}

/* ===== Skip to content ===== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  background: var(--indigo);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform 150ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ===== Active nav indicator (scrollspy) ===== */
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--indigo);
}

/* ===== Larger touch targets for language toggle ===== */
.lang-toggle button {
  min-height: 36px;
  min-width: 40px;
}
@media (max-width: 880px) {
  .lang-toggle button { min-height: 44px; min-width: 48px; font-size: 13px; }
}

/* ===== Hamburger ===== */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 150ms ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle__bars::after  { position: absolute; top: 6px; left: 0; }
.nav-toggle__bars.open { background: transparent; }
.nav-toggle__bars.open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle__bars.open::after  { transform: translateY(-6px) rotate(-45deg); }
/* Re-assert after the base rule above (media queries add no specificity) */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
}

/* ===== Mobile menu overlay ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 88px 28px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
}
.mobile-menu__nav a[aria-current="true"] { color: var(--indigo-soft); }
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 881px) {
  .mobile-menu { display: none; }
}

/* ===== Video lightbox ===== */
.modal--video {
  max-width: 880px;
  width: 92vw;
  padding: 20px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
