:root {
  --bg-dark: #0b0f19;
  --bg-card: #151c2c;
  --bg-card-hover: #1e283d;
  --primary: #10b981;
  --primary-hover: #059669;
  --accent-gold: #f59e0b;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #2d3748;
  --radius: 10px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================
   Reset & Mobile Base Rules
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.5;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for sticky mobile CTA banner */
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   Header & Hamburger Navigation
   ========================================== */
header {
  background-color: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  position: relative;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  z-index: 1002;
}

.logo span {
  color: var(--primary);
}

/* Checkbox Toggle Hack for Pure CSS Mobile Burger Menu */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 0.4rem 0.25rem;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

.header-cta-wrapper {
  display: flex;
  align-items: center;
}

/* Mobile Burger Drawer Styles (< 768px) */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-cta-wrapper {
    display: none; /* Hide header button on mobile to preserve layout space */
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0d1322;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
    width: 100%;
  }

  /* Hamburger Toggle State */
  .menu-toggle:checked ~ nav {
    max-height: 280px;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

/* ==========================================
   Buttons & Call-to-Actions
   ========================================== */
.btn-cta {
  background: linear-gradient(135deg, var(--primary), #047857);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.btn-large {
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  width: 100%;
  max-width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  background: radial-gradient(circle at top center, #1e293b 0%, var(--bg-dark) 100%);
  padding: 2.25rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: #fff;
}

.hero p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .btn-large {
    max-width: 420px;
  }
}

/* ==========================================
   Main Container & Grids
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================
   Cards
   ========================================== */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  word-wrap: break-word;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ==========================================
   Rating Score Box
   ========================================== */
.rating-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rating-score {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

@media (min-width: 640px) {
  .rating-box {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .rating-box div:last-child {
    text-align: right;
  }
}

/* ==========================================
   Tables
   ========================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  min-width: 550px;
  border-collapse: collapse;
}

th, td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

th {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================
   Content Sections
   ========================================== */
.content-section {
  margin-bottom: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.content-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: #fff;
  border-left: 4px solid var(--primary);
  padding-left: 0.65rem;
  line-height: 1.3;
}

.content-section h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem 0;
  color: #fff;
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.content-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================
   Sticky Bottom CTA Banner
   ========================================== */
.sticky-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--primary);
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  gap: 0.5rem;
}

.sticky-banner p {
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
}

.sticky-banner span {
  color: var(--accent-gold);
  display: block;
}

.sticky-banner .btn-cta {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .sticky-banner p {
    font-size: 0.95rem;
  }
  .sticky-banner span {
    display: inline;
  }
  .sticky-banner .btn-cta {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ==========================================
   Footer
   ========================================== */
footer {
  background-color: #070a10;
  border-top: 1px solid var(--border);
  padding: 2rem 1rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.825rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  text-align: center;
}