/* ScatterShot brand: near-black surfaces, neon-lime accent — mirrors the app's Theme. */
:root {
  --bg: #0A0D0B;
  --surface: #121613;
  --surface-2: #1A201C;
  --stroke: #273129;
  --accent: #B4FF3C;
  --accent-dim: #8FCC2F;
  --text: #F2F5F1;
  --text-2: #9BA89E;
  --text-faint: #5E6B62;
  --danger: #FF4D5E;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Header / nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 13, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .3px; }
.brand img { height: 28px; width: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 72px 0 48px; }
.hero img.logo {
  max-width: 560px; width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(180, 255, 60, .25);
  box-shadow: 0 0 60px rgba(180, 255, 60, .12);
}
.hero h1 { font-size: clamp(30px, 6vw, 48px); margin: 28px 0 10px; font-weight: 900; }
.hero p.tag { font-size: clamp(16px, 3vw, 20px); color: var(--text-2); max-width: 620px; margin: 0 auto 28px; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius);
  background: var(--accent); color: #000;
  box-shadow: 0 0 24px rgba(180, 255, 60, .35);
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); opacity: .92; }
.btn.secondary { background: var(--surface-2); color: var(--text); box-shadow: none; border: 1px solid var(--stroke); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 24px 0 64px; }
.card {
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 20px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card .ico { font-size: 24px; margin-bottom: 10px; }

/* Content pages (privacy / support) */
.content { padding: 48px 0 80px; }
.content h1 { font-size: 34px; margin-bottom: 6px; }
.content h2 { font-size: 22px; margin-top: 36px; }
.content .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 8px; }
.content ul { padding-left: 20px; }
.content li { margin: 6px 0; color: var(--text-2); }
.content p { color: var(--text-2); }
.content strong { color: var(--text); }

/* ── Take-a-tour modal ───────────────────────────────────────────── */
.tour-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px);
  padding: 16px;
}
.tour-overlay.open { display: flex; }

.tour-panel {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: 760px; max-height: 92vh;
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.tour-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--stroke); }
.tour-head img { height: 36px; width: 36px; border-radius: 9px; }
.tour-head .t-name { font-weight: 800; font-size: 17px; line-height: 1.2; }
.tour-head .t-tag { font-size: 12px; color: var(--accent); }
.tour-close {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  color: var(--text-2); font-size: 22px; line-height: 1; padding: 6px 10px; border-radius: 999px;
}
.tour-close:hover { background: rgba(255,255,255,.08); color: var(--text); }

.tour-progress { height: 3px; width: 100%; background: var(--stroke); }
.tour-progress > div { height: 100%; background: var(--accent); transition: width .3s ease; width: 0; }

.tour-body { flex: 1; overflow-y: auto; padding: 28px 24px; }

/* Overview step */
.tour-overview { max-width: 560px; margin: 0 auto; text-align: center; }
.tour-overview img.ico { height: 76px; width: 76px; border-radius: 18px; margin-bottom: 14px; }
.tour-overview h3 { font-size: 26px; margin: 0; }
.tour-overview .t-tag2 { color: var(--accent); margin: 6px 0 0; }
.tour-overview p.lede { color: var(--text-2); margin: 16px 0 0; }
.tour-bullets { list-style: none; padding: 0; margin: 24px auto 0; max-width: 460px;
  display: grid; gap: 10px; grid-template-columns: 1fr 1fr; text-align: left; }
.tour-bullets li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--stroke); border-radius: 12px; padding: 10px 12px; }
.tour-bullets li::before { content: "✓"; color: var(--accent); font-weight: 800; }
@media (max-width: 520px) { .tour-bullets { grid-template-columns: 1fr; } }

/* Screen step — phone frame */
.tour-screen { display: flex; flex-direction: column; align-items: center; }
.phone-frame {
  width: 238px; flex-shrink: 0;
  border: 6px solid var(--stroke); background: #000;
  border-radius: 32px; padding: 4px; box-shadow: 0 0 40px rgba(180,255,60,.10);
}
.phone-frame .screen { aspect-ratio: 402 / 874; width: 100%; overflow: hidden; border-radius: 24px; background: #000; }
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tour-caption { margin-top: 22px; max-width: 460px; text-align: center; }
.tour-caption h3 { font-size: 19px; margin: 0; }
.tour-caption p { font-size: 14px; color: var(--text-2); margin: 8px 0 0; }

/* CTA step */
.tour-cta { max-width: 460px; margin: 0 auto; text-align: center; }
.tour-cta h3 { font-size: 24px; margin: 0 0 8px; }
.tour-cta p { color: var(--text-2); margin: 0 0 22px; }

/* Footer nav */
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border-top: 1px solid var(--stroke); }
.tour-nav-btn { background: var(--surface-2); color: var(--text); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 9px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
.tour-nav-btn:hover { border-color: var(--accent); }
.tour-nav-btn.primary { background: var(--accent); color: #000; border-color: transparent; }
.tour-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.tour-dots { display: flex; gap: 6px; }
.tour-dots button { height: 8px; width: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.2); cursor: pointer; transition: all .2s ease; }
.tour-dots button:hover { background: rgba(255,255,255,.4); }
.tour-dots button.active { width: 22px; background: var(--accent); }

/* Footer */
footer { border-top: 1px solid var(--stroke); padding: 28px 0 48px; color: var(--text-faint); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-row a { color: var(--text-2); }
