/* ============ Tokens ============ */
:root {
  --bg-deep: #05060d;
  --bg-base: #090b16;
  --bg-elevated: #10131f;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --fg: #F3F4F9;
  --fg-muted: #9AA1B8;
  --fg-dim: #6B7183;

  --accent-blue: #5B8CFF;
  --accent-purple: #9B6BFF;
  --accent-indigo: #6E6DF6;
  --accent-cyan: #34D3E8;

  --gradient-brand: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  --gradient-text: linear-gradient(100deg, var(--accent-blue) 0%, var(--accent-purple) 55%, var(--accent-cyan) 100%);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 60px -24px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(155, 107, 255, 0.15), 0 20px 50px -20px rgba(91, 140, 255, 0.35);

  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg-deep);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--accent-purple); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ambient grid backdrop for the whole page */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Type helpers ============ */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: block;
}
.eyebrow--center { text-align: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(52, 211, 232, 0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 232, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 232, 0); }
}

.section-title { font-size: clamp(28px, 3.4vw, 42px); color: var(--fg); }
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.body-lg { font-size: 18px; color: var(--fg-muted); max-width: 640px; }
.body-lg--center { margin: 16px auto 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(107, 109, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(107, 109, 246, 0.7); }
.btn-glow { position: relative; }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-strong); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--accent-purple); color: var(--accent-cyan); }
.btn-light { background: #fff; color: var(--bg-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 255, 255, 0.35); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(5, 6, 13, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 28px; width: auto; }
.brand-name { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--fg); }
.footer-brand-mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo { height: 24px; margin-bottom: 0; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav a:not(.btn):hover { color: var(--fg); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  width: 120%;
  z-index: 0;
  opacity: 0.65;
}
.hero-wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  margin-bottom: 22px;
}
.hero-sub { font-size: 18px; color: var(--fg-muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-checks { display: flex; flex-direction: column; gap: 10px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-muted); }
.hero-checks svg { width: 18px; height: 18px; flex: none; color: var(--accent-cyan); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-media { position: relative; min-height: 420px; }

.flow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.flow-card-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 22px; }

.flow-diagram { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  flex: none;
}
.flow-node-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
  transition: all 0.3s var(--ease);
}
.flow-node-icon svg { width: 24px; height: 24px; }
.flow-node-icon--ai { background: var(--gradient-brand); border-color: transparent; color: #fff; }
.flow-node-icon--done { color: var(--fg-muted); }
.flow-node.is-active .flow-node-icon { box-shadow: 0 0 0 4px rgba(107, 109, 246, 0.18); }
.flow-node.is-done .flow-node-icon--done { background: rgba(52, 211, 232, 0.16); border-color: var(--accent-cyan); color: var(--accent-cyan); }
.flow-node.is-done span:last-child { color: var(--fg); }

.flow-line { flex: 1; height: 12px; margin: 0 6px 22px; }
.flow-line svg { width: 100%; height: 100%; overflow: visible; }
.flow-line path { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; }
.flow-line.is-active path { stroke: var(--accent-purple); animation: flow-dash 0.8s linear infinite; }
@keyframes flow-dash { to { stroke-dashoffset: -20; } }

.flow-status { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-cyan); min-height: 18px; }

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}
.hero-badge--clients { left: -24px; bottom: -28px; }
.hero-badge--stat { right: -18px; top: -24px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 18px; }

.hero-badge-icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
}
.hero-badge-icon svg { width: 18px; height: 18px; }

.client-logo-stack { display: flex; flex: none; }
.client-logo-stack img {
  width: 48px; height: 48px; flex: none;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--surface);
  object-fit: contain;
  padding: 6px;
  margin-left: -16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.client-logo-stack img:first-child { margin-left: 0; }

.hero-badge-number { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--fg); display: block; }
.hero-badge-label { font-size: 11.5px; color: var(--fg-dim); font-weight: 600; }
.hero-stat-number { font-family: var(--font-heading); font-size: 26px; font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Trusted marquee ============ */
.trusted { padding: 20px 0 64px; }
.trusted-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--fg-dim); margin-bottom: 26px; letter-spacing: 0.02em; }
.trusted-track-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.trusted-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.trusted-row { display: flex; align-items: center; gap: 28px; }

.trusted-logo {
  flex: none;
  display: flex;
  align-items: center;
  opacity: 0.75;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}
.trusted-logo:hover { opacity: 1; filter: none; }
.trusted-logo img { width: auto; object-fit: contain; display: block; }

.partner-divider { flex: none; width: 1px; height: 22px; background: var(--border-strong); }

/* Each partner mark has a different natural density (icon+wordmark vs.
   wordmark-only vs. compact icon), so heights are hand-tuned per logo
   rather than shared, so they all read as roughly the same visual size. */
.partner-logo--openai img { height: 24px; }
.partner-logo--claude img { height: 22px; }
.partner-logo--microsoft img { height: 22px; }
.partner-logo--n8n img { height: 26px; }
.partner-logo--zapier img { height: 24px; }
.partner-logo--make img { height: 22px; }
.partner-logo--elevenlabs img { height: 17px; }
.partner-logo--vapi img { height: 24px; }
.partner-logo--retell img { height: 26px; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trusted-track { animation: none; } }

/* ============ About / Why Us ============ */
.about { padding: 40px 0 100px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 64px;
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: clamp(30px, 4vw, 44px); font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.stat-number--text { background: none; -webkit-text-fill-color: initial; color: var(--fg); }
.stat-label { font-size: 13px; color: var(--fg-dim); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 72px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--fg-muted); }

