/* ============================================================
   VARIAÇÃO 1 — AI / NEURAL STUDIO
   Estética: cyberpunk-meets-saas. Rede neural animada,
   cards flutuantes, glow violet→cyan, dot-grid, code accents.
   ============================================================ */

:root {
  --violet: #8B5CF6;
  --violet-2: #A78BFA;
  --indigo: #6366F1;
  --blue: #3B82F6;
  --cyan: #06B6D4;
  --cyan-2: #22D3EE;
  --emerald: #10B981;
  --rose: #F43F5E;
  --pink: #EC4899;
  --amber: #F59E0B;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

/* Light theme */
:root,
:root[data-theme="light"] {
  --bg: #F7F8FB;
  --bg-2: #EEF0F6;
  --bg-3: #E4E7F0;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(255, 255, 255, 0.85);
  --surface-solid: #FFFFFF;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(139, 92, 246, 0.25);
  --text: #0A0A14;
  --muted: #6B7080;
  --soft: #3F4252;

  --grad-text: linear-gradient(110deg, #8B5CF6 0%, #06B6D4 100%);
  --grad-accent: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
  --grad-button: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #06B6D4 100%);
  --grad-card: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
  --grad-cta: linear-gradient(135deg, #0F0B2A 0%, #1E1B4B 40%, #0A1929 100%);

  --dot-color: rgba(15, 23, 42, 0.07);
  --neural-stroke: rgba(99, 102, 241, 0.25);
  --neural-node: rgba(139, 92, 246, 0.6);
  --nav-bg: rgba(247, 248, 251, 0.65);
  --glow-primary: 0 12px 40px -10px rgba(139, 92, 246, 0.4), 0 4px 12px -4px rgba(6, 182, 212, 0.18);
  --glow-cyan: 0 0 30px rgba(6, 182, 212, 0.35);
  --glow-violet: 0 0 30px rgba(139, 92, 246, 0.4);
  --glow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Dark theme */
:root[data-theme="dark"] {
  --bg: #050510;
  --bg-2: #0A0A18;
  --bg-3: #10101E;
  --surface: rgba(20, 20, 36, 0.5);
  --surface-2: rgba(28, 28, 48, 0.75);
  --surface-solid: #14141F;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(167, 139, 250, 0.35);
  --text: #F0F0F8;
  --muted: #8B8FA8;
  --soft: #C0C4D8;

  --grad-text: linear-gradient(110deg, #A78BFA 0%, #22D3EE 100%);
  --grad-accent: linear-gradient(135deg, #F472B6 0%, #FBA94F 100%);
  --grad-button: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #22D3EE 100%);
  --grad-card: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(6, 182, 212, 0.1) 100%);
  --grad-cta: linear-gradient(135deg, #0A0820 0%, #1E1B4B 40%, #082030 100%);

  --dot-color: rgba(167, 139, 250, 0.06);
  --neural-stroke: rgba(167, 139, 250, 0.18);
  --neural-node: rgba(167, 139, 250, 0.65);
  --nav-bg: rgba(5, 5, 16, 0.65);
  --glow-primary: 0 12px 40px -8px rgba(139, 92, 246, 0.5), 0 4px 16px -4px rgba(6, 182, 212, 0.25);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.4);
  --glow-violet: 0 0 40px rgba(167, 139, 250, 0.5);
  --glow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  transition: background .3s, color .3s;
  background-image:
    radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
}

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: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---------- NEURAL NETWORK BG CANVAS ---------- */
.neural-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* ---------- AMBIENT GLOW ORBS ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.bg-orb-1 {
  width: 480px; height: 480px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 70%);
  animation: orb-float-1 22s ease-in-out infinite;
}
.bg-orb-2 {
  width: 560px; height: 560px;
  top: 30%; right: -180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%);
  animation: orb-float-2 28s ease-in-out infinite;
}
.bg-orb-3 {
  width: 400px; height: 400px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 70%);
  animation: orb-float-3 26s ease-in-out infinite;
}
@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(80px, 60px); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-100px, 80px); }
}
@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -50px); }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px 24px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-soft);
}
.nav::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent 40%, transparent 60%, rgba(6, 182, 212, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand img { height: 32px; width: auto; }
.brand em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:not(.btn) {
  color: var(--soft);
  transition: color .15s;
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0;
  height: 1.5px;
  background: var(--grad-text);
  transition: width .25s;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--soft);
  transition: all .2s;
}
.theme-toggle:hover { background: var(--bg-2); color: var(--text); border-color: var(--border-strong); box-shadow: var(--glow-violet); }
.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; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all .25s cubic-bezier(.2,.7,.3,1.2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 14px; }
.btn-primary {
  background: var(--grad-button);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 24px -4px rgba(139, 92, 246, 0.5),
    0 4px 12px -2px rgba(6, 182, 212, 0.3);
  animation: btn-gradient 4s ease infinite;
}
@keyframes btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 12px 36px -4px rgba(139, 92, 246, 0.65),
    0 6px 18px -2px rgba(6, 182, 212, 0.45);
}
.btn-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.btn-primary:hover .btn-pulse { opacity: 1; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--glow-violet);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 7px 16px 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: var(--glow-soft);
  font-family: 'JetBrains Mono', monospace;
}
.eyebrow-text strong {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9), 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s ease-out infinite;
  position: relative;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.9), 0 0 0 0 rgba(16, 185, 129, 0.7); }
  100% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.9), 0 0 0 12px rgba(16, 185, 129, 0); }
}
.hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}
.grad {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shift-grad 5s ease infinite;
}
@keyframes shift-grad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.grad-amber {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cursor-blink {
  display: inline-block;
  color: var(--cyan);
  animation: blink 1s steps(2) infinite;
  font-weight: 300;
  margin-left: 4px;
}
@keyframes blink {
  50% { opacity: 0; }
}
.lead {
  font-size: 18px;
  color: var(--soft);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.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: 14.5px;
}
.hero-bullets svg {
  width: 14px; height: 14px;
  color: #fff;
  flex-shrink: 0;
  background: var(--grad-text);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
  box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.4);
}

