/* ==============================================================================
   EarningPerView - World-Class Modern Light Theme Stylesheet
   Ultra-Clean, High-Readability, Google AdSense & Core Web Vitals Optimized
   ============================================================================== */

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

:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-input: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --emerald: #059669;
  --emerald-light: #10b981;
  --emerald-bg: #ecfdf5;
  --emerald-border: #a7f3d0;
  --cyan: #0284c7;
  --cyan-bg: #f0f9ff;
  --cyan-border: #bae6fd;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --rose: #e11d48;
  --rose-bg: #fff1f2;
  --rose-border: #fecdd3;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --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-card: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-page);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #047857;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

@media (min-width: 992px) {
  .nav-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid var(--emerald-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-weight: 900;
  font-size: 14px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--emerald);
}

nav.main-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 992px) {
  nav.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
  }
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald);
  background-color: var(--emerald-bg);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--emerald);
  background-color: var(--emerald-bg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  min-width: 260px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.nav-dropdown-menu.show,
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu.dropdown-grid.show,
.nav-dropdown:hover .nav-dropdown-menu.dropdown-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 320px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  color: var(--emerald);
  background-color: var(--emerald-bg);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  cursor: pointer;
}

@media (min-width: 992px) {
  .btn-mobile-toggle {
    display: none;
  }
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
}

.mobile-nav-link:hover {
  background-color: var(--emerald-bg);
  color: var(--emerald);
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--emerald);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background-color: #047857;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-light);
  color: var(--text-main);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-emerald {
  background-color: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  color: #047857;
}

.badge-cyan {
  background-color: var(--cyan-bg);
  border: 1px solid var(--cyan-border);
  color: #0369a1;
}

.badge-amber {
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: #b45309;
}

.badge-red {
  background-color: var(--rose-bg);
  border: 1px solid var(--rose-border);
  color: #be123c;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  display: inline-block;
}

/* Hero Section */
.hero-section {
  padding: 24px 0 16px 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(24px, 3.8vw, 36px);
  margin-top: 8px;
  margin-bottom: 8px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: #0f172a;
}

.hero-title span {
  color: var(--emerald);
}

.hero-subtitle {
  font-size: clamp(13.5px, 1.8vw, 15px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Platform Switcher Tabs */
.platform-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--text-main);
  background-color: #e2e8f0;
}

.tab-btn.active {
  background-color: #ffffff;
  border-color: var(--emerald);
  color: var(--emerald);
  box-shadow: var(--shadow-sm);
}

/* Calculator Card */
.calculator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .calculator-card {
    padding: 22px 26px;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 992px) {
  .calc-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
  }
}

/* Input Controls */
.input-group {
  margin-bottom: 12px;
}

.input-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.input-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.input-helper {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.3;
}

.number-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-input {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  transition: all 0.15s ease;
}

.custom-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.input-unit-badge {
  position: absolute;
  right: 12px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--emerald);
  background-color: var(--emerald-bg);
  padding: 2px 7px;
  border-radius: 5px;
  pointer-events: none;
}

/* Preset Buttons */
.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.preset-btn {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-btn:hover {
  background-color: #e2e8f0;
  color: var(--text-main);
}

/* Range Slider */
.slider-container {
  margin-top: 8px;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--emerald);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type=range]::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--emerald);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Select Dropdown */
.custom-select {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* Results Display Dashboard */
.results-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid var(--emerald-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.08);
}

@media (min-width: 768px) {
  .results-card {
    padding: 20px 22px;
  }
}

.results-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.results-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary-stat-box {
  margin-bottom: 12px;
}

