/*
 * Autor.ia — main.css  v2.0
 * Design System 2026 · Migrado do design system autoria-design
 * Tokens + componentes + overrides Kadence + FOUC prevention
 */

/* ── MOMO TRUST DISPLAY (local) ─────────────────────────────────────────── */
@font-face {
  font-family: 'Momo Trust Display';
  src: url('../fonts/MomoTrustDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS · DARK (default) ────────────────────────────────────────────── */
:root {
  /* Brand — Teal / Cyan */
  --teal-deep:      #065A70;
  --teal:           #0891B2;
  --cyan:           #06B6D4;
  --cyan-light:     #22D3EE;
  --teal-faint:     rgba(8,145,178,0.12);

  /* Brand — Lavanda */
  --lavender-deep:  #6B5BA8;
  --lavender:       #A196CA;
  --lavender-300:   #C5BBE8;
  --lavender-faint: rgba(161,150,202,0.15);

  /* Brand — Cobre */
  --copper-700:     #7A4525;
  --copper-600:     #9A5A30;
  --copper-500:     #C4784A;
  --copper-400:     #D4956A;
  --copper-300:     #E8B990;
  --copper-100:     #FAF0E8;
  --copper-tint:    rgba(196,120,74,0.15);

  /* Surfaces */
  --bg-base:        #0A0A10;
  --bg-surface:     #13131A;
  --bg-elevated:    #1A2230;
  --bg-hover:       #1E2A38;
  --bg-noise:       url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");

  /* Text */
  --fg-primary:     #E2E8F0;
  --fg-secondary:   #7AA0B0;
  --fg-muted:       #64748B;
  --fg-inverse:     #0F172A;

  /* Borders */
  --border:         rgba(8,145,178,0.12);
  --border-subtle:  rgba(8,145,178,0.06);
  --border-strong:  rgba(8,145,178,0.30);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  /* Shadows / Glow */
  --shadow-sm:     0 1px 2px rgba(0,0,0,0.30);
  --shadow-md:     0 6px 18px rgba(0,0,0,0.35);
  --shadow-lg:     0 20px 50px rgba(0,0,0,0.45);
  --glow-cyan:     0 0 30px rgba(6,182,212,0.35);
  --glow-cyan-lg:  0 0 60px rgba(6,182,212,0.55);
  --glow-copper:   0 0 22px rgba(196,120,74,0.35);
  --glow-lavender: 0 0 28px rgba(161,150,202,0.30);

  /* Gradients */
  --grad-brand:    linear-gradient(135deg,#0891B2 0%,#06B6D4 100%);
  --grad-soft:     linear-gradient(135deg,#0891B2 0%,#A196CA 100%);
  --grad-heritage: linear-gradient(135deg,#C4784A 0%,#E8B990 100%);
  --grad-arc:      linear-gradient(90deg,#C4784A 0%,#0891B2 50%,#06B6D4 100%);
  --grad-fade-cyan-text: linear-gradient(135deg,#E2E8F0 40%,#22D3EE 100%);

  /* Fonts */
  --font-display:   'Sora', system-ui, sans-serif;
  --font-editorial: 'Momo Trust Display','Sora',serif;
  --font-ui:        'Inter', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;

  /* Kadence palette override — prevents html.light from bleeding white */
  --global-palette9: #0A0A10;
  --global-palette8: #0D1117;
  --global-heading-color: #E2E8F0;
  --global-content-color: #7AA0B0;

  /* Kadence global button vars — controls the generic "button" selector in all.min.css.
     Set to brand gradient so unstyled buttons inherit correct colors.
     Our specific classes (.btn-primary, .lang-toggle, .theme-toggle) override these. */
  --global-palette-btn-bg:       linear-gradient(135deg,#0891B2,#06B6D4);
  --global-palette-btn:          #ffffff;
  --global-palette-btn-bg-hover: #06B6D4;
  --global-palette-btn-hover:    #ffffff;
}

/* ── LIGHT MODE OVERRIDES ───────────────────────────────────────────────── */
/* IMPORTANT: Do NOT add bare `.light` here — Kadence adds html.light which
   would cascade these vars to all children even in dark mode. */
body.light,
body.autoria-light {
  --bg-base:        #F0FAFB;
  --bg-surface:     #FFFFFF;
  --bg-elevated:    #E4F4F7;
  --bg-hover:       #D8EDF2;

  --teal:           #0773A0;
  --cyan:           #0891B2;
  --cyan-light:     #06B6D4;
  --lavender:       #7B6AB2;
  --teal-faint:     rgba(8,145,178,0.08);
  --lavender-faint: rgba(123,106,178,0.12);
  --copper-500:     #A85C2A;
  --copper-400:     #C47840;

  --fg-primary:     #0F172A;
  --fg-secondary:   #334155;
  --fg-muted:       #64748B;
  --fg-inverse:     #E2E8F0;

  --border:         rgba(8,145,178,0.15);
  --border-subtle:  rgba(8,145,178,0.08);
  --border-strong:  rgba(8,145,178,0.40);
  --glow-cyan:      0 0 26px rgba(8,145,178,0.22);
  --shadow-md:      0 6px 18px rgba(15,23,42,0.10);

  /* Kadence palette override — light mode */
  --global-palette9: #F0FAFB !important;
  --global-palette8: #E4F4F7 !important;
  --global-heading-color: #0F172A !important;
  --global-content-color: #334155 !important;

  /* Button vars — light mode mantém mesmo gradiente */
  --global-palette-btn-bg:       linear-gradient(135deg,#0773A0,#0891B2);
  --global-palette-btn:          #ffffff;
  --global-palette-btn-bg-hover: #0891B2;
  --global-palette-btn-hover:    #ffffff;
}

/* ── FOUC PREVENTION — light mode early paint ───────────────────────────── */
html.autoria-preload-light {
  --bg-base:    #F0FAFB;
  --bg-surface: #FFFFFF;
  --fg-primary: #0F172A;
  background:   #F0FAFB;
  color:        #0F172A;
}

/* ── KADENCE OVERRIDES — força dark mode contra html.light do Kadence ────── */
body.autoria-dark {
  --global-palette9: #0A0A10 !important;
  --global-palette8: #0D1117 !important;
  background-color: #0A0A10;
}
body.autoria-dark section:not(.hero) {
  background-color: transparent;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  color: var(--fg-primary);
}
body.light .card, body.autoria-light .card,
body.light .feature-item, body.autoria-light .feature-item,
body.light .step, body.autoria-light .step,
body.light .why-card, body.autoria-light .why-card,
body.light .integration-col, body.autoria-light .integration-col,
body.light .timeline-card, body.autoria-light .timeline-card,
body.light .seo2-stack, body.autoria-light .seo2-stack,
body.light .seo2-pillar, body.autoria-light .seo2-pillar,
body.light .blog-card, body.autoria-light .blog-card,
body.light .metric-card, body.autoria-light .metric-card,
body.light .form-wrap, body.autoria-light .form-wrap,
body.light .case-quote, body.autoria-light .case-quote {
  background: var(--bg-surface) !important;
}
body.light .section-title, body.autoria-light .section-title,
body.light h1, body.autoria-light h1,
body.light h2, body.autoria-light h2,
body.light h3, body.autoria-light h3 {
  color: var(--fg-primary) !important;
}
body.light nav.site-nav, body.autoria-light nav.site-nav {
  background: rgba(240,250,251,0.92) !important;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── BASE ────────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-ui);
  background: var(--bg-base);
  color: var(--fg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
body::before {
  content: ''; position: fixed; inset: 0;
  background-image: var(--bg-noise);
  pointer-events: none; z-index: 0;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10,10,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.site-nav .logo { display: flex; align-items: center; text-decoration: none; }
.site-nav .logo .holo {
  position: relative; height: 36px;
  aspect-ratio: 830 / 222;
}
.site-nav .logo .holo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
  opacity: 0;
  animation: holo-cycle 20s linear infinite;
  will-change: opacity;
}
.site-nav .logo .holo img.l-cyan    { animation-delay: -15s; }
.site-nav .logo .holo img.l-lavanda { animation-delay: -10s; }
.site-nav .logo .holo img.l-branco  { animation-delay: -5s; }
.site-nav .logo .holo img.l-cobre   { animation-delay: 0s; }
@keyframes holo-cycle {
  0%   { opacity: 0; }
  12.5%{ opacity: 1; }
  37.5%{ opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .logo .holo img,
  .footer-brand .holo img { animation: none; opacity: 0; }
  .site-nav .logo .holo img.l-cobre,
  .footer-brand .holo img.l-cobre { opacity: 1; }
}
.site-nav .links { display: flex; gap: 32px; }
.site-nav .links a {
  color: var(--fg-secondary); text-decoration: none;
  font-size: .88rem; font-weight: 500; transition: color .2s;
}
.site-nav .links a:hover { color: var(--fg-primary); }
.site-nav .links a.is-active {
  color: var(--cyan); position: relative;
}
.site-nav .links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--grad-brand); border-radius: 2px;
}
.site-nav .right { display: flex; align-items: center; gap: 14px; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--grad-brand); color: #fff; border: none;
  padding: 10px 22px; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: all .2s; box-shadow: var(--glow-cyan);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--glow-cyan-lg); }
.btn-secondary {
  background: transparent; color: var(--fg-primary);
  border: 1px solid var(--border); padding: 10px 22px; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── TOGGLES DO NAV (lang + theme) ──────────────────────────────────────── */
/* !important necessário: Kadence sobrescreve background/color em nav buttons */
.lang-toggle {
  height: 32px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--border-strong) !important;
  background: transparent !important;
  color: var(--fg-secondary) !important;
  cursor: pointer;
  display: flex !important; align-items: center; gap: 2px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  transition: border-color .2s, color .2s;
  box-shadow: none !important;
}
.lang-toggle:hover {
  border-color: var(--cyan) !important;
  color: var(--cyan) !important;
  background: transparent !important;
}
.lang-toggle .lang-sep { opacity: .3; margin: 0 2px; }
.lang-toggle .lang-active { color: var(--cyan) !important; font-weight: 700; }

.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-strong) !important;
  background: transparent !important;
  cursor: pointer;
  display: flex !important; align-items: center; justify-content: center;
  transition: border-color .2s; flex-shrink: 0;
  box-shadow: none !important; outline: none;
}
.theme-toggle:hover { border-color: var(--cyan) !important; }
/* Força ícone com stroke explícito — bypassa qualquer color/fill do Kadence */
.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  display: block !important;
  width: 15px !important; height: 15px !important;
  stroke: var(--fg-secondary) !important;
  fill: none !important; overflow: visible;
  pointer-events: none;
}
.theme-toggle:hover .icon-moon,
.theme-toggle:hover .icon-sun { stroke: var(--cyan) !important; }

/* ── MOBILE NAV TOGGLE ───────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: transparent;
  color: var(--fg-primary); align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle span {
  position: relative; width: 18px; height: 2px;
  background: currentColor; transition: transform .25s, opacity .15s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; transition: transform .25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px clamp(48px,9vw,140px) 100px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  height: 115%; width: auto; max-width: 62%; object-fit: contain;
  opacity: .85; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg,
    #0A0A10 0%, rgba(10,10,16,0.96) 38%,
    rgba(10,10,16,0.55) 62%, rgba(10,10,16,0.10) 88%,
    rgba(10,10,16,0) 100%);
}
body.light .hero-overlay,
body.autoria-light .hero-overlay {
  background: linear-gradient(95deg,
    #F0FAFB 0%, rgba(240,250,251,0.97) 38%,
    rgba(240,250,251,0.72) 62%, rgba(240,250,251,0.20) 88%,
    rgba(240,250,251,0) 100%);
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; z-index: 2;
  background: radial-gradient(circle, rgba(6,182,212,0.20) 0%, transparent 70%);
  top: 60%; left: 30%;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .7; }
  50%     { transform: scale(1.2); opacity: 1; }
}
.hero-content { position: relative; z-index: 3; max-width: 560px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,182,212,0.15); border: 1px solid rgba(6,182,212,0.35);
  color: var(--cyan); padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 28px;
}
.badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--cyan); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,3.8vw,3.4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--fg-primary) 40%, var(--cyan-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
h1.hero-title em {
  font-style: italic;
  background: var(--grad-heritage);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1rem; color: var(--fg-secondary); max-width: 500px;
  margin: 0 0 36px; line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FLOATING CARDS ──────────────────────────────────────────────────────── */
.float-card {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px;
  background: rgba(19,25,32,0.92); backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.02) inset;
  pointer-events: none; min-width: 180px; max-width: 240px;
}
body.light .float-card,
body.autoria-light .float-card {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 32px rgba(15,23,42,0.12), 0 0 0 1px rgba(8,145,178,0.08) inset;
}
body.light .float-card-title,
body.autoria-light .float-card-title { color: var(--fg-primary); }
.float-card-ic {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--teal-faint); border: 1px solid rgba(6,182,212,0.30);
  color: var(--cyan); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.float-card--copper .float-card-ic { background: rgba(196,120,74,0.12); border-color: rgba(196,120,74,0.35); color: var(--copper-400); }
.float-card--green  .float-card-ic { background: rgba(34,197,94,0.12);  border-color: rgba(34,197,94,0.40);  color: #4ADE80; }
.float-card-body { display: flex; flex-direction: column; gap: 2px; }
.float-card-title { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--fg-primary); }
.float-card-meta  { font-family: var(--font-mono); font-size: .72rem; color: var(--cyan-light); }
.float-card--copper .float-card-meta { color: var(--copper-400); }
.float-card--green  .float-card-meta { color: #4ADE80; }
@keyframes fc-reveal { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes float-soft-1 { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-10px)} }
@keyframes float-soft-2 { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-14px)} }
@keyframes float-soft-3 { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-8px)}  }
.float-card     { animation: fc-reveal .8s cubic-bezier(0.22,1,0.36,1) both, float-soft-1 6s ease-in-out infinite; }
.float-card.fc-b{ animation: fc-reveal .8s .15s cubic-bezier(0.22,1,0.36,1) both, float-soft-2 7.5s ease-in-out .8s infinite; }
.float-card.fc-c{ animation: fc-reveal .8s .30s cubic-bezier(0.22,1,0.36,1) both, float-soft-3 5.5s ease-in-out .9s infinite; }
.float-card.fc-d{ animation: fc-reveal .8s .45s cubic-bezier(0.22,1,0.36,1) both, float-soft-1 8s ease-in-out 1s infinite; }
.hero .float-card { position: absolute; }
.hero .fc-hero-1 { top: 24%; right: 14%; }
.hero .fc-hero-2 { top: 48%; right: 4%; }
.hero .fc-hero-3 { top: 70%; right: 22%; }
.demo-wrap { position: relative; }
.demo-wrap .fc-demo-1 { top: 12%; left: 12px; }
.demo-wrap .fc-demo-2 { bottom: 16%; right: 12px; }
@media (max-width: 960px) {
  .hero .fc-hero-1, .hero .fc-hero-2, .hero .fc-hero-3,
  .demo-wrap .fc-demo-1, .demo-wrap .fc-demo-2 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .float-card { animation: none !important; } }

