:root {
  --bg: #080a10;
  --bg-card: #121620;
  --bg-surf: #1a1f2e;
  --bg-surf2: #242b3d;
  --accent: #0090ff;
  --accent2: #33a6ff;
  --accent-red: #ff4d4d;
  --neon: #00d4ff;
  --success: #00e676;
  --text: #ffffff;
  --text2: #8a96ab;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 20% -10%, rgba(0, 144, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 5%, rgba(0, 212, 255, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 144, 255, 0.08) 0%, transparent 60%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--neon); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--bg-surf2);
  color: var(--accent2);
}

.header-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 144, 255, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.55);
}

/* Burger */
.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--text);
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }

/* === Hero === */
.hero {
  padding: 50px 0 30px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 17px; color: var(--text2); margin: 0 0 24px; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 10, 16, 0.4) 100%);
  pointer-events: none;
}

.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 144, 255, 0.4);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 144, 255, 0.6);
}
.btn-ghost {
  background: var(--bg-surf2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card); color: var(--accent2); }

.btn-xl { padding: 18px 36px; font-size: 17px; }

.hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-item .val {
  font-size: 22px; font-weight: 800; color: var(--accent2);
}
.hero-meta-item .lbl {
  font-size: 12px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.06em;
}

/* === Sections === */
section { padding: 50px 0; }
.section-head { margin-bottom: 32px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 700;
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 14px;
}
h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.01em;
  font-weight: 800;
}
h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; line-height: 1.2; }
h3 { font-size: 21px; margin: 28px 0 12px; line-height: 1.3; }
h4 { font-size: 17px; margin: 20px 0 10px; }

p { margin: 0 0 16px; color: var(--text2); }
p strong, li strong { color: var(--text); }
article p, article li { color: #c8d1e0; }

/* === Grids === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 144, 255, 0.3); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; font-size: 18px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0, 144, 255, 0.12);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--neon);
  font-size: 22px;
  border: 1px solid rgba(0, 144, 255, 0.25);
}

/* === Article === */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.article-body { font-size: 16px; line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 14px 0 22px; }
.article-body li { margin-bottom: 8px; color: #c8d1e0; }
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 22px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-body th, .article-body td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.article-body th {
  background: var(--bg-surf);
  color: var(--accent2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.article-body tr:last-child td { border-bottom: 0; }
.article-body tr:hover td { background: rgba(0, 144, 255, 0.04); }
.article-body blockquote {
  margin: 22px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--accent);
  background: var(--bg-surf);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-style: italic;
}
.article-body figure { margin: 26px 0; }
.article-body figure img { border-radius: var(--radius); border: 1px solid var(--border); }

/* === Breadcrumbs === */
.crumbs {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 13px; color: var(--text2);
}
.crumbs li::after { content: '/'; margin-left: 6px; color: var(--text2); opacity: .5; }
.crumbs li:last-child::after { content: ''; }
.crumbs a { color: var(--text2); }
.crumbs a:hover { color: var(--accent2); }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(0, 144, 255, 0.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent2);
  font-weight: 300;
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.7;
}

/* === CTA Block === */
.cta-block {
  margin: 50px 0 0;
  padding: 44px 32px;
  background:
    linear-gradient(135deg, rgba(0, 144, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%),
    var(--bg-card);
  border: 1px solid rgba(0, 144, 255, 0.3);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(0, 144, 255, 0.2), transparent 60%);
  pointer-events: none;
}
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { font-size: 17px; max-width: 600px; margin: 0 auto 24px; }

/* === Footer === */
.site-footer {
  margin-top: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  border-top: 1px solid var(--border);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text2); font-size: 14px; }
.footer-col a:hover { color: var(--accent2); }
.footer-about p { font-size: 14px; }
.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 38px; }

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.7;
}
.footer-disclaimer .badges {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 16px; align-items: center;
}
.badge-18 {
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.badge-pill {
  padding: 6px 12px;
  background: var(--bg-surf);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text2);
  font-size: 12px;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text2);
}

/* === Feature lists === */
.feature-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  position: relative;
  padding-left: 32px;
  color: #c8d1e0;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--success);
}
.feature-list li::after {
  content: '';
  position: absolute; left: 6px; top: 12px;
  width: 5px; height: 9px;
  border: solid var(--success);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 30px 0;
}
.stat-item {
  background: var(--bg-card);
  padding: 24px 18px;
  text-align: center;
}
.stat-item .val {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-item .lbl {
  font-size: 13px;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Highlight box */
.note-box {
  background: var(--bg-surf);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
}
.note-box.warn { border-left-color: var(--accent-red); }
.note-box.success { border-left-color: var(--success); }
.note-box p:last-child { margin-bottom: 0; }

/* Two-col content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin: 30px 0;
}
.two-col img { border-radius: var(--radius); border: 1px solid var(--border); }

/* Author / E-E-A-T strip */
.author-strip {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 18px;
  background: var(--bg-surf);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 26px;
}
.author-strip .author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
  flex-shrink: 0;
}

/* === Responsive === */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 36px 0; }
  .hero { padding: 30px 0 10px; }
  .burger { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 14px; }
  .header-cta { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-block { padding: 30px 20px; }
}
