/* GeoPilot: dark theme with neon-blue accents. */
:root {
  --bg: #05070d;
  --bg-2: #090d18;
  --card: rgba(16, 22, 40, 0.72);
  --card-solid: #0d1324;
  --line: rgba(120, 160, 255, 0.14);
  --line-2: rgba(120, 160, 255, 0.26);
  --ink: #eef3ff;
  --ink-2: #a9b4cf;
  --ink-3: #6f7a96;
  --neon: #3d8bff;
  --neon-2: #1f6bff;
  --neon-soft: #8cc3ff;
  --glow: 0 0 0 1px rgba(90, 150, 255, 0.35), 0 8px 30px rgba(31, 107, 255, 0.45), 0 0 60px rgba(61, 139, 255, 0.25);
  --radius: 18px;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; line-height: 1.55; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--neon-soft); }
::selection { background: rgba(61, 139, 255, 0.45); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; color: var(--ink); }
h2 { font-size: clamp(30px, 4.2vw, 46px); text-align: center; }
h3 { font-size: 18px; }
b, strong { color: var(--ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(180deg, #5b9dff 0%, var(--neon-2) 100%); color: #fff;
  font-weight: 650; text-decoration: none; border-radius: 14px; padding: 12px 20px;
  box-shadow: var(--glow); border: 0; transition: transform .15s, box-shadow .2s, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.5), 0 10px 36px rgba(31, 107, 255, 0.6), 0 0 80px rgba(61, 139, 255, 0.35); }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-big { font-size: 18px; padding: 16px 28px; border-radius: 16px; }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(5, 7, 13, 0.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { filter: drop-shadow(0 0 12px rgba(61, 139, 255, 0.55)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 420px at 70% 30%, rgba(31, 107, 255, 0.32), transparent 70%), radial-gradient(520px 380px at 15% 20%, rgba(61, 139, 255, 0.16), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.eyebrow { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--neon-soft); }
h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.035em; }
.grad { background: linear-gradient(90deg, #a9d4ff 0%, var(--neon) 55%, #2f6dff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(61, 139, 255, 0.45)); }
.script { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 24px 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 26px 0 0; color: var(--ink-2); font-size: 14.5px; }
.chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); margin-right: 9px; vertical-align: middle; }
.fine { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.fine.center { text-align: center; }

/* Phone mockup */
.hero-phone { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; inset: 8% 0; background: radial-gradient(circle, rgba(31, 107, 255, 0.55), transparent 62%); filter: blur(40px); z-index: 0; }
.phone { position: relative; z-index: 1; width: 300px; height: 620px; border-radius: 52px; background: #0b0d12; padding: 12px;
  box-shadow: 0 0 0 1px rgba(140, 180, 255, 0.28), 0 0 0 9px #11151f, 0 0 0 10px rgba(140, 180, 255, 0.18), 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 90px rgba(31, 107, 255, 0.35); transform: rotate(-2deg); }
.island { position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: #000; border-radius: 20px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #eef1ea; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-top { position: absolute; top: 58px; left: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; color: #0b1220; }
.search { background: rgba(255, 255, 255, 0.94); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #8a94a6; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1); }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 6px 11px; font-size: 11.5px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon-2); }
.ui-card { position: absolute; left: 10px; right: 10px; bottom: 14px; background: rgba(255, 255, 255, 0.96); border-radius: 22px; padding: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); color: #0b1220; }
.card-title { font-weight: 700; font-size: 15px; }
.card-sub { font-size: 12px; color: #8a94a6; margin-bottom: 10px; }
.card-btn { background: var(--neon-2); color: #fff; font-weight: 600; font-size: 14px; text-align: center; border-radius: 12px; padding: 10px; }
.card-btn.ghost { margin-top: 7px; background: rgba(31, 107, 255, 0.1); color: var(--neon-2); font-size: 13px; padding: 8px; }

/* Sections */
.section { position: relative; padding: 104px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(31, 107, 255, 0.05) 30%, rgba(31, 107, 255, 0.05) 70%, transparent); }
.section-lead { text-align: center; color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 16px auto 52px; }
.section-lead.left { text-align: left; margin: 16px 0 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li, .feature, .needs li, details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li { position: relative; padding: 28px; transition: border-color .2s, box-shadow .2s; }
.steps li:hover, .feature:hover { border-color: var(--line-2); box-shadow: 0 0 40px rgba(31, 107, 255, 0.12); }
.steps p { color: var(--ink-2); margin: 10px 0 18px; }
.num { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 11px; background: linear-gradient(180deg, #5b9dff, var(--neon-2)); color: #fff; font-weight: 700; margin-bottom: 16px; box-shadow: 0 0 22px rgba(61, 139, 255, 0.55); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--ink-2); border: 1px solid var(--line); }
.tag-blue { background: rgba(61, 139, 255, 0.14); color: var(--neon-soft); border-color: rgba(61, 139, 255, 0.35); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.feature { padding: 26px; transition: border-color .2s, box-shadow .2s; }
.feature p { color: var(--ink-2); margin: 8px 0 0; }
.ico { font-size: 26px; margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(61, 139, 255, 0.5)); }

.two-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.two-col h2 { text-align: left; }
.needs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.needs li { padding: 16px 18px 16px 48px; position: relative; color: var(--ink-2); }
.needs li::before { content: "✓"; position: absolute; left: 18px; top: 15px; color: var(--neon); font-weight: 700; text-shadow: 0 0 10px var(--neon); }

details { padding: 18px 22px; margin-top: 10px; }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--neon); font-size: 22px; line-height: 1; transition: transform .2s; text-shadow: 0 0 10px var(--neon); }
details[open] { border-color: var(--line-2); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 10px 0 0; }

.final { position: relative; overflow: hidden; text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 50% 60%, rgba(31, 107, 255, 0.32), transparent 70%); }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-icon { border-radius: 22px; box-shadow: 0 0 0 1px rgba(140, 180, 255, 0.3), 0 0 50px rgba(31, 107, 255, 0.6); }
.final p { margin: 0 0 10px; color: var(--ink-2); font-size: 18px; }

.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.footer-inner span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.footer a { color: inherit; }
.muted { color: var(--ink-3); }

/* Terms of Service / Privacy Policy pages */
.legal-page { padding-top: 64px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(34px, 4.5vw, 48px); }
.legal-meta { color: var(--ink-3); font-size: 14px; margin: 10px 0 28px; }
.legal h2 { text-align: left; font-size: 21px; margin: 38px 0 10px; }
.legal h3 { font-size: 16px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal-callout { border: 1px solid rgba(61, 139, 255, 0.35); background: rgba(31, 107, 255, 0.08); border-radius: 14px; padding: 16px 18px; box-shadow: 0 0 40px rgba(31, 107, 255, 0.08); }
.legal .caps { font-size: 14px; }

@media (max-width: 900px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 56px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .chips { justify-content: center; }
  .steps, .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .two-col h2, .section-lead.left { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* Download section: install buttons */
.installs { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 16px; justify-content: center; margin-top: 10px; }
.install { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; text-align: left; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #5b9dff 0%, var(--neon-2) 100%); box-shadow: var(--glow); transition: transform .15s, filter .15s, box-shadow .2s; }
.install:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.5), 0 12px 40px rgba(31, 107, 255, 0.6), 0 0 90px rgba(61, 139, 255, 0.35); }
.install .os { width: 30px; height: 30px; fill: currentColor; flex: none; }
.install-title { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.install-sub { display: block; font-size: 13px; opacity: .8; margin-top: 2px; }
.install-off { background: rgba(255, 255, 255, 0.03); color: var(--ink-3); border: 1px solid var(--line); box-shadow: none; cursor: not-allowed; user-select: none; }
.install-off:hover { transform: none; filter: none; box-shadow: none; }
.soon { position: absolute; top: -10px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: #1a2133; color: var(--ink-2); border: 1px solid var(--line-2); }
#download { scroll-margin-top: 60px; }
@media (max-width: 700px) { .installs { grid-template-columns: 1fr; width: 100%; max-width: 360px; } }
