/* ==========================================================================
   Modern SaaS Design System — Systeme.io Affiliate Recommendation Page
   Mobile-first, high performance, zero external fonts or bloated libraries
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-active: #1e40af;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  
  --dark: #0f172a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.09), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-cta: 0 12px 24px -6px rgba(37, 99, 235, 0.35);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------------- Layout & Containers ---------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

.section-alt {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ---------------- Navigation Bar ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition-fast);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.6875rem;
  color: var(--slate-500);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-cta-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .header-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }
  .brand-tag {
    display: none;
  }
  .header-cta-btn {
    padding: 7px 13px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  padding: 64px 0 80px;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 50%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.04), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .hero-content {
    align-items: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--slate-900);
  margin-bottom: 22px;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 24px;
  max-width: 600px;
}

/* Hero Platform Pick Badge */
.hero-platform-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  font-size: 0.875rem;
  width: fit-content;
}

@media (max-width: 992px) {
  .hero-platform-pick {
    margin-left: auto;
    margin-right: auto;
  }
}

.pick-label {
  color: var(--slate-600);
  font-weight: 500;
}

.pick-name {
  color: var(--primary-hover);
  font-weight: 800;
}

.pick-badge {
  background-color: var(--success);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  width: fit-content;
}

@media (max-width: 992px) {
  .cta-group {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-cta);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(37, 99, 235, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.cta-support {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--slate-600);
  font-weight: 500;
}

.cta-support svg {
  color: var(--success);
}

.hero-disclosure-micro {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-top: 4px;
  text-align: left;
}

@media (max-width: 992px) {
  .hero-disclosure-micro {
    text-align: center;
  }
}

/* Hero Visual Box — Concrete Product Proof Card */
.hero-visual-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.win-title {
  margin-left: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--success);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Proof Stats Strip */
.proof-stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  margin-bottom: 16px;
}

.proof-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.1;
}

.stat-num.stat-highlight {
  color: var(--success);
}

.stat-lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.proof-stat-divider {
  width: 1px;
  height: 26px;
  background-color: var(--slate-200);
}

/* Concrete Feature Checklist */
.product-feature-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.proof-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: border-color var(--transition-fast);
}

.proof-check-row:hover {
  border-color: #93c5fd;
}

.proof-check-row.proof-free-row {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.proof-badge-check {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1d4ed8;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 4px;
}

.proof-badge-free {
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46;
  background-color: #d1fae5;
  border: 1px solid #6ee7b7;
  padding: 2px 8px;
  border-radius: 4px;
}

.proof-footer-note {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-600);
  padding: 8px 10px;
  background-color: var(--slate-50);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--slate-300);
}

.hub-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-hover);
  margin-bottom: 4px;
}

.hub-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
}

/* ---------------- Section 2: Problem ---------------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

.problem-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.problem-card.fragmented {
  border-color: #fecaca;
  background-color: #fffaf9;
}

.problem-card.unified {
  border-color: #bbf7d0;
  background-color: #f7fee7;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.card-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  width: fit-content;
}

.tag-negative {
  background-color: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #fecaca;
}

.tag-positive {
  background-color: var(--success-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.problem-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 20px;
  line-height: 1.3;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.problem-item.neg {
  color: var(--slate-700);
}

.problem-item.pos {
  color: #064e3b;
  font-weight: 600;
}

.problem-icon-neg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-icon-pos {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-conclusion {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--slate-300);
  font-size: 0.875rem;
  font-weight: 700;
}

.conclusion-neg {
  color: #991b1b;
}

.conclusion-pos {
  color: #065f46;
}

/* ---------------- Section 3: What You Get ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.features-cta-wrapper {
  text-align: center;
  margin-top: 10px;
}

/* ---------------- Section 4: Comparison Table ---------------- */
.table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin: 0 auto;
  max-width: 860px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 18px 24px;
  font-size: 0.9375rem;
  font-weight: 800;
  background-color: var(--slate-50);
  border-bottom: 2px solid var(--slate-200);
  color: var(--slate-700);
}

.comparison-table th.col-feature {
  width: 44%;
}

.comparison-table th.col-stack {
  width: 28%;
  color: var(--slate-500);
}

.comparison-table th.col-systeme {
  width: 28%;
  background-color: #eff6ff;
  color: var(--primary);
  border-bottom: 2px solid #93c5fd;
}

.comparison-table td {
  padding: 16px 24px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--slate-200);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-feature-name {
  font-weight: 600;
  color: var(--slate-800);
}

.comparison-table td.col-stack-val {
  color: var(--slate-500);
}

.comparison-table td.col-systeme-val {
  background-color: rgba(239, 246, 255, 0.4);
  font-weight: 700;
  color: #1e3a8a;
}

.table-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 700;
}

.table-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--danger);
  font-weight: 700;
}

/* ---------------- Section 5: Who It's For ---------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.audience-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--slate-700);
}

.audience-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.audience-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ---------------- Section 6: Start Free Heroic Block ---------------- */
.start-free-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .start-free-container {
    padding: 44px 20px;
  }
}

.start-free-container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 70%);
  pointer-events: none;
}

.start-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.start-free-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--white);
}

.start-free-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--slate-300);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.start-free-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-accent:hover {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.65);
}

.sub-note-light {
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* ---------------- Section 7: FAQ ---------------- */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion details {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-accordion details[open] {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.faq-accordion summary {
  list-style: none;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-accordion details[open] .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ---------------- Section 8: Final CTA ---------------- */
.final-cta-section {
  text-align: center;
  padding: 80px 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05), transparent 70%);
}

.final-cta-box {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

/* ---------------- Affiliate Disclosure Banner ---------------- */
.disclosure-box {
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 16px 20px;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--slate-600);
  text-align: center;
}

.disclosure-box strong {
  color: var(--slate-800);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 40px 0 32px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--slate-400);
  max-width: 680px;
  line-height: 1.5;
}

/* ---------------- HTML5 <dialog> Modals ---------------- */
dialog {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0;
  max-width: 680px;
  width: 90vw;
  max-height: 85vh;
  margin: auto;
  background: var(--white);
  color: var(--slate-800);
}

dialog::backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content-wrap {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-200);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
}

.modal-close-btn {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate-400);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--slate-800);
  background-color: var(--slate-100);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-600);
}

.modal-body h4 {
  color: var(--slate-900);
  margin: 18px 0 8px;
  font-size: 1rem;
}

.modal-body p {
  margin-bottom: 12px;
}

/* ---------------- Cookie Consent Banner ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 12px;
  right: 12px;
  left: auto;
  max-width: 330px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cookie-text {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.35;
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 4px 10px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.btn-cookie-accept:hover {
  background-color: var(--primary-hover);
}

.btn-cookie-decline {
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.btn-cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 8px 12px;
  }
}
