/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #94A3B8;
  background: #0B1121;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: #F1F5F9; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { max-width: 640px; }

/* ========== GRADIENT TEXT ========== */
.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== LAYOUT ========== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-alt { background: #0F172A; }
.section-dark {
  background: linear-gradient(180deg, #0B1121 0%, #0F172A 100%);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.section-header h2 { margin-bottom: 16px; }
.section-sub { color: #64748B; font-size: 1.1rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3B82F6;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 100px;
}

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,17,33,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all .3s;
}
.nav.scrolled { background: rgba(11,17,33,0.95); box-shadow: 0 1px 24px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; color: #F1F5F9; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 0.875rem; color: #64748B; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #F1F5F9; }
.nav-cta { margin-left: 12px; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #F1F5F9; border-radius: 2px; transition: all .3s; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  border-radius: 10px; border: none; cursor: pointer;
  transition: all .25s ease; text-decoration: none;
}
.btn-primary {
  background: #3B82F6; color: #fff;
  padding: 12px 28px;
  box-shadow: 0 1px 3px rgba(59,130,246,0.3), 0 4px 12px rgba(59,130,246,0.15);
}
.btn-primary:hover { background: #2563EB; box-shadow: 0 2px 8px rgba(59,130,246,0.4), 0 8px 24px rgba(59,130,246,0.25); transform: translateY(-1px); }
.btn-glow { box-shadow: 0 0 20px rgba(59,130,246,0.3), 0 0 60px rgba(59,130,246,0.1); }
.btn-glow:hover { box-shadow: 0 0 30px rgba(59,130,246,0.5), 0 0 80px rgba(59,130,246,0.15); }
.btn-outline {
  background: transparent; color: #94A3B8;
  padding: 12px 28px;
  border: 1.5px solid rgba(148,163,184,0.25);
}
.btn-outline:hover { background: rgba(255,255,255,0.03); color: #F1F5F9; border-color: rgba(148,163,184,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8);
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 20px; font-size: 0.825rem; }
.arrow-down { display: inline-block; transition: transform .2s; }
.btn-ghost:hover .arrow-down { transform: translateY(3px); }

/* ========== HERO ========== */
.hero {
  padding: 0;
  background: #060A14;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -50px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 140px 0 100px; }
.hero-content { max-width: 560px; }
.hero h1 { color: #F1F5F9; margin-bottom: 0; margin-top: 20px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.5); margin: 24px 0 36px; max-width: 480px; line-height: 1.7; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stanford-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: #3B82F6; font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 100px;
}

/* ========== APP MOCKUP (Hero) ========== */
.app-mockup {
  background: #0D1326;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px rgba(59,130,246,0.08);
}
.mockup-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-window-controls { display: flex; gap: 6px; }
.mockup-window-controls span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.mockup-title { font-size: 0.75rem; color: rgba(255,255,255,0.35); font-weight: 500; }

/* Sidebar */
.mockup-layout { display: flex; min-height: 320px; }
.mockup-sidebar {
  width: 140px; flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
.mockup-sidebar-logo { padding: 0 14px 16px; }
.mockup-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
.mockup-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 0.72rem; font-weight: 500; color: #475569;
  text-decoration: none; transition: all .2s;
}
.mockup-nav-item:hover { background: rgba(255,255,255,0.04); color: #94A3B8; }
.mockup-nav-item.active { background: rgba(59,130,246,0.1); color: #3B82F6; }
.mockup-nav-item svg { flex-shrink: 0; }

/* Main panel */
.mockup-main { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; }
.mockup-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mockup-project { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 600; }
.mockup-status { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #3B82F6; font-weight: 600; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-running { background: #3B82F6; animation: pulse-dot 1.5s ease infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(59,130,246,0.5); } 50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(59,130,246,0); } }

.mockup-progress { height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; margin-bottom: 16px; overflow: hidden; }
.mockup-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #3B82F6, #8B5CF6); border-radius: 4px; transition: width 0.5s ease; }
.mockup-status.complete { color: #10B981; }
.mockup-status.complete .status-dot { background: #10B981; animation: none; }

.mockup-checks { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mockup-check {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  transition: background .2s;
}
.mockup-check:hover { background: rgba(255,255,255,0.04); }
.mc-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
}
.mc-pass { background: rgba(16,185,129,0.12); color: #10B981; }
.mc-fail { background: rgba(239,68,68,0.12); color: #EF4444; }
.mc-scanning { background: rgba(59,130,246,0.12); color: #3B82F6; animation: spin 2s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.mc-body { flex: 1; min-width: 0; }
.mc-title { font-size: 0.78rem; font-weight: 500; color: #CBD5E1; }
.mc-cite { font-size: 0.65rem; color: #475569; margin-top: 1px; }
.mc-badge {
  font-size: 0.6rem; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.04em; flex-shrink: 0;
}
.mc-badge-pass { background: rgba(16,185,129,0.12); color: #10B981; }
.mc-badge-fail { background: rgba(239,68,68,0.12); color: #EF4444; }
.mc-badge-scanning { background: rgba(59,130,246,0.12); color: #3B82F6; }
.mockup-footer { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.mockup-time { color: #3B82F6; }

/* ========== COVERAGE GRID ========== */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; }
.coverage-card {
  background: #0F172A; padding: 32px; text-align: center;
  transition: background .3s;
}
.coverage-card:hover { background: #131D35; }
.coverage-icon { font-size: 1.5rem; margin-bottom: 12px; }
.coverage-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.coverage-card p { font-size: 0.85rem; color: #64748B; margin: 0 auto; }

/* (stats row removed) */

/* ========== VENDOR GRID (HORIZONTAL) ========== */
.vendor-grid-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vendor-card-h {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all .3s;
  position: relative;
}
.vendor-card-h:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.vendor-cost-h { font-size: 1.35rem; font-weight: 800; color: #EF4444; margin-bottom: 8px; }
.vendor-card-h h3 { font-size: 1rem; margin-bottom: 8px; }
.vendor-card-h p { font-size: 0.8rem; color: #64748B; margin: 0 auto 12px; }
.replaced-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: #10B981; background: rgba(16,185,129,0.1);
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
}
.vendor-total { text-align: center; margin-top: 40px; }
.vendor-total p { font-size: 1.15rem; color: #94A3B8; max-width: 640px; margin: 0 auto; }
.vendor-total strong { color: #EF4444; }

/* ========== DELAY GRID ========== */
.delay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.delay-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s;
}
.delay-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.delay-icon { margin-bottom: 16px; }
.delay-icon svg { display: inline-block; }
.delay-card h3 { margin-bottom: 8px; }
.delay-stat { font-size: 1rem; font-weight: 700; color: #F59E0B; margin-bottom: 12px; }
.delay-card p { font-size: 0.875rem; color: #64748B; }

.section-transition { text-align: center; margin-top: 56px; }
.transition-line { font-size: 1.1rem; color: #94A3B8; max-width: 600px; margin: 0 auto 12px; }
.transition-line strong { color: #F59E0B; }
.transition-highlight { color: #3B82F6; font-weight: 600; font-size: 1.15rem; max-width: 640px; margin: 0 auto; text-align: center; }

/* ========== HOW IT WORKS — PREMIUM TABS ========== */
.hiw-section { overflow: hidden; }
.hiw-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hiw-tabs { position: relative; z-index: 1; }

/* Tab navigation — vertical on left feel but horizontal */
.hiw-tab-nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 48px;
}
.hiw-tab-btn {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.hiw-tab-btn:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.hiw-tab-btn.active {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 0 30px rgba(59,130,246,0.08);
}
.hiw-tab-num {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em;
  color: #475569; text-transform: uppercase;
}
.hiw-tab-btn.active .hiw-tab-num { color: #3B82F6; }
.hiw-tab-label { font-size: 1.05rem; font-weight: 700; color: #64748B; }
.hiw-tab-btn.active .hiw-tab-label { color: #F1F5F9; }
.hiw-tab-sub { font-size: 0.8rem; color: #475569; }
.hiw-tab-btn.active .hiw-tab-sub { color: #64748B; }
.hiw-tab-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,0.04);
}
.hiw-tab-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #3B82F6, #8B5CF6);
  transition: width 0.1s linear;
}
.hiw-tab-btn.active .hiw-tab-progress-fill { width: 0; }

/* Panel container */
.hiw-panel-container { position: relative; min-height: 520px; }
.hiw-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}
.hiw-panel.active {
  display: block;
  animation: hiwPanelIn 0.5s ease forwards;
}
.hiw-panel.exiting {
  display: block;
  animation: hiwPanelOut 0.25s ease forwards;
}
@keyframes hiwPanelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hiwPanelOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

/* Panel inner layout: small text left, big visual right */
.hiw-panel-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.hiw-text h3 { font-size: 1.25rem; margin-bottom: 12px; }
.hiw-text p { font-size: 0.9rem; color: #64748B; margin-bottom: 16px; line-height: 1.7; }
.check-list li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
  font-size: 0.9rem; color: #94A3B8;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: #10B981; font-weight: 700; font-size: 0.85rem;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.1); border-radius: 50%;
}

/* Shared app chrome */
.app-window-controls { display: flex; gap: 6px; }
.app-window-controls span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.app-bar-title { font-size: 0.75rem; color: rgba(255,255,255,0.35); font-weight: 500; }

/* ===== STEP 1: UPLOAD APP ===== */
.upload-app {
  background: #080D1A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.upload-app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-bar-nav { display: flex; gap: 4px; margin-left: auto; }
.app-bar-link {
  font-size: 0.7rem; font-weight: 600; color: #475569;
  padding: 4px 12px; border-radius: 6px;
  transition: all .2s;
}
.app-bar-link.active { background: rgba(59,130,246,0.15); color: #3B82F6; }
.upload-app-body { padding: 20px; }

/* Dropzone */
.upload-dropzone {
  border: 1.5px dashed rgba(59,130,246,0.25);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  background: rgba(59,130,246,0.02);
  margin-bottom: 16px;
  transition: all .3s;
}
.upload-dropzone.dragover {
  border-color: rgba(59,130,246,0.6);
  background: rgba(59,130,246,0.06);
}
.dropzone-icon { margin-bottom: 8px; }
.dropzone-icon svg { margin: 0 auto; }
.dropzone-text { font-size: 0.85rem; color: #64748B; margin-bottom: 4px; }
.dropzone-link { color: #3B82F6; cursor: pointer; }
.dropzone-formats { font-size: 0.7rem; color: #475569; }

/* File list */
.upload-files { display: flex; flex-direction: column; gap: 2px; }
.upload-file {
  display: grid; grid-template-columns: 36px 1fr 120px auto; gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s;
}
.upload-file.visible { opacity: 1; transform: translateY(0); }
.upload-file:hover { background: rgba(255,255,255,0.04); }
.file-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em;
}
.file-icon-pdf { background: rgba(239,68,68,0.12); color: #EF4444; }
.file-icon-dwg { background: rgba(59,130,246,0.12); color: #3B82F6; }
.file-name { font-size: 0.8rem; color: #CBD5E1; font-weight: 500; }
.file-meta { font-size: 0.7rem; color: #475569; }
.file-progress-wrap { height: 3px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.file-progress-bar {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, #3B82F6, #8B5CF6);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.upload-file.uploaded .file-progress-bar { width: 100%; }
.file-status-badge {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 4px;
  white-space: nowrap;
}
.file-status-badge.detecting { background: rgba(59,130,246,0.1); color: #3B82F6; }
.file-status-badge.classified { background: rgba(16,185,129,0.1); color: #10B981; }

/* Upload summary */
.upload-summary {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateY(8px);
  transition: all 0.5s ease;
}
.upload-summary.visible { opacity: 1; transform: translateY(0); }
.upload-summary-left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.summary-count { font-size: 0.8rem; font-weight: 600; color: #CBD5E1; }
.summary-dot { color: #475569; font-size: 0.7rem; }
.summary-detail { font-size: 0.75rem; color: #64748B; }
.upload-run-btn {
  font-size: 0.75rem; font-weight: 700; color: #fff;
  background: #3B82F6; border: none; border-radius: 8px;
  padding: 8px 16px; cursor: pointer;
  box-shadow: 0 0 16px rgba(59,130,246,0.3);
  transition: all .2s;
  white-space: nowrap;
}
.upload-run-btn:hover { background: #2563EB; box-shadow: 0 0 24px rgba(59,130,246,0.4); }

/* ===== STEP 2: REVIEW APP ===== */
.review-app {
  background: #080D1A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.review-app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.review-status-pill {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600; color: #3B82F6;
  background: rgba(59,130,246,0.08);
  padding: 4px 12px; border-radius: 100px;
}
.review-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3B82F6; animation: pulse-dot 1.5s ease infinite;
}
.review-app-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.review-project-name { font-size: 0.85rem; font-weight: 600; color: #CBD5E1; display: block; }
.review-project-meta { font-size: 0.7rem; color: #475569; display: block; margin-top: 2px; }
.review-progress-area { text-align: right; }
.review-progress-text { font-size: 0.75rem; color: #64748B; margin-bottom: 6px; font-weight: 600; }
.review-progress-track { width: 160px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; margin-left: auto; }
.review-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, #3B82F6, #8B5CF6); border-radius: 4px; transition: width 0.4s ease; }

/* Review content with sidebar */
.review-app-content { display: flex; max-height: 360px; }
.review-sidebar {
  width: 150px; flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
  overflow-y: auto;
}
.review-sidebar-title {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: #475569; padding: 0 14px 8px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.review-cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 14px; font-size: 0.72rem; color: #64748B;
  cursor: pointer; transition: all .2s;
}
.review-cat:hover { background: rgba(255,255,255,0.03); color: #94A3B8; }
.review-cat.active { background: rgba(59,130,246,0.08); color: #3B82F6; }
.review-cat-name { font-weight: 500; }
.review-cat-count {
  font-size: 0.6rem; font-weight: 700;
  background: rgba(255,255,255,0.06); color: #64748B;
  padding: 1px 6px; border-radius: 4px; min-width: 20px; text-align: center;
}
.review-cat.active .review-cat-count { background: rgba(59,130,246,0.15); color: #3B82F6; }

/* Check rows */
.review-app-body {
  padding: 8px 12px;
  flex: 1;
  overflow-y: auto;
}
.review-app-body::-webkit-scrollbar { width: 4px; }
.review-app-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.review-check {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px;
  align-items: start;
  padding: 12px 10px;
  border-radius: 8px;
  transition: all 0.3s;
  opacity: 0; transform: translateX(-10px);
}
.review-check.revealed { opacity: 1; transform: translateX(0); }
.review-check:hover { background: rgba(255,255,255,0.02); }
.review-check-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 0.75rem; font-weight: 800;
}
.review-check-icon .rc-icon { opacity: 0; transition: opacity 0.3s 0.15s; }
.review-check.revealed .review-check-icon .rc-icon { opacity: 1; }
.review-check:not(.review-check-fail) .review-check-icon {
  background: rgba(16,185,129,0.1); color: #10B981;
}
.review-check-fail .review-check-icon.fail {
  background: rgba(239,68,68,0.1); color: #EF4444;
}
.review-check-title {
  font-size: 0.82rem; font-weight: 500; color: #CBD5E1;
}
.review-check-cite {
  font-size: 0.7rem; color: #475569; margin-top: 2px;
}
.review-check-badge {
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap; align-self: center;
}
.pass-badge { background: rgba(16,185,129,0.1); color: #10B981; }
.fail-badge { background: rgba(239,68,68,0.12); color: #EF4444; }

/* Violation expanded fix */
.review-check-fix {
  margin-top: 10px;
  padding: 12px;
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.1);
  border-radius: 8px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s ease 0.3s, opacity 0.4s ease 0.4s, padding 0.5s ease 0.3s, margin 0.5s ease 0.3s;
}
.review-check-fail.revealed .review-check-fix {
  max-height: 200px; opacity: 1;
  padding: 12px; margin-top: 10px;
}
.fix-label {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: #EF4444; margin-bottom: 6px;
}
.fix-text { font-size: 0.78rem; color: #94A3B8; line-height: 1.6; }

/* Review footer */
.review-app-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
}
.review-footer-stats { display: flex; gap: 16px; }
.rfs-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; }
.rfs-pass { color: #10B981; }
.rfs-fail { color: #EF4444; }
.rfs-dot { width: 6px; height: 6px; border-radius: 50%; }
.pass-dot { background: #10B981; }
.fail-dot { background: #EF4444; }
.review-footer-action {
  font-size: 0.75rem; font-weight: 700; color: #3B82F6;
  opacity: 0; transition: opacity 0.5s;
  cursor: pointer;
}
.review-footer-action.visible { opacity: 1; }

/* ===== STEP 3: TRACK APP ===== */
.track-app {
  background: #080D1A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.track-app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.track-app-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.track-project-name { font-size: 1rem; font-weight: 700; color: #F1F5F9; }
.track-project-id { font-size: 0.75rem; color: #3B82F6; font-weight: 500; margin-top: 2px; }
.track-jurisdiction-name { font-size: 0.85rem; font-weight: 600; color: #CBD5E1; text-align: right; }
.track-jurisdiction-dept { font-size: 0.7rem; color: #475569; text-align: right; margin-top: 2px; }

/* Timeline */
.track-app-body { padding: 8px 20px 20px; }
.track-step {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.track-step.revealed { opacity: 1; transform: translateY(0); }
.track-step:last-child { border-bottom: none; }
/* Connector line */
.track-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px; top: 42px; bottom: -2px;
  width: 2px;
  background: rgba(255,255,255,0.06);
}
.track-step.done:not(:last-child)::after { background: rgba(16,185,129,0.3); }

.track-step-marker { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.done-marker svg { display: block; }
.active-marker {
  width: 14px; height: 14px; margin: 7px;
  border-radius: 50%; background: #3B82F6;
  position: relative;
}
.track-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.4);
  animation: track-pulse-anim 2s ease infinite;
}
@keyframes track-pulse-anim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.pending-marker {
  width: 10px; height: 10px; margin: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  background: transparent;
}
.track-step-title { font-size: 0.85rem; font-weight: 600; color: #CBD5E1; }
.track-step-meta { font-size: 0.75rem; color: #64748B; margin-top: 2px; }
.track-step-date { font-size: 0.7rem; color: #475569; margin-top: 4px; }
.pending-step .track-step-title { color: #475569; }
.pending-step .track-step-meta { color: #334155; }

.track-step-docs { display: flex; gap: 6px; flex-wrap: wrap; align-self: center; }
.track-doc {
  font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(59,130,246,0.08); color: #3B82F6;
}
.track-step-amount {
  font-size: 0.9rem; font-weight: 700; color: #CBD5E1; align-self: center;
}
.track-step-eta { text-align: right; align-self: center; }
.track-eta-label { font-size: 0.65rem; color: #475569; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.track-eta-date { font-size: 0.85rem; font-weight: 700; color: #F59E0B; margin-top: 2px; }

.track-app-footer { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.015); }
.track-footer-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.track-footer-fill { height: 100%; width: 0; background: linear-gradient(90deg, #10B981, #3B82F6); border-radius: 4px; transition: width 1.5s ease; }
.track-footer-text { font-size: 0.7rem; color: #64748B; text-align: center; }

/* ========== TECH GRID ========== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #3B82F6, #8B5CF6);
  opacity: 0; transition: opacity .3s;
}
.tech-card:hover::before { opacity: 1; }
.tech-card:hover { background: rgba(255,255,255,0.04); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.tech-icon-wrap {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}
.tech-card h3 { margin-bottom: 8px; }
.tech-card p { font-size: 0.9rem; color: #64748B; }

/* ========== CALCULATOR ========== */
.calculator { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.calc-inputs {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px;
}
.slider-group { margin-bottom: 24px; }
.slider-group:last-child { margin-bottom: 0; }
.slider-group label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 500; color: #CBD5E1; margin-bottom: 8px; }
.slider-group output { color: #3B82F6; font-weight: 700; }
input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 4px;
  background: rgba(255,255,255,0.08); border-radius: 3px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #3B82F6; cursor: pointer; box-shadow: 0 0 10px rgba(59,130,246,0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; border: none;
  background: #3B82F6; cursor: pointer;
}
.calc-results { display: flex; flex-direction: column; gap: 24px; }
.calc-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc-column {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 24px;
}
.calc-without { border-color: rgba(239,68,68,0.15); }
.calc-with { border-color: rgba(16,185,129,0.2); background: rgba(16,185,129,0.03); }
.calc-column h4 { font-size: 0.95rem; margin-bottom: 16px; }
.calc-without h4 { color: #EF4444; }
.calc-with h4 { color: #10B981; }
.result-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.85rem; color: #94A3B8; border-bottom: 1px solid rgba(255,255,255,0.04); }
.result-green span { color: #10B981; font-weight: 600; }
.result-total { display: flex; justify-content: space-between; padding: 14px 0 0; font-weight: 700; font-size: 1rem; color: #CBD5E1; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 4px; }
.cost-red { color: #EF4444; font-weight: 600; }
.cost-red-big { color: #EF4444; font-weight: 800; font-size: 1.2rem; }
.cost-green-big { color: #10B981; font-weight: 800; font-size: 1.2rem; }
.calc-savings {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px;
}
.savings-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; text-align: center; }
.savings-block { }
.calc-cta { text-align: center; margin-top: 32px; }
.calc-hero-savings { text-align: center; margin-bottom: 32px; padding: 32px; border-radius: 16px; background: rgba(239,68,68,0.04); border: 1px solid rgba(239,68,68,0.12); }
.calc-hero-label { font-size: 0.9rem; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-weight: 600; }
.calc-hero-number { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.03em; background: linear-gradient(135deg, #EF4444, #F97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; }
.calc-hero-sub { font-size: 0.9rem; color: #94A3B8; margin-top: 8px; }
.calc-breakdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.calc-breakdown-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 20px; text-align: center; }
.calc-breakdown-icon { font-size: 1.5rem; margin-bottom: 8px; }
.calc-breakdown-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.calc-breakdown-label { font-size: 0.8rem; color: #94A3B8; font-weight: 600; margin-bottom: 6px; }
.calc-breakdown-detail { font-size: 0.7rem; color: #64748B; line-height: 1.3; }
.calc-with-block { background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.12); border-radius: 16px; padding: 28px; text-align: center; }
.calc-with-block h4 { font-size: 1.1rem; color: #E2E8F0; margin-bottom: 20px; font-weight: 700; }
.calc-with-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.calc-with-stat { }
.calc-with-number { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; background: linear-gradient(135deg, #10B981, #06B6D4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.calc-with-label { font-size: 0.75rem; color: #94A3B8; margin-top: 4px; }
.calc-with-detail { font-size: 0.65rem; color: #64748B; margin-top: 4px; line-height: 1.3; }
.savings-label { font-size: 0.8rem; color: #64748B; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.savings-number {
  font-size: 2.2rem; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(16,185,129,0.3));
}
.savings-time {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(59,130,246,0.3));
}
.savings-roi-num {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245,158,11,0.3));
}
.savings-pct { font-size: 0.8rem; color: #10B981; font-weight: 600; margin-top: 2px; }
.slider-hint { font-size: 0.75rem; color: #475569; margin-top: 4px; }
@media (max-width: 768px) {
  .calc-comparison { grid-template-columns: 1fr; }
  .savings-row { grid-template-columns: 1fr; gap: 16px; }
  .calc-breakdown-grid { grid-template-columns: 1fr 1fr; }
  .calc-with-grid { grid-template-columns: 1fr 1fr; }
  .calc-hero-number { font-size: 2.5rem; }
}

/* ========== AUDIENCE GRID ========== */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px; text-align: center;
  transition: all .3s;
}
.audience-card:hover { background: rgba(255,255,255,0.04); transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }
.audience-icon { font-size: 2rem; margin-bottom: 12px; }
.audience-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.audience-card p { font-size: 0.85rem; color: #64748B; margin: 0 auto; }

/* ========== COMPARISON TABLE ========== */
.comparison-table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; }
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 0.875rem;
}
.comparison-table th {
  padding: 16px 20px; text-align: center;
  color: #64748B; font-weight: 600; font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comparison-table th:first-child { text-align: left; }
.comparison-table th.highlight-col {
  color: #3B82F6; font-weight: 700;
  background: rgba(59,130,246,0.06);
  border-top: 2px solid #3B82F6;
  border-radius: 12px 12px 0 0;
}
.comparison-table td {
  padding: 14px 20px; text-align: center;
  color: #64748B; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.comparison-table td:first-child { text-align: left; color: #CBD5E1; font-weight: 500; }
.comparison-table td.highlight-col {
  background: rgba(59,130,246,0.04);
  color: #10B981; font-weight: 500;
  border-left: 1px solid rgba(59,130,246,0.1);
  border-right: 1px solid rgba(59,130,246,0.1);
}
.comparison-table tr:last-child td.highlight-col {
  border-bottom: 2px solid rgba(59,130,246,0.2);
  border-radius: 0 0 12px 12px;
}
.table-check { color: #10B981; font-weight: 700; margin-right: 4px; }

/* ========== WINS GRID ========== */
.wins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.win-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s;
}
.win-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-3px); }
.win-header { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.win-tag { font-size: 0.85rem; font-weight: 700; color: #F1F5F9; }
.win-rows { padding: 20px 24px; }
.win-row { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; flex-direction: column; gap: 4px; }
.win-row:last-child { border-bottom: none; }
.win-old { font-size: 0.8rem; color: #475569; text-decoration: line-through; }
.win-new { font-size: 0.85rem; color: #10B981; font-weight: 500; }

/* (credibility section removed) */

/* ========== PRICING ========== */
.pricing-card { max-width: 640px; margin: 0 auto; }
.pricing-inner {
  background: rgba(255,255,255,0.02);
  border: 1.5px solid rgba(59,130,246,0.3);
  border-radius: 20px;
  padding: 48px; text-align: center;
  box-shadow: 0 0 40px rgba(59,130,246,0.06);
}
.pricing-inner h3 { font-size: 1.4rem; margin-bottom: 16px; }
.pricing-inner p { margin: 0 auto 24px; color: #64748B; }
.pricing-inner .check-list { text-align: left; max-width: 380px; margin: 0 auto 32px; }
.pricing-inner .btn { min-width: 220px; }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: #F1F5F9;
  text-align: left; transition: color .2s;
}
.faq-q:hover { color: #3B82F6; }
.faq-q::after { content: '+'; font-size: 1.25rem; color: #475569; transition: all .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q::after { content: '−'; color: #3B82F6; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { color: #64748B; font-size: 0.925rem; max-width: none; line-height: 1.7; }

/* ========== CTA SECTION ========== */
.cta-section { padding: 120px 0; }
.cta-card {
  text-align: center; padding: 80px 48px;
  background: linear-gradient(180deg, #0F172A 0%, #131D35 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card h2 { margin-bottom: 16px; position: relative; }
.cta-card p { color: #64748B; font-size: 1.1rem; max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ========== FOOTER ========== */
.footer { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { color: #475569; font-size: 0.85rem; margin-top: 12px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #475569; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; color: #64748B; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #F1F5F9; }
.footer-bottom { padding: 32px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-bottom p { font-size: 0.8rem; color: #475569; }

/* ========== STICKY CTA ========== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(11,17,33,0.95); backdrop-filter: blur(16px);
  box-shadow: 0 -1px 24px rgba(0,0,0,0.3);
  padding: 12px 0;
  transform: translateY(100%); transition: transform .35s ease;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; }
.sticky-cta-inner span { font-size: 0.9rem; font-weight: 500; color: #94A3B8; }

/* ========== ANIMATIONS ========== */
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .coverage-grid, .audience-grid, .vendor-grid-h { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 140px 0 80px; }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 560px; }
  .calculator { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(11,17,33,0.98); backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .coverage-grid, .audience-grid, .tech-grid, .delay-grid, .wins-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 120px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-card { padding: 48px 24px; }
  .pricing-inner { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .sticky-cta-inner span { display: none; }
  .sticky-cta-inner { justify-content: center; }
  .vendor-grid-h { grid-template-columns: repeat(2, 1fr); }

  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  /* HIW responsive */
  .hiw-tab-nav { grid-template-columns: 1fr; }
  .hiw-panel-inner { grid-template-columns: 1fr; gap: 24px; }
  .hiw-panel-container { min-height: auto; }
  .upload-file { grid-template-columns: 28px 1fr auto; }
  .file-progress-wrap { display: none; }
  .review-sidebar { display: none; }
  .review-app-content { max-height: none; }
  .mockup-sidebar { display: none; }
  .review-app-header { flex-direction: column; gap: 12px; }
  .review-progress-area { text-align: left; }
  .review-progress-track { margin-left: 0; width: 100%; }
  .track-app-header { flex-direction: column; gap: 8px; }
  .track-jurisdiction-name, .track-jurisdiction-dept { text-align: left; }
  .track-step-docs { display: none; }
}