/* ── BUBBLE FIELD ────────────────────────────────────────────────────────── */
.bubble-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.bubble { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); mix-blend-mode: screen; }
body.light .bubble { mix-blend-mode: multiply; opacity: .55; }
.bubble--cyan    { background: radial-gradient(circle at 30% 30%, rgba(34,211,238,0.55), rgba(6,182,212,0.15) 55%, transparent 75%); }
.bubble--copper  { background: radial-gradient(circle at 30% 30%, rgba(212,149,106,0.55), rgba(196,120,74,0.18) 55%, transparent 75%); }
.bubble--lavender{ background: radial-gradient(circle at 30% 30%, rgba(167,139,250,0.50), rgba(124,58,237,0.15) 55%, transparent 75%); }
.bubble--ring    { background: transparent; border: 1.5px solid rgba(34,211,238,0.45); filter: blur(0.4px); }
.bubble--ring.bubble--copper { border-color: rgba(212,149,106,0.50); }
@keyframes drift-a { 0%,100%{transform:translate3d(0,0,0) scale(1)} 33%{transform:translate3d(28px,-22px,0) scale(1.04)} 66%{transform:translate3d(-18px,18px,0) scale(0.98)} }
@keyframes drift-b { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-32px,28px,0) scale(1.06)} }
@keyframes drift-c { 0%,100%{transform:translate3d(0,0,0) scale(1) rotate(0deg)} 50%{transform:translate3d(20px,-30px,0) scale(1.03) rotate(10deg)} }
@keyframes drift-d { 0%,100%{transform:translate3d(0,0,0) scale(0.95);opacity:.65} 50%{transform:translate3d(-22px,-26px,0) scale(1.08);opacity:1} }
.bubble.f-a { animation: drift-a 14s ease-in-out infinite; }
.bubble.f-b { animation: drift-b 18s ease-in-out infinite; }
.bubble.f-c { animation: drift-c 22s ease-in-out infinite; }
.bubble.f-d { animation: drift-d 16s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none !important; } }

