/* ── HaltCore — Dark Gaming Theme ──────────────────────── */

:root {
  --bg:          #0a0a0f;
  --bg-card:     #12121a;
  --bg-card-hover: #1a1a26;
  --bg-input:    #16161f;
  --border:      #1e1e2e;
  --border-light:#2a2a3a;
  --text:        #e2e2ea;
  --text-dim:    #7a7a8e;
  --text-muted:  #4a4a5e;
  --accent:      #6c5ce7;
  --accent-light:#8b7cf7;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --green:       #00d68f;
  --red:         #ff5c5c;
  --orange:      #ffa94d;
  --radius:      12px;
  --radius-sm:   8px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  font-size: 24px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

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

.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
  background: rgba(108, 92, 231, 0.08);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #a78bfa, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 540px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

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

.features, .tech, .pricing, .activate, .faq {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.feature-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.1);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ── Tech ────────────────────────────────────────────── */

.tech {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #0e0e16 100%);
}

.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.tech-text p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.tech-list {
  list-style: none;
}

.tech-list li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-dim);
}

.tech-list li::before {
  content: "\2713";
  color: var(--green);
  margin-right: 10px;
  font-weight: 700;
}

.tech-code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow-x: auto;
}

.tech-code pre {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.tech-code code { color: var(--text); }
.tech-code .kw  { color: #c792ea; }
.tech-code .str { color: #c3e88d; }
.tech-code .num { color: #f78c6c; }
.tech-code .cm  { color: var(--text-muted); }

/* ── Pricing ─────────────────────────────────────────── */

.pricing {
  background: linear-gradient(180deg, #0e0e16 0%, var(--bg) 100%);
}

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

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(108, 92, 231, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.price-amount {
  margin-bottom: 4px;
}

.currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dim);
  vertical-align: super;
}

.amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
}

.price-save {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 24px 0 32px;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: "\2713";
  color: var(--accent-light);
  margin-right: 10px;
  font-weight: 700;
}

/* ── Activate ────────────────────────────────────────── */

.activate {
  border-top: 1px solid var(--border);
}

.activate-box {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.activate-box input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.activate-box input::placeholder {
  color: var(--text-muted);
  font-size: 14px;
}

.activate-box input:focus {
  border-color: var(--accent);
}

.activate-result {
  max-width: 560px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 14px;
  min-height: 24px;
}

.activate-result.valid {
  color: var(--green);
}

.activate-result.invalid {
  color: var(--red);
}

.activate-result .result-detail {
  margin-top: 8px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── FAQ ─────────────────────────────────────────────── */

.faq {
  border-top: 1px solid var(--border);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .tech-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-links a:not(.btn) { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .activate-box { flex-direction: column; }
}
