:root {
  --bg-primary: #0a0e17;
  --bg-card: rgba(18, 25, 41, 0.85);
  --bg-card-hover: rgba(24, 34, 56, 0.95);
  --bg-input: #0f172a;
  --border: rgba(45, 62, 92, 0.6);
  --border-focus: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.2);
  --rose: #f43f5e;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem 1.5rem;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-text {
  background: linear-gradient(135deg, var(--emerald) 20%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Layout Grid */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

/* Card Styling */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(70, 95, 138, 0.7);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
}

.card-title .icon {
  font-size: 1.4rem;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-val-display {
  color: var(--emerald);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
}

select, input[type="number"], input[type="text"] {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

select:focus, input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
  margin: 0.5rem 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-glow);
  cursor: pointer;
  transition: transform 0.15s ease;
}

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

/* Two-column Input Row */
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .input-row {
    grid-template-columns: 1fr;
  }
}

/* Toggles / Checkboxes */
.toggle-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.toggle-box:hover {
  border-color: var(--emerald);
}

.toggle-box input[type="checkbox"] {
  accent-color: var(--emerald);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.toggle-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: block;
}

/* Results Section */
.hero-stat-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.hero-stat-value {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-stat-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Comparison Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: var(--transition);
}

.metric-pill:hover {
  border-color: rgba(148, 163, 184, 0.4);
}

.metric-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.metric-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-val.ev {
  color: var(--emerald);
}

.metric-val.gas {
  color: var(--amber);
}

.metric-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Cost Bar Breakdown */
.cost-breakdown-bar {
  margin-bottom: 1.75rem;
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.bar-track {
  height: 14px;
  background: #1e293b;
  border-radius: 9999px;
  overflow: hidden;
  display: flex;
}

.bar-fill-ev {
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  transition: width 0.4s ease;
}

.bar-fill-savings {
  background: rgba(16, 185, 129, 0.2);
  transition: width 0.4s ease;
}

/* Payback Card */
.payback-banner {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payback-icon {
  font-size: 2rem;
}

.payback-text strong {
  color: var(--cyan);
}

.payback-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Actions */
.action-row {
  display: flex;
  gap: 0.75rem;
}

.btn {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--emerald);
  color: #042f2e;
}

.btn-primary:hover {
  background: #34d399;
  box-shadow: 0 0 15px var(--emerald-glow);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.8);
}

/* Recommended Hardware / Affiliate Section */
.recommend-section {
  margin-top: 3.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cards-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hardware-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.hardware-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 12px 24px -10px rgba(6, 182, 212, 0.2);
}

.card-pill-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.hardware-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hardware-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hardware-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.btn-affiliate {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.btn-affiliate:hover {
  background: var(--emerald);
  color: #042f2e;
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

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

.faq-answer {
  padding: 0 1.4rem 1.1rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  display: none;
}

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

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

/* 1-Click Matchups Bar */
.matchups-bar {
  margin-bottom: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.matchups-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.matchup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.matchup-btn {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(70, 95, 138, 0.5);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.matchup-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--cyan);
  color: #ffffff;
}

.matchup-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #042f2e;
  font-weight: 700;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* State Rankings Section */
.rankings-section {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.rankings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.ranking-card {
  padding: 1.5rem;
}

.ranking-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.ranking-card-title.cheap {
  color: var(--emerald);
}

.ranking-card-title.expensive {
  color: var(--rose);
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ranking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(45, 62, 92, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.ranking-row:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--emerald);
  transform: translateX(4px);
}

.ranking-rank {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  width: 24px;
}

.ranking-name {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.ranking-rate {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: monospace;
}

.ranking-rate.cheap {
  color: var(--emerald);
}

.ranking-rate.expensive {
  color: var(--rose);
}

.ranking-cta {
  font-size: 0.75rem;
  color: var(--cyan);
  margin-left: 0.65rem;
  opacity: 0.8;
}

/* Footer */
footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 62, 92, 0.3);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .card, .metric-pill, .hero-stat-card {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    color: #000000 !important;
    box-shadow: none !important;
  }
  .recommend-section, .rankings-section, .faq-section, .btn, .badge-tag {
    display: none !important;
  }
}



/* Solar High-Ticket Lead Generation Card */
.solar-inline-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(10px);
}

.solar-callout-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.solar-callout-body {
  flex: 1;
}

.solar-callout-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--amber);
}

.solar-callout-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.solar-callout-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.solar-callout-link:hover {
  background: var(--amber);
  color: #000;
  box-shadow: 0 0 15px var(--amber-glow);
}

.solar-lead-section {
  margin: 3rem 0;
}

.solar-lead-card {
  background: linear-gradient(135deg, rgba(18, 25, 41, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6), 0 0 30px -10px var(--amber-glow);
  backdrop-filter: blur(16px);
}

.solar-lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #10b981, #06b6d4);
}

