/* ═══════════════════════════════════════════════════════
   FlyAlerts — Premium Landing Page Styles v2
   Dark · Glassmorphism · Rich Animations · Full Responsive
   ═══════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --bg-deep:        #050b1a;
  --bg-dark:        #070d1f;
  --bg-card:        rgba(255,255,255,0.03);
  --bg-card-hover:  rgba(255,255,255,0.06);
  --glass:          rgba(255,255,255,0.05);
  --glass-border:   rgba(255,255,255,0.08);

  --cyan:       #00d4ff;
  --cyan-dim:   rgba(0,212,255,0.12);
  --cyan-glow:  rgba(0,212,255,0.25);
  --violet:     #7c3aed;
  --violet-dim: rgba(124,58,237,0.18);
  --blue:       #3b82f6;
  --green:      #10b981;
  --amber:      #f59e0b;

  --grad-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --grad-hero:    linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #3b82f6 100%);

  --text-primary:   #f0f4ff;
  --text-secondary: #8892aa;
  --text-muted:     #4a556e;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(0,212,255,0.12);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:  0.3s var(--ease);
  --ts: 0.6s var(--ease);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-sans); background: var(--bg-deep); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
img   { max-width: 100%; display: block; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }
::selection               { background: var(--cyan-dim); color: var(--cyan); }

/* ─── Gradient text ─── */
.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout helpers ─── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--glass);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-xl   { padding: 15px 30px; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════
   HERO-ONLY ENTRANCE ANIMATIONS
   (CSS-driven, no JS needed)
   ══════════════════════════════════ */
.anim-fade-down {
  animation: fadeInDown 0.7s var(--delay, 0s) both;
}
.anim-fade-up {
  animation: fadeInUp 0.7s var(--delay, 0s) both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════
   SCROLL REVEAL (JS adds .visible)
   ══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger siblings inside grids */
.features-grid   .reveal:nth-child(2) { transition-delay: 0.08s; }
.features-grid   .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-grid   .reveal:nth-child(4) { transition-delay: 0.24s; }
.features-grid   .reveal:nth-child(5) { transition-delay: 0.32s; }
.features-grid   .reveal:nth-child(6) { transition-delay: 0.40s; }
.stats-grid      .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-grid      .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats-grid      .reveal:nth-child(4) { transition-delay: 0.24s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.testimonials-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.steps-container .reveal:nth-child(2) { transition-delay: 0.12s; }
.steps-container .reveal:nth-child(3) { transition-delay: 0.24s; }
.faq-list        .reveal:nth-child(2) { transition-delay: 0.06s; }
.faq-list        .reveal:nth-child(3) { transition-delay: 0.12s; }
.faq-list        .reveal:nth-child(4) { transition-delay: 0.18s; }
.faq-list        .reveal:nth-child(5) { transition-delay: 0.24s; }

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--t);
}
.navbar.scrolled {
  background: rgba(5,11,26,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 11px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--t);
}
.nav-logo:hover { opacity: 0.85; }
.logo-icon   { font-size: 1.3rem; }
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--t);
}
.nav-link:hover { color: var(--text-primary); background: var(--glass); }

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

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

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 24px 80px;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,11,26,0.25) 0%,
    rgba(5,11,26,0.05) 35%,
    rgba(5,11,26,0.65) 75%,
    rgba(5,11,26,1) 100%);
}