.primary-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-stat-value {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.primary-stat-sub {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
  margin-top: 2px;
}

.stats-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-box-mini {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 10px;
}

.stat-box-mini .label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.stat-box-mini .val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-box-mini .hint {
  font-size: 10.5px;
  color: var(--text-dim);
  margin-top: 1px;
}

.projection-range-bar {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 12px;
}

.range-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.range-values .low { color: var(--text-dim); }
.range-values .mid { color: var(--emerald); }
.range-values .high { color: #047857; }

.copy-btn {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.copy-btn:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-light);
}

/* Quick Tools Jump Cards */
.quick-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.tool-jump-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.tool-jump-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tool-jump-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Content & Editorial Sections */
.content-section {
  padding: 40px 0;
}

.content-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .content-card {
    padding: 36px;
  }
}

.prose h2 {
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #0f172a;
}

.prose h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #0f172a;
}

.prose p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.prose ul, .prose ol {
  margin-bottom: 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.prose strong {
  color: #0f172a;
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

table.data-table th {
  background-color: #f8fafc;
  color: var(--text-main);
  padding: 12px 14px;
  font-weight: 700;
  border-bottom: 1.5px solid var(--border-color);
  white-space: nowrap;
}

table.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  background-color: #ffffff;
}

table.data-table tr:hover td {
  background-color: #f8fafc;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background-color: #ffffff;
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--emerald);
}

.faq-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--text-dim);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--emerald);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Author Box */
.author-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background-color: #f0fdf4;
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .author-card {
    flex-direction: row;
  }
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald) 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer - Clean Modern Light Theme */
footer.site-footer {
  margin-top: auto;
  background-color: #f8fafc;
  color: #475569;
  border-top: 1.5px solid #e2e8f0;
  padding: 50px 0 24px 0;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h5 {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #059669;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 500px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  z-index: 1000;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  display: none;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-text h4 {
  font-size: 13.5px;
  margin-bottom: 3px;
}

.cookie-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-btn {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
}

.cookie-btn-decline {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-color);
  color: var(--text-muted);
}

.cookie-btn-accept {
  background-color: var(--emerald);
  color: #ffffff;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0f172a;
  border: 1px solid var(--emerald);
  color: #34d399;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 9999;
}

/* ==============================================================================
   Comprehensive Editorial Content, Card Grids, Badges & Light Theme Utilities
   Restores all rich cards, stat boxes, responsive grids, comparison tables,
   pill badges, and E-E-A-T editorial styling.
   ============================================================================== */

/* Card Containers & Surface Overrides */
.bg-card,
.bg-card\/60,
.bg-card\/70,
.bg-card\/80,
.bg-slate-950,
.bg-slate-950\/60,
.bg-slate-950\/70,
.bg-slate-950\/80,
.bg-slate-900,
.bg-slate-900\/20,
.bg-slate-900\/50,
.bg-slate-900\/60,
.bg-slate-900\/80 {
  background-color: #ffffff !important;
}

.bg-card-subtle,
.bg-slate-800,
.bg-slate-800\/20,
.bg-slate-800\/30,
.bg-slate-800\/50,
.bg-slate-800\/80,
.bg-slate-700\/60 {
  background-color: #f8fafc !important;
}

.hover\:bg-card:hover {
  background-color: #ffffff !important;
}

.hover\:bg-card-subtle:hover,
.hover\:bg-slate-800\/30:hover,
.hover\:bg-slate-800\/60:hover,
.hover\:bg-slate-850\/50:hover,
.hover\:bg-slate-900:hover {
  background-color: #f1f5f9 !important;
}

/* Borders & Dividers */
.border {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #e2e8f0 !important;
}

.border-t {
  border-top-width: 1px !important;
  border-top-style: solid !important;
  border-top-color: #e2e8f0 !important;
}

.border-b {
  border-bottom-width: 1px !important;
  border-bottom-style: solid !important;
  border-bottom-color: #e2e8f0 !important;
}

.border-subtle,
.border-subtle\/60,
.border-subtle\/80,
.border-slate-800,
.border-slate-800\/60,
.border-slate-800\/80,
.border-slate-700,
.border-slate-900,
.border-slate-900\/60 {
  border-color: #e2e8f0 !important;
}

