/* Color Variables */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #141824;
  --bg-card: #1a1f2e;
  --text-primary: #f8f9fa;
  --text-secondary: #9ca3af;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --border-color: #2d3748;
  --shadow: rgba(0, 0, 0, 0.3);
  --border-color2: #002564;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Header */
.header-nav {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--text-primary) !important;
}

.navbar-brand i {
  color: var(--accent-gold);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--accent-gold) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.btn-primary {
  background-color: var(--accent-gold);
  border: none;
  color: var(--bg-primary);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Comparison Section */
.comparison-section {
  background-color: var(--bg-primary);
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Platform Cards */
.platform-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 40px var(--shadow);
  transform: translateY(-4px);
}

.best-choice-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rank-badge {
  width: 48px;
  height: 48px;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.platform-logo {
  width: 128px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.score-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.score-max {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-gold);
}

.star-rating i {
  font-size: 1rem;
}

.review-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.bonus-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--accent-gold);
  font-size: 1rem;
}

.btn-cta {
  background-color: var(--accent-gold);
  border: none;
  color: var(--bg-primary);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  background-color: var(--accent-gold-dark);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.review-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.review-link:hover {
  color: var(--accent-gold);
}

/* About Section */
.about-section {
  background-color: var(--bg-secondary);
  padding: 80px 0;
}

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

.about-content .lead {
  font-size: 1.125rem;
  line-height: 1.8;
}

.feature-box {
  padding: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-gold);
}

.feature-box h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: var(--text-secondary);
  margin: 0;
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--bg-primary);
  padding: 80px 0;
}

.step-card {
  padding: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.step-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-top: 1rem;
}

.step-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
.footer-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand i {
  color: var(--accent-gold);
}

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

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.regulatory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.regulatory-badges img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.regulatory-badges img:hover {
  opacity: 1;
}

.footer-disclaimer {
  border-top: 1px solid var(--border-color);
}

.disclaimer-text {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.125rem;
}

.disclaimer-text i {
  color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .platform-name {
    font-size: 1.25rem;
  }

  .score-number {
    font-size: 1.5rem;
  }
}

/* Adding styles for legal pages */
/* Legal Content Section */
.legal-content-section {
  background-color: var(--bg-primary);
  min-height: calc(100vh - 200px);
  padding: 80px 0;
}

.legal-content-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 1rem;
}

.legal-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-text p {
  margin-bottom: 1.5rem;
}

.legal-text .lead {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 500;
}

.legal-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-text ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-text ul li {
  margin-bottom: 0.5rem;
}

.legal-text a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-text a:hover {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

.legal-text .alert {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  color: var(--text-primary);
}

.legal-text .alert-heading {
  color: var(--accent-gold);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
  .legal-content-card {
    padding: 2rem 1.5rem;
  }

  .legal-title {
    font-size: 2rem;
  }

  .legal-text h3 {
    font-size: 1.5rem;
  }

  .legal-text h4 {
    font-size: 1.125rem;
  }
}

