/* ─── Light Theme Overrides ─────────────────────────────── */
body.light {
  --bg: #f8f7f5;
  --surface: rgba(0, 0, 0, 0.03);
  --border: rgba(0, 0, 0, 0.08);
  --text: #111111;
  --muted: rgba(0, 0, 0, 0.45);
  background: var(--bg);
  color: var(--text);
}

body.light .nav-logo { color: #111; }
body.light .nav-links a { color: rgba(0,0,0,0.4); }
body.light .nav-links a:hover { color: #111; }
body.light nav {
  background: rgba(248,247,245,0.6);
  border-color: rgba(0,0,0,0.07);
}
body.light .btn-glass {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: #111;
}
body.light .btn-glass:hover {
  background: rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.18);
}
body.light .btn-ghost {
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.45);
}
body.light .btn-ghost:hover { color: #111; border-color: rgba(0,0,0,0.2); }
body.light footer { border-color: rgba(0,0,0,0.08); }
body.light .footer-logo { color: rgba(0,0,0,0.35); }
body.light .footer-copy { color: rgba(0,0,0,0.25); }
body.light .footer-links a {
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.4);
}
body.light .footer-links a:hover {
  color: #111;
  border-color: rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.04);
}

/* Light orbs — PocketMoney (green) */
body.light.pm .orb-1 {
  background: radial-gradient(circle, rgba(0,200,5,0.7) 0%, rgba(0,160,4,0.45) 40%, transparent 70%);
}
body.light.pm .orb-2 {
  background: radial-gradient(circle, rgba(0,220,10,0.65) 0%, rgba(0,180,5,0.4) 40%, transparent 70%);
}
body.light.pm .orb-3 {
  background: radial-gradient(circle, rgba(0,180,4,0.6) 0%, rgba(0,200,5,0.38) 40%, transparent 70%);
}

/* Light orbs — SnapTab (amber) */
body.light.st .orb-1 {
  background: radial-gradient(circle, rgba(245,158,11,0.75) 0%, rgba(217,119,6,0.5) 40%, transparent 70%);
}
body.light.st .orb-2 {
  background: radial-gradient(circle, rgba(251,191,36,0.7) 0%, rgba(245,158,11,0.45) 40%, transparent 70%);
}
body.light.st .orb-3 {
  background: radial-gradient(circle, rgba(217,119,6,0.65) 0%, rgba(245,158,11,0.42) 40%, transparent 70%);
}

/* ─── App Page Styles ───────────────────────────────────── */

.app-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
  position: relative;
}

.app-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.large-icon {
  width: 88px !important;
  height: 88px !important;
  font-size: 40px !important;
  border-radius: 22px !important;
  margin-bottom: 24px;
}

.app-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.app-tagline {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ─── App Body ──────────────────────────────────────────── */
.app-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  border-top: 1px solid var(--border);
}

.app-description h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.app-description p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ─── Feature List ──────────────────────────────────────── */
.feature-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.feature-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  margin-top: 2px;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Legal Section ─────────────────────────────────────── */
.app-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  border-top: 1px solid var(--border);
}

.legal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.legal-block {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-block h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.legal-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 600px) {
  .legal-links { grid-template-columns: 1fr; }
  .feature-item { flex-direction: column; gap: 12px; }
  .large-icon { width: 72px !important; height: 72px !important; font-size: 32px !important; }
}