/* Particles */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  animation: particleFly linear infinite;
}
@keyframes particleFly {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.25; }
  100% { opacity: 0; transform: translateY(-80vh) scale(1.4); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,212,255,0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
.subtitle-line { color: var(--text-secondary); font-size: 0.88em; }

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 34px;
  line-height: 1.7;
}
.hero-description strong { color: var(--cyan); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Hero metrics */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  backdrop-filter: blur(14px);
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 22px;
  text-align: center;
}
.metric-top {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
  margin-bottom: 4px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.metric-suffix {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
}
.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.metric-divider {
  width: 1px; height: 38px;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* Dashboard card */
.hero-dashboard {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 44px auto 0;
}

.glow-card {
  background: rgba(8,14,33,0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
  transition: var(--t);
}
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 60px rgba(0,212,255,0.18);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--glass-border);
}
.dash-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.dash-title {
  flex: 1; text-align: center;
  font-size: 0.8rem; color: var(--text-muted); font-weight: 500;
}
.dash-live {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; color: var(--green); letter-spacing: 0.08em;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulseGlow 1.5s ease-in-out infinite;
}

.live-ticker { padding: 10px 18px; border-bottom: 1px solid var(--glass-border); }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ticker-item:last-child { border-bottom: none; }
.ticker-route  { font-size: 0.83rem; font-weight: 600; flex: 1; }
.ticker-price  { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; }
.price-drop    { color: var(--green); }
.ticker-badge  { font-size: 0.7rem; padding: 2px 9px; border-radius: 100px; background: var(--glass); color: var(--text-muted); }
.alert-badge   { background: rgba(16,185,129,0.12); color: var(--green); }

.mini-chart    { padding: 12px 18px; }
.chart-label   { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 7px; }
.chart-svg     { width: 100%; height: 56px; }
.chart-line    { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 2s 0.8s ease forwards; }
.chart-area    { opacity: 0; animation: fadeIn 2s 1s ease forwards; }
.chart-dot     { opacity: 0; animation: fadeIn 0.5s 2.5s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.dash-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--glass-border);
}
.dash-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 11px 6px; background: rgba(8,14,33,0.95);
}
.ds-label   { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 3px; }
.ds-value   { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.price-highlight { color: var(--cyan); }
.savings    { color: var(--green); }
.score      { font-size: 0.78rem; }

.scroll-indicator {
  position: relative; z-index: 2;
  margin-top: 28px;
  display: flex; justify-content: center;
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-arrow { color: var(--text-muted); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

/* ═══════════ LOGO STRIP ═══════════ */
.logo-strip {
  padding: 28px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(7,13,31,0.6);
  overflow: hidden;
}
.strip-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll wrapper: clips overflow + adds fade masks on edges */
.logo-scroll-wrap {
  overflow: hidden;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Track: 3 copies → animate -33.33% for a perfect loop */
.logo-track {
  display: flex;
  width: max-content;
  gap: 56px;
  padding: 4px 0;
  animation: scrollLeft 28s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }

.logo-item {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
  transition: color var(--t);
  cursor: default;
}
.logo-item:hover { color: var(--text-primary); }

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

/* ═══════════ FEATURES ═══════════ */
.features { padding: 100px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0,212,255,0.18);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0,212,255,0.06);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card--large { grid-column: span 2; }

.feature-icon-wrap { margin-bottom: 14px; }
.feature-icon {
  font-size: 1.8rem;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-dim);
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-4deg); }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Pulse ring */
.feature-visual { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.pulse-ring {
  position: relative;
  width: 38px; height: 38px; flex-shrink: 0;
}
.pulse-ring::before, .pulse-ring::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: pulseRing 2s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1s; }
@keyframes pulseRing {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.lc-number { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--cyan); }
.lc-label  { font-size: 0.72rem; color: var(--text-muted); }

/* Alert bubble */
.alert-bubble {
  display: flex; align-items: center; gap: 12px;
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: var(--radius-md);
  padding: 12px 15px;
}
.alert-bubble .ab-icon { font-size: 1.3rem; }
.alert-bubble strong   { display: block; font-size: 0.83rem; color: var(--green); }
.alert-bubble span     { font-size: 0.76rem; color: var(--text-secondary); }

/* Mini bars */
.mini-bars {
  display: flex; align-items: flex-end; gap: 5px;
  height: 56px; margin-top: 14px;
}
.bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(0,212,255,0.15);
  border-radius: 3px 3px 0 0;
  transition: height 0.5s var(--ease), background var(--t);
}
.bar--active { background: var(--cyan); box-shadow: 0 0 10px rgba(0,212,255,0.35); }
.feature-card:hover .bar { background: rgba(0,212,255,0.28); }
.feature-card:hover .bar--active { background: var(--cyan); }

/* Prediction chips */
.prediction-chip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  font-size: 0.78rem; font-weight: 600;
  padding: 7px 13px; border-radius: 8px;
}
.chip-buy  { background: rgba(16,185,129,0.1);  color: var(--green); border: 1px solid rgba(16,185,129,0.22); }
.chip-wait { background: rgba(245,158,11,0.1);  color: var(--amber); border: 1px solid rgba(245,158,11,0.22); }

/* ═══════════ HOW IT WORKS ═══════════ */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.03), transparent);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  position: relative;
}
.step-connector {
  position: absolute;
  top: 52px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0.25;
  pointer-events: none;
}

.step {
  text-align: center;
  padding: 28px 16px;
  position: relative;
  border-radius: var(--radius-lg);
  transition: var(--t);
}
.step:hover { background: var(--bg-card); }

.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  position: absolute; top: 4px; left: 50%;
  transform: translateX(-50%);
  user-select: none;
}
.step-icon {
  font-size: 2.2rem;
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin: 0 auto 18px;
  position: relative; z-index: 1;
  transition: transform 0.4s var(--ease-spring), background var(--t), border-color var(--t), box-shadow var(--t);
}
.step:hover .step-icon {
  background: var(--cyan-dim);
  border-color: rgba(0,212,255,0.28);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 0 24px rgba(0,212,255,0.18);
}
.step-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.68; }

