/* ============================================================
   VARIAÇÃO 2 — SPACE / AI / AUTOMATION
   Estética: cósmica, futurista, dinâmica.
   Fundo escuro profundo + partículas + orbs nebulosos + glow neon
   + glassmorphism + bordas holográficas + grid/circuit pattern.
   Paleta: deep-space + blue + cyan + orange + amber
   ============================================================ */

:root {
  --space-0: #050B24;
  --space-1: #081130;
  --space-2: #0C1740;
  --space-3: #122055;

  --blue: #3B82F6;
  --blue-2: #2563EB;
  --blue-light: #60A5FA;
  --cyan: #38BDF8;
  --orange: #F97316;
  --orange-2: #EA580C;
  --orange-light: #FB923C;
  --amber: #FBBF24;
  --gold: #FDE047;

  --text: #E5EDFF;
  --muted: #93A4CF;
  --soft: #BFCDF0;

  --grad-aurora: linear-gradient(135deg, #38BDF8 0%, #3B82F6 50%, #F97316 100%);
  --grad-cosmic: linear-gradient(135deg, #3B82F6 0%, #F97316 100%);
  --grad-data: linear-gradient(135deg, #38BDF8 0%, #3B82F6 100%);
  --grad-text: linear-gradient(90deg, #60A5FA 0%, #93C5FD 35%, #FB923C 70%, #FDBA74 100%);

  --border-glass: rgba(59, 130, 246, 0.32);
  --border-soft: rgba(147, 164, 207, 0.18);
  --glass-bg: rgba(12, 23, 64, 0.55);
  --glass-bg-strong: rgba(12, 23, 64, 0.78);

  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.4), 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 40px rgba(56, 189, 248, 0.4), 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-orange: 0 0 40px rgba(249, 115, 22, 0.45), 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Light theme (clear daylight — sky blue + warm orange) */
:root[data-theme="light"] {
  --space-0: #F4F8FF;
  --space-1: #E8F0FF;
  --space-2: #DCE6FB;
  --space-3: #C6D5F4;

  --text: #0A1A3A;
  --muted: #4F5E85;
  --soft: #1F2F58;

  --border-glass: rgba(37, 99, 235, 0.32);
  --border-soft: rgba(79, 94, 133, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-strong: rgba(255, 255, 255, 0.9);

  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.28), 0 8px 32px rgba(37, 99, 235, 0.18);
  --shadow-glow-cyan: 0 0 40px rgba(56, 189, 248, 0.3), 0 8px 32px rgba(14, 165, 233, 0.18);
  --shadow-glow-orange: 0 0 40px rgba(249, 115, 22, 0.32), 0 8px 32px rgba(234, 88, 12, 0.18);
  --shadow-deep: 0 20px 60px rgba(37, 99, 235, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--space-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  transition: background .35s, color .35s;
}

/* ---------- COSMIC BACKGROUND LAYERS ---------- */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 0%, rgba(56, 189, 248, 0.14), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(249, 115, 22, 0.12), transparent 60%),
    var(--space-0);
}
:root[data-theme="light"] .cosmic-bg {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 0%, rgba(56, 189, 248, 0.20), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(249, 115, 22, 0.18), transparent 60%),
    var(--space-0);
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
:root[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
}

/* Floating blurred orbs (nebulae) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
  z-index: 0;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.95); }
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border-glass);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img { height: 34px; width: auto; filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.5)); }
.brand span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:not(.btn) {
  color: var(--soft);
  transition: color .2s;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  color: var(--text);
  transition: all .25s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: var(--blue);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }

.btn-primary {
  background: var(--grad-cosmic);
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform .6s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.55), 0 12px 32px rgba(0, 0, 0, 0.5);
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero .orb-1 {
  top: 60px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
}
.hero .orb-2 {
  bottom: 40px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation-delay: -6s;
}
.hero .orb-3 {
  top: 40%;
  left: 45%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  opacity: 0.4;
  animation-delay: -12s;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 28px;
  position: relative;
}
.eyebrow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 100px;
  padding: 1px;
  background: var(--grad-aurora);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-light);
  box-shadow: 0 0 10px var(--orange-light), 0 0 20px var(--orange-light);
  animation: pulse-neon 1.6s ease-in-out infinite;
}
@keyframes pulse-neon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}
.grad, .grad-amber {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
  display: inline;
  padding: 0;
  border: none;
  box-shadow: none;
  transform: none;
}
.grad-amber {
  background: linear-gradient(90deg, #FB923C 0%, #F97316 50%, #FBBF24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.lead {
  font-size: 18px;
  color: var(--soft);
  margin-bottom: 36px;
  max-width: 560px;
  font-weight: 400;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 500;
}
.hero-bullets svg {
  width: 14px;
  height: 14px;
  color: var(--space-0);
  flex-shrink: 0;
  background: var(--grad-data);
  padding: 5px;
  border-radius: 50%;
  box-sizing: content-box;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}
:root[data-theme="light"] .hero-bullets svg { color: #fff; }

/* ---------- HERO CARD — holographic stack ---------- */
.hero-card {
  position: relative;
  perspective: 1000px;
}
.card-glow {
  position: absolute;
  inset: -30px;
  background: var(--grad-aurora);
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  border-radius: 32px;
  animation: glow-pulse 8s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.55; }
}
.card-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 1;
}
.stat-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  padding: 22px 20px;
  border-radius: 16px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: var(--grad-aurora);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-blue);
  border-color: transparent;
}
.stat-card:hover::before { opacity: 1; }
.stat-card.highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(249, 115, 22, 0.2));
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-glow-orange);
}
.stat-tag {
  display: inline-block;
  background: var(--grad-cosmic);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-card.highlight .stat-num { background: linear-gradient(90deg, #FB923C, #FDE047); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 500;
}

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; position: relative; }
.section-dark {
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 53, 0.6) 50%, transparent 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
:root[data-theme="light"] .section-dark {
  background: linear-gradient(180deg, transparent 0%, rgba(203, 206, 246, 0.55) 50%, transparent 100%);
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.12), transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(59, 130, 246, 0.14), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.section-dark .container { position: relative; z-index: 1; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  background: var(--glass-bg);
  color: var(--cyan);
  padding: 7px 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.kicker.amber { color: var(--orange-2); }
.kicker.amber::before { background: var(--orange); box-shadow: 0 0 8px var(--orange); }

.section-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--text);
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

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

.feature {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-glass);
  padding: 32px 28px;
  border-radius: 20px;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
  isolation: isolate;
}
.feature::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--grad-aurora);
  border-radius: 20px;
  z-index: -2;
  opacity: 0;
  transition: opacity .4s;
}
.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  z-index: -1;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.feature:hover::before { opacity: 1; }
.feature:hover { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.25); }

