/* Snapshot - Clean 6-Section Landing Page */

:root {
  --primary-navy: #1e3a5f;
  --primary-navy-dark: #0f2440;
  --primary-orange: #f97316;
  --primary-orange-hover: #ea580c;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --success: #22c55e;
  --success-bg: #dcfce7;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --info-bg: #dbeafe;
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
}

/* ==========================================
   LANDING PAGE - 6 SECTION LAYOUT
   ========================================== */

.landing-page {
  min-height: 100vh;
  background: var(--bg-light);
}

/* Fixed Background */
.fixed-background {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&h=900&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* ==========================================
   SECTION 1: NAVIGATION
   ========================================== */
.landing-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 56px;
}

.landing-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.landing-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  text-decoration: none;
  flex-shrink: 0;
}

.landing-logo:hover {
  color: var(--primary-orange);
}

.landing-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

.nav-tab {
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

.nav-tab.active {
  color: var(--primary-orange);
  background: rgba(249, 115, 22, 0.08);
}

.get-started-btn-sticky {
  padding: 8px 18px;
  background: var(--primary-orange);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.get-started-btn-sticky.visible {
  opacity: 1;
  pointer-events: auto;
}

.get-started-btn-sticky:hover {
  background: var(--primary-orange-hover);
}

/* Tab Content */
.tab-content {
  display: none;
  padding-top: 56px;
}

.tab-content.active {
  display: block;
}

/* ==========================================
   SECTIONS WRAPPER
   ========================================== */
.landing-sections-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 16px 0;
  max-width: 1100px;
  margin: 0 auto;
  gap: 24px;
}

.landing-section {
  width: 100%;
}

.section-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* ==========================================
   SECTION 2: HERO
   ========================================== */
.hero-card-new {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.75) 0%, rgba(30, 58, 95, 0.65) 100%);
  backdrop-filter: blur(12px);
}

.hero-content-new {
  padding: 50px 40px;
  text-align: center;
  color: white;
}

.hero-title-new {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle-new {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Value Props - 3 horizontal boxes (skinnier/longer) */
.value-props-new {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  justify-content: center;
}

.value-prop-new {
  flex: 1;
  max-width: 240px;
  padding: 32px 18px 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: left;
  transition: all var(--transition-normal);
  min-height: 220px;
}

.value-prop-new:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.value-prop-number-new {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
}

.value-prop-new h3 {
  font-size: 15px;
  color: white;
  margin-bottom: 14px;
  font-weight: 600;
}

.value-prop-new p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.hero-cta-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.get-started-btn-hero {
  background: var(--primary-orange);
  color: white;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 44px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}

.get-started-btn-hero:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-2px);
}

.hero-tagline-new {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ==========================================
   SECTIONS 3, 4, 5: CONTENT SECTIONS
   ========================================== */
.content-section-new .section-card {
  padding: 36px 32px;
}

/* White sections (01 and 03) */
.white-section .section-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
}

/* Blue section (02) */
.blue-section .section-card {
  background: linear-gradient(135deg, rgba(30,58,95,0.75) 0%, rgba(30,58,95,0.65) 100%);
  backdrop-filter: blur(12px);
  color: white;
}

.blue-section .content-section-title-new,
.blue-section .content-section-body h3 {
  color: white;
}

.blue-section .content-section-body p,
.blue-section .content-section-list-new li {
  color: rgba(255,255,255,0.9);
}

.blue-section .content-section-list-new li strong {
  color: white;
}

.blue-section .content-highlight-new {
  background: rgba(249,115,22,0.2);
  color: white;
}

