:root {
  --bg: #0c1019;
  --bg-elev: #11151f;
  --card: #161b2c;
  --card-hover: #1c2236;
  --border: rgba(255,255,255,0.08);
  --text-primary: #e5eaf5;
  --text-secondary: #8c94b4;
  --text-muted: #7880a0;
  --blue: #4d8ff5;
  --blue-deep: #3367e0;
  --green: #2ec86d;
  --red: #ff5f57;
  --radius: 16px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Nav */
nav.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12,16,25,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
nav.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand:hover { text-decoration: none; }

.navlinks { display: flex; gap: 28px; align-items: center; }
.navlinks a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.navlinks a:hover { color: var(--text-primary); text-decoration: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 88px 24px 64px;
  background:
    radial-gradient(circle at 50% 0%, rgba(77,143,245,0.18), transparent 60%);
}
.hero img.appicon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(77,143,245,0.35);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
}
.hero p.subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}
.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.badge.blue  { color: var(--blue);  background: rgba(77,143,245,0.10); }
.badge.green { color: var(--green); background: rgba(46,200,109,0.10); }
.badge.gold  { color: #d4940a;      background: rgba(245,188,48,0.10); }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(77,143,245,0.35);
}
.btn-primary.disabled {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

/* Sections */
section.section { padding: 64px 24px; }
section.section.alt { background: var(--bg-elev); }
h2.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}
p.section-sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
  background: rgba(77,143,245,0.12);
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.card p { color: var(--text-secondary); font-size: 14px; margin: 0; }
.card ul { color: var(--text-secondary); font-size: 14px; margin: 8px 0 0; padding-left: 18px; }
.card ul li { margin-bottom: 4px; }

/* Privacy callout */
.callout {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.callout h2 { font-size: 24px; margin: 0 0 12px; }
.callout p { color: var(--text-secondary); font-size: 15px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
footer .footlinks {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
footer .footlinks a { color: var(--text-secondary); font-size: 14px; }

/* Simple content pages (support / privacy) */
.page-header {
  padding: 56px 24px 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.6px; }
.page-header p { color: var(--text-secondary); margin: 0; }

.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.content h2 {
  font-size: 20px;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}
.content h2:first-child { margin-top: 0; }
.content p, .content li { color: var(--text-secondary); font-size: 15px; }
.content ul { padding-left: 20px; }
.content .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 32px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.faq-item h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.faq-item p { margin: 0; font-size: 14px; }

.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(77,143,245,0.10);
  border: 1px solid rgba(77,143,245,0.25);
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.mail-btn:hover { text-decoration: none; background: rgba(77,143,245,0.16); }
