/* ============================================
   FleetBell — Global Styles
   Dark modern SaaS design for automotive AI
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #111118;
  --bg-light: #1a1a24;
  --accent: #3b82f6;
  --accent-cyan: #06b6d4;
  --cta: #f59e0b;
  --cta-hover: #d97706;
  --success: #10b981;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --gradient: linear-gradient(135deg, #3b82f6, #06b6d4);
  --gradient-cta: linear-gradient(135deg, #f59e0b, #f97316);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 30px rgba(59,130,246,.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,.4);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Skip Nav (ADA) --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition);
}
.skip-nav:focus { top: 16px; }

/* --- Focus Styles (ADA) --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { color: var(--text-muted); line-height: 1.7; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-cyan); }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.125rem; max-width: 640px; margin: 0 auto 48px; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-amber {
  color: var(--cta);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245,158,11,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,.45);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { color: var(--text); }
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }
.nav-cta .btn { padding: 10px 24px; font-size: .9rem; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50% { opacity: .8; box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.hero h1 { margin-bottom: 24px; }
.hero-sub { font-size: 1.25rem; margin-bottom: 16px; max-width: 560px; }
.hero-industries { font-size: 1rem; color: var(--accent); font-weight: 500; margin-bottom: 40px; max-width: 560px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; }
.hero-stat strong { display: block; font-size: 1.5rem; color: var(--text); }
.hero-stat span { font-size: .85rem; color: var(--text-muted); }

/* Hero phone animation */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 420px;
  display: none;
}
@media (min-width: 1024px) {
  .hero-visual { display: block; }
  .hero-content { max-width: 580px; }
}
.phone-mockup {
  width: 280px;
  height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 16px;
}
.phone-screen { display: flex; flex-direction: column; gap: 12px; padding: 8px; }
.phone-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: .75rem;
}
.phone-line .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.phone-line .dot.green { background: var(--success); }
.phone-line .dot.blue { background: var(--accent); }
.phone-line .dot.amber { background: var(--cta); }
.phone-ring-anim {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
}
.ring-circle {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: ring-expand 2s ease-out infinite;
}
.ring-circle:nth-child(2) { animation-delay: .5s; }
.ring-circle:nth-child(3) { animation-delay: 1s; }
@keyframes ring-expand {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.trust-label { font-size: .9rem; color: var(--text-muted); margin-bottom: 32px; }
.trust-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.trust-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  opacity: .6;
  transition: opacity var(--transition);
}
.trust-icon:hover { opacity: 1; }
.trust-icon svg { width: 36px; height: 36px; }
.trust-icon span { font-size: .75rem; }

/* --- How It Works --- */
.how-it-works { background: var(--bg-dark); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; position: relative; }
.step {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}
.step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
}
.step h3 { margin-bottom: 12px; }

/* Connector arrows between steps */
.step-connector {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .step-connector { display: flex; font-size: 1.5rem; }
}

/* --- Industry Cards --- */
.industries { background: var(--bg-light); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.industry-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent);
}
.industry-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.industry-card p { font-size: .9rem; }

/* --- Features Grid --- */
.features { background: var(--bg-dark); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: .9rem; }

/* --- Differentiator Section --- */
.differentiator {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.differentiator::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59,130,246,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Pillar cards */
.diff-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.diff-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.diff-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.diff-pillar:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.diff-pillar:hover::before { opacity: 1; }
.diff-pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--accent);
}
.diff-pillar-icon svg { width: 26px; height: 26px; }
.diff-pillar h3 { margin-bottom: 12px; }
.diff-pillar p { font-size: .9rem; }

/* Generic vs FleetBell comparison */
.diff-comparison {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.diff-generic, .diff-fleetbell {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
}
.diff-generic {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.15);
}
.diff-fleetbell {
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.15);
}
.diff-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.diff-label--generic {
  background: rgba(239,68,68,.12);
  color: #ef4444;
}
.diff-label--fb {
  background: rgba(16,185,129,.12);
  color: var(--success);
}
.diff-generic p, .diff-fleetbell p {
  color: var(--text);
  font-style: italic;
}

/* Segment grid heading */
.diff-segments-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 32px;
}

/* Segment accordion grid */
.diff-segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.diff-segment {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.diff-segment:hover, .diff-segment.open {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(59,130,246,.1);
}
.diff-segment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
}
.diff-segment-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  transition: all var(--transition);
}
.diff-segment.open .diff-segment-icon,
.diff-segment:hover .diff-segment-icon {
  background: var(--gradient);
  color: #fff;
}
.diff-segment-icon svg { width: 20px; height: 20px; }
.diff-segment-header h4 {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
}
.diff-segment-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.diff-segment.open .diff-segment-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.diff-segment-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 24px;
}
.diff-segment.open .diff-segment-body {
  max-height: 200px;
  padding: 0 24px 20px;
}
.diff-segment-body p {
  font-size: .9rem;
  line-height: 1.7;
}

