: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: 12px;
  --radius-sm: 8px;
}

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

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

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 600px at 10% 0%, rgba(0, 144, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 500px at 95% 30%, rgba(0, 212, 255, 0.05), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--neon); }

.container { max-width: 1200px; 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(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text2);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text);
  background: var(--bg-surf2);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 144, 255, 0.35);
  white-space: nowrap;
  transition: transform .15s, box-shadow .2s;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.55);
  color: #fff !important;
}

/* Mobile menu */
.menu-toggle {
  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;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: .25s;
}
.menu-toggle span::before { content: ''; position: absolute; top: -6px; left: 0; }
.menu-toggle span::after { content: ''; position: absolute; top: 6px; left: 0; }

/* ===== Hero ===== */
.hero {
  padding: 60px 0 50px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--accent); }
.hero-lead {
  font-size: 1.05rem;
  color: var(--text2);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent2);
  font-weight: 800;
  line-height: 1.2;
}
.stat-box span {
  font-size: 0.78rem;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 144, 255, 0.15));
  pointer-events: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  font-family: inherit;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 144, 255, 0.55);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-surf2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-surf); color: var(--text); }
.btn-large { padding: 16px 36px; font-size: 16px; }

/* ===== Sections ===== */
section { padding: 50px 0; }
section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
section h2 .accent { color: var(--accent); }
section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 26px 0 12px;
  color: var(--text);
}
.section-lead {
  color: var(--text2);
  font-size: 1.02rem;
  max-width: 720px;
  margin-bottom: 36px;
}
.content-block { margin-bottom: 28px; }
.content-block p { margin-bottom: 14px; color: var(--text2); }
.content-block p:last-child { margin-bottom: 0; }
.content-block strong { color: var(--text); }

/* ===== Feature cards ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, border-color .2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 144, 255, 0.4);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 144, 255, 0.2), rgba(0, 212, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { color: var(--text2); font-size: 0.95rem; line-height: 1.55; }

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
th {
  background: var(--bg-surf);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
td { color: var(--text2); }
td strong { color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }

.tag-success { color: var(--success); font-weight: 700; }
.tag-warn { color: var(--accent-red); font-weight: 700; }

/* ===== Lists ===== */
.styled-list {
  list-style: none;
  margin: 18px 0;
}
.styled-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--text2);
}
.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: rgba(0, 230, 118, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.styled-list.warn li::before {
  background: rgba(255, 77, 77, 0.15);
  color: var(--accent-red);
  content: '!';
}
.styled-list.numbered { counter-reset: item; }
.styled-list.numbered li::before {
  content: counter(item);
  counter-increment: item;
  background: rgba(0, 144, 255, 0.18);
  color: var(--accent2);
  font-size: 12px;
}

ol.regular, ul.regular {
  margin: 14px 0 14px 24px;
  color: var(--text2);
}
ol.regular li, ul.regular li { margin-bottom: 6px; }

/* ===== Image with content blocks ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-surf); }
.faq summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform .25s;
  margin-left: 16px;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--accent2); }
.faq-content {
  padding: 0 24px 22px;
  color: var(--text2);
  font-size: 0.96rem;
  line-height: 1.65;
}
.faq-content p { margin-bottom: 10px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 144, 255, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
  border: 1px solid rgba(0, 144, 255, 0.3);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--text2); margin-bottom: 22px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 18px 0;
  font-size: 0.88rem;
  color: var(--text2);
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent2); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .current { color: var(--text); }

/* ===== Page header (interior pages) ===== */
.page-header {
  padding: 30px 0 20px;
}
.page-header h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.page-header .lead {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 760px;
}
.page-hero-img {
  margin: 24px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-height: 420px;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text2);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--accent2); }
.footer-about p {
  color: var(--text2);
  font-size: 0.92rem;
  margin: 12px 0;
}
.footer-logo img { height: 36px; width: auto; }
.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.78rem;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text2);
  font-size: 0.85rem;
}
.footer-disclaimer {
  background: rgba(255, 77, 77, 0.06);
  border: 1px solid rgba(255, 77, 77, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surf);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero { padding: 40px 0 30px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 28px 20px; }
  section { padding: 36px 0; }
  th, td { padding: 11px 12px; font-size: 0.88rem; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat-box { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px; }
  .stat-box strong { font-size: 1.25rem; }
}
