/* ═══════════════════════════════════════════════════════════════
   VISHTRAP — ENTERPRISE STYLE SYSTEM (DARK)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0e1a;
  --bg-2: #0f172a;
  --bg-3: #111827;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-4: #64748b;

  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #7c3aed;
  --cyan: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --grad-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --grad-text: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f0abfc 100%);
  --grad-mesh: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.15), transparent 60%);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.25);

  --container: 1200px;
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ═══ Background mesh effects ═══ */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}
.mesh-blob-1 {
  width: 600px; height: 600px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  animation: float-blob 20s ease-in-out infinite;
}
.mesh-blob-2 {
  width: 700px; height: 700px;
  top: 10%; right: -300px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  animation: float-blob 25s ease-in-out infinite reverse;
}
.mesh-blob-3 {
  width: 500px; height: 500px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  animation: float-blob 22s ease-in-out infinite;
  opacity: 0.18;
}
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

body::before {
  content: '';
  position: fixed;
  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: 60px 60px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

main, .nav-header, section, footer {
  position: relative;
  z-index: 1;
}

/* ═══ Layout primitives ═══ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }
.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: var(--surface-hover); border-color: rgba(255,255,255,0.25); }
.btn-ghost { color: var(--text-2); padding: 10px 14px; }
.btn-ghost:hover { color: var(--text); }

/* ═══ Navigation ═══ */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-logo {
  display: inline-flex;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.4));
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  color: var(--text-2);
}

/* ═══ Hero ═══ */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 850px;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 8s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-subtitle {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-3);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 800px;
  margin-bottom: 60px;
}
.stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
  font-weight: 500;
}

/* ═══ Hero mockup ═══ */
.hero-mockup {
  margin-top: 16px;
  max-width: 720px;
}
.mockup-window {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(20px);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }
.mockup-url {
  margin-left: auto;
  margin-right: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
}
.mockup-body { padding: 24px; }
.mockup-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: pulse-red 1.4s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); transform: scale(1.2); }
}
.live-text { color: #ef4444; }
.mockup-tag {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 500;
}
.mockup-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 13.5px;
  max-width: 80%;
  line-height: 1.5;
}
.bubble-author {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 3px;
}
.bubble-ai {
  background: var(--grad-primary);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 3px;
}
.bubble-target {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}
.mockup-typing {
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 16px;
}
.mockup-typing span {
  width: 7px; height: 7px;
  background: var(--text-3);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}
.mockup-typing span:nth-child(2) { animation-delay: 0.2s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.mockup-extracted {
  margin-top: 16px;
  padding: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
}
.extracted-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #10b981;
  margin-bottom: 8px;
}
.extracted-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
}
.extracted-item span { color: var(--text-3); }
.extracted-item code {
  color: white;
  font-weight: 600;
  font-size: 12px;
  background: rgba(0,0,0,0.3);
  padding: 2px 8px;
  border-radius: 5px;
}

/* ═══ Trust bar — animated industry marquee ═══ */
.trust-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 32px;
}
.trust-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.trust-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.trust-marquee:hover .trust-marquee-track,
.trust-marquee:focus-within .trust-marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.trust-item:hover {
  color: var(--text);
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.15);
}
.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.4s ease;
}
.trust-item:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }
}

