/* LocaGo website. Colors match the app's console: navy surfaces, mint "live" accent, brand blue. */
:root {
  --bg: #070D1A;
  --surface: #0F1A2E;
  --surface-2: #16213A;
  --line: rgba(255, 255, 255, 0.08);
  --text: #EAF0FA;
  --muted: #9AA8C0;
  --mint: #34D399;
  --blue: #2F6BFF;
  --radius: 20px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  background-image:
    radial-gradient(circle at 85% -10%, rgba(47, 107, 255, 0.22), transparent 45%),
    radial-gradient(circle at -10% 40%, rgba(52, 211, 153, 0.10), transparent 40%);
  background-repeat: no-repeat;
}

a { color: var(--mint); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 72px 20px 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1);
  color: var(--mint); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 18px 0 16px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--mint); }
.hero p.lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 16px;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(47, 107, 255, 0.35); }
.btn-primary:hover { background: #4A7FFF; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }
.small { color: var(--muted); font-size: 14px; }

.phones { position: relative; height: 520px; }
.phone {
  position: absolute; width: 240px; border-radius: 28px; overflow: hidden;
  border: 6px solid #0A0F1A; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.phone.back { left: 0; top: 40px; transform: rotate(-6deg); }
.phone.front { right: 10px; top: 0; transform: rotate(4deg); }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.3px; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 640px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 18px; border: 1px solid var(--line); }
.gallery figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(52, 211, 153, 0.15); color: var(--mint); font-weight: 800; margin-bottom: 12px;
}

.notice {
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--mint);
  border-radius: 14px; padding: 18px 20px; color: var(--muted);
}
.notice strong { color: var(--text); }

/* Document pages (privacy, support) */
.doc { max-width: 780px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: 38px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #CDD6E6; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); background: var(--surface); }
.doc td { color: #CDD6E6; }
.table-scroll { overflow-x: auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer a { color: var(--muted); margin-right: 16px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .phones { height: 440px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 200px; }
  .features, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(5, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery figure { scroll-snap-align: start; }
  .nav { gap: 14px; }
}
