﻿:root {
  --primary: #24e931;
  --primary-2: #86f58f;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.display {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.03em;
  color: #24e931;
  background: linear-gradient(135deg, #24e931 0%, #86f58f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.section-block {
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--line);
}

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
}

.title-xl {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.title-lg {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.96;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.top-nav .inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
}

.brand-box img {
  width: 180px;
  max-width: 100%;
  display: block;
}

.brand-line {
  color: #24e931;
  letter-spacing: 2px;
  font-size: 10px;
  margin-top: 0.1rem;
  margin-bottom: 0;
}

.menu {
  display: none;
  gap: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
  flex-wrap: wrap;
  justify-content: center;
}

.menu a:hover { color: var(--primary); }

.actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid #334155;
  background: #0f172a;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 16px;
  height: 2px;
  background: #24e931;
  border-radius: 999px;
  display: block;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 95;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 340px);
  height: 100vh;
  background: #020617;
  border-left: 1px solid #334155;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 100;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }
body.mobile-menu-open { overflow: hidden; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e2e8f0;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #24e931;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-nav {
  display: grid;
  gap: 0.55rem;
}

.mobile-drawer-nav a {
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  color: #e2e8f0;
  background: #0f172a;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-drawer-nav a:hover {
  border-color: #24e931;
  color: #24e931;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #24e931 0%, #119f22 100%);
  color: #00131d;
  box-shadow: 0 14px 30px rgba(36, 233, 49, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(36, 233, 49, 0.38);
}

.btn-outline {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-grid {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1fr;
}

.hero-left {
  padding: 3rem 1.2rem 2.2rem;
  background:
    radial-gradient(700px 260px at -6% 8%, rgba(36, 233, 49, 0.2), transparent 70%),
    radial-gradient(680px 280px at 80% 98%, rgba(36, 233, 49, 0.13), transparent 70%),
    linear-gradient(130deg, #ffffff 0%, #f8fdff 88%, #efffec 100%);
}

.hero-subheadline {
  display: block;
  margin-top: 0.15em;
  font-size: clamp(1.7rem, 4.1vw, 3rem);
  line-height: 1;
}

.pill-bar {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.75rem;
  color: #475569;
  background: #fff;
}

.hero-right {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: brightness(0.78) saturate(1.18);
  transition: opacity 0.9s ease, transform 7s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.12);
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.08) 45%, rgba(2, 6, 23, 0.2));
}

.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.42rem;
  z-index: 4;
}

.hero-dot {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}
.hero-dot.active { width: 44px; background: var(--primary); }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.route-flow {
  border: 1px dashed #94a3b8;
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  color: #334155;
  line-height: 1.8;
}

.map-shell {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  min-height: 320px;
}

#routeMap { width: 100%; height: clamp(300px, 48vh, 520px); }

.route-highlights { display: grid; gap: 0.6rem; margin-top: 0.8rem; }
.route-highlight-item {
  width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 0.72rem 0.84rem;
  background: #fff; color: #334155; font-size: 0.86rem; transition: all 0.25s ease; cursor: pointer;
}
.route-highlight-item:hover, .route-highlight-item.active {
  border-color: var(--primary); color: #15803d; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(36,233,49,0.17);
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.74rem 0.84rem;
  font: inherit;
  color: #0f172a;
  background: #ffffff;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 233, 49, 0.2);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}
.count-cell {
  border: 1px solid rgba(36, 233, 49, 0.35);
  border-radius: 14px;
  padding: 0.9rem 0.5rem;
  text-align: center;
  background: linear-gradient(160deg, #ffffff 0%, #f4fff5 100%);
  box-shadow: 0 10px 22px rgba(36, 233, 49, 0.12);
}
.count-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #24e931;
}
.count-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #15803d;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.image-content-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.2rem;
}
.section-image {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(36, 233, 49, 0.26);
}
.section-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 260px;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.08);
}

footer {
  padding: 2rem 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  border-top: 1px solid var(--line);
}

body.dark-mode {
  --bg: #020617;
  --bg-soft: #0f172a;
  --line: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  background: #020617;
  color: #e2e8f0;
}

body.dark-mode .top-nav { background: rgba(2, 6, 23, 0.9); }
body.dark-mode .menu, body.dark-mode .kicker, body.dark-mode .pill, body.dark-mode .route-flow { color: #94a3b8; }
body.dark-mode .hero-left,
body.dark-mode .card,
body.dark-mode .map-shell,
body.dark-mode .route-highlight-item,
body.dark-mode .pill,
body.dark-mode .form-input,
body.dark-mode .form-textarea,
body.dark-mode .count-cell,
body.dark-mode .route-flow,
body.dark-mode .btn-outline {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-mode .count-cell {
  background: linear-gradient(160deg, #08120b 0%, #0e1b12 100%);
  border-color: rgba(36, 233, 49, 0.5);
}
body.dark-mode .count-label { color: #86f58f; }
body.dark-mode .section-image { border-color: rgba(36,233,49,0.45); }
body.dark-mode .btn-primary { color: #001219; }

@media (min-width: 900px) {
  .menu { display: flex; }
  .hero-grid { grid-template-columns: 56% 44%; }
  .hero-left { padding: 3.4rem 2.2rem 2.6rem; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .image-content-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .map-shell { min-height: 420px; }
  #routeMap { height: 420px; }
  .mobile-menu-toggle,
  .mobile-drawer,
  .mobile-drawer-overlay { display: none !important; }
}

@media (max-width: 899px) {
  .actions .btn-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
