:root {
  --bg-deep: #08090d;
  --bg-surface: #0e121a;
  --bg-card: #131824;
  --bg-card-hover: #192030;
  --border-subtle: #1e2638;
  --border-bright: #2d3b55;
  --cyan-neon: #00f2ff;
  --cyan-glow: rgba(0, 242, 255, 0.25);
  --green-neon: #00ff88;
  --green-glow: rgba(0, 255, 136, 0.25);
  --purple-neon: #a855f7;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #76889f;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #111a2e 0%, var(--bg-deep) 70%);
}

a {
  color: var(--cyan-neon);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #5cf6ff;
}

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

/* SKIP LINK ACCESSIBILITY */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1.5rem;
  background: var(--cyan-neon);
  color: #050b14;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 242, 255, 0.45);
  transition: top 0.15s ease-in-out;
}

.skip-link:focus {
  top: 1rem;
}

/* HEADER & NAVIGATION */
.cyber-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--cyan-neon), #0077ff);
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.brand-text strong {
  color: var(--cyan-neon);
}

.version-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  color: var(--cyan-neon);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--cyan-neon);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
}

.lang-icon {
  font-size: 0.85rem;
  margin-right: 0.2rem;
}

.lang-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: var(--text-dim);
}

.lang-pill:hover {
  color: var(--text-main);
}

.lang-pill.active {
  background: rgba(0, 242, 255, 0.15);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 242, 255, 0.4);
}

.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #5865F2;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-discord-nav:hover {
  background: #4752c4;
  color: #fff;
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero-section {
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
}

.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-item.highlight {
  border-color: rgba(0, 255, 136, 0.4);
  color: var(--green-neon);
  background: rgba(0, 255, 136, 0.08);
}

.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan-neon) 0%, #38bdf8 50%, var(--green-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00d2df, #00f2ff);
  color: #050b14;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--cyan-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 255, 0.45);
  color: #050b14;
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-secondary-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan-neon);
  color: #fff;
}

/* VIDEO FACADE */
.showcase-container {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background: var(--bg-surface);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 255, 0.1);
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-element {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.video-caption-links {
  display: flex;
  gap: 1rem;
}

/* SECTION STYLING */
.section-pad {
  padding: 4.5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-neon);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* FEATURE CARDS GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* BENCHMARK / METHODOLOGY SECTION */
.benchmark-box {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.benchmark-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan-neon);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.methodology-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 3px solid var(--cyan-neon);
  padding-left: 1rem;
  line-height: 1.6;
}

/* COMPARISON TABLES */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.cyber-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.cyber-table th, .cyber-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cyber-table th {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.cyber-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cyber-table .col-highlight {
  background: rgba(0, 242, 255, 0.04);
  font-weight: 600;
}

.badge-yes {
  color: var(--green-neon);
  font-weight: 700;
}

.badge-no {
  color: #f43f5e;
}

.badge-warn {
  color: #f59e0b;
}

/* FAQ ACCORDION */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-bright);
}

.faq-header {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: inherit;
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--cyan-neon);
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FOOTER */
.cyber-footer {
  margin-top: auto;
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.85rem;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-tagline {
  color: var(--text-dim);
  margin: 0.75rem 0 1rem;
  max-width: 320px;
  line-height: 1.5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge-tag {
  font-size: 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.footer-nav h4, .footer-languages h4, .footer-community h4 {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul, .footer-languages ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a, .footer-languages a {
  color: var(--text-muted);
}

.footer-nav a:hover, .footer-languages a:hover {
  color: var(--cyan-neon);
}

.footer-community p {
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.btn-discord-footer {
  display: inline-block;
  background: #5865F2;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.github-link {
  display: block;
  color: var(--cyan-neon);
  font-size: 0.8rem;
}

.footer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 1.5rem;
}

.legal-disclaimer p {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.copyright-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .btn-primary-cta, .btn-secondary-cta {
    width: 100%;
    justify-content: center;
  }
  .video-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
