/* ===== DESIGN SYSTEM ===== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  --bg-dark: #0a0a1a;
  --bg-card: #111127;
  --bg-card-hover: #16163a;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(99, 102, 241, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.6);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-brand:hover { opacity: 0.85; }

.brand-logo-wrapper {
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.brand-logo-wrapper:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  font-weight: 600;
  padding: 8px 20px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.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(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a1a 0%, #0d0d20 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: rgba(99,102,241,0.25); top: -10%; left: -5%; animation-delay: 0s; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(245,158,11,0.15); bottom: 10%; right: 5%; animation-delay: 2s; }
.hero-orb-3 { width: 200px; height: 200px; background: rgba(16,185,129,0.1); top: 40%; right: 25%; animation-delay: 4s; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
  animation: badge-pulse 2s ease-in-out infinite;
}

.badge-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.title-gradient {
  background: linear-gradient(135deg, #818cf8, #6366f1, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  min-width: 130px;
}

.stat-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-dot {
  width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  margin: 4px auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 36px; font-size: 1.05rem; }

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== OVERVIEW SECTION ===== */
.overview-section { background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(13,13,32,1) 100%); }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.overview-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-blue::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.card-purple::before { background: linear-gradient(90deg, #a855f7, #d946ef); }
.card-green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.card-orange::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.overview-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  background: var(--bg-glass-hover);
  box-shadow: var(--shadow-glow);
}

.overview-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.overview-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.overview-list { display: flex; flex-direction: column; gap: 8px; }
.overview-list li { font-size: 0.88rem; color: var(--text-secondary); }

/* ===== CALCULATOR ===== */
.calculator-section {
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.08) 0%, transparent 70%),
              linear-gradient(180deg, rgba(13,13,32,1) 0%, var(--bg-dark) 100%);
}

.calculator-wrapper { max-width: 800px; margin: 0 auto; }

.calculator-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-heavy);
}

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

.calc-group { display: flex; flex-direction: column; gap: 8px; }

.calc-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-group select,
.calc-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.calc-group select:focus,
.calc-group input:focus {
  border-color: var(--primary);
  background: rgba(99,102,241,0.05);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.calc-group select option { background: #1a1a35; color: var(--text-primary); }

.calc-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

.calc-result {
  margin-top: 28px;
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: fadeInUp 0.4s ease;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.result-item { text-align: center; }
.result-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.result-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--primary-light); }
.result-total .result-value { color: var(--accent); font-size: 2.2rem; }
.result-total .result-label { color: var(--accent); }
.result-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

/* ===== STATES TABLE ===== */
.states-section { background: var(--bg-dark); }

.table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  transition: var(--transition);
  min-width: 240px;
}

.search-box:focus-within {
  border-color: var(--primary);
  background: rgba(99,102,241,0.05);
}

.search-icon { font-size: 1rem; }

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
}

.search-box input::placeholder { color: var(--text-muted); }

.filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-heavy);
}

.states-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.states-table thead {
  background: rgba(99,102,241,0.1);
  border-bottom: 1px solid var(--border-glass);
}

.states-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.states-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-glass);
  vertical-align: middle;
}

.states-table tbody tr {
  background: var(--bg-card);
  transition: var(--transition);
}

.states-table tbody tr:hover {
  background: var(--bg-card-hover);
}

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