/* ── PIN BUBBLE ──────────────────────────────────────────────────────────── */
.pin-bubble { position: relative; display: inline-block; isolation: isolate; }
.pin-bubble::after {
  content: ''; position: absolute; inset: -14px -22px -16px -22px;
  border-radius: 999px; border: 1.5px dashed rgba(34,211,238,0.55);
  z-index: -1; animation: pin-pulse 4s ease-in-out infinite;
}
.pin-bubble--copper::after { border-color: rgba(212,149,106,0.65); }
@keyframes pin-pulse { 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.06);opacity:1} }

/* ── SECTIONS ────────────────────────────────────────────────────────────── */
section { padding: 100px 24px; position: relative; z-index: 1; }
section[id], .hero { scroll-margin-top: 88px; }
section.tinted { background: #0D1117; }
body.light section.tinted { background: var(--bg-elevated); }
.container { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }

.section-label {
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,4vw,2.8rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: 16px; text-wrap: pretty;
}
.section-sub {
  font-size: 1.02rem; color: var(--fg-secondary); max-width: 760px;
  margin-bottom: 56px; line-height: 1.75;
}

/* ── PULL QUOTE ──────────────────────────────────────────────────────────── */
.pull-quote {
  margin: 0 0 48px; padding: 26px 32px;
  border-left: 3px solid var(--cyan);
  background: var(--bg-elevated); border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-size: 1.06rem; line-height: 1.7;
  color: var(--fg-primary);
}
.pull-quote strong { color: var(--cyan-light); }
body.light .pull-quote { background: var(--bg-elevated); color: var(--fg-primary); }

/* ── FEATURES GRID ───────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-item {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: transform .22s cubic-bezier(0.22,1,0.36,1), border-color .2s, box-shadow .22s;
}
.feature-item:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.45); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.fi-icon {
  display: inline-flex; width: 44px; height: 44px;
  background: var(--teal-faint); border: 1px solid rgba(6,182,212,0.25);
  border-radius: var(--radius-md); align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 18px;
}
.fi-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--fg-primary); }
.fi-desc  { font-size: .88rem; color: var(--fg-secondary); line-height: 1.65; }

/* ── STEPS ───────────────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 2px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.step {
  background: #131920; padding: 32px 22px;
  transition: background .2s, border-color .2s;
  cursor: default;
}
body.light .step { background: var(--bg-surface); }
.step:hover { background: var(--bg-hover); }
.step-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900;
  color: var(--teal-faint); line-height: 1; margin-bottom: 14px; letter-spacing: -.05em;
}
.step-icon {
  width: 40px; height: 40px; background: var(--teal-faint); border: 1px solid rgba(6,182,212,0.25);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 18px;
}
.step-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--fg-primary); }
.step-desc  { font-size: .85rem; color: var(--fg-secondary); line-height: 1.6; }

/* ── DEMO FRAME ──────────────────────────────────────────────────────────── */
.demo-frame {
  margin-top: 40px; position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--bg-surface);
  overflow: hidden; aspect-ratio: 16/9;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.demo-frame .chrome {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: rgba(10,10,16,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
}
.demo-frame .dots { display: flex; gap: 6px; }
.demo-frame .dots span { width: 11px; height: 11px; border-radius: 50%; }
.demo-frame .dots span:nth-child(1){background:#FF5F57}
.demo-frame .dots span:nth-child(2){background:#FFBD2E}
.demo-frame .dots span:nth-child(3){background:#28C840}
.demo-frame .url {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  padding: 4px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); margin-left: 8px;
}
.demo-frame .url::before { content: '▸'; color: var(--cyan); margin-right: 6px; }
.demo-frame .play-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(180deg, rgba(10,10,16,0.15) 0%, rgba(10,10,16,0.55) 70%, rgba(10,10,16,0.85) 100%);
}
.demo-frame .play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: all .25s cubic-bezier(0.34,1.56,0.64,1);
}
.demo-frame .play-btn:hover {
  transform: scale(1.08); background: rgba(6,182,212,0.20);
  border-color: rgba(34,211,238,0.65); box-shadow: 0 0 0 8px rgba(6,182,212,0.10), var(--glow-cyan-lg);
}
.demo-frame .play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.demo-frame .caption {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .10em; text-transform: uppercase;
  color: rgba(232,232,240,0.85); padding: 8px 18px; border-radius: 999px;
  background: rgba(10,10,16,0.55); border: 1px solid rgba(8,145,178,0.30); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 10px;
}
.demo-frame .caption::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper-400); box-shadow: 0 0 8px rgba(212,149,106,0.7);
}

