﻿:root {
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.35);
  --gold: #ffb800;
  --dark: #05070a;
  --dark-2: #0a0f16;
  --dark-l: #0f141d;
  --text: #ffffff;
  --text-dim: #9aa6bb;
  --card: #0c1118;
  --stroke: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.narrow { width: min(860px, 92vw); margin: 0 auto; }
.text-center { text-align: center; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 3000;
}
.skip-link:focus { left: 12px; }

/* Navbar */
.navbar {
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2000;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: -1px; }
.logo span { color: var(--red); }
.nav-links { display: flex; gap: 1.5rem; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--text-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: transparent;
  border: 1px solid var(--stroke);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-nav:hover { border-color: var(--red); color: var(--red); }
.nav-toggle {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.1rem;
}
.mobile-only { display: none; }
.mobile-menu {
  position: fixed;
  top: 72px;
  right: 16px;
  left: 16px;
  padding: 16px;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1900;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a { text-decoration: none; color: var(--text); font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  padding: 180px 0 110px;
  background: radial-gradient(circle at 75% 20%, #1b1116 0%, var(--dark) 70%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 68, 68, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.15), rgba(5, 7, 10, 0.92));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.badge-danger {
  display: inline-block;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px var(--red-glow);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.hero-intro { color: var(--text-dim); font-size: 1rem; }
.hero-btns { margin-top: 2rem; }

.hero-visual { position: relative; min-height: 320px; }
.visual-ring {
  position: absolute;
  inset: 20% 0 auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.12);
}
.visual-panel {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.panel-header { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 16px; }
.panel-header span { color: var(--text-dim); }
.panel-bars { display: grid; gap: 10px; }
.bar {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.bar span { color: var(--text-dim); }
.bar-fill {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.6));
  width: 55%;
}
.bar-fill.mid { width: 70%; }
.bar-fill.high { width: 90%; }

/* Sections */
section { scroll-margin-top: 100px; }
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-header p { color: var(--text-dim); max-width: 760px; margin: 12px auto 0; }
.intro h2 { margin-bottom: 1.2rem; }
.intro p { color: var(--text-dim); margin-bottom: 1.4rem; font-size: 1.05rem; }

/* Enemies */
.enemies { background: var(--dark-2); border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.enemy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.enemy-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  position: relative;
}
.enemy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.15);
  pointer-events: none;
}
.enemy-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.enemy-title span { color: var(--red); font-weight: 700; font-size: 0.85rem; }
.enemy-desc { color: var(--text); margin: 12px 0 18px; }
.enemy-detail strong, .enemy-solution strong { color: var(--text); display: inline-block; margin-bottom: 6px; }
.enemy-detail p, .enemy-solution p { color: var(--text-dim); }
.enemy-solution { margin-top: 16px; padding-top: 12px; border-top: 1px solid #1e293b; }

/* Cycle */
.cycle-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
}
.cycle-step {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  text-align: center;
}
.cycle-step span { display: block; font-weight: 800; margin-bottom: 6px; color: var(--red); }
.cycle-step p { color: var(--text-dim); font-size: 0.9rem; }
.cycle-arrow {
  text-align: center;
  font-size: 1.6rem;
  color: rgba(239, 68, 68, 0.6);
}

/* Defense */
.defense-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.defense-card {
  padding: 24px;
  background: #0b1118;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.defense-card p { color: var(--text-dim); margin-top: 10px; }

/* SEO */
.seo-content { display: grid; gap: 24px; }
.seo-block {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}
.seo-block p { color: var(--text-dim); margin-top: 12px; }

/* CTA */
.cta { padding: 80px 0 100px; background: linear-gradient(180deg, rgba(15, 20, 29, 0.6), rgba(5, 7, 10, 1)); border-top: 1px solid #1e293b; }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--dark-l);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
}

/* Footer */
.footer-cta { padding: 80px 0 100px; background: var(--dark-l); border-top: 1px solid #1e293b; }
.footer-btns { margin-top: 20px; }
.btn-large {
  background: var(--red);
  color: #000;
  padding: 18px 44px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}
.sub-links { margin-top: 20px; color: var(--text-dim); }
.sub-links a { color: var(--text-dim); text-decoration: none; }
.sub-links a:hover { color: #fff; }

/* Buttons */
.btn-primary {
  background: var(--red);
  color: #000;
  padding: 18px 40px;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary:hover { box-shadow: 0 0 30px var(--red-glow); transform: translateY(-2px); }
.btn-secondary {
  color: #fff;
  border: 1px solid #334155;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-left: 1rem;
  transition: 0.3s;
}
.btn-secondary:hover { border-color: var(--red); color: var(--red); }

/* Accessibility */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .enemy-grid { grid-template-columns: 1fr; }
  .cycle-flow { grid-template-columns: 1fr; }
  .cycle-arrow { transform: rotate(90deg); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: inline-flex; }
  .hero { padding: 140px 0 80px; }
  .hero-btns { display: flex; flex-direction: column; gap: 1rem; }
  .btn-secondary { margin-left: 0; }
  .defense-grid { grid-template-columns: 1fr; }
  .nav-flex { gap: 12px; }
  .btn-nav { display: none; }
}