/* ═══════════ STATS ═══════════ */
.stats-section { padding: 100px 0; position: relative; overflow: hidden; }
.stats-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,0.05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.stat-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); }
.stat-card:hover::after { transform: scaleX(1); }

.stat-icon { font-size: 1.7rem; margin-bottom: 10px; }
.stat-big  {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 800;
  color: var(--text-primary); line-height: 1;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.4; }

.stat-bar      { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.stat-bar-fill {
  height: 100%;
  width: 0;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width 1.4s 0.3s var(--ease);
}
.stat-card.visible .stat-bar-fill { width: var(--w, 50%); }

/* Live feed */
.live-feed-container {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.live-feed-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.83rem; font-weight: 600; color: var(--text-secondary);
}
.live-feed     { max-height: 230px; overflow-y: auto; }
.feed-item {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.83rem;
}
.feed-item:last-child { border-bottom: none; }
.feed-route  { font-weight: 600; flex: 1; white-space: nowrap; }
.feed-price  { font-family: var(--font-display); font-weight: 700; color: var(--green); flex-shrink: 0; }
.feed-savings{ font-size: 0.72rem; color: var(--text-muted); flex-shrink: 0; }
.feed-time   { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; flex-shrink: 0; }

@keyframes slideInFeed {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════ DASHBOARD SECTION ═══════════ */
.dashboard-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.015), transparent);
}

.dashboard-preview-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.db-glow {
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 40px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.2) 0%, transparent 70%);
  filter: blur(18px);
}
.dashboard-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card), 0 0 80px rgba(0,212,255,0.08);
}
.db-overlay-badges { position: absolute; inset: 0; pointer-events: none; }
.db-badge {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(5,11,26,0.88);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 0.8rem; font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}
.db-badge-1 { top: 10%; left: -2%; animation: floatBadge 3s ease-in-out infinite; }
.db-badge-2 { top: 38%; right: -2%; animation: floatBadge 3.6s 0.5s ease-in-out infinite; }
.db-badge-3 { bottom: 14%; left: 4%;  animation: floatBadge 4s 1s ease-in-out infinite; }
.db-badge-icon { font-size: 1rem; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* ═══════════ PRICING ═══════════ */
.pricing { padding: 100px 0; }

.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 44px;
  font-size: 0.88rem; color: var(--text-secondary);
}
.toggle-switch { position: relative; display: inline-block; width: 42px; height: 23px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--glass-border);
  border-radius: 100px; cursor: pointer;
  transition: var(--t);
}
.toggle-track::before {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 17px; height: 17px;
  background: #fff; border-radius: 50%;
  transition: var(--t);
}
input:checked + .toggle-track { background: var(--grad-primary); }
input:checked + .toggle-track::before { transform: translateX(19px); }

.save-badge {
  background: rgba(16,185,129,0.1); color: var(--green);
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--t);
  max-width: 440px;
  width: 100%;
}
.plan-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-4px); box-shadow: var(--shadow-card); }

.plan-card--featured {
  background: linear-gradient(160deg, rgba(0,212,255,0.05), rgba(124,58,237,0.05));
  border-color: rgba(0,212,255,0.22);
  box-shadow: 0 0 40px rgba(0,212,255,0.07);
}

.plan-popular {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.plan-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.plan-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 22px; line-height: 1.5; }

.plan-price {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 28px;
}
.price-currency {
  font-size: 1.15rem; font-weight: 700; color: var(--text-secondary);
  align-self: flex-start; margin-top: 7px;
}
.price-num {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 900; line-height: 1;
  transition: var(--t);
}
.price-period { font-size: 0.83rem; color: var(--text-muted); margin-left: 4px; }

.plan-features { margin-bottom: 28px; }
.pf-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.87rem;
}
.pf-item:last-child { border-bottom: none; }
.pf-check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.03), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--t);
}
.testi-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); }
.testi-card--featured {
  border-color: rgba(0,212,255,0.18);
  background: linear-gradient(135deg, rgba(0,212,255,0.03), rgba(124,58,237,0.03));
}
.testi-stars   { color: var(--amber); font-size: 0.88rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote   { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.72; margin-bottom: 18px; font-style: italic; }
.testi-author  { display: flex; align-items: center; gap: 11px; }
.testi-avatar  {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.88rem; }
.testi-author span   { font-size: 0.76rem; color: var(--text-muted); }

/* ═══════════ FAQ ═══════════ */
.faq-section { padding: 100px 0; }

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open { border-color: rgba(0,212,255,0.2); }

.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  background: none; border: none;
  color: var(--text-primary);
  font-family: var(--font-sans); font-size: 0.93rem; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: color var(--t);
}
.faq-question:hover { color: var(--cyan); }
.faq-icon {
  font-size: 1.4rem; color: var(--cyan); flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.42s ease;
}
.faq-item.open .faq-answer { max-height: 220px; }
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.87rem; color: var(--text-secondary); line-height: 1.72;
}

