/* =============================================================
   RideWild — Design System Dark & Premium
   ============================================================= */

:root {
  --bg:           #0a0a0a;
  --bg-1:         #111111;
  --bg-2:         #171717;
  --bg-3:         #1f1f1f;
  --gold:         #d4a853;
  --gold-light:   #f0c878;
  --gold-dark:    #a07830;
  --gold-glow:    rgba(212, 168, 83, 0.12);
  --gold-border:  rgba(212, 168, 83, 0.22);
  --text:         #f0ebe0;
  --text-dim:     #9a8868;
  --text-muted:   #4a4030;
  --border:       rgba(212, 168, 83, 0.18);
  --border-sub:   rgba(255, 255, 255, 0.055);
  --radius:       12px;
  --radius-lg:    20px;
  --maxw:         1160px;
  --font:         system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-h:        58px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ── */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.5rem) 1.5rem 4rem;
}

/* ── Kicker ── */
.kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── Hero ── */
.hero { padding: 2.5rem 0 2rem; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero-title span,
.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  max-width: 620px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hero-tags span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ── Sections ── */
.section {
  margin-bottom: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-sub);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold) 40%, transparent);
  opacity: 0.5;
}
.section-title {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.section p {
  margin: 0 0 0.75rem;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.72;
}
.section ul, .section ol {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  padding-left: 1.2rem;
  margin: 0;
}
.section li { margin-bottom: 0.2rem; }
.section strong { color: var(--text); }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
.card {
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--border-sub);
  padding: 1.25rem;
  transition: border-color 0.25s ease;
}
.card:hover { border-color: var(--border); }
.card-title {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 0.55rem;
}
.card p { font-size: 0.87rem; color: var(--text-dim); margin: 0 0 0.5rem; }
.card ul { font-size: 0.85rem; color: var(--text-dim); padding-left: 1rem; margin: 0; }
.card li { margin-bottom: 0.15rem; }
.card small { display: block; font-size: 0.76rem; color: var(--text-muted); margin-bottom: 0.4rem; }

/* ── Step list ── */
.step-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 0.8rem 0 0.8rem 3rem;
  border-bottom: 1px solid var(--border-sub);
  line-height: 1.6;
}
.step-list li:last-child { border-bottom: 0; }
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.step-list strong { color: var(--text); }

/* ── CTA strip ── */
.cta-strip {
  margin-top: 1.5rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(212,168,83,0.07) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
}
.cta-strip h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.cta-strip p {
  max-width: 520px;
  color: var(--text-dim);
  font-size: 0.93rem;
  margin: 0 0 1.5rem;
}
.cta-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cta-strip a:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn.primary { background: var(--gold); color: #0a0a0a; }
.btn.primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.btn.secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── Badge box ── */
.badge-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.badge-box strong { color: var(--gold); display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.75rem; }
.badge-box p { margin: 0 0 0.5rem; }
.badge-box p:last-child { margin: 0; }

/* ── Footer ── */
footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-sub);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  main { padding: calc(var(--nav-h) + 1.5rem) 1rem 3rem; }
  .hero { padding: 1.5rem 0 1.25rem; }
  .section { padding: 1.25rem; }
  .cta-strip { padding: 1.75rem 1.25rem; }
}
