/* ─────────────────────────────────────────
   VINYOR — Premium Dark Design System
   Inspired by upscale.ai aesthetic
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds */
  --bg-dark:   #050a0f;
  --bg-dark-2: #080e14;
  --bg-light:  #f8f9fb;
  --bg-white:  #ffffff;

  /* Text */
  --text-primary:   #f0f4f8;
  --text-secondary: #8a9bb0;
  --text-dark:      #0d1b2a;
  --text-dark-muted:#4a5568;

  /* Accents */
  --blue:   #2997ff;
  --purple: #bf5af2;
  --green:  #30d158;

  /* Gradient */
  --grad: linear-gradient(135deg, #2997ff 0%, #bf5af2 100%);

  /* Border */
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(0,0,0,0.08);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.desktop-only { display: inline; }

/* ────────────────────────────────────────
   NAVIGATION
   ──────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

#nav.scrolled {
  background: rgba(5, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-signin:hover { color: var(--text-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  display: block;
}

/* ────────────────────────────────────────
   HERO
   ──────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

#aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(41, 151, 255, 0.3);
  background: rgba(41, 151, 255, 0.08);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.2px;
}

.hero-headline {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--text-primary);
}

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

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(41,151,255,0);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(41,151,255,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

/* Hero proof bar */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 20px 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}

.proof-item strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.proof-item span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero scroll */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ────────────────────────────────────────
   LOGOS STRIP
   ──────────────────────────────────────── */
#logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-dark-2);
}

.logos-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logos-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logos-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.logos-slide {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 0 28px;
  flex-shrink: 0;
  animation: logosScroll 28s linear infinite;
  white-space: nowrap;
}

.logos-slide span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.2px;
  opacity: 0.7;
}

@keyframes logosScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ────────────────────────────────────────
   SECTION SYSTEM
   ──────────────────────────────────────── */
.section-dark  { background: var(--bg-dark); }
.section-dark-2 { background: var(--bg-dark-2); }
.section-light { background: var(--bg-light); }
.section-accent { background: #06111e; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.eyebrow-dark { color: var(--blue); }

.section-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-title-dark { color: var(--text-dark); }

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 64px;
}

.section-desc-dark {
  color: var(--text-dark-muted);
}

/* ────────────────────────────────────────
   CARDS GRID
   ──────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  padding: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  cursor: default;
}

.card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(41,151,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ────────────────────────────────────────
   STATS
   ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.stat-block {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s;
}

.stat-block:last-child { border-right: none; }
.stat-block:hover { background: rgba(255,255,255,0.025); }

.stat-number {
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1;
}

.stat-number span {
  font-size: 0.45em;
  letter-spacing: -0.5px;
  color: var(--blue);
}

.stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 160px;
  margin: 0 auto;
}

/* ────────────────────────────────────────
   PIPELINE
   ──────────────────────────────────────── */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pipeline-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

.pipeline-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 4px;
}

.pipe-item {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.pipe-in {
  background: rgba(41,151,255,0.08);
  border: 1px solid rgba(41,151,255,0.2);
  color: #4aa8ff;
}

.pipe-out {
  background: rgba(48,209,88,0.08);
  border: 1px solid rgba(48,209,88,0.2);
  color: #30d158;
}

.pipeline-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dark-muted);
}

.pipeline-arrow svg { width: 20px; height: 20px; }

.pipeline-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.15), transparent);
}

.pipeline-engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 32px;
  border: 2px solid rgba(41,151,255,0.25);
  border-radius: 16px;
  background: rgba(41,151,255,0.05);
  text-align: center;
}

.pipeline-engine img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(41,151,255,0.4));
}

.engine-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.engine-sub {
  font-size: 11px;
  color: var(--text-dark-muted);
  font-weight: 500;
}

/* ────────────────────────────────────────
   PLATFORM STEPS
   ──────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 16px;
}

.step {
  flex: 1;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.025);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  cursor: default;
}

.step:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.step-line {
  width: 32px;
  height: 1px;
  background: var(--border);
  margin-top: 56px;
  flex-shrink: 0;
}

/* ────────────────────────────────────────
   TESTIMONIALS
   ──────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}

.testi-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
}

.testi-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: normal;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.testi-author span {
  font-size: 12px;
  color: var(--text-dark-muted);
}

/* ────────────────────────────────────────
   PRICING
   ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.03);
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}

.price-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.price-card-featured {
  border-color: rgba(41,151,255,0.4);
  background: rgba(41,151,255,0.06);
}

.price-card-featured:hover {
  border-color: rgba(41,151,255,0.6);
  background: rgba(41,151,255,0.09);
}

.price-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
}

.price-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.price-amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1;
}

.price-amount span {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.price-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(41,151,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4L6 11l-3-3' stroke='%232997ff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.btn-price-outline {
  display: block;
  width: 100%;
  padding: 13px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s;
}

.btn-price-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}

.price-card-featured .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
}

/* ────────────────────────────────────────
   CTA
   ──────────────────────────────────────── */
.section-cta {
  background: linear-gradient(160deg, #050e1d 0%, #0a0514 100%);
  border-top: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 120px 40px;
}

.cta-logo {
  width: 64px;
  height: 64px;
  opacity: 0.9;
  filter: drop-shadow(0 0 24px rgba(41,151,255,0.4));
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(41,151,255,0.4)); }
  50%       { filter: drop-shadow(0 0 44px rgba(191,90,242,0.5)); }
}

.cta-headline {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text-primary);
}

.cta-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
}

.cta-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  min-width: 200px;
}

.cta-form input::placeholder { color: var(--text-secondary); }

.cta-form input:focus {
  border-color: rgba(41,151,255,0.5);
  background: rgba(255,255,255,0.09);
}

.cta-fine {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────── */
#footer {
  background: #020608;
  border-top: 1px solid var(--border);
  padding: 80px 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}

.footer-logo img { width: 26px; height: 26px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
  border-color: rgba(255,255,255,0.16);
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-links {
  display: flex;
  gap: 64px;
  flex: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ────────────────────────────────────────
   ANIMATIONS — entrance reveal
   ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid      { grid-template-columns: 1fr 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .stat-block      { border-bottom: 1px solid var(--border); }
  .stat-block:nth-child(2) { border-right: none; }
  .testimonials    { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps           { flex-direction: column; }
  .step-line       { width: 1px; height: 24px; margin: 0; align-self: center; }
  .pipeline        { flex-direction: column; gap: 20px; }
  .pipeline-arrow  { flex-direction: row; }
  .pipeline-line   { width: 40px; height: 1px; background: rgba(0,0,0,0.1); }
  .footer-inner    { flex-direction: column; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { gap: 0; }
  #nav { padding: 0 24px; }

  .section-inner { padding: 72px 24px; }
  .hero-inner { gap: 20px; }
  .hero-headline { letter-spacing: -1.5px; }
  .hero-proof { padding: 16px 20px; gap: 0; }
  .proof-item { padding: 0 16px; }
  .proof-divider { display: none; }
  .proof-item:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 28px;
    background: var(--border);
    display: block;
    position: absolute;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { flex-direction: column; gap: 32px; }
  .cta-form { flex-direction: column; }
  .cta-form input { width: 100%; }

  .desktop-only { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { border-right: none; }
  .hero-proof { flex-direction: column; gap: 12px; }
  .proof-divider { width: 40px; height: 1px; }
}