/* ═══════════ FINAL CTA ═══════════ */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%,-50%) scale(1.15); opacity: 0.7; }
}

.final-cta-content { position: relative; }
.cta-plane {
  font-size: 2.8rem;
  display: inline-block;
  margin-bottom: 22px;
  animation: planeFly 3.2s ease-in-out infinite;
}
@keyframes planeFly {
  0%, 100% { transform: translateX(-10px) rotate(-8deg); }
  50%       { transform: translateX(10px) rotate(4deg); }
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.final-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 500px; margin: 0 auto 36px;
  line-height: 1.7;
}
.final-actions { margin-bottom: 22px; }
.final-note    { font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }

/* ═══════════ FOOTER ═══════════ */
.footer { padding: 60px 0 0; border-top: 1px solid var(--glass-border); }

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-tagline { font-size: 0.84rem; color: var(--text-muted); margin: 10px 0 18px; line-height: 1.5; }
.footer-socials { display: flex; gap: 8px; }
.social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 8px; font-size: 0.88rem;
  transition: var(--t);
}
.social-link:hover { background: var(--cyan-dim); border-color: rgba(0,212,255,0.28); }

.footer-links { display: contents; }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-secondary); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 0.83rem;
  color: var(--text-muted); padding: 4px 0;
  transition: color var(--t);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-muted);
}

/* ═══════════ SHARED KEYFRAMES ═══════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* ═══════════ SCROLL TO TOP ═══════════ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.5);
}
.scroll-top:active {
  transform: translateY(0) scale(0.96);
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: repeat(2,1fr); }
  .feature-card--large { grid-column: span 2; }
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-container { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-brand     { grid-column: span 3; }
  .footer-links     { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; grid-column: span 3; }
}

/* Large mobile – 768px */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links         { display: none; }
  .nav-cta .btn-ghost{ display: none; }
  .nav-burger        { display: flex; }

  /* Hero */
  .hero              { padding: 110px 16px 64px; }
  .hero-title        { font-size: clamp(2.4rem, 9vw, 3.8rem); }
  .hero-description  { font-size: 1rem; }
  .hero-metrics      { padding: 14px 16px; gap: 0; }
  .metric            { padding: 8px 12px; }
  .metric-value      { font-size: 1.6rem; }
  .metric-divider    { height: 32px; }

  /* Dashboard card */
  .dash-stats        { grid-template-columns: repeat(2,1fr); }

  /* Features */
  .features-grid     { grid-template-columns: 1fr; gap: 14px; }
  .feature-card--large { grid-column: span 1; }

  /* Steps */
  .steps-container   { grid-template-columns: 1fr; gap: 12px; }
  .step-connector    { display: none; }

  /* Stats */
  .stats-grid        { grid-template-columns: repeat(2,1fr); }

  /* Dashboard badges */
  .db-overlay-badges { display: none; }

  /* Pricing */
  .plan-card         { padding: 24px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-container  { grid-template-columns: 1fr; }
  .footer-brand      { grid-column: span 1; }
  .footer-links      { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; grid-column: span 1; }
  .footer-bottom     { flex-direction: column; gap: 6px; text-align: center; }
}

/* Small mobile – 480px */
@media (max-width: 480px) {
  .section-container { padding: 0 16px; }
  .section-header    { margin-bottom: 44px; }

  .hero              { padding: 100px 16px 56px; }
  .hero-actions      { flex-direction: column; align-items: stretch; }
  .btn-xl            { justify-content: center; width: 100%; }

  .hero-metrics      { flex-direction: column; gap: 0; padding: 12px; }
  .metric            { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 12px; width: 100%; border-bottom: 1px solid var(--glass-border); }
  .metric:last-child { border-bottom: none; }
  .metric-top        { flex-direction: row; align-items: baseline; }
  .metric-divider    { display: none; }

  .hero-dashboard    { margin-top: 32px; }
  .dash-stats        { grid-template-columns: repeat(2,1fr); }
  .ds-label          { font-size: 0.6rem; }
  .ds-value          { font-size: 0.85rem; }

  .features-grid     { gap: 12px; }
  .steps-container   { gap: 10px; }
  .stats-grid        { grid-template-columns: 1fr; }

  .footer-links      { grid-template-columns: 1fr 1fr; }

  .feature-card, .stat-card, .testi-card, .plan-card { padding: 20px; }
  .step              { padding: 20px 12px; }
}

/* Very small – 360px */
@media (max-width: 360px) {
  .hero-title        { font-size: 2.1rem; }
  .metric-value      { font-size: 1.3rem; }
  .footer-links      { grid-template-columns: 1fr; }
}