.content-section-header-new {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.content-section-number-new {
  font-size: 44px;
  font-weight: 700;
  color: var(--primary-orange);
  opacity: 0.4;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1;
}

.content-section-title-new {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.content-section-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.content-section-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.content-section-list-new {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.content-section-list-new li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}

.content-section-list-new li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-weight: 700;
}

.content-section-list-new li strong {
  color: var(--primary-navy);
  font-weight: 600;
}

.content-highlight-new {
  background: rgba(249,115,22,0.08);
  border-left: 4px solid var(--primary-orange);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-top: 20px;
  line-height: 1.6;
}

/* Media (Video/Image) */
.section-media {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-video,
.section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* ==========================================
   SECTION 6: FOOTER
   ========================================== */
.landing-footer-new {
  background: var(--primary-navy);
  color: white;
  padding: 40px 24px 20px;
  margin-top: 24px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Compact footer variant */
.landing-footer-compact {
  padding: 20px 24px;
}

.landing-footer-compact .footer-content-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.landing-footer-compact .footer-column {
  flex: none;
}

.landing-footer-compact .footer-brand h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.landing-footer-compact .footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.footer-links-inline {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links-inline li {
  margin: 0;
}

.landing-footer-compact .footer-contact {
  font-size: 13px;
}

/* Compact footer inside landing-container (Partners/About pages) */
.landing-container .landing-footer-compact {
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -60px;
  border-radius: 0;
  width: calc(100% + 80px);
}

.footer-content-new {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 24px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: white;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

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

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

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
}

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

.footer-contact a {
  color: var(--primary-orange);
  text-decoration: none;
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom-new {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom-new p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 900px) {
  .value-props-new {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .value-prop-new {
    min-width: 200px;
    flex: 0 0 auto;
  }

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

  /* Compact footer on tablet */
  .landing-footer-compact .footer-content-new {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* Nav bar - smaller on phone */
  .landing-nav {
    height: 48px;
  }

  .landing-nav-container {
    padding: 0 12px;
  }

  .landing-logo {
    font-size: 16px;
  }

  .landing-nav-center {
    position: static;
    transform: none;
  }

  .get-started-btn-sticky {
    padding: 6px 12px;
    font-size: 11px;
  }

  .nav-tab {
    padding: 6px 8px;
    font-size: 12px;
  }

  .tab-content {
    padding-top: 48px;
  }

  .fixed-background {
    top: 48px;
  }

  .landing-sections-wrapper {
    padding: 16px 10px 0;
    gap: 16px;
  }

  .hero-content-new {
    padding: 32px 16px;
  }

  .hero-title-new {
    font-size: 24px;
  }

  .hero-subtitle-new {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .value-props-new {
    gap: 10px;
    margin-bottom: 24px;
  }

  .value-prop-new {
    min-width: 200px;
    min-height: 180px;
    padding: 20px 14px 28px;
  }

  .value-prop-new h3 {
    font-size: 13px;
  }

  .value-prop-new p {
    font-size: 12px;
  }

  .get-started-btn-hero {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }

  .content-section-new .section-card {
    padding: 20px 14px;
  }

  .content-section-number-new {
    font-size: 28px;
  }

  .content-section-title-new {
    font-size: 18px;
  }

  .content-section-body h3 {
    font-size: 16px;
  }

  /* Footer - compact on mobile, hide quick links */
  .landing-footer-new {
    padding: 20px 12px 12px;
  }

  .landing-footer-compact {
    padding: 16px 12px;
  }

  .landing-footer-compact .footer-content-new {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .landing-footer-compact .footer-quick-links {
    display: none;
  }

  .landing-footer-compact .footer-brand p {
    display: none;
  }

  .landing-footer-compact .footer-brand h4 {
    margin-bottom: 0;
  }

  /* Footer inside landing-container on mobile */
  .landing-container .landing-footer-compact {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -40px;
    width: calc(100% + 40px);
  }
}

/* ==========================================
   OTHER PAGES (Partners, About)
   ========================================== */
.landing-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(248,250,252,0.9);
  backdrop-filter: blur(10px);
}

.page-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,58,95,0.9) 0%, rgba(45,90,143,0.8) 100%),
    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&h=900&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,0.6) 0%, rgba(30,58,95,0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px 40px;
  text-align: center;
  color: white;
}

.page-hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 14px;
}

.page-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.partners-header {
  text-align: center;
  margin-bottom: 40px;
}

.partners-showcase {
  display: grid;
  gap: 20px;
  margin-bottom: 60px;
}

.partner-showcase-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.partner-showcase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.partner-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.partner-showcase-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.partner-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-gray);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.partner-showcase-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.partner-showcase-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-badge {
  font-size: 12px;
  padding: 5px 12px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.become-partner-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  border: 1px solid var(--border-light);
  margin-top: 40px;
}

.become-partner-content .section-title,
.become-partner-content .section-subtitle {
  text-align: center;
}

.become-partner-content .section-subtitle {
  margin-bottom: 40px;
}

.partner-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-orange);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0 0 6px;
}

.benefit-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.partner-application-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-partner-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-orange);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 8px;
}

