:root {
  --bg-0: #0b1020;
  --bg-1: #131a30;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #eef1f8;
  --muted: #9aa3bd;
  --accent: #5b8cff;
  --accent-2: #38d39f;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  /* Same image as the app's dashboard pages, with a dark overlay for legibility */
  background:
    linear-gradient(180deg, rgba(11, 16, 32, 0.45), rgba(19, 26, 48, 0.55)),
    url("dashboard_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

/* Hero */
.hero { text-align: center; padding: 24px 0 40px; }

.badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--accent-2);
  background: rgba(56, 211, 159, 0.10);
  border: 1px solid rgba(56, 211, 159, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
h1 .sub { color: var(--muted); font-weight: 600; }

.tagline {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: #cdd4ea;
}

/* CTA / download */
.cta { text-align: center; }
.cta-bottom { padding: 8px 0 40px; }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), #3f6fe0);
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(91, 140, 255, 0.45); }
.btn-download:active { transform: translateY(0); }
.dl-icon { font-size: 20px; }

.cta-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #cdd4ea;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.10); transform: translateY(-1px); }

/* Donation placeholder */
.donate { margin-top: 40px; }
.donate-text { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.action-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #ffd0d8;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 120, 150, 0.35);
  background: rgba(255, 120, 150, 0.08);
  transition: background 0.15s ease;
}
.btn-donate:hover { background: rgba(255, 120, 150, 0.15); }
.btn-donate.is-placeholder { opacity: 0.7; cursor: default; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 56px 0;
}
.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(8px);
}
.f-icon { font-size: 26px; margin-bottom: 10px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: #c3cae0; font-size: 15px; }

/* Trust */
.trust {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin: 8px 0 56px;
  backdrop-filter: blur(8px);
  text-align: center;
}
.trust h2 { margin: 0 0 14px; font-size: 24px; }
.trust p { margin: 0 auto; max-width: 640px; color: #c3cae0; }

/* Footer */
.footer { text-align: center; padding-top: 32px; border-top: 1px solid var(--card-border); }
.footer p { margin: 4px 0; font-size: 14px; }
.muted { color: var(--muted); }
.foot-link { color: var(--muted); text-decoration: underline; }
.foot-link:hover { color: var(--text); }

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .page { padding: 40px 18px 36px; }
}
