*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --bg-elevated: #1c2129;
  --border: #30363d;
  --text: #c9d1d9;
  --text-muted: #8b949e;
  --text-bright: #f0f6fc;
  --accent: #e00000;
  --accent-light: #ff4444;
  --accent-glow: rgba(224, 0, 0, 0.22);
  --purple: #7c3aed;
  --purple-light: #9d6cf3;
  --danger: #d4313b;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(224,0,0,0.20) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(224,0,0,0.30);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--accent-light); }

.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-light); }

.btn-outline {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid #6e7681;
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); }

.btn-donate {
  background: var(--danger);
  color: #fff;
}
.btn-donate:hover { background: #e04450; }

/* ── Section ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-bright);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Feature Grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(224,0,0,0.10);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Privacy Grid ── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.privacy-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.privacy-card .icon {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.privacy-card h3 {
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.privacy-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px;
  padding-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 28px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Keyboard shortcut ── */
kbd {
  background: var(--bg-elevated);
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.9rem;
  font-family: monospace;
  color: var(--text-bright);
}

/* ── Screenshots ── */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.screenshots img {
  width: 100%;
  height: auto;
  max-width: 640px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: block;
  margin: 0 auto;
}

/* ── Shortcut band ── */
.shortcut-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.shortcut-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.shortcut-inner h2 {
  font-size: 1.4rem;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
}

.kbd-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.shortcut-inner p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text-bright); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 48px 16px 40px; }
  .section { padding: 40px 16px; }
  .features,
  .privacy-grid,
  .steps,
  .screenshots {
    grid-template-columns: 1fr;
  }
}
