@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Extra Space theme from site: lime green #8BC53F, white, dark grey text */
  --color-bg: #ffffff;
  --color-surface: #f8faf8;
  --color-surface-alt: #f0f4f0;
  --color-border: #d0d8d0;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-accent: #8BC53F;
  --color-accent-dark: #76b336;
  --color-accent-glow: rgba(139, 197, 63, 0.12);
  --color-accent-soft: #9bcf4f;
  --color-danger: #c53030;
  --color-danger-soft: #e53e3e;
  --color-danger-glow: rgba(197, 48, 48, 0.08);
  --color-warning: #b7791f;
  --color-warning-bg: rgba(183, 121, 31, 0.08);
  --color-green: #8BC53F;
  --color-hero-bg: #2d4a1f;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

.hero a:not(.cta-btn) {
  color: var(--color-accent-soft);
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ─── */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-hero-bg);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-hero-bg);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--color-hero-bg);
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 197, 63, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 197, 63, 0.06) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  background: rgba(139, 197, 63, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(135deg, var(--color-accent), #9bcf4f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-scope {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(139, 197, 63, 0.35);
}

.cta-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 197, 63, 0.45);
  background: var(--color-accent-dark);
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-hero-bg);
  color: #fff;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark .section-label {
  color: var(--color-accent-soft);
}

.section-dark h2 {
  color: #fff;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ─── STEP CARDS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── TWO COL ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.info-block {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
}

.info-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.claim-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.claim-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}

.icon-x {
  background: var(--color-danger-glow);
  color: var(--color-danger);
}

.icon-check {
  background: var(--color-accent-glow);
  color: var(--color-accent-dark);
}

/* ─── ALGO DETAIL ─── */
.algo-detail {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 32px;
}

.algo-detail h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.algo-detail p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.algo-detail p:last-child {
  margin-bottom: 0;
}

/* ─── STATS ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-bottom: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 24px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-surface);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── MONOPOLY NOTE ─── */
.monopoly-note {
  background: var(--color-danger-glow);
  border: 1px solid rgba(197, 48, 48, 0.15);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.monopoly-note h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-danger);
}

.monopoly-note p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── CASE CARDS ─── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.case-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-warning);
  background: var(--color-warning-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.case-court {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.case-card ul {
  list-style: none;
  margin-bottom: 16px;
}

.case-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.case-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.source-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

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

/* ─── BBB NOTE ─── */
.bbb-note {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-danger);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
}

.bbb-note h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-danger);
  margin-bottom: 12px;
}

.bbb-note p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.bbb-note p:last-of-type {
  margin-bottom: 16px;
}

/* ─── REVEAL GRID ─── */
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reveal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reveal-card:hover {
  border-color: var(--color-accent);
}

.reveal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-accent-dark);
}

.reveal-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── PROTECT GRID ─── */
.protect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.protect-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.protect-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-accent-dark);
}

.protect-card ul {
  list-style: none;
}

.protect-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.protect-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.protect-card a {
  color: var(--color-accent-dark);
}


/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .steps-grid,
  .two-col,
  .cases-grid,
  .reveal-grid,
  .reviews-grid,
  .response-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .step-card,
  .info-block,
  .case-card,
  .reveal-card,
  .protect-card {
    padding: 24px;
  }
}

/* ─── VIDEO ─── */
.section-video {
  padding: 60px 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-card:hover {
  border-color: var(--color-accent);
}

.review-stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.review-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.review-source {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.review-source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review-source a:hover {
  color: var(--color-accent-dark);
}

/* ─── RESPONSE CARDS ─── */
.response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.response-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.response-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

.response-context {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.response-rebuttal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
}

.response-rebuttal h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.response-rebuttal p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ─── DARK SECTION OVERRIDES ─── */
.section-dark {
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-surface-alt: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-text: #fff;
  --color-text-muted: rgba(255, 255, 255, 0.65);
  --color-accent: var(--color-accent-soft);
  --color-accent-dark: var(--color-accent-soft);
  --color-danger: var(--color-danger-soft);
}

.section-dark .review-location {
  color: rgba(255, 255, 255, 0.5);
}

.section-dark .review-source {
  color: rgba(255, 255, 255, 0.35);
}

.section-dark .monopoly-note {
  background: rgba(197, 48, 48, 0.12);
  border-color: rgba(197, 48, 48, 0.25);
}

.section-dark .timeline-item::before {
  border-color: var(--color-hero-bg);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
  color: var(--color-text);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.footer-main p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-disclaimer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.footer-disclaimer p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

.last-updated {
  margin-top: 8px;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