/* ── WHY GRID ────────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: stretch; }
.why-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .22s cubic-bezier(0.22,1,0.36,1), border-color .2s, box-shadow .22s;
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,0.40); box-shadow: 0 16px 40px rgba(0,0,0,0.22); }
.why-card--highlight {
  background: linear-gradient(180deg, rgba(8,145,178,0.12) 0%, var(--bg-surface) 60%);
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.10) inset, var(--glow-cyan);
}
.why-tag {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); align-self: flex-start; padding: 4px 10px;
  border: 1px solid rgba(6,182,212,0.35); border-radius: 999px; background: rgba(6,182,212,0.08);
}
.why-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; color: var(--fg-primary); margin: 0; }
.why-flash { background: var(--grad-heritage); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; white-space: nowrap; }
.why-desc { font-size: .92rem; color: var(--fg-secondary); line-height: 1.65; margin: 0; }
body.light .why-card--highlight { background: linear-gradient(180deg, rgba(8,145,178,0.10) 0%, var(--bg-surface) 60%); }

/* ── PILLS ───────────────────────────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--fg-secondary);
  transition: all .2s; cursor: default;
}
.pill:hover { border-color: var(--cyan); color: var(--cyan); }
.pill--regulated { background: rgba(196,120,74,0.10); border-color: rgba(196,120,74,0.45); color: var(--copper-300); font-weight: 600; }
.pill--regulated:hover { border-color: var(--copper-400); color: var(--copper-400); }

/* ── INTEGRATIONS ────────────────────────────────────────────────────────── */
.integrations { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.integration-col {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.integration-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px;
}
.integration-status .dot { width: 8px; height: 8px; border-radius: 50%; }
.integration-status--live  { background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.40); color: #4ADE80; }
.integration-status--live .dot { background: #4ADE80; box-shadow: 0 0 8px rgba(74,222,128,0.6); animation: blink 2s ease-in-out infinite; }
.integration-status--roadmap { background: rgba(196,120,74,0.10); border: 1px solid rgba(196,120,74,0.35); color: var(--copper-400); }
.integration-status--roadmap .dot { background: var(--copper-400); }
.integration-list { display: flex; flex-direction: column; }
.integration-row {
  padding: 14px 0; border-bottom: 1px dashed var(--border-subtle);
  display: grid; grid-template-columns: minmax(0,1fr); gap: 4px;
}
.integration-row:last-child { border-bottom: none; }
.integration-name { font-family: var(--font-display); font-weight: 600; color: var(--fg-primary); font-size: .98rem; }
.integration-role { font-size: .85rem; color: var(--fg-muted); line-height: 1.5; }
.integration-note {
  margin-top: 18px; font-size: .8rem; font-style: italic; color: var(--fg-muted);
  font-family: var(--font-display); line-height: 1.6;
  padding-top: 16px; border-top: 1px solid var(--border-subtle);
}

/* ── TIMELINE GRID ───────────────────────────────────────────────────────── */
.timeline-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.timeline-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 26px;
  transition: transform .22s cubic-bezier(0.22,1,0.36,1), border-color .2s;
}
.timeline-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.35); }
.timeline-card--accent {
  border-color: rgba(34,211,238,0.30);
  background: linear-gradient(180deg, rgba(6,182,212,0.06) 0%, var(--bg-surface) 70%);
}
.timeline-when {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  letter-spacing: -.03em; line-height: 1;
  background: var(--grad-fade-cyan-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.timeline-card--accent .timeline-when {
  background: var(--grad-heritage);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.timeline-what { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--fg-primary); margin-bottom: 12px; }
.timeline-desc { font-size: .9rem; color: var(--fg-secondary); line-height: 1.65; }
body.light .timeline-card--accent { background: linear-gradient(180deg, rgba(8,145,178,0.06) 0%, var(--bg-surface) 70%); }

/* ── METRICS GRID ────────────────────────────────────────────────────────── */
.metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.metric-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; text-align: left;
  transition: transform .22s cubic-bezier(0.22,1,0.36,1), border-color .2s, box-shadow .22s;
}
.metric-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 10px 28px rgba(6,182,212,0.12); }
.metric-number {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 8px;
}
.metric-label { font-size: .85rem; color: var(--fg-muted); line-height: 1.5; }