.submit-partner-btn:hover {
  background: var(--primary-orange-hover);
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.about-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.about-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.how-it-works-step {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-orange);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 12px;
}

.how-it-works-step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.how-it-works-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.tech-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.tech-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-weight: 700;
}

.tech-list li strong {
  color: var(--primary-navy);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.why-choose-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
}

.why-choose-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.why-choose-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Legacy Footer for other pages */
.landing-footer {
  background: var(--primary-navy);
  color: white;
  padding: 48px 40px 24px;
  margin-top: 60px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.footer-content-section {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .page-hero-title {
    font-size: 32px;
  }
  
  .page-hero-content {
    padding: 40px 20px;
  }
  
  .landing-container {
    padding: 40px 20px;
  }
  
  .become-partner-section {
    padding: 32px 20px;
  }
}

/* ==========================================
   APP CONTAINER STYLES (Questionnaire)
   ========================================== */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.back-button:hover {
  background: var(--bg-gray);
}

.back-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
}

.tagline-inline {
  font-weight: 400;
  color: var(--text-secondary);
}

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

.start-over-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.start-over-btn:hover {
  border-color: var(--error);
  color: var(--error);
}

.step-indicator {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-gray);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.progress-bar-container {
  background: var(--bg-white);
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--border-light);
}

.progress-bar {
  max-width: 800px;
  margin: 0 auto;
  height: 4px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary-orange);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
}

.question-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.question-header {
  text-align: center;
  margin-bottom: 32px;
}

.question-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.question-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.option-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  border-color: var(--primary-orange);
  background: linear-gradient(to right, rgba(249,115,22,0.03), transparent);
}

.option-card input {
  display: none;
}

.option-content {
  flex: 1;
}

.option-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-description {
  font-size: 14px;
  color: var(--text-secondary);
}

.option-indicator {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card.selected .option-indicator {
  border-color: var(--primary-orange);
  background: var(--primary-orange);
}

.option-card:not(.checkbox).selected .option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: var(--radius-full);
}

.option-card.checkbox .option-indicator {
  border-radius: var(--radius-sm);
}

.option-card.checkbox.selected .option-indicator::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.info-button {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-left: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.info-button:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
}

/* Info Popup Modal */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.popup-overlay.active .popup-card {
  transform: translateY(0);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.popup-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
}

.popup-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.popup-close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.popup-content {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Address Input & Map */
.address-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-input-wrapper {
  position: relative;
}

.address-input {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.address-input:focus {
  border-color: var(--primary-orange);
}

.search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 16px;
  background: var(--primary-navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.search-button:hover {
  background: var(--primary-navy-dark);
}

/* Form Fields */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-select {
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-white);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.form-select:focus {
  border-color: var(--primary-orange);
}

/* Slider */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-value {
  background: var(--primary-navy);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
}

.slider-input {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--primary-orange);
  cursor: pointer;
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--primary-orange);
  cursor: pointer;
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Slider with Text Input */
.slider-input-container {
  width: 100%;
}

.slider-with-input {
  display: flex;
  gap: 12px;
  align-items: center;
}

.slider-range-input {
  flex: 1;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.slider-range-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--primary-orange);
  cursor: pointer;
  border: 2px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.slider-range-input:disabled::-webkit-slider-thumb {
  background: var(--text-muted);
  cursor: not-allowed;
}

.slider-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--primary-orange);
  cursor: pointer;
  border: 2px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.slider-text-input-wrapper {
  display: flex;
  align-items: center;
  min-width: 100px;
  max-width: 120px;
}

.input-prefix {
  padding: 10px 0 10px 12px;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}

.slider-text-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
  text-align: center;
  outline: none;
  transition: all var(--transition-fast);
}