.hover\:border-subtle:hover,
.hover\:border-slate-700:hover {
  border-color: #cbd5e1 !important;
}

.divide-y > * + *,
.divide-slate-800\/60 > * + * {
  border-top: 1px solid #e2e8f0 !important;
}

/* Padding Utilities */
.p-3 { padding: 0.75rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }

.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pb-5 { padding-bottom: 1.25rem !important; }
.pl-5 { padding-left: 1.25rem !important; }

/* Margins & Vertical Rhythm */
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }

.space-y-1 > * + * { margin-top: 0.25rem !important; }
.space-y-1\.5 > * + * { margin-top: 0.375rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-2\.5 > * + * { margin-top: 0.625rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-5 > * + * { margin-top: 1.25rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }
.space-y-8 > * + * { margin-top: 2rem !important; }
.space-y-12 > * + * { margin-top: 3rem !important; }

/* Flex & Alignment Utilities */
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }

/* Grid Layouts & Gaps */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Sizing Utilities */
.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }

/* Rounded Corners & Elevated Box Shadows */
.rounded { border-radius: 0.25rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

.shadow-xl {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03) !important;
}

.shadow-2xl {
  box-shadow: 0 20px 30px -8px rgba(15, 23, 42, 0.07), 0 10px 15px -6px rgba(15, 23, 42, 0.04) !important;
}

.shadow-glow-sm {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15) !important;
}

.hover\:shadow-glow-md:hover {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25) !important;
}

/* Typography Tokens */
.text-\[10px\] { font-size: 10px !important; }
.text-\[11px\] { font-size: 11px !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }

.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-sans { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }

