/* =========================================================
   RESET & BASE
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Inter, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

/* =========================================================
   HEADER & NAV
   ========================================================= */
header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-elevated {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.5px;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #2563eb;
}

/* =========================================================
   HERO (BASE)
   ========================================================= */
.hero {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 0 24px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: #475569;
}

/* =========================================================
   HERO VARIANTS
   ========================================================= */
.hero-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  color: #ffffff;
  padding: 80px 24px 60px;
}

.hero-green {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  color: #ffffff;
  padding: 80px 24px 60px;
}

.hero-gradient h1,
.hero-green h1 {
  font-size: 44px;
}

.hero-gradient p,
.hero-green p {
  font-size: 20px;
  opacity: 0.95;
}

/* =========================================================
   ILLUSTRATION
   ========================================================= */
.illustration {
  max-width: 900px;
  margin: 48px auto;
  padding: 0 24px;
  text-align: center;
}

.illustration img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.features-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  text-align: center;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: #475569;
}

/* =========================================================
   DOWNLOAD
   ========================================================= */
.download {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.download h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.download a {
  display: inline-block;
  margin: 0 12px;
}

.download img {
  height: 48px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  margin-top: 120px;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  background: #f1f5f9;
}

footer p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

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

footer img {
  height: 32px;
  opacity: 0.85;
}

/* =========================================================
   PRICING PAGE
   ========================================================= */
.page-pricing {
  background: #f8fafc;
}

.pricing-info {
  background: #ffffff;
  max-width: 800px;
  margin: -40px auto 40px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.pricing-info p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #334155;
}

.calculator {
  background: #ffffff;
  max-width: 500px;
  margin: 0 auto 60px;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  text-align: center;
}

.calculator input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  margin: 12px 0 16px;
}

.calculator button {
  padding: 12px 24px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.calculator button:hover {
  background: #1d4ed8;
}

.fare-result {
  margin-top: 16px;
  font-weight: bold;
}

/* =========================================================
   STORY PAGE
   ========================================================= */
.page-story {
  background: #f8fafc;
}

.story-card {
  max-width: 800px;
  background: #ffffff;
  margin: -40px auto 60px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.story-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.story-card p {
  font-size: 16px;
  color: #334155;
  margin-bottom: 16px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .features-3 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  nav a {
    margin-left: 16px;
    font-size: 13px;
  }

  .download img {
    height: 42px;
    margin-bottom: 12px;
  }
}