/* ── CASE QUOTE ──────────────────────────────────────────────────────────── */
.case-quote {
  margin-top: 48px; padding: 36px 40px;
  background: var(--bg-surface); border: 1px solid rgba(196,120,74,0.22);
  border-radius: 20px; text-align: center;
}
.case-quote p {
  font-family: var(--font-editorial), var(--font-display);
  font-size: 1.18rem; font-style: italic; line-height: 1.7;
  color: var(--fg-primary); max-width: 640px; margin: 0 auto 22px;
}
.case-quote cite { font-size: .85rem; color: var(--fg-muted); font-style: normal; display: block; }
.case-quote cite strong { color: var(--copper-400); }

/* ── SEO 2 SUBSECTION (inside #why) ─────────────────────────────────────── */
.seo2-subsection {
  margin-top: 72px; padding-top: 64px;
  border-top: 1px solid var(--border);
  position: relative;
}
.seo2-subsection::before {
  content: '';
  position: absolute; top: -1px; left: 0; width: 80px; height: 1px;
  background: var(--grad-brand);
}
/* Give section-label breathing room before hero grid */
.seo2-subsection .section-label { margin-bottom: 32px; }
/* Hero text column: explicit right padding so text breathes from box */
.seo2-hero-text { padding-right: 24px; }
/* Stack (right column): ensure padding on all sides */
.seo2-subsection .seo2-stack { padding: 32px; }
/* Legacy standalone #seo2 kept for backwards compat if ever used */
#seo2 {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(196,120,74,0.06) 0%, transparent 50%),
    var(--bg-base);
  overflow: hidden;
}
.seo2-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.seo2-mark {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 14px; overflow: hidden;
}
.seo2-mark sup { font-size: 0.5em; line-height: 1; margin-left: .04em; margin-top: .05em; background: var(--grad-heritage); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.seo2-full { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 22px; }
.seo2-thesis { font-family: var(--font-editorial), var(--font-display); font-size: clamp(1.2rem,1.9vw,1.45rem); line-height: 1.55; color: var(--fg-primary); letter-spacing: -0.005em; text-wrap: pretty; }
.seo2-thesis em { color: var(--cyan); font-style: normal; font-weight: 600; }
.seo2-thesis-copper { color: var(--copper-400) !important; font-style: normal !important; font-weight: 600; }
.seo2-stack { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.seo2-stack-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.seo2-layer { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border-subtle); align-items: center; }
.seo2-layer:last-child { border-bottom: none; }
.seo2-layer-tag { font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--cyan-light); background: rgba(6,182,212,0.10); border: 1px solid rgba(6,182,212,0.30); border-radius: 6px; padding: 5px 6px; text-align: center; }
.seo2-layer-body strong { font-family: var(--font-display); font-size: .98rem; font-weight: 700; color: var(--fg-primary); display: block; margin-bottom: 2px; }
.seo2-layer-body span { font-size: .85rem; color: var(--fg-muted); line-height: 1.55; }
.seo2-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.seo2-pillar { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; position: relative; overflow: hidden; transition: transform .22s cubic-bezier(0.22,1,0.36,1), border-color .2s, box-shadow .22s; }
.seo2-pillar:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.40); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.seo2-pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-brand); opacity: .8; }
.seo2-pillar h4 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; color: var(--fg-primary); }
.seo2-pillar p { font-size: .88rem; color: var(--fg-secondary); line-height: 1.6; }
.seo2-pillar-icon { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--teal-faint); border: 1px solid rgba(6,182,212,0.25); color: var(--cyan); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