.input-prefix + .slider-text-input {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.slider-text-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.slider-text-input::placeholder {
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

/* Text Input */
.form-text-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.form-text-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

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

/* Additional Fields Section */
.additional-fields-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.additional-fields-header {
  margin-bottom: 24px;
}

.additional-fields-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.additional-fields-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* File Upload */
.upload-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upload-field {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}

.upload-field:hover {
  border-color: var(--border-medium);
  background: var(--bg-gray);
}

.upload-field.has-file {
  border-color: var(--success);
  border-style: solid;
  background: var(--success-bg);
}

.upload-field input {
  display: none;
}

.upload-icon {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.upload-field.has-file .upload-icon {
  color: var(--success);
}

.upload-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.upload-description {
  font-size: 13px;
  color: var(--text-secondary);
}

.upload-filename {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

.contact-card {
  background: var(--info-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 24px;
}

.contact-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-info a {
  color: var(--info);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Report Card */
.report-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.report-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-dark));
  color: white;
  padding: 24px;
  text-align: center;
}

.report-header h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.report-header p {
  font-size: 14px;
  opacity: 0.8;
}

.scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-light);
}

.score-card {
  background: var(--bg-white);
  padding: 24px;
  text-align: center;
}

.score-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.score-value {
  font-size: 48px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1;
  margin-bottom: 4px;
}

.score-rating {
  font-size: 14px;
  font-weight: 600;
}

.score-excellent { color: #06b6d4; }
.score-good { color: #22c55e; }
.score-fair { color: #eab308; }
.score-poor { color: #f97316; }
.score-fatal { color: #ef4444; }

.report-section {
  padding: 24px;
  border-top: 1px solid var(--border-light);
}

.report-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.report-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.report-item-label {
  color: var(--text-secondary);
}

.report-item-value {
  font-weight: 600;
  color: var(--text-primary);
}

.partner-recommendations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  border-left: 4px solid;
}

.partner-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.partner-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.partner-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

/* Partner Selection Cards (Connect With page) */
.partner-selection-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-selection-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.partner-selection-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.partner-selection-card.selected {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.partner-selection-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-gray);
}

.partner-selection-checkbox {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.partner-selection-checkbox input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.partner-selection-checkbox .checkmark {
  position: absolute;
  inset: 0;
  background: var(--bg-white);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.partner-selection-checkbox input:checked + .checkmark {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.partner-selection-checkbox .checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.partner-selection-checkbox input:checked + .checkmark::after {
  display: block;
}

.partner-selection-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0;
}

.partner-selection-body {
  padding: 16px;
}

.partner-selection-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.partner-selection-note {
  font-size: 13px;
  color: var(--primary-navy);
  font-weight: 500;
  margin: 0 0 12px 0;
  padding: 8px 12px;
  background: var(--info-bg);
  border-radius: var(--radius-sm);
}

.partner-selection-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.fatal-flaw-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--error);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.fatal-flaw-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--error);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fatal-flaw-list {
  font-size: 13px;
  color: var(--text-secondary);
}

.warning-alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--warning);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.warning-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--warning);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Email Capture */
.email-section {
  text-align: center;
}

.email-input-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.email-input {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  text-align: center;
  transition: all var(--transition-fast);
}

.email-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.email-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-nav {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 16px 24px;
  position: sticky;
  bottom: 0;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.nav-button {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.nav-button.next {
  background: var(--primary-orange);
  color: white;
}

.nav-button.next:hover:not(:disabled) {
  background: var(--primary-orange-hover);
}

.nav-button.next:disabled {
  background: var(--bg-gray);
  color: var(--text-muted);
  cursor: not-allowed;
}

.nav-button.skip {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  color: var(--text-secondary);
}

.nav-button.skip:hover {
  border-color: var(--border-medium);
  background: var(--bg-gray);
}

.nav-button.submit {
  background: var(--primary-orange);
  color: white;
}

.nav-button.submit:hover {
  background: var(--primary-orange-hover);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--bg-gray);
  border-top-color: var(--primary-orange);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.loading-subtext {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

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

/* ==========================================
   MAP STYLES
   ========================================== */
.map-container {
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-light);
  margin-top: 16px;
}

#map {
  width: 100%;
  height: 100%;
}

.map-controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.map-button {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.map-button:hover {
  border-color: var(--border-medium);
}

.map-button.primary {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
}

.map-button.primary:hover {
  background: var(--primary-orange-hover);
}

.map-button.confirmed {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.location-info {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.location-info strong {
  color: var(--primary-navy);
}

.deregulated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.deregulated-badge.eligible {
  background: var(--success-bg);
  color: var(--success);
}

.deregulated-badge.not-eligible {
  background: var(--bg-gray);
  color: var(--text-muted);
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary-navy);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1100;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--error);
}

/* ==========================================
   US DEREGULATION MAP
   ========================================== */
.deregulation-map-container {
  margin-top: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.deregulation-map-container h3.map-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-navy) !important;
  margin-bottom: 16px;
  text-align: center;
}

.deregulation-map-container p.map-intro {
  font-size: 15px;
  color: var(--text-primary) !important;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.deregulation-map-container p.map-description {
  font-size: 13px;
  color: var(--text-muted) !important;
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}

.us-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#us-map-container {
  width: 100%;
}

#us-map-container svg,
#us-deregulation-map {
  width: 100%;
  height: auto;
  display: block;
}

/* State Styling */
.state {
  stroke: #ffffff;
  stroke-width: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.state:hover {
  stroke-width: 2;
  filter: brightness(1.1);
}

/* Deregulation Status Colors */
.state.deregulated {
  fill: #0d9488; /* teal-600 - Fully deregulated both */
}

.state.electricity-only {
  fill: #0891b2; /* cyan-600 - Electricity only */
}

.state.gas-only {
  fill: #7c3aed; /* violet-600 - Gas only */
}

.state.partial {
  fill: #f59e0b; /* amber-500 - Limited/Partial */
}

.state.regulated {
  fill: #d1d5db; /* gray-300 - Fully regulated */
}

/* Hover states */
.state.deregulated:hover {
  fill: #14b8a6;
}

.state.electricity-only:hover {
  fill: #06b6d4;
}

.state.gas-only:hover {
  fill: #8b5cf6;
}

.state.partial:hover {
  fill: #fbbf24;
}

.state.regulated:hover {
  fill: #e5e7eb;
}

/* State Tooltip */
.state-tooltip {
  position: absolute;
  background: var(--primary-navy);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  max-width: 280px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.state-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.state-tooltip .tooltip-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 6px;
}

.state-tooltip .tooltip-status {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.state-tooltip .tooltip-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.state-tooltip .tooltip-label {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.state-tooltip .tooltip-value {
  font-weight: 600;
}

.state-tooltip .tooltip-value.yes {
  color: #4ade80;
}

.state-tooltip .tooltip-value.limited {
  color: #fbbf24;
}

.state-tooltip .tooltip-value.no {
  color: #f87171;
}

.state-tooltip .tooltip-scope,
.state-tooltip .tooltip-description {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
  line-height: 1.5;
}

/* Map Legend */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.1);
}

.legend-color.deregulated {
  background: #0d9488;
}

.legend-color.electricity-only {
  background: #0891b2;
}

.legend-color.gas-only {
  background: #7c3aed;
}

.legend-color.partial {
  background: #f59e0b;
}

.legend-color.regulated {
  background: #d1d5db;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .deregulation-map-container {
    padding: 16px;
  }

  .map-legend {
    gap: 12px;
  }

  .legend-item {
    font-size: 11px;
  }

  .legend-color {
    width: 12px;
    height: 12px;
  }

  .state-tooltip {
    max-width: 240px;
    font-size: 12px;
    padding: 10px 12px;
  }
}
