/* SmartTraveler — shared dark theme matching the app */

:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --card: #1C1C1E;
  --border: rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --accent: #B8965A;
  --accent-tint: rgba(184,150,90,0.14);
  --text: #F5F5F7;
  --text-sec: #8E8E93;
  --text-tert: #48484A;
  --radius: 16px;
  --max-w: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ── Main content ── */

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

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 60px 0 48px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(184,150,90,0.2);
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 480px;
  margin: 0 auto 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  background: var(--card);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  padding: 6px 14px;
}

.hero-badge span {
  color: var(--accent);
  font-weight: 600;
}

/* ── App Store badge ── */

.appstore-link {
  display: inline-block;
  margin-top: 28px;
}

.appstore-link img {
  height: 44px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.appstore-link:hover img {
  opacity: 1;
}

/* ── Feature cards ── */

.features {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.feature:hover {
  border-color: var(--border-mid);
}

.feature-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-sec);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Legal pages ── */

.legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--text-tert);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--accent);
}

.legal p,
.legal li {
  color: var(--text-sec);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-tert);
  font-size: 13px;
}

.site-footer a {
  color: var(--text-sec);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

/* ── Responsive ── */

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .container { padding: 32px 16px 60px; }
  .nav-inner { padding: 12px 16px; }
  .feature { padding: 20px; }
  .legal h1 { font-size: 26px; }
}
