/* ============================================================
   BIX.CD Landing — Dark-first, Blue/Indigo accent
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transition */
  --tr: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-default: 1100px;

  /* Fonts */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

/* ── DARK MODE (default) ── */
:root,
[data-theme="dark"] {
  --bg: #0c0d12;
  --bg-surface: #111318;
  --bg-surface-2: #16181f;
  --bg-card: #1a1c25;
  --bg-card-hover: #1f2230;
  --border: #252836;
  --border-subtle: #1e2030;
  --text: #e2e4ec;
  --text-muted: #7a7f96;
  --text-faint: #3f4258;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.25);
  --accent-light: #3b82f6;
  --gradient-start: #2563eb;
  --gradient-end: #06b6d4;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.15);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg: #f4f5f8;
  --bg-surface: #fafafa;
  --bg-surface-2: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9ff;
  --border: #e2e4ed;
  --border-subtle: #eaecf4;
  --text: #111827;
  --text-muted: #6b7280;
  --text-faint: #c4c8d8;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.12);
  --accent-light: #3b82f6;
  --gradient-start: #2563eb;
  --gradient-end: #06b6d4;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.08);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f4f5f8;
    --bg-surface: #fafafa;
    --bg-surface-2: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9ff;
    --border: #e2e4ed;
    --border-subtle: #eaecf4;
    --text: #111827;
    --text-muted: #6b7280;
    --text-faint: #c4c8d8;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.12);
    --accent-light: #3b82f6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.08);
  }
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--tr), color var(--tr);
}

img, video, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }

::selection { background: rgba(37, 99, 235, 0.25); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: min(var(--content-default), 100% - var(--space-8));
  margin-inline: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}
.section-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-block: var(--space-3) var(--space-4);
}
.section-header p {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 54ch;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: var(--space-2);
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
  50% { opacity: 0.6; box-shadow: 0 0 12px #22c55e; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-display);
  transition: all var(--tr);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 30px rgba(37,99,235,0.4); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { background: var(--bg-card); border-color: var(--accent); color: var(--accent-light); }

.btn-ghost {
  color: var(--text-muted);
  padding: var(--space-2);
  border-radius: var(--radius-md);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-card); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--tr);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-logo-accent { color: var(--accent-light); }
.nav-logo-text { letter-spacing: -0.01em; }

.nav-links {
  display: flex;
  gap: var(--space-6);
  margin-left: var(--space-4);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--tr);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--tr);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  gap: var(--space-4);
}
.mobile-nav a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--space-2) 0;
}
.mobile-nav a:hover { color: var(--text); }

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary { display: none; }
  .nav-burger { display: flex; }
  .nav-actions { margin-left: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-20), 12vw, 120px);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  opacity: 0.4;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.hero-heading {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent-light);
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Floating mockup screens */
.hero-screens {
  position: relative;
  z-index: 1;
  margin-top: var(--space-12);
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  perspective: 800px;
}

.screen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-subtle);
  transition: transform 0.5s ease;
}

.screen-main {
  flex: 1;
  max-width: 360px;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
}
.screen-secondary {
  width: 180px;
  transform: perspective(800px) rotateY(6deg) rotateX(2deg);
  align-self: flex-start;
  margin-top: var(--space-8);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.screen-bar.mini { padding: var(--space-2) var(--space-3); }
.screen-dots { display: flex; gap: var(--space-1); }
.screen-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.screen-dots span:nth-child(1) { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #ffbd2e; }
.screen-dots span:nth-child(3) { background: #28c840; }
.screen-dots.mini span { width: 7px; height: 7px; }
.screen-title-bar {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  margin-left: var(--space-2);
}

.screen-content { padding: var(--space-4); }
.screen-client-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.client-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
}
.client-row span { color: var(--text-muted); }
.client-row strong { color: var(--text); font-weight: 600; }
.client-divider { height: var(--space-3); }
.client-total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding-top: var(--space-2);
}
.client-total strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--accent-light);
}

.screen-promo { padding: var(--space-4); }
.promo-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.promo-line {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  animation: shimmer 2s ease-in-out infinite;
}
.promo-line.short { width: 70%; }

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg-surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--tr);
}
.feature-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }

.feature-card--large { grid-column: span 2; }
.feature-card--accent {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--bg-card)), var(--bg-card));
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: var(--radius-lg);
  color: var(--accent-light);
  margin-bottom: var(--space-4);
}

.feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 40ch;
}
.feature-tag {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-light);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
}

/* ============================================================
   VIDEO DEMO
   ============================================================ */
.demo { background: var(--bg); }

.video-player-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.video-player {
  position: relative;
  background: #000;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 80px var(--accent-glow);
  aspect-ratio: 7/3;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  color: white;
  cursor: pointer;
  transition: background var(--tr), opacity var(--tr);
  z-index: 10;
}
.play-overlay:hover { background: rgba(0,0,0,0.3); }
.play-overlay.hidden { opacity: 0; pointer-events: none; }

.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow);
  transition: transform var(--tr), box-shadow var(--tr);
}
.play-overlay:hover .play-circle {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(37,99,235,0.6);
}
.play-overlay span {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Controls */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: var(--space-6) var(--space-4) var(--space-4);
  opacity: 0;
  transition: opacity var(--tr);
  z-index: 20;
}
.video-player:hover .player-controls,
.video-player.playing .player-controls { opacity: 1; }

.progress-wrap {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: var(--space-2);
}
.progress-bg {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
}
.progress-bar {
  position: absolute;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.1s linear;
}
.progress-thumb {
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  left: 0%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: left 0.1s linear;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.controls-left, .controls-right { display: flex; align-items: center; gap: var(--space-2); }

.ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  transition: all var(--tr);
  flex-shrink: 0;
}
.ctrl-btn:hover { color: white; background: rgba(255,255,255,0.15); }

.volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.time-display {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  margin-left: var(--space-2);
}

/* Caption */
.video-caption {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.caption-badge {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.video-caption p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg-surface); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
}
.step {
  flex: 1;
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
}
.step-connector {
  flex-shrink: 0;
  width: var(--space-6);
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  opacity: 0.4;
  margin-top: -32px;
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.step h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.step p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

@media (max-width: 700px) {
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: var(--space-4); align-self: center; margin-top: 0; }
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact { background: var(--bg); }

.contact-card {
  position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--bg-card)) 0%, var(--bg-card) 60%);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.contact-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.contact-body { position: relative; z-index: 1; }
.contact-body h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-block: var(--space-3) var(--space-4);
}
.contact-body p { font-size: var(--text-base); color: var(--text-muted); max-width: 48ch; margin: 0 auto var(--space-8); }
.contact-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-8);
  background: var(--bg-surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-copy, .footer-tech {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; gap: var(--space-3); }
  .hero-screens { display: none; }
}
