﻿:root {
  --blue-dark: #0F172A;
  --blue-main: #2563EB;
  --cyan: #06B6D4;
  --gray-light: #F8FAFC;
  --gray-text: #475569;
  --white: #FFFFFF;
  --green: #22C55E;
  --yellow: #FACC15;
  --line: #d7dfeb;
  --shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 22px rgba(15, 23, 42, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.32s ease, transform 0.32s ease;
  font-family: "Inter", sans-serif;
  color: var(--blue-dark);
  background: var(--gray-light);
  line-height: 1.6;
}

.container { width: min(1140px, 92%); margin-inline: auto; }
.section { padding: 86px 0; }
h1, h2, h3, h4 { margin: 0 0 12px; font-family: "Poppins", sans-serif; letter-spacing: -0.02em; }
p { margin: 0; color: var(--gray-text); }

.eyebrow { display: inline-flex; align-items: center; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-main); font-weight: 700; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; margin-right: 8px; background: var(--cyan); }

.navbar-main {
  background: linear-gradient(92deg, #0f172a 0%, #1d4ed8 48%, #2563eb 76%, #06b6d4 100%);
  position: sticky;
  top: 0;
  z-index: 35;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
}
.navbar-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-logo { height: 52px; width: auto; display: block; }
.brand strong { display: block; font-size: 1.35rem; line-height: 1.1; }
.brand small { color: #dbeafe; font-size: 0.86rem; }
.brand-symbol { width: 18px; height: 40px; border-radius: 8px; background: linear-gradient(180deg, var(--cyan), #1d4ed8); box-shadow: 0 0 0 2px rgba(255,255,255,0.15); transition: transform 0.2s ease; }
.brand:hover .brand-symbol { transform: translateY(-1px); }

.menu { display: flex; align-items: center; gap: 18px; position: relative; padding-bottom: 6px; }
.menu a { color: var(--white); text-decoration: none; font-weight: 600; padding: 6px 8px; border-radius: 8px; transition: color 0.2s ease, background-color 0.2s ease; }
.menu a[data-active="true"] { color: #ffffff; }
.menu a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.12); }

.menu-toggle { display: none; border: 0; background: transparent; padding: 0; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; text-decoration: none; font-weight: 700; padding: 0.8rem 1.15rem; transition: 0.2s ease; }
.btn-primary { border: 0; color: var(--white); background: linear-gradient(120deg, #1d4ed8, #0f3fbf); box-shadow: 0 10px 22px rgba(15, 64, 191, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(15, 64, 191, 0.42); }
.btn-outline { border: 1px solid #9fbaf5; color: var(--blue-main); background: #edf4ff; }
.nav-cta { background: var(--yellow); color: var(--blue-dark); box-shadow: 0 8px 18px rgba(250, 204, 21, 0.35); }
.nav-cta:hover { box-shadow: 0 12px 20px rgba(250, 204, 21, 0.45); }
.inline-link { color: var(--blue-main); font-weight: 700; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

.hero {
  background:
    radial-gradient(circle at 88% 0%, rgba(6, 182, 212, 0.16), transparent 28%),
    radial-gradient(circle at 12% 24%, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(160deg, #f8fbff 0%, #eef5ff 60%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.15; margin-bottom: 14px; }
.hero-copy p { max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span { font-size: 0.84rem; font-weight: 600; background: var(--white); border: 1px solid #dbe5f3; border-radius: 999px; padding: 0.45rem 0.8rem; }

.subhero { background: linear-gradient(160deg, #f8fbff 0%, #eef5ff 60%, #f8fafc 100%); border-bottom: 1px solid var(--line); }
.subhero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 8px; }

.hero-visual { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.hero-card { background: var(--white); border: 1px solid #dbe5f3; border-radius: 16px; padding: 18px; box-shadow: var(--shadow-soft); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.main-card { grid-column: 1 / 3; }
.metric-card { background: linear-gradient(145deg, #0f172a, #1e3a8a); }
.metric-card h3, .metric-card p, .metric-card small { color: var(--white); }
.map-card svg { width: 100%; height: auto; }
.hero-card p { color: #64748b; }

.quick-track { background: #f1f5f9; border: 1px solid #dbe5f3; border-radius: 12px; padding: 10px; min-width: min(100%, 400px); box-shadow: var(--shadow-soft); }
.quick-track label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.quick-track div { display: flex; gap: 8px; }
.quick-track input { flex: 1; border: 1px solid #c5d2e5; border-radius: 8px; padding: 0.64rem 0.8rem; font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.quick-track input:focus { outline: none; border-color: var(--blue-main); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.quick-track button { border: 0; border-radius: 8px; padding: 0.65rem 1rem; background: linear-gradient(120deg, var(--blue-main), #1d4ed8); color: var(--white); font-weight: 700; cursor: pointer; }
.hero-track { grid-column: 1 / 3; min-width: 100%; }
.hero-photo {
  grid-column: 1 / 3;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dbe5f3;
  box-shadow: var(--shadow-soft);
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.route-line { display: flex; align-items: center; margin: 14px 0; }
.route-line .line { flex: 1; height: 3px; background: #dbeafe; }
.dot { width: 13px; height: 13px; border-radius: 50%; }
.collected { background: var(--green); }
.transit { background: var(--yellow); }
.pending { background: #cbd5e1; }

.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.6rem, 2.1vw, 2.2rem); }
.card-grid { display: grid; gap: 16px; }
.services-grid, .partners-grid { grid-template-columns: repeat(4, 1fr); }

.info-card, .route-card, .track-panel { background: var(--white); border: 1px solid #dde6f2; border-radius: 16px; box-shadow: 0 5px 16px rgba(15, 23, 42, 0.07); }
.info-card, .route-card { padding: 22px; }
.info-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.route-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #bfdbfe; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: linear-gradient(140deg, #dbeafe, #cffafe); }
.icon svg { width: 22px; height: 22px; fill: var(--blue-main); }

.tracking { background: linear-gradient(150deg, rgba(6, 182, 212, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%); }
.tracking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: start; }
.track-panel { padding: 22px; }
.track-panel label { display: block; font-weight: 700; margin-bottom: 8px; }
.track-input-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.track-input-wrap input { flex: 1 1 240px; padding: 0.78rem 0.9rem; border: 1px solid #c8d5e8; border-radius: 10px; font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.track-input-wrap input:focus { outline: none; border-color: var(--blue-main); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }

.timeline { list-style: none; margin: 20px 0 14px; padding: 0; }
.step { position: relative; padding: 9px 0 9px 34px; color: #64748b; font-weight: 600; }
.step::before { content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px; border-radius: 50%; background: #cbd5e1; }
.step::after { content: ""; position: absolute; left: 6px; top: 28px; width: 2px; height: calc(100% - 9px); background: #dbe5f3; }
.step:last-child::after { display: none; }
.step.active { color: var(--blue-dark); }
.step.active::before { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.track-message { font-weight: 700; color: var(--blue-dark); }

.routes-grid { grid-template-columns: repeat(5, 1fr); }
.route-card h3 { color: var(--blue-main); }
.route-highlight { background: linear-gradient(145deg, #fffce2, #ffffff); border-color: #f9e79d; }
.partner h3 { color: var(--blue-main); }

.cta-final { padding-top: 40px; }
.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 182, 212, 0.25), transparent 35%),
    linear-gradient(125deg, var(--blue-dark), #1e3a8a);
  border-radius: 22px;
  padding: 52px 22px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}
.cta-image {
  width: min(100%, 760px);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  margin: 0 auto 20px;
  display: block;
}
.cta-box h2 { color: var(--white); }
.cta-box p { color: #d0ddf4; margin: 8px auto 22px; max-width: 66ch; }

.footer { margin-top: 86px; background: var(--blue-dark); color: var(--white); padding: 44px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer p, .footer a, .footer li { color: #c8d5ef; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.copyright { margin: 24px auto 0; width: min(1140px, 92%); padding-top: 14px; border-top: 1px solid #334155; text-align: center; color: #94a3b8; font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

body.page-loaded { opacity: 1; }
body.page-leaving { opacity: 0; transform: translateY(4px); }

.menu-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 999px;
  background: var(--yellow);
  transform: translateX(0);
  transition: transform 0.28s ease, width 0.28s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.asset-panel {
  background: var(--white);
  border: 1px solid #dde6f2;
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.asset-panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.icon-panel img {
  width: min(360px, 100%);
  margin: 0 auto;
}
.map-panel img {
  background: #eef5ff;
}

@media (max-width: 1080px) {
  .services-grid, .partners-grid, .routes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .menu-indicator { display: none; }
  .hero-grid, .tracking-grid, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .menu-toggle { display: block; }
  .menu {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 14px 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #1d4ed8;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .menu.open { display: flex; }
  .nav-wrap { position: relative; min-height: 76px; }
  .nav-cta { margin-left: auto; }
  .hero-visual { grid-template-columns: 1fr; }
  .main-card, .hero-track, .hero-photo { grid-column: auto; }
}

@media (max-width: 560px) {
  .services-grid, .partners-grid, .routes-grid { grid-template-columns: 1fr; }
  .nav-cta { padding: 0.65rem 0.85rem; font-size: 0.88rem; }
  .section { padding: 72px 0; }
  .brand-logo { height: 42px; }
}
