﻿:root {
  --bg: #0a0a0a;
  --gold: #ffb800;
  --gold-glow: rgba(255, 184, 0, 0.35);
  --neon: #00d4ff;
  --neon-glow: rgba(0, 212, 255, 0.35);
  --text: #ffffff;
  --text-dim: #9aa6bb;
  --card: #0f141d;
  --stroke: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  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(10, 10, 10, 0.9);
  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(--neon); }
.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(--neon); color: var(--neon); }
.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(12, 12, 12, 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%, #0e1822 0%, var(--bg) 70%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 212, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 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-neon {
  display: inline-block;
  color: var(--neon);
  border: 1px solid var(--neon);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px var(--neon-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-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric { padding: 10px; border-radius: 10px; background: #0b1118; border: 1px solid #1e293b; text-align: center; font-weight: 700; color: var(--gold); }
.panel-line { height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent); margin-top: 16px; }

/* 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; }

/* Glossary */
.glossary { background: #0c0f14; border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.asset-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.asset-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.12);
}
.asset-card h2 { margin-bottom: 12px; }
.asset-desc { color: var(--text); margin-bottom: 12px; }
.asset-role, .asset-example { color: var(--text-dim); margin-bottom: 10px; }
.asset-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
}
.asset-note p { color: var(--text-dim); }

/* Errors */
.errors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.error-card {
  padding: 24px;
  background: #0b1118;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.error-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(12, 15, 20, 0.6), rgba(10, 10, 10, 1)); border-top: 1px solid #1e293b; }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #0f141d;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
}

/* Footer */
.footer-cta { padding: 80px 0 100px; background: #0f141d; border-top: 1px solid #1e293b; }
.footer-btns { margin-top: 20px; }
.btn-large {
  background: var(--neon);
  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(--neon);
  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(--neon-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(--neon); color: var(--neon); }

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .asset-grid { grid-template-columns: 1fr; }
  .errors-grid { grid-template-columns: 1fr; }
  .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; }
  .nav-flex { gap: 12px; }
  .btn-nav { display: none; }
}