.leading-snug { line-height: 1.375 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.uppercase { text-transform: uppercase !important; }
.text-left { text-align: left !important; }
.underline { text-decoration: underline !important; }
.hover\:underline:hover { text-decoration: underline !important; }
.break-all { word-break: break-all !important; }
.list-disc { list-style-type: disc !important; }

/* Neutral Text Overrides for Light Mode */
.text-main,
.text-white,
.text-slate-100,
.text-slate-200,
.text-slate-950 {
  color: #0f172a !important;
}

.text-muted,
.text-slate-300,
.text-slate-400,
.text-slate-600 {
  color: #475569 !important;
}

.text-dim,
.text-slate-500 {
  color: #64748b !important;
}

/* Emerald Accents */
.text-emerald { color: #059669 !important; }
.text-emerald-300 { color: #047857 !important; }
.text-emerald-400 { color: #059669 !important; }
.bg-emerald-400 { background-color: #10b981 !important; }
.bg-emerald-subtle,
.bg-emerald-500\/10 { background-color: #ecfdf5 !important; }
.bg-emerald-500\/20 { background-color: #d1fae5 !important; }
.border-emerald-subtle,
.border-emerald-500\/20,
.border-emerald-500\/30 { border-color: #a7f3d0 !important; }
.hover\:border-emerald-500\/40:hover { border-color: #6ee7b7 !important; }
.hover\:bg-emerald-400:hover { background-color: #059669 !important; }
.group:hover .group-hover\:text-emerald,
.group:hover .group-hover\:text-emerald-400 { color: #059669 !important; }

/* Amber Accents */
.text-amber-300 { color: #b45309 !important; }
.text-amber-400 { color: #d97706 !important; }
.bg-amber-400 { background-color: #f59e0b !important; }
.bg-amber-500\/10 { background-color: #fffbeb !important; }
.bg-amber-500\/20 { background-color: #fef3c7 !important; }
.border-amber-500\/20,
.border-amber-500\/30 { border-color: #fde68a !important; }
.hover\:border-amber-500\/50:hover { border-color: #f59e0b !important; }
.group:hover .group-hover\:text-amber-400 { color: #d97706 !important; }

/* Blue Accents */
.text-blue-300 { color: #1d4ed8 !important; }
.text-blue-400 { color: #2563eb !important; }
.bg-blue-400 { background-color: #3b82f6 !important; }
.bg-blue-500\/10 { background-color: #eff6ff !important; }
.bg-blue-500\/20 { background-color: #dbeafe !important; }
.border-blue-500\/20 { border-color: #bfdbfe !important; }
.hover\:border-blue-500\/50:hover { border-color: #3b82f6 !important; }
.group:hover .group-hover\:text-blue-400 { color: #2563eb !important; }

/* Cyan Accents */
.text-cyan-300 { color: #0e7490 !important; }
.text-cyan-400 { color: #0891b2 !important; }
.bg-cyan-400 { background-color: #06b6d4 !important; }
.bg-cyan-500\/10 { background-color: #ecfeff !important; }
.bg-cyan-500\/20 { background-color: #cffafe !important; }
.border-cyan-500\/20,
.border-cyan-500\/30 { border-color: #a5f3fc !important; }
.hover\:border-cyan-500\/50:hover { border-color: #06b6d4 !important; }
.group:hover .group-hover\:text-cyan-400 { color: #0891b2 !important; }

/* Red & Rose Accents */
.text-red-400 { color: #dc2626 !important; }
.bg-red-400 { background-color: #ef4444 !important; }
.bg-red-500\/10 { background-color: #fef2f2 !important; }
.border-red-500\/20 { border-color: #fecaca !important; }
.text-rose-300 { color: #be123c !important; }
.text-rose-400 { color: #e11d48 !important; }
.bg-rose-500\/20 { background-color: #ffe4e6 !important; }

/* Purple & Teal Accents */
.text-purple-400 { color: #9333ea !important; }
.bg-purple-500\/20 { background-color: #f3e8ff !important; }
.border-purple-500\/30 { border-color: #e9d5ff !important; }
.text-teal-300 { color: #0f766e !important; }

/* Gradient Headings */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, #059669, #0284c7) !important;
}
.from-emerald-400 {
  --tw-gradient-from: #059669;
}
.to-teal-300 {
  --tw-gradient-to: #0d9488;
}
.bg-clip-text {
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.text-transparent {
  color: transparent !important;
}

/* Animations, Transitions & Focus */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(0.92); }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms !important; }
.group:hover .group-hover\:translate-x-0\.5 { transform: translateX(2px) !important; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(4px) !important; }
.focus\:outline-none:focus { outline: none !important; }
.focus\:border-emerald-400:focus { border-color: #10b981 !important; }

.overflow-hidden { overflow: hidden !important; }
.overflow-x-auto { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }

/* Editorial Card & Table Enhancements */
.content-section .bg-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
}

.content-section thead {
  background-color: #f8fafc !important;
}

.content-section thead th {
  padding: 14px 16px;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

.content-section tbody td {
  padding: 14px 16px;
  vertical-align: middle;
}

.content-section tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.content-section tbody tr:last-child {
  border-bottom: none;
}

.content-section tbody tr:hover {
  background-color: #f8fafc !important;
}

/* FAQ Accordion Styling */
.faq-item {
  border-radius: 1rem !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-content {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.625;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: #059669;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Nav & Cross-Calc Cards */
.calc-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.calc-nav-card:hover {
  border-color: #10b981;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Breakpoint Utilities */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:self-auto { align-self: auto; }
  .sm\:w-auto { width: auto; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:p-8 { padding: 2rem !important; }
  .sm\:p-10 { padding: 2.5rem !important; }
  .sm\:text-xs { font-size: 0.75rem !important; }
  .sm\:text-sm { font-size: 0.875rem !important; }
  .sm\:text-base { font-size: 1rem !important; }
  .sm\:text-lg { font-size: 1.125rem !important; }
  .sm\:text-xl { font-size: 1.25rem !important; }
  .sm\:text-2xl { font-size: 1.5rem !important; }
  .sm\:text-3xl { font-size: 1.875rem !important; }
  .sm\:text-4xl { font-size: 2.25rem !important; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dynamic-year {
  display: inline;
}