/* --- Demo Section --- */
.demo { background: var(--bg-light); }
.demo-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.demo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}
.demo-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 64px;
  margin: 32px 0;
}
.demo-waveform .bar {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: waveform 1.2s ease-in-out infinite alternate;
}
.demo-waveform .bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.demo-waveform .bar:nth-child(2) { height: 35px; animation-delay: .1s; }
.demo-waveform .bar:nth-child(3) { height: 50px; animation-delay: .2s; }
.demo-waveform .bar:nth-child(4) { height: 30px; animation-delay: .3s; }
.demo-waveform .bar:nth-child(5) { height: 55px; animation-delay: .4s; }
.demo-waveform .bar:nth-child(6) { height: 40px; animation-delay: .5s; }
.demo-waveform .bar:nth-child(7) { height: 25px; animation-delay: .6s; }
.demo-waveform .bar:nth-child(8) { height: 45px; animation-delay: .7s; }
.demo-waveform .bar:nth-child(9) { height: 35px; animation-delay: .8s; }
.demo-waveform .bar:nth-child(10) { height: 20px; animation-delay: .9s; }
.demo-waveform .bar:nth-child(11) { height: 50px; animation-delay: 1s; }
.demo-waveform .bar:nth-child(12) { height: 30px; animation-delay: 1.1s; }
@keyframes waveform {
  0% { transform: scaleY(.4); }
  100% { transform: scaleY(1); }
}
.demo-transcript {
  text-align: left;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-top: 24px;
  font-size: .9rem;
}
.demo-transcript .line { margin-bottom: 12px; }
.demo-transcript .line:last-child { margin-bottom: 0; }
.demo-transcript .speaker {
  font-weight: 600;
  margin-right: 8px;
}
.demo-transcript .caller { color: var(--cta); }
.demo-transcript .ai { color: var(--accent); }

/* --- Pricing --- */
.pricing { background: var(--bg-dark); }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-toggle span { font-size: .9rem; color: var(--text-muted); }
.pricing-toggle span.active { color: var(--text); font-weight: 600; }
.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.toggle-switch[aria-checked="true"] { background: var(--accent); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}
.toggle-switch[aria-checked="true"]::after { transform: translateX(24px); }
.save-badge {
  font-size: .75rem;
  background: rgba(16,185,129,.15);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  padding: 4px 20px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0;
}
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card .price-note { font-size: .85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .9rem;
  color: var(--text-muted);
}
.pricing-features li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--success); margin-top: 2px; }
.pricing-card .btn { width: 100%; }

/* --- Testimonials --- */
.testimonials { background: var(--bg-light); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-stars { color: var(--cta); margin-bottom: 16px; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}
.testimonial-author .name { font-weight: 600; font-size: .9rem; }
.testimonial-author .role { font-size: .8rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq { background: var(--bg-dark); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 24px; font-size: .95rem; }

/* --- Final CTA --- */
.final-cta {
  padding: 120px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { margin-bottom: 40px; font-size: 1.125rem; }

/* --- Footer --- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 12px; font-size: .9rem; max-width: 280px; }
.footer-col h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: .9rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Particles Background --- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: .3; }
  90% { opacity: .3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ============================================
   Sign-Up Page
   ============================================ */
.signup-page {
  min-height: 100vh;
  display: flex;
}
.signup-side {
  flex: 1;
  background: var(--bg-card);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.signup-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}
.signup-side .benefits { margin-top: 40px; }
.signup-side .benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h4 { font-size: .95rem; margin-bottom: 4px; }
.benefit p { font-size: .85rem; }

.signup-form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
}
.signup-form-wrapper { width: 100%; max-width: 480px; }
.signup-form-wrapper h2 { margin-bottom: 8px; }
.signup-form-wrapper .subtitle { margin-bottom: 32px; }
.signup-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: var(--text-muted); opacity: .5; }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.trust-signal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}
.trust-signal svg { width: 16px; height: 16px; color: var(--success); }

/* --- Responsive --- */
@media (max-width: 1023px) {
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,15,.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-cta { display: none; }
  .nav-links.open .nav-cta-mobile { display: block; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; }
  .form-row { grid-template-columns: 1fr; }
  .signup-page { flex-direction: column; }
  .signup-side { padding: 40px 24px; }
  .signup-form-section { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-icons { gap: 24px; }
}
