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

:root {
  --red: #DC2626;
  --red-hover: #B91C1C;
  --red-glow: rgba(220, 38, 38, 0.3);
  --red-dark: rgba(220, 38, 38, 0.1);
  --black: #0A0A0A;
  --black-light: #111111;
  --black-card: #1A1A1A;
  --black-border: #262626;
  --white: #FFFFFF;
  --gray: #A3A3A3;
  --gray-dark: #525252;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.text-red { color: var(--red); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; }
.section-subtitle { font-size: 18px; color: var(--gray); font-weight: 400; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white); border: none;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; text-decoration: none; transition: all var(--transition);
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 1px solid var(--black-border); padding: 10px 20px;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  font-family: 'Inter', sans-serif; cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.btn-ghost:hover { background: var(--black-card); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 800; font-size: 20px; }
.nav-logo { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-link { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 500; transition: color var(--transition); }
.nav-link:hover { color: var(--white); }
.nav-actions { display: flex; gap: 12px; }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(220,38,38,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(220,38,38,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-container { position: relative; max-width: 1200px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-dark); border: 1px solid rgba(220,38,38,0.2);
  padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: var(--red); margin-bottom: 32px;
}
.badge-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-size: 72px; font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; }
.hero-title-outline { color: transparent; -webkit-text-stroke: 2px var(--red); }
.hero-desc { font-size: 18px; color: var(--gray); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 64px; }
.hero-stat { text-align: center; }
.stat-value { display: block; font-size: 36px; font-weight: 900; letter-spacing: -1px; color: var(--red); }
.stat-label { font-size: 14px; color: var(--gray); }

.platforms { padding: 80px 0; }
.platforms-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.platform-card {
  background: var(--black-card); border: 1px solid var(--black-border);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: all var(--transition); cursor: pointer;
}
.platform-card:hover { border-color: #333; transform: translateY(-2px); }
.platform-icon { font-size: 32px; margin-bottom: 8px; }
.platform-card span { font-size: 14px; font-weight: 500; color: var(--gray); }

.footer { border-top: 1px solid var(--black-border); padding: 32px 0; }
.footer-bottom { text-align: center; }
.footer-bottom p { color: var(--gray-dark); font-size: 13px; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--black-border); border-radius: 3px; }

@media (max-width: 900px) {
  .hero-title { font-size: 42px; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .section-title { font-size: 28px; }
  .hero-title { font-size: 32px; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.nav, .hero, .features, .stats-preview, .ranks, .footer { position: relative; z-index: 1; }