:root {
  --background: #FFFFFF;
  --foreground: #111318;
  --card: #FFFFFF;
  --primary: #FF7A00;
  --primary-dark: #E56D00;
  --secondary: #064DF5;
  --muted: #F2F3F5;
  --muted-foreground: #6B7280;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --max-width: 1160px;
  --header-height: 68px;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header-height);
}

html.js-scrolling {
  scroll-snap-type: none;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--foreground); }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 48px 0;
}

main > section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.site-footer { scroll-snap-align: start; }

.section-sub {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

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

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-small { padding: 9px 18px; font-size: 0.85rem; }

.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--foreground);
}

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

.nav-cta-mobile { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--foreground);
  border-radius: 2px;
}

/* Hero */
.hero { background: var(--background); }

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--foreground);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  max-width: 560px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 480px;
}

.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.store-buttons-center { justify-content: center; }

.store-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.store-btn:hover { transform: translateY(-2px); opacity: 0.88; }

.store-badge {
  height: 44px;
  width: auto;
}

.store-note {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 10px;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-bike {
  width: 100%;
  max-width: 640px;
  height: auto;
}

/* Split sections (alternating text / visual) */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-copy { order: 1; }
.split-visual { order: 2; display: flex; justify-content: center; }

.split-reverse .split-copy { order: 2; }
.split-reverse .split-visual { order: 1; }

.split-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  max-width: 460px;
}

.split-copy p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 440px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Phone mockup */
.phone {
  width: 280px;
  background: #0d0f14;
  border-radius: 38px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(17, 19, 24, 0.3);
}

.phone-notch {
  width: 90px;
  height: 18px;
  background: #0d0f14;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  top: 4px;
  z-index: 2;
}

.phone-screen {
  background: var(--muted);
  border-radius: 26px;
  padding: 16px 14px 14px;
  min-height: 480px;
  margin-top: -18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.app-topbar-back { font-weight: 700; gap: 10px; }

.app-logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--primary);
  display: inline-block;
}

.app-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.pill-active { background: var(--primary); color: #fff; }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.app-card {
  background: var(--card);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid var(--border);
}

.app-card-img {
  height: 62px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.grad-1 { background: linear-gradient(135deg, var(--primary), #ffb066); }
.grad-2 { background: linear-gradient(135deg, var(--secondary), #6d9bff); }
.grad-3 { background: linear-gradient(135deg, #0aa3a3, #5be3d6); }
.grad-4 { background: linear-gradient(135deg, #7a4de8, #b79bff); }

.app-card-price {
  font-weight: 800;
  font-size: 0.8rem;
}

.app-card-title {
  font-size: 0.68rem;
  color: var(--muted-foreground);
}

.app-bottomnav {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
}

.nav-icon { font-size: 1rem; opacity: 0.55; }
.nav-icon.active { opacity: 1; }

.nav-icon-raised {
  background: var(--primary);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  font-size: 1.1rem;
  transform: translateY(-6px);
}

.app-detail-img {
  height: 160px;
  border-radius: 14px;
}

.app-detail-body { display: flex; flex-direction: column; gap: 8px; }

.app-detail-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.app-detail-title { font-weight: 700; font-size: 0.9rem; }

.skeleton-line {
  height: 8px;
  border-radius: 4px;
  background: #E3E5E9;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }

.app-seller-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
}

.app-seller-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  display: inline-block;
}

.app-promo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-promo-card {
  position: relative;
  border-radius: 12px;
  padding: 14px;
  color: #fff;
}

.app-promo-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.app-promo-title { font-weight: 800; font-size: 0.85rem; }
.app-promo-partner { font-size: 0.7rem; opacity: 0.85; }

/* Category tiles */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 420px;
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 16px;
  box-shadow: 0 20px 40px -28px rgba(17, 19, 24, 0.25);
}

.category-tile-icon {
  width: 34px;
  height: 34px;
  color: var(--primary);
}

.category-tile span {
  font-weight: 700;
  font-size: 0.95rem;
}

/* How it works */
.how-it-works { background: var(--muted); }

.steps-row {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.steps-row li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--muted);
}

.steps-row h3 { font-size: 1rem; margin-bottom: 6px; }
.steps-row p { color: var(--muted-foreground); font-size: 0.88rem; margin: 0; max-width: 220px; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--primary);
  margin-left: 12px;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted-foreground);
}

/* Final CTA */
.final-cta { background: var(--primary); }

.final-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.final-cta-logo {
  height: 34px;
  margin-bottom: 24px;
}

.final-cta h2 { color: #fff; max-width: 560px; }
.final-cta p { color: rgba(17, 19, 24, 0.72); margin-bottom: 28px; font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  max-width: 260px;
  margin-top: 14px;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a { text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--foreground); }
.footer-nav a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  margin: 0;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--foreground);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Scroll-down indicator */
.scroll-down {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 19, 24, 0.06);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0.7;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
  animation: scroll-down-bounce 2s ease-in-out infinite;
}

.scroll-down:hover {
  opacity: 1;
  background: rgba(17, 19, 24, 0.1);
  color: var(--primary);
}

.scroll-down.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-down.on-dark {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}

.scroll-down.on-dark:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

@keyframes scroll-down-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-down { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-copy, .split-reverse .split-copy { order: 1; }
  .split-visual, .split-reverse .split-visual { order: 2; }
  main > section { min-height: 0; padding: 64px 0; }
  .scroll-down { display: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .main-nav.open a { color: var(--foreground); }

  .main-nav.open a.nav-cta-mobile {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
  }

  section { padding: 48px 0; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .header-actions .btn-small { display: none; }
  .category-tiles { max-width: 320px; }
}
