/* ════════════════════════════════════════════════
   Feeder LRT Map — Landing Page
   Professional WebGIS Platform · UNSRI 2025
   ════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────── */
:root {
  --blue:    #2563EB;
  --blue-dk: #1d4ed8;
  --blue-lt: #dbeafe;
  --dark:    #0F172A;
  --ink:     #1e293b;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --bg:      #F8FAFC;
  --card:    #ffffff;
  --accent:  #3B82F6;
  --radius:  14px;
  --nav-h:   68px;
  --shadow:  0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.14);
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-brand-short {
  font-weight: 800;
  font-size: 15px;
  color: var(--blue);
}
.nav-brand-long {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav-link:hover { color: var(--ink); background: var(--bg); }
.nav-link.active { color: var(--blue); background: var(--blue-lt); }

/* Meta pills (right) */
.nav-meta {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.meta-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 55%, #F0FDF4 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background silhouette */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-silhouette {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(90deg, #2563EB, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 2px solid var(--blue);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
  transition: background .2s, transform .12s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: border-color .2s, background .2s, transform .12s;
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-lt);
  transform: translateY(-1px);
}

/* ─── Laptop Mockup ──────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.mockup-laptop {
  background: #1e293b;
  border-radius: 16px 16px 6px 6px;
  padding: 10px 10px 0;
  box-shadow: 0 32px 80px rgba(15,23,42,.28), 0 0 0 1px rgba(255,255,255,.08);
}

.mockup-screen {
  background: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  line-height: 0;
}
.mock-map {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-bezel-bottom {
  height: 20px;
  background: #1e293b;
  border-radius: 0 0 6px 6px;
  position: relative;
}
.mockup-bezel-bottom::after {
  content: '';
  display: block;
  width: 40px;
  height: 5px;
  background: #334155;
  border-radius: 3px;
  margin: 7px auto 0;
}

.mockup-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mockup-stand::before {
  content: '';
  width: 80px;
  height: 18px;
  background: #e2e8f0;
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}
.mockup-foot {
  width: 140px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 3px;
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  min-width: 70px;
}
.badge-1 { top: 12%; right: -8%; }
.badge-2 { bottom: 20%; left: -6%; }
.fb-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.fb-lbl {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════
   SHARED SECTION STYLES
   ════════════════════════════════════════════════ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   STATISTIK
   ════════════════════════════════════════════════ */
.stats-section {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-section .section-inner {
  padding: 48px 24px;
}

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

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ic);
  color: var(--ico);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ico);
  stroke-width: 1.75;
  fill: none;
}

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-num span {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}

.stat-lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 6px;
}

/* ════════════════════════════════════════════════
   FITUR UNGGULAN
   ════════════════════════════════════════════════ */
.features-section {
  background: var(--bg);
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--fc);
  color: var(--fci);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feat-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   TENTANG SISTEM
   ════════════════════════════════════════════════ */
.about-section {
  background: #fff;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
  margin-top: 8px;
}

.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.about-list li svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Transport illustration card */
.transport-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  background: var(--bg);
}
.tc-body { padding: 24px 20px; }
.tc-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tc-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Route diagram */
.route-diagram {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.route-line {
  display: grid;
  grid-template-columns: auto 1fr auto auto 1fr;
  align-items: center;
  gap: 8px;
  position: relative;
}
.route-line::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  background: var(--rc);
  opacity: 0.25;
  z-index: 0;
  grid-column: 1 / -1;
}
.route-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rc);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--rc);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.route-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  z-index: 1;
}
.route-label:first-of-type { text-align: left; }
.route-label:last-of-type { text-align: right; }
.route-stops {
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  justify-self: center;
}

/* ════════════════════════════════════════════════
   TIM PENELITI
   ════════════════════════════════════════════════ */
.team-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

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

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.team-card--lead {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #EFF6FF, #fff);
}

.team-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}
.team-avatar svg { width: 48px; height: 48px; }

.team-role {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.team-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.team-dept {
  font-size: 12px;
  color: var(--muted);
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: #94a3b8;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-weight: 700;
  color: #f1f5f9;
  font-size: 15px;
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li, .footer-links a {
  font-size: 13.5px;
  color: #64748b;
  transition: color .18s;
  line-height: 1.5;
}
.footer-links a:hover { color: #f1f5f9; }

.footer-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.f-badge {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,.12);
  padding: 3px 8px;
  border-radius: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 13px;
  color: #475569;
}
.footer-build { font-size: 12px !important; }

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

/* Tablet */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 40px; }
  .badge-1 { right: -2%; }
  .badge-2 { left: -2%; }
}

/* Large mobile / small tablet */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 24px 40px;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-right { display: none; } /* hide mockup on mobile */
  .about-grid { grid-template-columns: 1fr; }
  .about-text .section-title { text-align: center; }
  .about-text .section-eyebrow { display: block; text-align: center; }

  /* Navbar: hide links & meta, show hamburger */
  .nav-links, .nav-meta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
    gap: 6px;
    z-index: 99;
    box-shadow: var(--shadow);
  }
  .nav-links.open .nav-link { padding: 10px 12px; }

  .team-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .section-inner { padding: 56px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-badge { font-size: 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
