:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #111111;
  --color-red: #d42020;
  --color-yellow: #ffd700;
  --color-white: #ffffff;
  --color-gray: #333333;
  --color-gray-light: #666666;
  --color-gray-muted: #737373;
  --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
}

a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #ff4d4d;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Meta nav */
.meta-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.meta-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-gray-light);
}

.meta-nav a {
  color: var(--color-gray-light);
  text-decoration: none;
}

.meta-nav a:hover {
  color: var(--color-white);
}

/* Main nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.nav__brand {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--color-white);
  text-decoration: none;
}

.nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--color-gray-light);
  text-decoration: none;
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--color-white);
}

/* Hero */
.hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(212, 32, 32, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(255, 215, 0, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.6));
  pointer-events: none;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: #b3b3b3;
  max-width: 640px;
  margin: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.section__desc {
  color: #b3b3b3;
  max-width: 640px;
  margin: 0;
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta--primary {
  background: var(--color-red);
  color: #fff;
}

.cta--primary:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(212, 32, 32, 0.35);
}

.cta--ghost {
  background: transparent;
  color: var(--color-red);
  box-shadow: 0 0 0 2px var(--color-red) inset;
}

.cta--ghost:hover {
  background: rgba(212, 32, 32, 0.12);
  color: #fff;
}

.cta--yellow {
  background: var(--color-yellow);
  color: #0a0a0a;
}

.cta--yellow:hover {
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35);
}

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

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

.card {
  background: #fff;
  color: #1a1a1a;
  border-top: 4px solid var(--color-red);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.card__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  color: #0a0a0a;
}

.card__text {
  color: #4d4d4d;
  margin: 0;
  line-height: 1.6;
}

.card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-red);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.stat {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--color-bg-alt);
}

.stat__value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-yellow);
  margin: 0 0 0.25rem;
}

.stat__label {
  color: #b3b3b3;
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  color: #b3b3b3;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer a {
  color: #e5e5e5;
  text-decoration: none;
}

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

/* Cookie consent */
.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  z-index: 100;
  display: none;
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent__text {
  color: #e5e5e5;
  flex: 1 1 280px;
  margin: 0;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-consent .btn {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.cookie-consent .btn--secondary {
  background: transparent;
  color: #e5e5e5;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25) inset;
}

.cookie-consent .btn--primary {
  background: var(--color-yellow);
  color: #0a0a0a;
}