/* ---------- FLOATING ANIMATION (cards) ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.float-card {
  animation: float var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
  .bg-orb { animation: none; }
}

/* ---------- HERO STATS — floating glass tiles ---------- */
.hero-card { position: relative; }
.card-glow {
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.25) 0%, transparent 55%);
  filter: blur(50px);
  z-index: 0;
}
.card-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 1;
}
.stat-card {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.8), transparent);
  opacity: 0.6;
}
.stat-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent 50%, rgba(6, 182, 212, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.stat-card:hover::after { opacity: 1; }
.stat-spark {
  position: absolute;
  top: 12px; right: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  opacity: 0.7;
  animation: spark 3s ease-in-out infinite;
}
@keyframes spark {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}
.stat-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--glow-primary);
  animation-play-state: paused;
}
.stat-card.highlight {
  background: var(--grad-card);
  border-color: rgba(139, 92, 246, 0.3);
}
.stat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--grad-text);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.45);
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.05;
}
.stat-card.highlight .stat-num {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; position: relative; }
.section-dark {
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 30%, var(--bg-2) 70%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.07) 0%, transparent 50%);
  pointer-events: none;
}
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--violet);
  letter-spacing: .04em;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--radius-pill);
}
.kicker.amber {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.22);
}
:root[data-theme="dark"] .kicker { color: var(--violet-2); background: rgba(167, 139, 250, 0.1); border-color: rgba(167, 139, 250, 0.22); }
:root[data-theme="dark"] .kicker.amber { color: var(--cyan-2); background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.22); }
.section-head h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section-head p {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- FEATURES ---------- */
.grid { display: grid; gap: 18px; position: relative; z-index: 1; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), transparent 40%, transparent 60%, rgba(6, 182, 212, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.feature:hover {
  border-color: transparent;
  box-shadow: var(--glow-primary);
  animation-play-state: paused;
}
.feature:hover::before { opacity: 1; }
.feature:hover::after { opacity: 1; }
.feature-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: transform .3s, box-shadow .3s;
}
.feature-ico::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: var(--grad-text);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.feature:hover .feature-ico {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--glow-violet);
}
.feature-ico svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.ico-emerald { color: var(--violet-2); }
.ico-blue    { color: var(--indigo); }
.ico-amber   { color: var(--cyan); }
.ico-purple  { color: var(--pink); }
.ico-red     { color: var(--rose); }
.ico-cyan    { color: var(--cyan-2); }

.feature h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.feature p {
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.feature-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-text);
  transition: width .5s cubic-bezier(.2,.7,.3,1.2);
}
.feature:hover .feature-line { width: 100%; }

/* ---------- TOOLS — compact data cards ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}
.tool {
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--border);
  padding: 20px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.tool::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), transparent 50%, rgba(6, 182, 212, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.tool-dot {
  position: absolute;
  top: 16px; right: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: spark 2.5s ease-in-out infinite;
}
.tool:nth-child(2) .tool-dot { background: var(--violet-2); box-shadow: 0 0 12px var(--violet-2); }
.tool:nth-child(3) .tool-dot { background: var(--emerald); box-shadow: 0 0 12px var(--emerald); }
.tool:nth-child(4) .tool-dot { background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.tool:nth-child(5) .tool-dot { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.tool:nth-child(6) .tool-dot { background: var(--indigo); box-shadow: 0 0 12px var(--indigo); }
.tool:hover {
  border-color: transparent;
  box-shadow: var(--glow-primary);
  animation-play-state: paused;
}
.tool:hover::before { opacity: 1; }
.tool strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}
.tool span {
  font-size: 13px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

/* ---------- VIDEO ---------- */
.video-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 24px 70px -20px rgba(139, 92, 246, 0.35),
    0 30px 80px -20px rgba(6, 182, 212, 0.25);
}
.video-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.7), rgba(6, 182, 212, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA SECTION ---------- */
.section-cta { padding: 70px 0; }
.cta-box {
  background: var(--grad-cta);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #F0F0F8;
}
.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; left: -50px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: orb-float-1 16s ease-in-out infinite;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -50px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: orb-float-2 20s ease-in-out infinite;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy .kicker {
  color: #C4B5FD;
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.3);
}
.cta-copy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 14px auto 18px;
  max-width: 760px;
  color: #F0F0F8;
}
.cta-copy h2 .grad {
  background: linear-gradient(110deg, #A78BFA 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-copy p {
  color: rgba(240, 240, 248, 0.72);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}
.reassure {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px !important;
  color: rgba(240, 240, 248, 0.5) !important;
  margin-top: 22px !important;
  letter-spacing: -0.005em;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-grid h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 14px 0;
}
.faq-grid > div:first-child p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.6;
}
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] {
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--glow-violet);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--violet-2);
  border-bottom: 1.5px solid var(--violet-2);
  transform: rotate(45deg);
  transition: transform .25s;
  margin-bottom: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-bottom: 0; margin-top: 4px; }
.faq details p {
  margin-top: 12px;
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-2);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 620px;
}
.footer-brand img { height: 34px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}
.footer-meta a {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav { margin: 12px 12px 0; }
  .nav-links a:not(.btn) { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 60px 0 70px; }
  .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: 60px 28px; }
  .section { padding: 70px 0; }
  .bg-orb { opacity: 0.4; }
}
@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 { font-size: 14px; }
}