/* ── SILVIA SECTION ──────────────────────────────────────────────────────── */
.silvia-container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.silvia-aside { position: sticky; top: 120px; }
.silvia-byline { font-family: var(--font-display); font-style: italic; color: var(--fg-muted); font-size: .95rem; }
.silvia-body { border-left: 1px solid var(--border); padding-left: 56px; }
.silvia-lede { font-family: var(--font-editorial), var(--font-display); font-size: 1.55rem; line-height: 1.4; color: var(--fg-primary); letter-spacing: -.005em; margin-bottom: 28px; text-wrap: pretty; }
.silvia-lede em { color: var(--copper-400); font-style: italic; }
.silvia-para { font-size: 1.02rem; color: var(--fg-secondary); line-height: 1.75; margin-bottom: 32px; }
.silvia-creds { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0 0 36px; border-top: 1px solid var(--border-subtle); }
.silvia-creds li { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--border-subtle); align-items: baseline; }
.silvia-cred-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad-fade-cyan-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.silvia-cred-text { font-size: .98rem; color: var(--fg-secondary); line-height: 1.65; }
.silvia-conclusion { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--fg-primary); line-height: 1.4; letter-spacing: -.015em; padding: 24px 28px; background: var(--bg-elevated); border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; }
body.light .silvia-conclusion { background: var(--bg-elevated); }

/* ── CLOSING QUOTE ───────────────────────────────────────────────────────── */
.closing-quote-section {
  background: radial-gradient(ellipse at top, rgba(196,120,74,0.10) 0%, transparent 65%), #0D1117;
  padding: 140px 24px; position: relative;
}
.closing-quote-section::before { content: ''; position: absolute; inset: 0; background-image: var(--bg-noise); pointer-events: none; opacity: .6; }
.closing-container { text-align: center; max-width: 820px; position: relative; z-index: 1; }
.closing-mark { font-family: var(--font-editorial), Georgia, serif; font-size: 8rem; line-height: 0.6; color: var(--copper-500); opacity: .55; margin-bottom: 24px; font-style: italic; }
.closing-line { font-family: var(--font-editorial), var(--font-display); font-size: clamp(1.8rem,3.4vw,2.6rem); font-style: italic; line-height: 1.3; letter-spacing: -.01em; color: var(--fg-primary); margin-bottom: 24px; text-wrap: balance; }
.closing-attrib { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 32px; }
.closing-aside { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--fg-secondary); line-height: 1.6; margin-bottom: 8px; }
.closing-aside--accent { font-weight: 700; font-style: normal; color: var(--fg-primary); background: var(--grad-heritage); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-top: 14px; font-size: 1.2rem; }
body.light .closing-quote-section { background: radial-gradient(ellipse at top, rgba(196,120,74,0.10) 0%, transparent 65%), var(--bg-elevated); }

