@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* Colors match the app's Dark Navy theme (ui/theme/Color.kt) */
:root {
  --bg: #080E18;
  --surface: #0D1420;
  --container: #131C2B;
  --container-high: #192435;
  --outline: #26344A;
  --text: #E4EAF2;
  --muted: #8FA8C2;
  --orange: #FF7D48;
  --orange-deep: #A8431A;
  --teal: #4ECDE0;
  --steel: #A9BCD4;
  --radius: 20px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.eyebrow {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #1C0800;
  font-weight: 600; text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--orange); }
.btn-sm { padding: 9px 18px; font-size: 0.95rem; }

.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #3E5068; border-radius: 12px;
  padding: 10px 22px 10px 16px;
  transition: border-color .15s ease, transform .15s ease;
}
.play-badge:hover { border-color: var(--orange); transform: translateY(-1px); }
.play-badge svg { width: 28px; height: 28px; fill: currentColor; }
.play-badge span { display: flex; flex-direction: column; font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.play-badge small { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; opacity: .8; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 14, 24, 0.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--outline); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background:
    radial-gradient(closest-side, rgba(255, 125, 72, 0.22), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(78, 205, 224, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; }
.lede { color: var(--muted); font-size: 1.3rem; margin-top: 22px; max-width: 34ch; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.cta-note { color: var(--muted); font-size: 0.95rem; }

.hero-phones { position: relative; height: 620px; }
.phone { position: absolute; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.phone-c { width: 300px; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone-l, .phone-r { width: 250px; top: 70px; opacity: .9; }
.phone-l { left: 0; transform: rotate(-6deg); }
.phone-r { right: 0; transform: rotate(6deg); }

/* Strip */
.new-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 14px 6px 6px; border: 1px solid var(--outline); border-radius: 999px;
  background: var(--surface); color: var(--text); font-size: 0.92rem; text-decoration: none;
}
.new-pill b { background: var(--orange); color: var(--bg); border-radius: 999px; padding: 3px 10px; font-size: 0.8rem; font-weight: 700; }
.new-pill:hover { border-color: #3E5068; }

.whatsnew { padding: 120px 0 40px; }
.share-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: center; margin-top: 72px; }
.share-row img { width: 100%; border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.share-copy h3 { font-size: 1.6rem; margin: 12px 0; }
.share-copy p { color: var(--muted); }

.strip { border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); background: var(--surface); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 28px 20px; display: flex; flex-direction: column; gap: 2px; }
.strip-grid div + div { border-left: 1px solid var(--outline); }
.strip b { font-size: 1.35rem; font-weight: 600; color: var(--text); }
.strip span { color: var(--muted); font-size: 0.95rem; }

/* Features */
.features { padding: 120px 0 60px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before {
  content: ""; position: absolute; width: 380px; height: 380px; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 125, 72, .16), transparent);
}
.feature-media img { position: relative; width: 320px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.clip {
  position: relative; width: 300px; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--outline); background: var(--container);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.tag {
  display: inline-block; color: var(--teal);
  font-size: 0.85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 18px; }
.feature-copy p { color: var(--muted); max-width: 52ch; }
.feature-copy .aside {
  margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--orange);
  background: var(--container); border-radius: 0 12px 12px 0; color: var(--steel); font-size: 1rem;
}
.feature-copy .aside strong { color: var(--text); font-weight: 600; }

/* Motorsports */
.moto {
  padding: 120px 0;
  background:
    linear-gradient(135deg, rgba(168, 67, 26, .35), transparent 55%),
    var(--surface);
  border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline);
}
.moto-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.moto-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; max-width: 46ch; }
.chips { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: 999px; font-size: 0.95rem;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--outline);
}
.moto-phones { display: flex; justify-content: center; gap: 20px; }
.moto-phones img { width: 260px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.moto-phones img:last-child { margin-top: 80px; }

/* Build gallery */
.build { padding: 120px 0 80px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.gallery figcaption { margin-top: 18px; color: var(--muted); font-size: 0.98rem; }
.gallery figcaption b { display: block; color: var(--text); font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }

/* Video */
.video { padding: 80px 0 120px; }
.video-frame {
  max-width: 980px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--outline); background: #000;
  box-shadow: 0 40px 80px -30px rgba(255, 125, 72, .35);
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }

/* More */
.more { padding: 0 0 120px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--container); border: 1px solid var(--outline); border-radius: var(--radius);
  padding: 30px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #3E5068; transform: translateY(-2px); }
.card svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: rgba(255, 125, 72, .12); stroke: var(--orange); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 1rem; }

