:root {
  --bg-body: #05060a;
  --bg-alt: #0c0f16;
  --bg-card: #0d1117;
  --accent: #00c853;
  --accent-soft: rgba(0, 200, 83, 0.12);
  --accent-secondary: #00b0ff;
  --text-main: #f5f5f7;
  --text-muted: #a0a4b8;
  --border-subtle: #222837;
  --max-width: 1120px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151a26 0, #05060a 55%);
  color: var(--text-main);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(5,6,10,0.95), rgba(5,6,10,0.85));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #05060a;
  font-weight: 800;
  font-size: 0.85rem;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text-main);
  border-bottom-color: rgba(255,255,255,0.18);
}

.nav-cta {
  flex-shrink: 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #05060a;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 200, 83, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,200,83,0.5);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border-color: rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(15, 23, 42, 1);
}

.btn-large {
  padding: 12px 24px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(148,163,184,0.15);
  font-size: 0.8rem;
}

/* Hero card */
.hero-card {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card .mini-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(56,189,248,0.15);
  color: #e0f2fe;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card h2 {
  margin: 8px 0 6px;
  font-size: 1.2rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #0f172a 0, #020617 60%);
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.section-subtitle {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 40rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.feature-card {
  background: rgba(15,23,42,0.95);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.25);
  padding: 14px 14px 12px;
  font-size: 0.9rem;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

/* How it works */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hiw-step {
  background: rgba(15,23,42,0.95);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.25);
  padding: 14px 12px;
  font-size: 0.9rem;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 30%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(90deg, #0f172a, #020617);
  border-top: 1px solid rgba(148,163,184,0.3);
  border-bottom: 1px solid rgba(15,23,42,1);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.don-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(56,189,248,0.5);
  color: #e0f2fe;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

.don-btn:hover {
  border-color: rgba(56,189,248,1);
}

.support-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.support-sidebox {
  background: rgba(15,23,42,0.97);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.3);
  padding: 14px 14px 10px;
  font-size: 0.9rem;
}

.support-sidebox ul {
  margin: 0;
  padding-left: 18px;
}

/* FAQ */
.faq-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  background: rgba(15,23,42,0.95);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.25);
  padding: 14px 12px;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(148,163,184,0.3);
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 10px;
}

.footer-text {
  margin: 6px 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
  max-width: 32rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-cta {
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding: 6px 0 12px;
  color: #6b7280;
  border-top: 1px solid rgba(15,23,42,1);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hiw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hiw-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 28px;
  }
}