/* Bug Invasion: Swarmageddon — Marketing Website */

:root {
  --bg-dark: #0a0e17;
  --bg-card: #131a2b;
  --accent: #00e87b;
  --accent-dim: #00b35f;
  --text: #e8ecf4;
  --text-muted: #8892a4;
  --orange: #ff6633;
  --cyan: #44ddff;
  --yellow: #ffee44;
  --red: #ff4455;
  --max-w: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Layout ─────────────────────────────────────────────────── */

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

/* ── Nav ────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1em;
  color: var(--text);
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 0.85em;
  color: var(--text-muted);
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: 0 0 60px rgba(0, 232, 123, 0.2);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 2.8em;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

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

.hero .subtitle {
  font-size: 1.2em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero .tagline {
  font-size: 1em;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
}

/* ── Store Badges ───────────────────────────────────────────── */

.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s;
}

.store-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ── Screenshot ─────────────────────────────────────────────── */

.screenshot-section {
  text-align: center;
  padding: 40px 0 80px;
}

.screenshot-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.screenshot-placeholder {
  width: 220px;
  height: 440px;
  background: var(--bg-card);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85em;
  text-align: center;
  padding: 16px;
}

/* ── Features ───────────────────────────────────────────────── */

.features {
  padding: 60px 0;
}

.features h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card .icon {
  font-size: 2em;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.15em;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92em;
}

/* ── Weapons Showcase ───────────────────────────────────────── */

.weapons {
  padding: 60px 0;
}

.weapons h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 48px;
}

.weapons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.weapon-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.weapon-card .bullet-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 auto 12px;
  box-shadow: 0 0 20px currentColor;
}

.weapon-card h3 {
  margin-bottom: 4px;
}

.weapon-card .weapon-type {
  color: var(--text-muted);
  font-size: 0.85em;
  margin-bottom: 12px;
}

.weapon-card .stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.8em;
  color: var(--text-muted);
}

.weapon-card .stats span {
  color: var(--text);
  font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85em;
}

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* ── Legal Pages (Privacy, Support) ─────────────────────────── */

.legal {
  padding: 60px 0;
}

.legal h1 {
  font-size: 2em;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.3em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 0.95em;
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal strong {
  color: var(--text);
}

.legal a {
  color: var(--accent);
}

/* ── Support Page ───────────────────────────────────────────── */

.support-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-card h3 {
  margin-bottom: 12px;
}

.support-card p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.support-card .email-link {
  font-size: 1.1em;
  font-weight: 600;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
  font-size: 1em;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.92em;
  margin-bottom: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero .subtitle {
    font-size: 1em;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
  }

  .nav-links {
    gap: 16px;
  }

  .screenshot-placeholder {
    width: 160px;
    height: 320px;
  }

  .features h2,
  .weapons h2 {
    font-size: 1.5em;
  }
}