/* Pricing */
.pricing { padding: 120px 0; background: var(--surface); border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--container); border: 1px solid var(--outline); border-radius: 24px; padding: 36px;
}
.plan-pro {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 125, 72, .10), transparent 50%), var(--container);
}
.badge {
  position: absolute; top: -14px; right: 28px;
  background: var(--orange); color: #1C0800; font-size: 0.8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.4rem; }
.price { margin-top: 14px; }
.price b { font-size: 3rem; font-weight: 700; letter-spacing: -0.02em; }
.price span { color: var(--muted); margin-left: 4px; }
.plan-sub { color: var(--muted); font-size: 1rem; margin-top: 4px; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { padding-left: 30px; position: relative; font-size: 1rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(78, 205, 224, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ECDE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-pro li::before { background-color: rgba(255, 125, 72, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7D48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.plan strong { color: var(--orange); font-weight: 600; }
.billing {
  display: inline-flex; margin-top: 16px; padding: 4px; gap: 4px; align-self: flex-start;
  background: var(--bg); border: 1px solid var(--outline); border-radius: 999px;
}
.billing button {
  font: inherit; font-size: 0.9rem; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 6px 16px; border-radius: 999px;
}
.billing button[aria-pressed="true"] { background: var(--container-high); color: var(--text); }
.fine { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 28px; }

/* FAQ */
.faq { padding: 120px 0; }
.faq details { border-bottom: 1px solid var(--outline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 1.15rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 1.6rem; font-weight: 300; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; }

/* Final CTA */
.final {
  padding: 110px 0;
  background: radial-gradient(ellipse at center, rgba(255, 125, 72, .18), transparent 60%);
  border-top: 1px solid var(--outline);
}
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.final h2 { max-width: 18ch; }

/* Footer */
.footer { border-top: 1px solid var(--outline); padding: 32px 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; }
.footer a { text-decoration: none; }
.faq details p a { color: var(--orange); }
.footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-grid, .feature, .moto-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-phones { height: 112vw; max-height: 560px; max-width: 560px; margin: 0 auto; width: 100%; }
  .phone-c { width: 52%; }
  .phone-l, .phone-r { width: 42%; top: 10%; }
  .feature { gap: 40px; margin-bottom: 96px; }
  .feature.flip .feature-media { order: 0; }
  .feature-copy { text-align: center; }
  .feature-copy p { margin: 0 auto; }
  .feature-copy .aside { text-align: left; }
  .feature-media img { width: min(300px, 70vw); }
  .clip { width: min(280px, 66vw); }
  .moto-copy { text-align: center; }
  .moto-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .chips { justify-content: center; }
  .moto-phones img { width: 44%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .share-row { grid-template-columns: 1fr 1fr; }
  .share-copy { grid-column: 1 / -1; text-align: center; }
  .whatsnew { padding: 84px 0 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div:nth-child(3) { border-left: 0; }
  .strip-grid div:nth-child(n+3) { border-top: 1px solid var(--outline); }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .brand span { font-size: 1.05rem; }
  .section-head { margin-bottom: 44px; }
  .features, .moto, .build, .pricing, .faq { padding: 84px 0; }
  .more { padding-bottom: 84px; }
  .video { padding: 40px 0 84px; }
  .plans, .cards { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px; }
  .gallery { gap: 20px 14px; }
  .gallery figcaption { font-size: 0.9rem; }
  .strip-grid div { padding: 20px 14px; }
  .strip b { font-size: 1.1rem; }
  .strip span { font-size: 0.85rem; }
}
