:root {
  /* Core Brand Colors (Logo Based) */
  --blue-primary: #0056D2;
  /* Deep Royal Blue covering the 'orbit' */
  --blue-vibrant: #3b82f6;
  /* Brighter Blue for highlights */
  --green-primary: #16a34a;
  /* Green Bar */
  --green-vibrant: #4ade80;
  /* Bright Green */
  --gold-primary: #f59e0b;
  /* Star/Arrow Gold */
  --gold-vibrant: #fbbf24;
  /* Bright Amber */

  /* Functional Map */
  --primary: var(--gold-primary);
  /* CTAs should pop like the star */
  --secondary: var(--blue-primary);
  --accent: var(--green-primary);

  /* Backgrounds */
  --bg-dark: #020617;
  /* Deepest Navy/Black */
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --bg-glass: rgba(15, 23, 42, 0.85);

  /* Text */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #64748b;

  /* Status */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* UI Tokens */
  --radius: 16px;
  --radius-sm: 8px;
  --font-main: 'Outfit', system-ui, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.15);
  /* Golden Glow */

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--gold-primary), #d97706);
  --grad-blue: linear-gradient(135deg, var(--blue-primary), #1e40af);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  /* Complex rich background matching the dynamic flow of the logo */
  background-image:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 15%, rgba(245, 158, 11, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(22, 163, 74, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Skiplink (Accessibility) */
.skiplink {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  background: var(--blue-primary);
  color: #fff;
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.skiplink:focus {
  transform: translateY(0);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.25rem 0;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff 30%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  margin-top: 8px;
  border-radius: 4px;
  opacity: 0.7;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 75ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.875rem;
}

/* Components: Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--grad-primary);
  color: #3f1d03;
  /* Dark brown contrast */
  box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.4);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -5px rgba(245, 158, 11, 0.6);
  filter: brightness(1.1);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Components: Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0.5;
}

.card__inner {
  padding: 1.75rem;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.card__title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

/* Specific: Feature Cards (Why Choose) */
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--gold-vibrant);
}

/* Rating Cards */
.card.slide {
  min-width: 320px;
  scroll-snap-align: start;
  height: auto;
}

/* Badges */
.badge,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge {
  background: rgba(37, 99, 235, 0.15);
  /* Blue tint */
  border-color: rgba(37, 99, 235, 0.3);
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.nav__links a:hover,
.nav__links a:focus {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Nav */
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero */
.pageHero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.pageHero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Layout */
.section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.ctaRow {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Table */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.table th,
.table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Notices */
.notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  color: #fbbf24;
  line-height: 1.6;
}

/* Slider */
.slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
}

.slider::-webkit-scrollbar {
  height: 8px;
}

.slider::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Footer */
.footer {
  background: #000510;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 5rem;
  margin-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer__brand img {
  width: 65px;
}

.footer__list a {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__list a:hover {
  opacity: 1;
  color: var(--gold-vibrant);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  background: #000;
}

.footer__bottomInner {
  display: flex;
  justify-content: space-between;
}

/* Cookie Bar */
.cookiebar {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  z-index: 2000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.cookiebar__grid {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.cookiebar__actions button {
  margin: 3px;
}

/* Filters */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.field label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field select,
.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
}

.field select:focus {
  border-color: var(--blue-vibrant);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav__links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #020617;
    flex-direction: column;
    padding: 2rem;
    height: calc(100vh - 80px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: block;
  }

  .cookiebar__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    text-align: center;
  }

  .cookiebar__actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
  }

  .cookiebar__actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    justify-content: center;
  }

  .cookiebar {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
    width: auto;
  }
}

/* Update Hero Lead Alignment */
.pageHero .lead {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure h1 is also centered */
.pageHero h1 {
  text-align: center;
}