:root {
  --bg: #0e1115;
  --bg-alt: #12151a;
  --card: #1b1f27;
  --text: #f2f4f7;
  --text-dim: #9aa3b2;
  --accent: #ff6b35;
  --accent-dim: #7a3620;
  --green: #33c481;
  --red: #e5484d;
  --border: #2a2f3a;
  --max-w: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff7f52; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14,17,21,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--text); }
.nav-cta { padding: 9px 18px; font-size: 14px; }

@media (max-width: 760px) {
  .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(ellipse 800px 400px at 20% -10%, rgba(255,107,53,0.16), transparent),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
}

/* ---------- Phone mockup ---------- */
.phone-mock {
  width: 260px;
  margin: 0 auto;
  background: #05070a;
  border-radius: 36px;
  padding: 12px 10px;
  border: 2px solid #2a2f3a;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
}
.phone-notch {
  width: 80px;
  height: 18px;
  background: #05070a;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  background: var(--bg-alt);
  border-radius: 26px;
  overflow: hidden;
  padding-top: 22px;
}
.mock-topbar {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.mock-map {
  background: #0a0c0f;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-trail { width: 90%; }
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mock-stats div {
  text-align: center;
  padding: 10px 2px;
  border-right: 1px solid var(--border);
}
.mock-stats div:last-child { border-right: none; }
.mock-stats b { display: block; font-size: 14px; }
.mock-stats span { display: block; font-size: 9px; color: var(--text-dim); text-transform: uppercase; }
.mock-btn {
  margin: 12px;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Value strip ---------- */
.value-strip {
  background: var(--bg-alt);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.value-item h3 { font-size: 16px; margin: 10px 0 6px; }
.value-item p { font-size: 14px; color: var(--text-dim); }
.value-icon { font-size: 26px; }

@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Section shared ---------- */
.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 12px auto 0;
  font-size: 15px;
}

/* ---------- Features ---------- */
.features { padding: 80px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.feature-icon { font-size: 26px; }
.feature-card h3 { font-size: 16px; margin: 12px 0 8px; }
.feature-card p { font-size: 14px; color: var(--text-dim); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Privacy ---------- */
.privacy {
  background: var(--bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.privacy .section-title, .privacy .section-sub { text-align: left; margin-left: 0; }
.privacy-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.privacy-badge { display: flex; justify-content: center; }
.badge-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(255,107,53,0.15), transparent);
}
.badge-circle span { font-size: 34px; font-weight: 800; color: var(--accent); }
.badge-circle small { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

@media (max-width: 900px) {
  .privacy-inner { grid-template-columns: 1fr; }
  .privacy .section-title, .privacy .section-sub { text-align: center; margin: 0 auto; }
  .privacy-list { align-items: center; }
}

/* ---------- Install ---------- */
.install { padding: 80px 0; }
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 32px;
}
.platform-tab {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.platform-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.install-panel { max-width: 640px; margin: 0 auto; }
.install-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.install-steps li {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-steps h4 { font-size: 15px; margin-bottom: 4px; }
.install-steps p { font-size: 14px; color: var(--text-dim); }
.install-cta {
  text-align: center;
  margin-top: 36px;
}
.install-cta .hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 18px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 80px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.hidden { display: none !important; }
