/**
 * assets/css/landing.css
 * -----------------------------------------------------------------
 * Styles scoped to the public landing page (landing-page.php).
 * Loaded AFTER assets/css/style.css so it can override where needed.
 * Nothing here affects dashboard pages.
 * -----------------------------------------------------------------
 */

/* Local palette mirroring the global brand tokens */
:root {
  --navy:    #0d3b66;
  --navy-2:  #082741;
  --amber:   #f4a300;
  --amber-2: #ffbe3d;
  --green:   #2a9d8f;
  --ink:     #1f2937;
  --muted:   #64748b;
  --bg-soft: #f4f6f9;
}

html { scroll-behavior: smooth; }

/* The landing page opts out of the app-shell look from style.css */
body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background-color: #fff;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.landing-nav {
  background: rgba(13, 59, 102, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease, box-shadow .25s ease;
  padding: 14px 0;
}
.landing-nav.is-scrolled {
  background: rgba(8, 39, 65, 0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.landing-nav .navbar-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: -.01em;
}
.landing-nav .navbar-brand .brand-accent { color: var(--amber); }
.landing-nav .nav-link {
  color: rgba(255, 255, 255, .85) !important;
  font-weight: 500;
}
.landing-nav .nav-link:hover { color: #fff !important; }
.landing-nav .navbar-toggler { border: 0; }
.landing-nav .navbar-toggler:focus { box-shadow: none; }
.landing-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255,255,255,0.9%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Buttons used across the landing page */
.btn-amber {
  background: var(--amber);
  border-color: var(--amber);
  color: #1a1200;
  font-weight: 600;
}
.btn-amber:hover, .btn-amber:focus {
  background: var(--amber-2);
  border-color: var(--amber-2);
  color: #1a1200;
}

/* Small color-only badges */
.badge-navy  { background: var(--navy);  color: #fff; }
.badge-amber { background: var(--amber); color: #111; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(244, 163, 0, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 140px 0 110px; /* top padding clears the fixed navbar */
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-weight: 800; letter-spacing: -.02em; }
.hero .lead { color: rgba(255, 255, 255, .85); max-width: 620px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-visual {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

/* Phone mockup */
.phone-frame {
  background: #0b1220;
  border-radius: 30px;
  padding: 14px;
  box-shadow: inset 0 0 0 2px #1e293b;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
.phone-screen {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 18px;
  min-height: 340px;
}
.phone-screen .mini-title {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.phone-screen .mini-fare {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}
.phone-screen .mini-row {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  font-size: .88rem;
}
.phone-screen .mini-row + .mini-row { border-top: 1px dashed #e2e8f0; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-cta { padding-top: 0; }

.section-eyebrow {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
}
.section-title {
  font-weight: 800;
  letter-spacing: -.02em;
}

/* Stats strip under the hero */
.stats-strip { background: var(--bg-soft); padding: 28px 0; }
.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 59, 102, .10);
  border-color: #cbd5e1;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(13, 59, 102, .08);
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-icon.gold  { background: rgba(244, 163, 0, .12); color: #a86f00; }
.feature-icon.green { background: rgba(42, 157, 143, .12); color: #1f786d; }

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step + .step { margin-top: 28px; }
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   FARE CARDS
   ============================================================ */
.fare-card {
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(13, 59, 102, .06);
  height: 100%;
}
.fare-card.highlight {
  border-color: var(--amber);
  box-shadow: 0 18px 40px rgba(244, 163, 0, .15);
}
.fare-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.fare-line {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: .95rem;
}
.fare-line:last-child { border-bottom: 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    radial-gradient(800px 300px at 20% 10%, rgba(244, 163, 0, .28), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 60px 32px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion-item {
  border: 0;
  margin-bottom: 12px;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}
.accordion-button {
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}
.accordion-button:not(.collapsed) {
  color: var(--navy);
  background-color: rgba(13, 59, 102, .05);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.app-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: .92rem;
}
footer.app-footer a { color: #cbd5e1; text-decoration: none; }
footer.app-footer a:hover { color: #fff; }
footer.app-footer .brand { color: #fff; font-weight: 800; }
footer.app-footer .brand .brand-accent { color: var(--amber); }
footer.app-footer .bottom-strip {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 24px;
  font-size: .85rem;
  color: #64748b;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero { padding: 120px 0 80px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-visual { margin-top: 48px; }
}