/* ── BLOG SECTION ────────────────────────────────────────────────────────── */
#blog { background: #0D1117; position: relative; overflow: hidden; }
body.light #blog { background: var(--bg-elevated); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.blog-header .section-sub { margin-bottom: 0; }
.blog-all-link {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 1px solid rgba(6,182,212,0.40); border-radius: 999px;
  background: rgba(6,182,212,0.06); transition: all .2s; white-space: nowrap;
}
.blog-all-link:hover { background: rgba(6,182,212,0.14); border-color: var(--cyan); transform: translateY(-1px); }
.blog-all-link::after { content: '→'; transition: transform .2s; }
.blog-all-link:hover::after { transform: translateX(4px); }
.blog-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.blog-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: all .25s;
}
.blog-card:hover { border-color: rgba(34,211,238,0.50); transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.4); }
.blog-card--featured { grid-row: span 2; }
.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(6,182,212,0.20) 0%, rgba(196,120,74,0.20) 100%), linear-gradient(180deg,#1A1F2E 0%,#0D1117 100%);
  position: relative; overflow: hidden;
}
.blog-card--featured .blog-thumb {
  aspect-ratio: 21/10;
  background: radial-gradient(ellipse at 30% 40%, rgba(6,182,212,0.35) 0%, transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(196,120,74,0.30) 0%, transparent 55%), linear-gradient(180deg,#1A1F2E 0%,#0D1117 100%);
}
.blog-thumb-mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem,6vw,4.5rem);
  letter-spacing: -.04em; color: rgba(255,255,255,0.07); line-height: 1;
}
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.blog-category { color: var(--cyan); font-weight: 700; }
.blog-category--copper { color: var(--copper-400); }
.blog-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-muted); opacity: .5; }
.blog-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; color: var(--fg-primary); text-wrap: balance; }
.blog-card--featured .blog-title { font-size: 1.65rem; line-height: 1.2; }
.blog-excerpt { font-size: .9rem; color: var(--fg-secondary); line-height: 1.6; text-wrap: pretty; }
.blog-author { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-subtle); display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--fg-muted); }
.blog-author-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-heritage); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .72rem; font-weight: 700; }

/* ── WAITLIST FORM ────────────────────────────────────────────────────────── */
#waitlist { background: linear-gradient(180deg, var(--bg-base) 0%, #0D1117 100%); }
body.light #waitlist,
body.autoria-light #waitlist { background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-elevated) 100%); }
.form-wrap {
  max-width: 580px; margin: 0 auto;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 44px;
}
.form-wrap h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: 12px; color: var(--fg-primary); }
.form-wrap > p { color: var(--fg-secondary); font-size: .92rem; margin-bottom: 32px; line-height: 1.65; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; color: var(--fg-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--fg-primary); font-family: var(--font-ui);
  font-size: .92rem; padding: 12px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.submit-btn {
  width: 100%; background: var(--grad-brand); color: #fff;
  border: none; padding: 14px; border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 700; cursor: pointer;
  margin-top: 8px; box-shadow: var(--glow-cyan); transition: all .2s;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: var(--glow-cyan-lg); }
.form-note { text-align: center; font-size: .74rem; color: var(--fg-muted); margin-top: 14px; }
body.light .form-group input,
body.light .form-group select,
body.light .form-group textarea { background: var(--bg-elevated); color: var(--fg-primary); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 48px 32px;
  color: var(--fg-muted); font-size: .85rem;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-brand { margin-bottom: 18px; }
.footer-brand .holo { position: relative; height: 32px; aspect-ratio: 830/222; }
.footer-brand .holo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block; opacity: 0;
  animation: holo-cycle 26s linear infinite;
}
.footer-brand .holo img.l-cyan    { animation-delay: -19.5s; }
.footer-brand .holo img.l-lavanda { animation-delay: -13s; }
.footer-brand .holo img.l-branco  { animation-delay: -6.5s; }
.footer-brand .holo img.l-cobre   { animation-delay: 0s; }
.footer-manifesto p { font-size: .85rem; line-height: 1.7; color: var(--fg-muted); max-width: 440px; }
.footer-manifesto p + p { margin-top: 14px; }
.footer-thesis { font-family: var(--font-display) !important; font-style: italic; font-size: .92rem !important; color: var(--fg-secondary) !important; opacity: .85; }
.footer-contact h4 { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 18px; }
.footer-contact a { display: block; color: var(--fg-muted); text-decoration: none; font-size: .85rem; margin-bottom: 9px; transition: color .2s; }
.footer-contact a:hover { color: var(--cyan); }
.cnpj { margin-top: 18px; font-size: .74rem; opacity: .55; line-height: 1.6; }
.footer-bottom {
  max-width: 1080px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; opacity: .5; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ── COOKIE BANNER ───────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  padding: 16px 32px;
  background: var(--bg-elevated); border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transform: translateY(100%); transition: transform .4s ease;
  flex-wrap: wrap;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner.hidden  { transform: translateY(100%); }
.cookie-text { font-size: .82rem; color: var(--fg-secondary); line-height: 1.6; max-width: 640px; }
.cookie-text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 8px 18px; border-radius: var(--radius-md); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.cookie-btn.primary  { background: var(--grad-brand); color: #fff; border: none; }
.cookie-btn.secondary{ background: transparent; color: var(--fg-muted); border: 1px solid var(--border); }
.cookie-btn.secondary:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── PRIVACY MODAL ───────────────────────────────────────────────────────── */
#privacy-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
#privacy-overlay.open { display: flex; }
.privacy-modal {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 20px; padding: 44px; max-width: 640px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
}
.privacy-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: none; color: var(--fg-muted);
  font-size: 1.2rem; cursor: pointer; padding: 4px 8px;
}
.privacy-close:hover { color: var(--fg-primary); }
.privacy-modal h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; color: var(--fg-primary); }
.privacy-date  { font-size: .75rem; color: var(--fg-muted); margin-bottom: 32px; }
.privacy-modal h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: 24px 0 8px; color: var(--fg-primary); }
.privacy-modal p, .privacy-modal li { font-size: .875rem; color: var(--fg-secondary); line-height: 1.75; }
.privacy-modal ul { padding-left: 20px; }
.privacy-modal a { color: var(--cyan); }

