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

:root {
  --bg: #080808;
  --bg2: #0e0e0e;
  --surface: #111111;
  --surface2: #181818;
  --border: #222222;
  --red: #e02020;
  --red-bright: #ff2b2b;
  --red-dim: #8a1515;
  --text: #f0f0f0;
  --text-muted: #555555;
  --text-dim: #333333;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.15s ease, height 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  mix-blend-mode: normal;
}

.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--red-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.03s ease;
}

body.cursor-hover .cursor {
  width: 48px;
  height: 48px;
  background: rgba(224, 32, 32, 0.08);
  border-color: var(--red-bright);
}

/* ===== GRID OVERLAY ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(224,32,32,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,32,32,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== SCAN DOT ===== */
.scan-dot {
  position: absolute;
  top: 80px;
  left: 22%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red), 0 0 30px rgba(224,32,32,0.4);
  animation: pulse 2.5s ease-in-out infinite;
  z-index: 5;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 48px;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
  gap: 24px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  min-width: 120px;
}

.brand-icon { color: var(--red); font-size: 16px; }

.topbar-status {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.status-item .label {
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.status-item .value {
  color: var(--text);
  letter-spacing: 0.05em;
}

.status-item .value.green { color: #22c55e; }

.status-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot.red {
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  animation: pulse 1.5s infinite;
}

.signin-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 7px 16px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
  white-space: nowrap;
}

.signin-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 48px;
  left: 0;
  bottom: 0;
  width: 64px;
  background: rgba(8,8,8,0.97);
  border-right: 1px solid var(--border);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  gap: 4px;
}

.sidebar-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  margin-bottom: 12px;
  transform: rotate(180deg);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-items: center;
}

.nav-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.2s;
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: var(--text);
  background: var(--surface);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}

/* ===== MAIN ===== */
.main {
  margin-left: 64px;
  margin-top: 48px;
  position: relative;
  min-height: calc(100vh - 48px);
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 48px;
  position: relative;
  z-index: 2;
}

/* Red glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(224,32,32,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  animation: fadeDown 0.8s ease forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse 1.5s infinite;
}

.hero-title {
  position: relative;
  z-index: 2;
  line-height: 0.88;
  margin-bottom: 32px;
  animation: fadeUp 0.9s ease 0.1s both;
}

.title-line-1 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  color: var(--text);
  letter-spacing: 0.05em;
}

.title-line-2 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  color: var(--red);
  letter-spacing: 0.05em;
}

.title-dot {
  color: var(--text);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease 0.3s both;
}

.tag-item { text-align: center; }

.tag-main {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.tag-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 2px;
}

.tag-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-cta {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease 0.4s both;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 14px 32px;
  border: 1px solid var(--red);
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 24px rgba(224,32,32,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 14px 32px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-primary.full, .btn-ghost.full {
  display: block;
  text-align: center;
  width: 100%;
}

/* ===== SECTIONS ===== */
.features, .pricing {
  padding: 100px 80px;
  position: relative;
  z-index: 2;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.03em;
  color: var(--text);
}

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

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--surface); }

.feature-icon {
  font-size: 28px;
  color: var(--red);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing {
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.2s;
}

.price-card:hover { border-color: var(--red-dim); }

.price-card.featured {
  border-color: var(--red);
  background: var(--surface2);
}

.price-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
}

.price-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1;
}

.price-amount span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.price-features li:not(.muted) { color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  margin-left: 64px;
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-link:hover { color: var(--red); }

/* ===== SOCIAL BAR ===== */
.social-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #fff;
}

.social-btn.discord { background: #5865F2; }
.social-btn.youtube { background: #FF0000; }
.social-btn:hover { transform: scale(1.1); }

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dim); border-radius: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar-status { display: none; }
  .features, .pricing { padding: 60px 24px; }
  .hero { padding: 60px 24px; }
  .footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
}