/* ═══ Sections ═══ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-dark { background: rgba(0, 0, 0, 0.3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-darker { background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #a5b4fc;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-3);
  font-size: 17px;
  line-height: 1.65;
}

/* ═══ Features grid ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -50%, var(--accent), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  background: var(--surface-2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent, #4f46e5) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #4f46e5) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #4f46e5);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.65;
}

/* ═══ Steps (How it works) ═══ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}
.step:hover { border-color: var(--border-strong); transform: translateY(-2px); background: var(--surface-2); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.6;
}
.step-connector {
  align-self: center;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ═══ Split (voice cloning) ═══ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-text .section-tag,
.split-text .section-title { display: block; text-align: left; }
.split-text .section-title { max-width: none; }
.split-text .section-sub {
  margin-bottom: 24px;
  font-size: 16px;
}
.bullet-list { display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--grad-primary);
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.bullet-list strong { color: var(--text); font-weight: 600; }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.voice-card {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.voice-card:hover { border-color: var(--border-strong); transform: translateX(2px); }
.voice-card--featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(124,58,237,0.1));
  border-color: rgba(124, 58, 237, 0.4);
  grid-column: span 2;
  padding: 18px;
}
.voice-avatar {
  width: 38px; height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.voice-avatar--f { background: linear-gradient(135deg, #f59e0b, #ec4899); color: white; }
.voice-avatar--m { background: linear-gradient(135deg, #06b6d4, #4f46e5); color: white; }
.voice-info { flex: 1; min-width: 0; }
.voice-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 1px;
}
.voice-info span {
  font-size: 11.5px;
  color: var(--text-3);
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}
.voice-wave span {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.voice-wave span:nth-child(1) { height: 14px; animation-delay: 0s; }
.voice-wave span:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 26px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { height: 22px; animation-delay: 0.5s; }
.voice-wave span:nth-child(7) { height: 12px; animation-delay: 0.6s; }
.voice-wave span:nth-child(8) { height: 18px; animation-delay: 0.7s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ═══ Use case grid ═══ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}
.usecase-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.usecase-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #4f46e5) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #4f46e5) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #4f46e5);
  margin-bottom: 18px;
}
.usecase-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.usecase-card p { color: var(--text-3); font-size: 14px; line-height: 1.6; }

/* ═══ Trust band ═══ */
.trust-band {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  margin-bottom: 40px;
}
.trust-band-icon {
  width: 56px; height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}
.trust-band-text h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.trust-band-text p { color: var(--text-3); font-size: 15px; line-height: 1.65; }

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.badge-card {
  padding: 22px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.badge-card:hover { border-color: var(--border-strong); }
.badge-title {
  font-size: 15px;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.badge-sub { font-size: 12.5px; color: var(--text-3); }

/* ═══ CTA section ═══ */
.cta-section {
  padding: 100px 0 120px;
}
.cta-card {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.3), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(99, 102, 241, 0.3), transparent 50%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-bottom: 24px;
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-card p {
  color: var(--text-2);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 28px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cta-meta { color: var(--text-4); font-size: 13px; }

/* ═══ Footer ═══ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag { color: var(--text-3); font-size: 14px; line-height: 1.6; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text-3);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-4);
  font-size: 13px;
}

/* ═══ Demo Request Modal ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 14, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: linear-gradient(180deg, rgba(18, 23, 41, 0.98), rgba(12, 16, 30, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  transition: all 0.15s;
}
.modal-close:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-strong);
}
.modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  margin-bottom: 16px;
}
.modal-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.modal-head p {
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.15s, background 0.15s;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: var(--text-4); }
.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.modal-form textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
  line-height: 1.5;
}
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.modal-meta {
  font-size: 12px;
  color: var(--text-4);
  margin: 0;
}
.modal-state {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}
/* Make sure the hidden attribute actually hides the element
   even though we set display: flex above */
.modal-state[hidden] { display: none; }
.modal-state svg { flex-shrink: 0; }
.modal-state a { text-decoration: underline; }
.modal-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.modal-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.modal-form.is-submitting button[type="submit"] {
  opacity: 0.65;
  pointer-events: none;
}
.modal-form.is-submitting .btn-label::after {
  content: '...';
}

/* Lock scroll when modal open */
body.modal-open { overflow: hidden; }

@media (max-width: 540px) {
  .modal-card { padding: 32px 22px; }
  .modal-close { top: 12px; right: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .modal-foot { flex-direction: column; align-items: stretch; }
  .modal-foot .btn { width: 100%; justify-content: center; }
  .modal-meta { text-align: center; }
}

/* ═══ Reveal-on-scroll ═══ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .features-grid, .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-connector { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 20px 24px; background: rgba(10,14,26,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 60px 0 40px; }
  .features-grid, .usecase-grid, .footer-cols, .badges-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust-band { flex-direction: column; padding: 28px; }
  .cta-card { padding: 48px 24px; }
  .section { padding: 70px 0; }
  .cta-section { padding: 70px 0 90px; }
  .footer-bottom { flex-direction: column; }
}