.solar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.solar-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-solar-glow {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.badge-solar-state {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.solar-tax-badge {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.solar-card-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.solar-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.solar-subheading {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.text-highlight {
  color: #fbbf24;
}

.solar-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.solar-perk-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.perk-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.solar-perk-card strong {
  display: block;
  font-size: 0.88rem;
  color: #f1f5f9;
  margin-bottom: 0.15rem;
}

.solar-perk-card p {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.solar-action-col {
  display: flex;
  justify-content: center;
}

.solar-cta-box {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.cta-box-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.cta-box-price {
  margin-bottom: 0.5rem;
}

.cta-box-price .price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.cta-box-price .price-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-box-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.btn-solar-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-solar-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #000;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.cta-guarantee-row {
  display: flex;
  justify-content: space-around;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
  font-weight: 500;
}

.cta-partner-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .solar-card-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .solar-perks-grid {
    grid-template-columns: 1fr;
  }
}


/* Email Lead Magnet Modal Styles */
.btn-email-lead {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-email-lead:hover {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #000;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: linear-gradient(135deg, rgba(18, 25, 41, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(16, 185, 129, 0.3);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}

.modal-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.btn-submit-lead {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit-lead:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
}

.feedback-success {
  color: #34d399;
  font-weight: 600;
}

.feedback-error {
  color: #f43f5e;
  font-weight: 600;
}

.modal-footer-notes {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}


/* Universal Fleet Navigator Bar */
.fleet-nav {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1.5rem;
}

.fleet-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fleet-brand {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted, #94A3B8);
}

.fleet-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fleet-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted, #94A3B8);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.fleet-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.fleet-link.active {
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

.fleet-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 1.5rem;
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 3rem;
}

.fleet-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fleet-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.2s ease;
}

.fleet-footer-links a:hover {
  color: #10B981;
}

/* ============================================================================
   UX MONETIZATION ENHANCEMENTS (Argon Implementation Spec)
   ============================================================================ */

.dynamic-hw-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 4px 20px -5px rgba(6, 182, 212, 0.15);
  position: relative;
  overflow: hidden;
}

.dynamic-hw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--emerald));
}

.hw-match-badge-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.hw-badge-best-match {
  display: inline-block;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hw-badge-rebate {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.btn-affiliate-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.25);
}

.btn-affiliate-compact:hover {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

.hw-price-pill {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.btn-toggle-bundle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-toggle-bundle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Install Accessory Bundle */
.install-gear-bundle {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  margin-top: -0.8rem;
  margin-bottom: 1.5rem;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.gear-bundle-head {
  margin-bottom: 0.75rem;
}

.gear-bundle-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
}

.gear-bundle-sub {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.gear-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
}

.gear-item-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gear-item-info strong {
  display: block;
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.3;
}

.gear-item-info p {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0.3rem 0 0.5rem 0;
  line-height: 1.35;
}

.btn-gear-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}

.btn-gear-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* Insurance Optimization Banner */
.insurance-optimization-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}

.insurance-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.insurance-icon {
  font-size: 1.65rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.insurance-content {
  flex: 1;
  min-width: 0;
}

.insurance-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #93c5fd;
  line-height: 1.3;
}

.insurance-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.45;
}

.insurance-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding-left: 2.5rem;
}

@media (max-width: 600px) {
  .insurance-actions {
    padding-left: 0;
  }
}

.insurance-btn {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.insurance-btn:hover {
  background: rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

/* Media Print Stylesheet for Forward Monetization */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .dynamic-hw-card, .recommend-section, .cards-carousel {
    display: block !important;
    border: 1px solid #cccccc !important;
    color: #000000 !important;
    page-break-inside: avoid;
    margin-top: 1rem;
  }
  .btn-affiliate, .btn-affiliate-compact {
    color: #000000 !important;
    border: 1px solid #000000 !important;
    text-decoration: underline !important;
  }
}

/* Comparison Table & SEO Directory Styles */
.spec-comparison-wrap {
  margin: 2rem 0 3rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
}

.spec-comparison-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.spec-comparison-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 640px;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
}

.spec-table td {
  color: #e2e8f0;
}

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

.table-cta-link {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0e17 !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.table-cta-link:hover {
  filter: brightness(1.08);
}

.seo-directory-section {
  margin: 3rem 0 2rem 0;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.seo-directory-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.seo-directory-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.seo-link-pill {
  display: block;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.15s ease;
}

.seo-link-pill:hover {
  border-color: var(--cyan);
  color: #ffffff;
  background: rgba(6, 182, 212, 0.12);
}

.seo-directory-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald);
  margin: 1rem 0 0.6rem 0;
}

