@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Barlow+Condensed:wght@500;600;700;800&display=swap');

:root {
  --bg: #06060f;
  --bg-card: #0c0d1e;
  --bg-card-2: #10112a;
  --accent: #5b7fff;
  --accent-glow: rgba(91,127,255,0.25);
  --accent-light: #7b9fff;
  --text: #e8eaf6;
  --text-muted: #8892b0;
  --text-faint: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(91,127,255,0.35);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  margin: 0;
}

a { color: inherit; }

.site-root { min-height: 100vh; background: var(--bg); }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.header-scrolled {
  background: rgba(6,6,17,0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0 2rem; } }
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 1.25rem; width: auto; }
@media (min-width: 768px) { .logo-link img { height: 1.5rem; } }

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-link {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s, background 0.2s;
  text-decoration: none; cursor: pointer; background: transparent; border: none;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-link-active { color: #fff; background: rgba(91,127,255,0.18); }

.mobile-toggle {
  display: flex;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-toggle:hover { color: #fff; }

.mobile-menu {
  background: rgba(6,6,17,0.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border); padding: 12px 0;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; padding: 12px 20px;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-nav-link-active { color: var(--accent-light); }

/* ── PAGE ── */
.page-main { background: var(--bg); padding-top: 80px; }

/* ── INNER PAGE BANNER ── */
.page-banner {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #0a0b20 0%, #06060f 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(91,127,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner-label {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.page-banner-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em;
  color: #fff; line-height: 1.1; margin: 0;
}

/* ── CARDS ── */
.dark-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.dark-card-header {
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px; display: flex; align-items: center; gap: 12px;
}
.dark-card-header:hover { opacity: 0.85; }
.dark-card p-5 { padding: 1.25rem; }
.dark-card p-6 { padding: 1.5rem; }

/* ── BUTTONS ── */
.btn-accent {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; transition: opacity 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-accent:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 10px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ── SECTIONS ── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-light); display: block; margin-bottom: 12px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; text-transform: uppercase;
  color: #fff; line-height: 1.15; margin: 0 0 16px;
}
.section-subtitle {
  color: var(--text-muted); font-size: 16px; line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer { position: relative; overflow: hidden; }
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 16px;
}
.footer-link {
  font-size: 13.5px; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-divider { border-color: rgba(255,255,255,0.08); }

/* ── PROSE INSIDE DARK PAGES ── */
.dark-prose { color: var(--text-muted); }
.dark-prose h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem; font-weight: 700; text-transform: uppercase;
  color: #fff; margin: 2rem 0 1rem; letter-spacing: 0.01em;
}
.dark-prose h3 {
  font-size: 1.15rem; font-weight: 600; color: #e2e8f0;
  margin: 1.5rem 0 0.75rem;
}
.dark-prose p { line-height: 1.75; margin-bottom: 1rem; }
.dark-prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.dark-prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.dark-prose a { color: var(--accent-light); text-decoration: underline; }
.dark-prose a:hover { color: #fff; }
.dark-prose strong { color: #e2e8f0; }

/* ── ACCENT RULE ── */
.accent-rule {
  display: block; width: 40px; height: 3px;
  background: var(--accent); border-radius: 2px; margin-bottom: 20px;
}

/* ── TABLE ── */
.dark-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dark-table th {
  background: rgba(91,127,255,0.12); color: var(--accent-light);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 16px; border-bottom: 1px solid var(--border-accent);
  text-align: left;
}
.dark-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.dark-table tr:last-child td { border-bottom: none; }
.dark-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── GRID UTILITIES ── */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }

/* ── FAQ ACCORDION ── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: none; cursor: pointer;
  text-align: left; transition: background 0.15s; color: #fff;
}
.faq-btn:hover { background: rgba(255,255,255,0.03); }
.faq-question {
  font-weight: 600; font-size: 15px; padding-right: 2rem;
  color: #e2e8f0;
}
.faq-btn.open .faq-question { color: var(--accent-light); }

/* faq-question is the button element itself (onclick pattern) */
.faq-question {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: none; cursor: pointer;
  text-align: left; transition: background 0.15s; color: #fff;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question span {
  font-weight: 600; font-size: 15px; padding-right: 2rem;
  color: #e2e8f0;
}
.faq-question.faq-open span { color: var(--accent-light); }

.faq-chevron {
  flex-shrink: 0; width: 18px; height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-btn.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted); font-size: 15px; line-height: 1.75;
}
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: 0.85rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent-light); text-decoration: underline; }

/* ── SPACE UTILITIES ── */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* ── FLEX UTILITIES ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4-flex { gap: 1rem; }

/* Hero section specifics */
.hero-section {
  position: relative; overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,6,17,0.88) 0%, rgba(10,12,35,0.75) 60%, rgba(6,6,17,0.65) 100%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 20% 50%, rgba(91,127,255,0.1) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  max-width: 80rem; margin: 0 auto;
  padding: 8rem 1rem;
}
@media (min-width: 640px) { .hero-content { padding: 8rem 1.5rem; } }
@media (min-width: 1024px) { .hero-content { padding: 8rem 2rem; } }
.hero-inner { max-width: 48rem; }
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; text-transform: uppercase;
  line-height: 1.05; color: #fff;
  letter-spacing: -0.01em; margin-bottom: 1.5rem;
}
.hero-subtitle {
  color: rgba(232,234,246,0.75);
  font-size: 1.1rem; line-height: 1.75;
  max-width: 560px; margin-bottom: 1.5rem;
}
.hero-callout {
  background: rgba(91,127,255,0.07);
  border: 1px solid rgba(91,127,255,0.2);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 2rem;
}
.hero-callout p { color: rgba(232,234,246,0.7); font-size: 14px; line-height: 1.7; margin: 0; }
.hero-btns { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-btns { flex-direction: row; } }

/* Container */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container-narrow { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-narrow { padding: 0 2rem; } }
