/* ── Landing Page Styles ── */
html { scroll-behavior: smooth; }

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}
nav .logo {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.nav-links { display: none; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-login {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-login:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

/* ── SOCIAL PROOF BAR ── */
.social-proof {
  text-align: center;
  padding: 0.7rem 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
  background: rgba(108,99,255,0.04);
  line-height: 1.5;
}
.social-proof strong { color: var(--green); }

/* ── HERO ── */
.hero { text-align: center; padding: 3rem 1.25rem 2.5rem; }
.badge {
  display: inline-block;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.35);
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.hero .btn-primary {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.05rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(108,99,255,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  text-align: center;
  display: block;
}

/* ── APP PREVIEW ── */
.demo-wrap { padding: 1.5rem 1.25rem 0; }
.phone-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.phone-header {
  background: var(--surface2);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: var(--gold); }
.dot-green { background: var(--green); }
.phone-title { margin-left: auto; color: var(--muted); font-size: 0.72rem; }
.phone-body { padding: 1.1rem; }
.day-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.day-header h3 { font-size: 0.9rem; font-weight: 700; }
.day-header .meta { font-size: 0.72rem; color: var(--muted); }
.stop-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}
.stop-card.active { border-color: var(--accent); }
.stop-info { display: flex; gap: 0.55rem; align-items: flex-start; margin-bottom: 0.55rem; }
.stop-num {
  background: var(--accent);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.stop-name { font-weight: 700; font-size: 0.85rem; }
.stop-meta { font-size: 0.7rem; color: var(--muted); }
.ai-brief {
  background: rgba(108,99,255,0.08);
  border-left: 3px solid var(--accent);
  padding: 0.55rem 0.7rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.55;
}
.ai-tag {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

/* ── STATS ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 2rem;
}
.stat {
  padding: 1.25rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.stat-label { font-size: 0.68rem; color: var(--muted); line-height: 1.3; margin-top: 0.2rem; }

/* ── SECTIONS ── */
.section { padding: 3rem 1.25rem; }
.section-label {
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  text-align: center;
}
h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 0.6rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ── FEATURES ── */
.features-grid { display: flex; flex-direction: column; gap: 1rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-icon { font-size: 1.6rem; flex-shrink: 0; }
.feature-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.feature-desc { color: var(--muted); font-size: 0.83rem; line-height: 1.55; }

/* ── HOW IT WORKS ── */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
  flex-shrink: 0;
}
.step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.step-desc { color: var(--muted); font-size: 0.83rem; line-height: 1.55; }

/* ── TESTIMONIALS ── */
.testimonials-scroll { display: flex; flex-direction: column; gap: 1rem; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.65rem; }
.testimonial-text { font-size: 0.88rem; line-height: 1.65; margin-bottom: 0.85rem; font-style: italic; color: var(--text); }
.testimonial-author { font-weight: 700; font-size: 0.85rem; }
.testimonial-role { font-size: 0.75rem; color: var(--muted); }

/* ── PRICING ── */
.pricing-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(139,92,246,0.04));
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.price-plan { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; }
.price-amount span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.price-desc { color: var(--muted); font-size: 0.8rem; margin: 0.3rem 0 1.25rem; }
.price-features { list-style: none; margin-bottom: 1.5rem; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  color: var(--muted);
  line-height: 1.4;
}
.price-features li::before { content: "\2713"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.95rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.3);
}

/* ── BOTTOM CTA ── */
.cta-section {
  text-align: center;
  padding: 3.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(108,99,255,0.07), rgba(139,92,246,0.03));
  border-top: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.75rem; }
.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 380px;
  margin: 0 auto;
}
.email-form input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  -webkit-appearance: none;
}
.email-form input:focus { border-color: var(--accent); }
.email-form input::placeholder { color: var(--muted); }
.cta-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.75rem; }

/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
  z-index: 99;
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.sticky-cta-text { flex: 1; }
.sticky-cta-text strong { font-size: 0.85rem; display: block; }
.sticky-cta-text span { font-size: 0.72rem; color: var(--muted); }
.sticky-cta a {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem 1.25rem;
  padding-bottom: calc(2rem + 70px);
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}
footer a { color: var(--muted); text-decoration: none; }

.landing-divider { height: 1px; background: var(--border); }

/* ── DESKTOP ── */
@media (min-width: 640px) {
  nav { padding: 1.25rem 2rem; }
  .nav-links { display: flex; gap: 0.25rem; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; padding: 0.4rem 0.75rem; border-radius: 6px; transition: color 0.2s; }
  .nav-links a:hover { color: var(--text); }
  .hero { padding: 5rem 2rem 3.5rem; }
  .hero-cta-group { flex-direction: row; justify-content: center; }
  .hero .btn-primary, .btn-secondary { width: auto; }
  .demo-wrap { padding: 2rem; max-width: 700px; margin: 0 auto; }
  .section { padding: 5rem 2rem; max-width: 1000px; margin: 0 auto; }
  .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .feature-card { flex-direction: column; }
  .feature-icon { font-size: 2rem; }
  .steps { max-width: 560px; margin: 0 auto; }
  .testimonials-scroll { display: grid; grid-template-columns: repeat(3, 1fr); }
  .pricing-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 860px; margin: 0 auto; }
  .email-form { flex-direction: row; }
  .email-form input { flex: 1; }
  .email-form .btn-primary { width: auto; }
  .sticky-cta { display: none; }
  footer { padding-bottom: 2rem; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