.compare-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  backdrop-filter: blur(16px);
  text-align: center;
}
.compare-heading { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 36px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.compare-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  position: relative;
}
.compare-card--highlight {
  border-color: var(--accent-purple);
  background: linear-gradient(160deg, rgba(107, 109, 246, 0.14), rgba(52, 211, 232, 0.06));
  box-shadow: var(--shadow-glow);
}
.compare-badge {
  position: absolute; top: -12px; left: 22px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.compare-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.compare-list { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--fg-muted); }
.compare-attr { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 2px; }

/* ============ Services ============ */
.services { padding: 40px 0 100px; }

.service-tabs { display: flex; flex-direction: column; gap: 24px; }
.service-tab-row { display: flex; gap: 16px; flex-wrap: wrap; }
.service-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: all 0.25s var(--ease);
  flex: 1 1 280px;
}
.service-tab:hover { border-color: var(--border-strong); background: var(--surface-strong); }
.service-tab.is-active {
  border-color: var(--accent-purple);
  background: linear-gradient(150deg, rgba(107, 109, 246, 0.16), rgba(52, 211, 232, 0.05));
  box-shadow: var(--shadow-glow);
}
.service-tab-icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-strong);
  color: var(--fg-muted);
  transition: all 0.25s var(--ease);
}
.service-tab-icon svg { width: 20px; height: 20px; }
.service-tab.is-active .service-tab-icon { background: var(--gradient-brand); color: #fff; }
.service-tab strong { display: block; font-size: 15px; font-family: var(--font-heading); color: var(--fg); }
.service-tab small { display: block; font-size: 12.5px; color: var(--fg-dim); margin-top: 2px; }
.service-panels { position: relative; }

.service-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  backdrop-filter: blur(16px);
}
.service-panel.is-active { display: grid; }

.service-panel-copy h3 { font-size: 26px; margin-bottom: 14px; }
.service-panel-copy p { color: var(--fg-muted); margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.service-list li {
  font-size: 14.5px;
  color: var(--fg);
  padding-left: 22px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gradient-brand);
}

.mini-window, .chat-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.mini-window-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mini-window-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mini-window-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg-muted);
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.mini-window-row:first-of-type { border-top: none; }
.mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); flex: none; }
.mini-dot--done { background: var(--accent-cyan); }
.mini-dot--live { background: var(--accent-purple); box-shadow: 0 0 0 0 rgba(155, 107, 255, 0.6); animation: pulse-dot 1.6s infinite; }
.mini-window-row--active { color: var(--fg); }
.mini-window-row--pending { opacity: 0.5; }
.mini-tag { margin-left: auto; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-dim); background: var(--surface-strong); padding: 3px 8px; border-radius: var(--radius-pill); }

.chat-window-bar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--fg); margin-bottom: 16px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); }
.chat-live { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--accent-cyan); }
.chat-bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; margin-bottom: 10px; }
.chat-bubble--in { background: var(--surface-strong); color: var(--fg); border-bottom-left-radius: 4px; }
.chat-bubble--out { background: var(--gradient-brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-typing { display: inline-flex; gap: 4px; background: var(--surface-strong); padding: 10px 14px; border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-dim); animation: typing-bounce 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ============ Process timeline ============ */
.process { padding: 40px 0 100px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 20px; }
.timeline-line { position: absolute; top: 11px; left: 8%; right: 8%; height: 4px; z-index: 0; }
.timeline-line path { fill: none; stroke: var(--border-strong); stroke-width: 4; }
.timeline-line path.is-drawn { stroke: url(#tlGradient); }

.timeline-step { position: relative; z-index: 1; }
.timeline-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--fg-muted);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease);
}
.timeline-step.is-active .timeline-num { border-color: var(--accent-purple); color: var(--accent-cyan); box-shadow: 0 0 0 5px rgba(155, 107, 255, 0.15); }
.timeline-step h3 { font-size: 19px; margin-bottom: 8px; }
.timeline-step p { font-size: 14.5px; color: var(--fg-muted); max-width: 300px; }

/* ============ Results ============ */
.results { padding: 40px 0 100px; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.result-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.result-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-muted);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.result-stat {
  display: block;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.result-desc { font-size: 14px; color: var(--fg-muted); }

/* ============ CTA / Contact ============ */
.cta-banner { padding: 40px 0 110px; }
.cta-inner {
  background: linear-gradient(150deg, rgba(107, 109, 246, 0.16), rgba(52, 211, 232, 0.05) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.cta-title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cta-sub { color: var(--fg-muted); margin-bottom: 34px; }

.contact-form { text-align: left; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 12.5px; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--fg);
  transition: border-color 0.2s var(--ease);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-purple); outline: none; }
.form-note { text-align: center; font-size: 13px; color: var(--fg-dim); }
.form-note a { color: var(--accent-cyan); font-weight: 600; }

/* ============ Footer ============ */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--fg-dim); max-width: 280px; }
.footer-heading { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-dim); margin-bottom: 16px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a { font-size: 14px; color: var(--fg-muted); transition: color 0.2s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--fg); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-dim); }

/* ============ Reveal animation baseline (GSAP takes over via JS) ============ */
.reveal { opacity: 1; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-top: 40px; max-width: 480px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel-visual { order: -1; }
  .results-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 6, 13, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 26px;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .site-header.nav-open .main-nav { max-height: 400px; opacity: 1; pointer-events: auto; }
  .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stat-row, .feature-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline-line { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { padding: 36px 24px; }
  .hero-badge--clients { left: 0; bottom: -20px; }
  .hero-badge--stat { right: 0; top: -20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .compare-grid { grid-template-columns: 1fr; }
}