.state-name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.state-flag {
  width: 28px;
  height: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.pay-high { background: rgba(16,185,129,0.15); color: #34d399; }
.pay-mid { background: rgba(245,158,11,0.15); color: #fbbf24; }
.pay-low { background: rgba(239,68,68,0.15); color: #f87171; }

.required-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-yes { background: rgba(16,185,129,0.15); color: #34d399; }
.tag-no { background: rgba(239,68,68,0.1); color: var(--text-muted); }

.table-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== EMPLOYER SECTION ===== */
.employer-section {
  background: radial-gradient(ellipse at bottom center, rgba(99,102,241,0.06) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, rgba(13,13,32,1) 100%);
}

.employer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.employer-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.employer-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glow);
}

.employer-card.required { border-top: 3px solid #10b981; }
.employer-card.partial { border-top: 3px solid #f59e0b; }
.employer-card.none { border-top: 3px solid #ef4444; opacity: 0.7; }

.emp-state-code {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.emp-state-name { font-weight: 600; color: var(--text-primary); margin-bottom: 8px; font-size: 0.95rem; }
.emp-detail { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 6px; }
.emp-duration { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; }

.emp-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.required-badge { background: rgba(16,185,129,0.15); color: #34d399; }
.partial-badge { background: rgba(245,158,11,0.15); color: #fbbf24; }
.none-badge { background: rgba(239,68,68,0.1); color: #f87171; }

.employer-notice {
  display: flex;
  gap: 20px;
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  align-items: flex-start;
}

.notice-icon { font-size: 1.8rem; flex-shrink: 0; }
.notice-content h4 { font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.notice-content p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; }

/* ===== RANKINGS ===== */
.ranking-section { background: linear-gradient(180deg, rgba(13,13,32,1) 0%, var(--bg-dark) 100%); }

.ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ranking-col {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.ranking-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-glass);
}

.green-header { background: rgba(16,185,129,0.08); }
.red-header { background: rgba(239,68,68,0.06); }

.ranking-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ranking-header p { font-size: 0.85rem; color: var(--text-muted); }

.ranking-list { padding: 16px; display: flex; flex-direction: column; gap: 4px; }

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.rank-item:hover { background: var(--bg-glass-hover); }

.rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rank-gold { background: rgba(245,158,11,0.2); color: #fbbf24; }
.rank-silver { background: rgba(148,163,184,0.2); color: #94a3b8; }
.rank-low { background: rgba(239,68,68,0.15); color: #f87171; }

.rank-state { flex: 1; }
.rank-state-name { font-weight: 600; color: var(--text-primary); font-size: 0.93rem; }
.rank-state-note { font-size: 0.78rem; color: var(--text-muted); }

.rank-pay { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #34d399; }
.rank-pay.low-pay { color: #f87171; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-dark); }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: rgba(99,102,241,0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary-light); }
.faq-icon { font-size: 1.4rem; font-weight: 300; color: var(--primary-light); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p, .faq-answer ul { padding: 0 28px 22px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.faq-answer ul { padding-left: 44px; padding-top: 8px; list-style: disc; }
.faq-answer ul li { margin-bottom: 6px; }

/* ===== TIPS ===== */
.tips-section {
  background: radial-gradient(ellipse at center top, rgba(99,102,241,0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, rgba(13,13,32,1) 100%);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.tip-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.tip-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  background: var(--bg-glass-hover);
  box-shadow: var(--shadow-glow);
}

.tip-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(99,102,241,0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.tip-icon { font-size: 2rem; margin-bottom: 16px; }
.tip-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }
.tip-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 100px 24px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(245,158,11,0.06) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb-1 { position: absolute; width: 400px; height: 400px; background: rgba(99,102,241,0.15); border-radius: 50%; filter: blur(80px); top: -30%; left: -10%; }
.cta-orb-2 { position: absolute; width: 300px; height: 300px; background: rgba(245,158,11,0.1); border-radius: 50%; filter: blur(80px); bottom: -20%; right: 5%; }

.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.01em; }
.cta-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 550px; margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: rgba(5, 5, 15, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 64px 0 32px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

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

.footer-links ul li, .footer-popular ul li, .footer-legal ul li { margin-bottom: 10px; }
.footer-links a, .footer-popular a, .footer-legal a { color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover, .footer-popular a:hover, .footer-legal a:hover { color: var(--primary-light); }

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

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-disclaimer { color: #4a5568 !important; }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); opacity: 0.7; }
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.3); }
  50% { box-shadow: 0 0 20px rgba(99,102,241,0.2); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ranking-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10, 10, 26, 0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glass); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; }

  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 12px; }
  .stat-card { min-width: 110px; padding: 16px 20px; }
  .stat-value { font-size: 1.6rem; }

  .calc-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }

  .table-controls { flex-direction: column; align-items: flex-start; }
  .search-box { width: 100%; }

  .employer-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

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

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

  .section { padding: 70px 0; }
  .calculator-card { padding: 24px; }
  .faq-question { padding: 18px 20px; font-size: 0.95rem; }
  .faq-answer p, .faq-answer ul { padding: 0 20px 18px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .overview-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: rgba(10,10,26,0.8);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list a { color: var(--primary-light); transition: var(--transition); }
.breadcrumb-list a:hover { color: white; }
.breadcrumb-list span { color: var(--text-muted); }
.navbar { top: 38px; }
.hero { padding-top: 140px; }

/* ===== QUICK ANSWER BOX ===== */
.quick-answer-section {
  background: linear-gradient(180deg, #0d0d20 0%, rgba(99,102,241,0.06) 50%, #0a0a1a 100%);
  padding: 56px 0;
  position: relative;
  z-index: 1;
}
.quick-answer-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(99,102,241,0.1);
}
.qa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  background: rgba(99,102,241,0.08);
  border-bottom: 1px solid rgba(99,102,241,0.2);
}
.qa-icon { font-size: 1.5rem; }
.qa-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
}
.qa-body { padding: 28px 32px; }
.qa-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 20px;
}
.qa-divider {
  width: 1px;
  height: 80px;
  background: var(--border-glass);
  margin: 0 24px;
}
.qa-item { padding: 0 16px; }
.qa-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.qa-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}
.qa-unit { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.qa-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.qa-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}
.qa-source a { color: var(--primary-light); }
@media (max-width: 768px) {
  .qa-row { grid-template-columns: 1fr; }
  .qa-divider { width: 100%; height: 1px; margin: 12px 0; }
  .qa-item { padding: 8px 0; }
  .qa-body, .qa-header { padding: 20px; }
}

/* ===== COMPARE TOOL ===== */
.compare-wrapper { margin-bottom: 28px; }
.compare-box {
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.compare-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 1rem;
}
.compare-selects {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.compare-selects select {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
}
.compare-selects select:focus { border-color: var(--primary); }
.compare-selects select option { background: #1a1a35; }
.compare-vs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-light);
  flex-shrink: 0;
}
.compare-result {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  animation: fadeInUp 0.3s ease;
}
.compare-state-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
}
.compare-state-card h4 { font-weight: 700; margin-bottom: 10px; color: var(--primary-light); }
.compare-state-card p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 4px; }
.compare-state-card strong { color: var(--text-primary); }

/* ===== TABLE ACTIONS ===== */
.table-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ===== US MAP GRID ===== */
.map-section { background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(13,13,32,1) 100%); }
.map-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.legend-dot { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.map-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  max-width: 900px;
  margin: 0 auto 24px;
}
.map-tile {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.map-tile:hover { transform: scale(1.15); z-index: 10; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.map-tile-code { font-size: 0.55rem; font-weight: 800; color: rgba(255,255,255,0.9); line-height: 1; }
.map-tile-pay { font-size: 0.5rem; color: rgba(255,255,255,0.7); line-height: 1.2; }
.map-tile.empty { background: transparent; pointer-events: none; }
.map-tile.pay-low-tier { background: rgba(239,68,68,0.7); }
.map-tile.pay-mid-tier { background: rgba(245,158,11,0.7); }
.map-tile.pay-avg-tier { background: rgba(59,130,246,0.7); }
.map-tile.pay-high-tier { background: rgba(16,185,129,0.75); }
@media (max-width: 600px) {
  .map-grid { grid-template-columns: repeat(10, 1fr); }
  .map-tile-pay { display: none; }
}

/* ===== MILEAGE SECTION ===== */
.mileage-section { background: radial-gradient(ellipse at center, rgba(245,158,11,0.05) 0%, transparent 70%), var(--bg-dark); }
.mileage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.mileage-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid rgba(245,158,11,0.3);
}
.mileage-card.mileage-top { border-top-color: #10b981; }
.mileage-card:hover { transform: translateY(-4px); border-color: var(--border-glass-hover); box-shadow: var(--shadow-glow); }
.mil-icon { font-size: 2rem; margin-bottom: 10px; }
.mil-name { font-weight: 700; color: var(--text-primary); margin-bottom: 8px; font-size: 0.95rem; }
.mil-rate {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}
.mil-rate span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.mil-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
