:root {
  /* Brand Colors */
  --primary: #FF2B4A;
  /* Pin-Up Red/Pink */
  --primary-hover: #E01A38;
  --secondary: #00B359;
  /* Green for key CTAs */
  --secondary-hover: #00994C;
  --accent: #FFD700;
  /* Gold/Yellow for bonuses */

  /* Backgrounds */
  --bg-dark: #0A0A0A;
  --bg-card: #1A1A1A;
  --bg-input: #2A2A2A;
  --bg-lighter: #252525;

  /* Text */
  --text-light: #FFFFFF;
  --text-muted: #B0B0B0;
  --text-dark: #121212;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius: 16px;
  --radius-sm: 8px;

  /* Transitions */
  --transition: 0.3s ease;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  scroll-behavior: smooth;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  max-width: 72ch;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 43, 74, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 179, 89, 0.4);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-light);
}

/* Header */
.header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
}

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

.nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  background: radial-gradient(circle at top right, rgba(255, 43, 74, 0.15), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 2rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Table of Contents */
.toc-section {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.toc-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toc-link {
  padding: 8px 16px;
  background: var(--bg-lighter);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.toc-link:hover,
.toc-link.active {
  background: var(--primary);
  color: white;
}

/* Cards */
.card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 43, 74, 0.3);
}

/* Fact Table */
.fact-table {
  width: 100%;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-row:last-child {
  border: none;
}

.fact-label {
  color: var(--text-muted);
}

.fact-value {
  font-weight: 600;
  text-align: right;
}

/* Feature Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Steps */
.step-card {
  position: relative;
  background: var(--bg-lighter);
  padding: 24px;
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.5;
  position: absolute;
  top: 10px;
  right: 20px;
}

/* Tables */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.responsive-table th,
.responsive-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.responsive-table th {
  background: var(--bg-lighter);
  color: var(--text-muted);
  font-weight: 600;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.tab-btn {
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  background: var(--bg-lighter);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}

.tab-content.active {
  display: block;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
}

.accordion-item.active .accordion-header::after {
  content: '-';
}

.accordion-body {
  padding: 0 20px 20px;
  color: var(--text-muted);
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Footer */
.footer {
  background: var(--bg-lighter);
  padding: 60px 0 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Utilities */
.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--bg-dark);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.mobile-menu-overlay.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-image {
    order: 2;
    margin-top: 30px;
  }

  .hero-content {
    order: 1;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-actions .btn {
    display: none;
  }

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
    font-size: 2rem;
  }

  .header-actions {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive Tables as Cards */
  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--bg-lighter);
  }

  .responsive-table td {
    border: none;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    text-align: right;
  }

  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Make buttons big and touch-friendly */
  .responsive-table tr {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--bg-lighter);
  }

  .responsive-table td {
    border: none;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    text-align: right;
  }

  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
  }
}