/* ── SCROLL REVEAL ───────────────────────────────────────────────────────── */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.js-reveal { opacity: 0; }
.js-reveal.is-visible {
  animation: reveal-up .55s var(--reveal-delay, 0s) cubic-bezier(0.22,1,0.36,1) forwards;
}
/* Stagger for grids */
.features-grid .feature-item:nth-child(2) { --reveal-delay: .07s; }
.features-grid .feature-item:nth-child(3) { --reveal-delay: .14s; }
.features-grid .feature-item:nth-child(4) { --reveal-delay: .21s; }
.why-grid .why-card:nth-child(2)           { --reveal-delay: .09s; }
.why-grid .why-card:nth-child(3)           { --reveal-delay: .18s; }
.metrics-grid .metric-card:nth-child(2)    { --reveal-delay: .07s; }
.metrics-grid .metric-card:nth-child(3)    { --reveal-delay: .14s; }
.metrics-grid .metric-card:nth-child(4)    { --reveal-delay: .21s; }
.timeline-grid .timeline-card:nth-child(2) { --reveal-delay: .09s; }
.timeline-grid .timeline-card:nth-child(3) { --reveal-delay: .18s; }
.seo2-pillars .seo2-pillar:nth-child(2)    { --reveal-delay: .09s; }
.seo2-pillars .seo2-pillar:nth-child(3)    { --reveal-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal, .js-reveal.is-visible { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── VIDEO DEMO ──────────────────────────────────────────────────────────── */
#video-demo { background: #0D1117; }
body.light #video-demo,
body.autoria-light #video-demo { background: var(--bg-elevated); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  nav.site-nav { padding: 16px 24px; }
  section { padding: 72px 20px; }
  .hero { padding: 120px 24px 80px; min-height: auto; }
  .hero-bg img { right: -30%; opacity: .25; height: 70%; }
  .nav-toggle { display: inline-flex; }
  .site-nav .right .btn-primary { display: none; }

  /* Mobile drawer */
  .site-nav .links {
    display: flex !important;
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px 20px 32px;
    background: rgba(10,10,16,0.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%); visibility: hidden; opacity: 0;
    transition: transform .35s cubic-bezier(0.4,0,0.2,1), opacity .25s ease, visibility 0s linear .35s;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  body.light .site-nav .links { background: rgba(240,250,251,0.96); }
  body.nav-open .site-nav .links {
    transform: translateY(0); visibility: visible; opacity: 1;
    transition: transform .35s cubic-bezier(0.4,0,0.2,1), opacity .25s ease, visibility 0s linear 0s;
  }
  .site-nav .links a {
    padding: 16px 8px; border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem; font-family: var(--font-display); font-weight: 600;
    color: var(--fg-primary); letter-spacing: -.005em;
    display: flex; align-items: center; justify-content: space-between;
  }
  .site-nav .links a::after { content: '→'; color: var(--fg-muted); transition: transform .2s, color .2s; }
  .site-nav .links a.drawer-cta {
    margin-top: 14px; padding: 14px 20px;
    background: var(--grad-brand); color: #fff !important;
    border: none; border-radius: var(--radius-md); justify-content: center; font-weight: 700;
  }
  .site-nav .links a.drawer-cta::after { content: none; }
  .site-nav .links a.is-active::after { color: var(--cyan); position: static; background: none; height: auto; }
  .site-nav .links a.is-active { background: rgba(6,182,212,0.06); }

  .features-grid, .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .why-grid, .timeline-grid, .integrations, .seo2-hero, .seo2-pillars, .blog-grid { grid-template-columns: 1fr; }
  .silvia-container { grid-template-columns: 1fr; gap: 32px; }
  .silvia-aside { position: static; }
  .silvia-body { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .closing-quote-section { padding: 90px 24px; }
  .closing-mark { font-size: 5.5rem; }
  .form-wrap { padding: 32px 24px; }
  .case-quote { padding: 28px 24px; }
}
@media (max-width: 600px) {
  section { padding: 60px 18px; }
  .hero { padding: 100px 20px 60px; }
  .hero-content { max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; text-align: center; padding: 14px 22px; }
  .features-grid, .metrics-grid, .steps { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
  .seo2-mark { font-size: clamp(4rem,18vw,7rem); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .bubble { opacity: .55; }
  nav.site-nav { padding: 14px 18px; }
  .silvia-creds li { grid-template-columns: 80px 1fr; gap: 18px; }
  .silvia-cred-num { font-size: 1.6rem; }
}
