/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta:  #C85A3E;
  --terra-soft:  #E8A593;
  --terra-dark:  #a0402a;
  --ocean:       #2D6A7F;
  --ocean-soft:  #7FB1C1;
  --paper:       #FBF6EC;
  --sand:        #F5EDE0;
  --sand-deep:   #EADFCC;
  --ink:         #2B2420;
  --ink-soft:    #6B5F57;
  --ink-mute:    #A8998C;
  --amber:       #D89B3E;
  --line:        rgba(43,36,32,0.10);
  --r-sm:        10px;
  --r-md:        16px;
  --r-lg:        24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ───────────────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: var(--r-sm);
  background: var(--terracotta);
  color: #fff;
}

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,246,236,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, var(--paper) 0%, var(--sand) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(200,90,62,.18), 0 2px 8px rgba(43,36,32,.10);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--sand-deep);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .3px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 760px;
}

.hero h1 .accent { color: var(--terracotta); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-modes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.mode-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.mode-pill.mode-route   { background: rgba(200,90,62,.12); color: var(--terracotta); }
.mode-pill.mode-explore { background: rgba(45,106,127,.12); color: var(--ocean); }

/* ── Sections ─────────────────────────────────────────────────────── */
.section       { padding: 88px 0; }
.section--alt  { background: var(--sand); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 48px;
}

.section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: -32px;
  margin-bottom: 48px;
}

/* ── Mode Cards ───────────────────────────────────────────────────── */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mode-card {
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.mode-card--route   { border-top: 4px solid var(--terracotta); }
.mode-card--explore { border-top: 4px solid var(--ocean); }

.mode-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.mode-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.mode-tag--route   { background: rgba(200,90,62,.12); color: var(--terracotta); }
.mode-tag--explore { background: rgba(45,106,127,.12); color: var(--ocean); }

.mode-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.mode-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.mode-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mode-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sand-deep);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Feature Grid ─────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ── Feature PRO badge ────────────────────────────────────────────── */
.feature-card--pro {
  border-top: 3px solid var(--terracotta);
  position: relative;
}

.feature-pro-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(200,90,62,.10);
  border-radius: 100px;
  padding: 3px 8px;
}

/* ── PRO Table ────────────────────────────────────────────────────── */
.pro-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  margin-bottom: 40px;
}

.pro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pro-table thead tr {
  background: var(--ink);
}

.pro-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra-soft);
}

.pro-table th.col-pro { color: var(--amber); }
.pro-table th.col-free { color: var(--ink-mute); }

.col-feature { width: 50%; }
.col-free    { width: 25%; text-align: center; }
.col-pro     { width: 25%; text-align: center; }

.pro-table td {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.pro-table td:nth-child(2) { text-align: center; color: var(--ink-mute); }
.pro-table td:nth-child(3) { text-align: center; }

.pro-table tr.highlight-row td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.pro-table tbody tr:nth-child(even) { background: var(--sand); }

.pro-val { color: var(--terracotta) !important; font-weight: 600; }
.unit-alt { color: var(--ink-mute); font-weight: 400; font-size: 12px; }
.pro-val.soon { color: var(--ink-mute) !important; font-weight: 400; font-style: italic; }

.pro-cta { text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}

.footer .nav-logo { color: #fff; }
.footer .nav-logo span { font-size: 16px; }

.footer-tagline {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 60px 0 56px; }

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

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

  .mode-card { padding: 28px 24px; }

  .section { padding: 64px 0; }
  .section h2 { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { letter-spacing: -.02em; }

  .pro-table th,
  .pro-table td { padding: 11px 14px; }

  .footer-inner { flex-direction: column; gap: 24px; }
}
