/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --surface:         #0f1117;
  --surface-light:   #151923;
  --surface-lighter: #1c2230;
  --surface-border:  #2b3245;
  --surface-hover:   #232a3a;

  --accent:          #e11d2e;
  --accent-hover:    #ff3b3b;
  --accent-muted:    #3d1520;
  --accent-dark:     #c9182a;

  --orange:          #ff6a00;
  --orange-muted:    #3d2a10;

  --text-primary:    #e5e7eb;
  --text-secondary:  #b8bcc7;
  --text-muted:      #8b93a7;

  --success:         #22c55e;
  --font-sans:       "Inter", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo svg { flex-shrink: 0; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }
.nav-links a.active {
  color: var(--accent-hover);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1.5rem 4rem;
  position: relative; overflow: hidden;
  background: var(--surface);
}

.hero-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(225,29,46,0.15) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(15,17,23,0.65) 0%, rgba(15,17,23,0.8) 50%, var(--surface) 100%);
}

.hero-content { max-width: 700px; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-muted); color: var(--accent-hover);
  padding: 0.35rem 1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 1.5rem;
  border: 1px solid rgba(225,29,46,0.25);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-hover);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 10px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 0 20px rgba(225,29,46,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow: 0 0 30px rgba(225,29,46,0.4);
  text-decoration: none; transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-lighter);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
  text-decoration: none; transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-hover);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-muted);
  text-decoration: none; transform: translateY(-1px);
}

.btn svg { width: 18px; height: 18px; }

/* ===== Sections ===== */
section { padding: 5rem 1.5rem; }

.section-inner {
  max-width: 1100px; margin: 0 auto;
}

.section-header {
  text-align: center; margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary); max-width: 550px; margin: 0 auto;
}

/* ===== Feature cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 14px; padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(225,29,46,0.08);
}

.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  background: var(--accent-muted); color: var(--accent-hover);
  font-size: 1.3rem;
}

.feature-card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55;
}

/* ===== About section ===== */
.about-section { background: var(--surface-light); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.about-text h2 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-text p {
  color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.95rem;
}

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

.stat-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 1.25rem; text-align: center;
}
.stat-card .number {
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .label {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem;
}

/* ===== CTA / Donate ===== */
.cta-section {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(225,29,46,0.1) 0%, transparent 70%),
    var(--surface);
}

.cta-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 16px; padding: 3rem;
  max-width: 600px; margin: 0 auto;
}

.cta-card h2 {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 0.75rem;
}
.cta-card p {
  color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.95rem;
}

.cta-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 2rem 1.5rem; text-align: center;
  font-size: 0.85rem; color: var(--text-muted);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text-secondary); }

/* ===== Guide page ===== */
.page-header {
  padding: 7rem 1.5rem 3rem; text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(225,29,46,0.1) 0%, transparent 70%),
    var(--surface);
}
.page-header h1 {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-header p { color: var(--text-secondary); font-size: 1.05rem; }

.guide-section { max-width: 860px; margin: 0 auto; }

.guide-step {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 14px; padding: 2rem;
  margin-bottom: 1.5rem;
}

.guide-step .step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-muted); color: var(--accent-hover);
  font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem;
}

.guide-step h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem;
}
.guide-step p {
  color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 1rem;
}

.screenshot-placeholder {
  background: var(--surface);
  border: 1px dashed var(--surface-border);
  border-radius: 10px; padding: 3rem;
  text-align: center; color: var(--text-muted);
  font-size: 0.85rem;
}

.guide-step code {
  background: var(--surface);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  font-size: 0.85rem;
  color: var(--accent-hover);
  border: 1px solid var(--surface-border);
}

.guide-step ul {
  list-style: none; padding: 0;
}
.guide-step ul li {
  padding: 0.3rem 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.guide-step ul li::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .hero { padding-top: 7rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-links a span { display: none; }
  .footer-inner { flex-direction: column; }
}
