/* === ZIMBO.AI — Design tokens === */
:root {
  /* Surfaces */
  --bg: #070710;
  --bg-2: #0a0a14;
  --surface: #0d0d18;
  --surface-2: #11111d;
  --surface-3: #16162449;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.12);

  /* Brand — lavender / violet (from logo) */
  --lav-50: #f3f0ff;
  --lav-100: #e7e0ff;
  --lav-200: #cdbeff;
  --lav-300: #b29cff;
  --lav-400: #9d83ff;
  --lav-500: #8b6dff;   /* primary */
  --lav-600: #7757f0;
  --lav-700: #6442d4;
  --lav-800: #4a2fa0;

  /* Glow */
  --glow-soft: rgba(155, 124, 255, 0.18);
  --glow-mid: rgba(135, 100, 255, 0.35);
  --glow-strong: rgba(124, 92, 246, 0.55);

  /* Text */
  --fg: #f0eef9;
  --fg-2: #c7c3da;
  --fg-3: #8b8aa0;
  --fg-4: #5b5a73;

  /* Status — used sparingly */
  --ok: #6ee7b7;
  --warn: #f5d27e;
  --info: #93c5fd;
  --danger: #f87171;
  --wa: #25d366; /* WhatsApp green — only inside the WhatsApp mock chat */

  /* Type */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.7);
  --shadow-float: 0 20px 80px -20px rgba(124, 92, 246, 0.25), 0 8px 24px -8px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(155,124,255,0.15), 0 30px 100px -10px rgba(124, 92, 246, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

::selection { background: var(--lav-600); color: white; }

img { max-width: 100%; display: block; }

/* Subtle starfield/noise for depth */
.bg-noise::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* Conic / radial AI glow background, very controlled */
.ai-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ai-bg::before {
  /* Faint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 70%);
}
.ai-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #a18bff 0%, #7757f0 100%);
  color: white;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 8px 24px -8px rgba(124, 92, 246, 0.7),
    0 0 24px rgba(155, 124, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 12px 28px -8px rgba(124, 92, 246, 0.85),
    0 0 32px rgba(155, 124, 255, 0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--fg);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--hairline-strong);
}
.btn-link {
  background: transparent;
  color: var(--fg-2);
  padding: 0;
  height: auto;
}
.btn-link:hover { color: var(--fg); }

/* Eyebrow / chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(155,124,255,0.08);
  border: 1px solid rgba(155,124,255,0.18);
  color: var(--lav-200);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lav-300);
  box-shadow: 0 0 10px var(--lav-400);
}

/* Headings */
.h-display {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-size: clamp(36px, 3.4vw, 60px);
  background: linear-gradient(180deg, #ffffff 0%, #d3cce8 70%, #a39ec1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(32px, 3.6vw, 50px);
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.h-eyebrow-section {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lav-300);
  margin: 0 0 14px 0;
}

.lede {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--fg-3);
  max-width: 56ch;
  text-wrap: pretty;
}

/* Card */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Section spacing */
.section {
  position: relative;
  padding: 96px 0;
  z-index: 1;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

/* Animations */
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}

/* Utility */
.mono { font-family: var(--font-mono); }
.muted { color: var(--fg-3); }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent);
  margin: 0;
}

/* Hairline accent line for groups of cards etc */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Scrollbar nice in dark */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d1d2c; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a40; }
