/* ===== EyesOnTheBus Landing Page Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FBBF24;
  --accent-blue: #0EA5E9;
  --accent-blue-deep: #0284C7;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  --gradient-amber: linear-gradient(135deg, #F59E0B, #D97706);
  --gradient-blue: linear-gradient(135deg, #0EA5E9, #0284C7);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(245,158,11,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.navbar.scrolled { padding: 10px 0; background: rgba(15,23,42,0.95); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 36px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.nav-brand span { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #CBD5E1; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-amber); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: none;
  transition: all 0.3s ease; font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary {
  background: var(--gradient-amber); color: var(--primary);
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.4); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--accent-amber); color: var(--accent-amber); }
.btn-dark {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(245,158,11,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(14,165,233,0.06) 0%, transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  padding: 8px 18px; border-radius: 50px; margin-bottom: 24px;
  color: var(--accent-amber-light); font-size: 13px; font-weight: 600;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-size: 56px; font-weight: 900; color: #fff; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 .highlight { background: var(--gradient-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 18px; color: #94A3B8; margin-bottom: 36px; max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-bus-img { width: 380px; filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.floating-card {
  position: absolute; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 14px 18px;
  color: #fff; font-size: 13px; font-weight: 600;
  animation: float-card 4s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.floating-card.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.floating-card.card-2 { bottom: 15%; left: -5%; animation-delay: 1.5s; }
.floating-card.card-3 { top: 50%; right: -15%; animation-delay: 3s; }
@keyframes float-card { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-card .fc-icon { font-size: 20px; margin-bottom: 4px; }
.floating-card .fc-label { color: #94A3B8; font-size: 11px; font-weight: 400; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary); border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-size: 36px; font-weight: 800; color: var(--accent-amber); margin-bottom: 6px; }
.stat-item p { color: #94A3B8; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTION SHARED ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(14,165,233,0.08); color: var(--accent-blue);
  padding: 6px 16px; border-radius: 50px; font-size: 13px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; color: var(--text-primary); }
.section-header p { font-size: 17px; color: var(--text-secondary); }

/* ===== FEATURES SECTION ===== */
.features-section { background: var(--surface-alt); }
.role-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.role-tab {
  padding: 12px 28px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-weight: 700; font-size: 15px;
  color: var(--text-secondary); transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.role-tab:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.role-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-amber); transform: scaleX(0); transition: transform 0.4s ease;
  transform-origin: left;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  background: rgba(14,165,233,0.08);
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.role-panel { display: none; }
.role-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 42px; left: 10%; right: 10%;
  height: 2px; background: var(--border);
}
.step-card { text-align: center; position: relative; z-index: 2; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: 'Outfit'; font-size: 22px; font-weight: 800;
  background: var(--primary); color: var(--accent-amber); margin: 0 auto 20px;
  border: 4px solid var(--surface);
  box-shadow: 0 4px 12px rgba(15,23,42,0.15);
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== PRICING ===== */
.pricing-section { background: var(--surface-alt); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--border); border-radius: var(--radius-xl);
  padding: 48px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-amber);
}
.pricing-badge {
  display: inline-block; background: rgba(16,185,129,0.1);
  color: var(--accent-green); padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 700; margin-bottom: 24px;
}
.pricing-amount { font-family: 'Outfit'; font-size: 64px; font-weight: 900; color: var(--text-primary); }
.pricing-amount span { font-size: 20px; font-weight: 500; color: var(--text-muted); }
.pricing-desc { font-size: 16px; color: var(--text-secondary); margin: 12px 0 32px; }
.pricing-features { text-align: left; margin-bottom: 36px; }
.pricing-features li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px;
}
.pricing-features li .check { color: var(--accent-green); font-weight: 700; font-size: 18px; }

/* ===== FAQ ===== */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden; background: #fff;
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; padding: 20px 24px; display: flex; justify-content: space-between;
  align-items: center; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif; text-align: left;
}
.faq-question .faq-chevron { font-size: 20px; transition: transform 0.3s; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
  background: var(--gradient-hero); padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.1) 0%, transparent 60%);
}
.cta-section h2 { font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 16px; position: relative; z-index: 2; }
.cta-section p { font-size: 18px; color: #94A3B8; margin-bottom: 36px; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 2; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary); color: #94A3B8; padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand span { font-family: 'Outfit'; font-size: 24px; font-weight: 800; color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: #94A3B8; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent-amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 13px; }

/* ===== QUICK START TIMELINE ===== */
.quickstart-section {
  background: var(--surface);
}
.qs-timebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 56px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.qs-time-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.qs-time-num {
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}
.qs-time-item.qs-time-live .qs-time-num {
  background: var(--accent-green);
  animation: pulse-dot 1.5s infinite;
}
.qs-time-sep {
  color: var(--text-muted);
  font-weight: 700;
}

.qs-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.qs-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}
.qs-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qs-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  border: 4px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  flex-shrink: 0;
}
.qs-bubble-live {
  background: var(--accent-green);
  border-color: rgba(16,185,129,0.2);
  color: #fff;
  font-size: 14px;
}
.qs-line {
  width: 3px;
  background: var(--border);
  flex-grow: 1;
  margin-top: 8px;
  margin-bottom: -16px;
}
.qs-step-body {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex-grow: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.qs-step-body:hover {
  transform: translateX(4px);
  border-color: var(--accent-amber-light);
  box-shadow: var(--shadow-md);
}
.qs-step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.qs-badge {
  background: rgba(15,23,42,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.qs-badge-driver {
  background: rgba(245,158,11,0.1);
  color: var(--accent-amber);
}
.qs-badge-parent {
  background: rgba(14,165,233,0.1);
  color: var(--accent-blue-deep);
}
.qs-eta {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 13px;
}
.qs-eta-live {
  color: var(--accent-green);
  animation: pulse-dot 1.5s infinite;
}
.qs-step-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.qs-step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.qs-action-box {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px dashed var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  align-items: center;
  margin-bottom: 16px;
}
.qs-action-icon {
  font-size: 20px;
}
.qs-action-box div {
  font-size: 13px;
  color: var(--text-secondary);
}
.qs-action-box code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--accent-blue-deep);
  font-weight: 600;
  font-size: 11px;
}
.qs-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.qs-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}
.qs-chip-green {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.15);
  color: var(--accent-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 48px; }
  .floating-card { display: none; }
  .features-grid, .role-panel.active { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .nav-links { display: none; }
  .features-grid, .role-panel.active { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 30px; }
  .pricing-card { padding: 32px 24px; }
  .cta-section h2 { font-size: 30px; }
}