.feature-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue);
  transition: all .3s;
}
.feature-ico::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--grad-cosmic);
  opacity: 0;
  transition: opacity .35s;
  z-index: -1;
}
.feature:hover .feature-ico {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}
.feature:hover .feature-ico::before { opacity: 1; }
.feature-ico svg { width: 26px; height: 26px; position: relative; z-index: 1; }

.ico-emerald { background: rgba(251, 146, 60, 0.14); border-color: rgba(251, 146, 60, 0.35); color: var(--orange-light); }
.ico-blue { background: rgba(56, 189, 248, 0.14); border-color: rgba(56, 189, 248, 0.35); color: var(--cyan); }
.ico-amber { background: rgba(251, 191, 36, 0.14); border-color: rgba(251, 191, 36, 0.35); color: var(--amber); }
.ico-purple { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.35); color: var(--blue); }
.ico-red { background: rgba(249, 115, 22, 0.14); border-color: rgba(249, 115, 22, 0.35); color: var(--orange); }
.ico-cyan { background: rgba(96, 165, 250, 0.14); border-color: rgba(96, 165, 250, 0.35); color: var(--blue-light); }

.feature h3 {
  font-family: 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.feature p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

/* ---------- TOOLS — circuit chips ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.tool {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-glass);
  padding: 24px 24px 24px 56px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
.tool::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 18px var(--cyan);
  animation: blink 2.4s ease-in-out infinite;
}
.tool:nth-child(2)::before { background: var(--blue); box-shadow: 0 0 10px var(--blue), 0 0 18px var(--blue); animation-delay: -0.4s; }
.tool:nth-child(3)::before { background: var(--orange); box-shadow: 0 0 10px var(--orange), 0 0 18px var(--orange); animation-delay: -0.8s; }
.tool:nth-child(4)::before { background: var(--orange-light); box-shadow: 0 0 10px var(--orange-light), 0 0 18px var(--orange-light); animation-delay: -1.2s; }
.tool:nth-child(5)::before { background: var(--gold); box-shadow: 0 0 10px var(--gold), 0 0 18px var(--gold); animation-delay: -1.6s; }
.tool:nth-child(6)::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan), 0 0 18px var(--cyan); animation-delay: -2s; }
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.tool::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 36px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, var(--border-glass), transparent);
}
.tool:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-glow-blue);
}
.tool strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tool span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- VIDEO ---------- */
.video-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-deep);
}
.video-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: var(--grad-aurora);
  z-index: -1;
  opacity: 0.7;
  filter: blur(20px);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA SECTION ---------- */
.section-cta { padding: 80px 0; }
.cta-box {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.22), transparent 50%),
    var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: var(--grad-aurora);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  opacity: 0.6;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--grad-cosmic);
  filter: blur(120px);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 12px auto 18px;
  max-width: 760px;
  color: var(--text);
}
.cta-copy p {
  color: var(--soft);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 400;
}
.reassure {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-top: 22px !important;
  font-weight: 400;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.faq-grid h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--text);
}
.faq-grid > div:first-child p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 20px 22px;
  transition: all .3s;
}
.faq details:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.05);
}
.faq details[open] {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.18);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-cosmic);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin-top: 14px;
  color: var(--soft);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 48px 0;
  background: rgba(7, 10, 36, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  position: relative;
  z-index: 1;
}
:root[data-theme="light"] .footer { background: rgba(232, 234, 255, 0.7); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 620px;
}
.footer-brand img {
  height: 38px;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.45));
}
.footer-brand p { font-size: 13px; color: var(--muted); }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}
.footer-meta a {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ----------
   Sem JS, tudo aparece normalmente. Só esconde se .js-on estiver no root. */
.js-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}
.js-on .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- CURSOR GLOW ---------- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent 60%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  opacity: 0;
  mix-blend-mode: screen;
}
:root[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 60%);
  mix-blend-mode: multiply;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding: 60px 0 80px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .cta-box { padding: 56px 28px; }
  .section { padding: 80px 0; }
  .cursor-glow { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .card-stack { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .brand span { display: none; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
