/* Donia Static Landing Page - styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
  /* Accent colors - magenta/purple */
  --accent: hsl(280, 80%, 55%);
  --accent-dark: hsl(280, 85%, 45%);
  --accent-light: hsl(280, 70%, 95%);
  
  /* Core colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222.2, 84%, 4.9%);
  --secondary: hsl(210, 40%, 96.1%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
  --border: hsl(214.3, 31.8%, 91.4%);
  
  /* Spacing */
  --radius: 0.5rem;
  --max-width: 80rem; /* 1280px */
  --max-width-content: 64rem; /* 1024px */
  --max-width-narrow: 48rem; /* 768px */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* ========================================
   Utility Classes
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--muted-foreground);
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
  box-shadow: 0 10px 25px -5px hsla(280, 80%, 55%, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
}

.btn-nav {
  display: inline-block;
  background-color: var(--foreground);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-nav:hover {
  background-color: hsla(222.2, 84%, 4.9%, 0.9);
}

/* ========================================
   Announcement Bar
   ======================================== */
.announcement-bar {
  background-color: var(--accent);
  width: 100%;
  padding: 0.625rem 1rem;
  text-align: center;
}

.announcement-bar p {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  background-color: hsla(210, 40%, 96.1%, 0.5);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 40;
}

.navbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar-inner {
  background-color: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 1.5rem;
  width: auto;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--foreground);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

#nav-toggle {
  display: none;
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  margin-top: 0.5rem;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--foreground);
}

#nav-toggle:checked ~ .mobile-nav {
  display: block;
}

#nav-toggle:checked ~ .navbar-inner .menu-icon {
  display: none;
}

#nav-toggle:checked ~ .navbar-inner .close-icon {
  display: block;
}

.close-icon {
  display: none;
}

/* Desktop Navbar */
@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .mobile-nav {
    display: none !important;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background-color: hsla(210, 40%, 96.1%, 0.5);
  padding: 3rem 1rem 5rem;
}

.hero-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero-video {
  margin-top: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-video-wrapper {
  background-color: hsla(222.2, 84%, 4.9%, 0.9);
  border-radius: 1.5rem;
  aspect-ratio: 16 / 9;
  border: 8px solid hsla(222.2, 84%, 4.9%, 0.1);
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

/* ========================================
   Logo Marquee
   ======================================== */
.logo-marquee {
  padding: 4rem 1rem;
  background-color: var(--background);
  overflow: hidden;
}

.logo-marquee-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-marquee-text {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.logo-marquee-text span {
  font-weight: 600;
}

.marquee-wrapper {
  position: relative;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5rem;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  margin: 0 2rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-logo {
  width: 7rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-logo span {
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 0.875rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   Problem Intro Section
   ======================================== */
.problem-intro {
  padding: 5rem 1rem;
  background-color: var(--background);
}

.problem-intro-container {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  text-align: center;
}

.problem-intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-intro-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.problem-intro-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 1.125rem;
  transition: text-decoration 0.2s ease;
}

.problem-intro-link:hover {
  text-decoration: underline;
}

.problem-intro-tagline {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .problem-intro-tagline {
    font-size: 1.875rem;
  }
}

/* Value Cards */
.value-cards {
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .value-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.value-card-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.value-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.value-card ul li {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  padding-left: 1.25rem;
  position: relative;
}

.value-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--accent);
}

/* ========================================
   Process Section
   ======================================== */
.process-section {
  padding: 5rem 1rem;
  background-color: hsla(210, 40%, 96.1%, 0.3);
}

.process-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.process-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-header h2 {
    font-size: 2.25rem;
  }
}

.process-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline-icon-wrapper {
  position: relative;
}

.timeline-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 3rem;
  width: 2px;
  height: 2rem;
  background-color: var(--border);
  transform: translateX(-50%);
}

.timeline-content {
  padding-top: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.timeline-content p {
  color: var(--muted-foreground);
}

/* Steps Card */
.process-steps-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.process-steps-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.process-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-steps-list li {
  display: flex;
  gap: 0.75rem;
}

.step-number {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  color: var(--muted-foreground);
}

/* Carousel */
.process-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1rem 1.5rem;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-panel {
  flex-shrink: 0;
  width: calc(100% - 2rem);
  scroll-snap-align: start;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

@media (min-width: 768px) {
  .carousel-panel {
    width: calc(75% - 1rem);
  }
}

@media (min-width: 1024px) {
  .carousel-panel {
    width: calc(50% - 1rem);
  }
}

.panel-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.panel-body {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.panel-media {
  width: 100%;
}

/* Skeleton placeholder */
.donia-skeleton {
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, var(--secondary) 25%, var(--border) 50%, var(--secondary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 2s ease-in-out infinite;
  border-radius: 0.75rem;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chat block styling */
.panel-chat {
  background-color: var(--secondary);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.chat-user {
  background-color: white;
}

.chat-donia {
  background-color: hsla(280, 70%, 95%, 0.5);
}

.chat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.chat-message p {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
}

.chat-message ul {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chat-message ul li {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  padding-left: 1rem;
  position: relative;
}

.chat-message ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--accent);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: white;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.carousel-prev {
  left: 0.5rem;
}

.carousel-next {
  right: 0.5rem;
}

/* Show arrows on tablet and up */
@media (min-width: 768px) {
  .carousel-arrow {
    display: flex;
  }
}

.carousel-arrow:hover {
  background-color: var(--secondary);
  border-color: var(--muted-foreground);
}

.carousel-arrow:focus {
  outline: none;
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--accent);
}

.carousel-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--foreground);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--border);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
  background-color: var(--muted-foreground);
}

.carousel-dot:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-dot.active {
  background-color: var(--accent);
  transform: scale(1.2);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .donia-skeleton {
    animation: none;
    background: var(--secondary);
  }

  .carousel-track {
    scroll-behavior: auto;
  }
}

/* ========================================
   Results Section
   ======================================== */
.results-section {
  padding: 5rem 1rem;
  background-color: var(--background);
}

.results-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.results-header {
  text-align: center;
  margin-bottom: 4rem;
}

.results-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .results-header h2 {
    font-size: 2.25rem;
  }
}

/* Highlighted Cards */
.results-highlighted {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .results-highlighted {
    grid-template-columns: 1fr 1fr;
  }
}

.result-card-highlighted {
  background-color: var(--accent-light);
  border: 1px solid hsla(280, 80%, 55%, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
}

.result-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-color: hsla(280, 80%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.result-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.result-card-metric {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.result-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.result-card-description {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .result-card-metric {
    font-size: 3rem;
  }
}

/* Regular Cards */
.results-regular {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .results-regular {
    grid-template-columns: repeat(3, 1fr);
  }
}

.result-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}

.result-card .result-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--secondary);
}

.result-card .result-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--foreground);
}

.result-card .result-card-metric {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.result-card .result-card-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.result-card .result-card-description {
  font-size: 0.875rem;
}

/* ========================================
   Impact Calculator
   ======================================== */
.impact-calculator {
  max-width: var(--max-width-content);
  margin: 0 auto 2rem;
}

.impact-question {
  text-align: center;
  margin-bottom: 1.5rem;
}

.impact-question p {
  font-size: 1.125rem;
  color: var(--foreground);
  font-weight: 500;
}

.impact-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .impact-controls {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.impact-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.impact-input-group input[type="number"] {
  width: 7rem;
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  background-color: white;
  color: var(--foreground);
  font-family: inherit;
}

.impact-input-group input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
}

.impact-input-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.impact-slider-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 20rem;
}

.slider-label-min,
.slider-label-max {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.impact-slider-group input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  cursor: pointer;
}

.impact-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px hsla(280, 80%, 55%, 0.3);
}

.impact-slider-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px hsla(280, 80%, 55%, 0.3);
}

/* Impact Header */
.impact-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.impact-header h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.assumptions-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background-color: var(--secondary);
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.assumptions-btn:hover {
  background-color: var(--border);
}

.assumptions-btn svg {
  flex-shrink: 0;
}

.assumptions-arrow {
  transition: transform 0.2s ease;
}

.assumptions-btn[aria-expanded="true"] .assumptions-arrow {
  transform: rotate(180deg);
}

/* Assumptions Tooltip */
.assumptions-tooltip {
  display: none;
  background-color: var(--secondary);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.assumptions-tooltip.open {
  display: block;
}

.assumptions-tooltip p {
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.assumptions-tooltip ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.assumptions-tooltip ul li {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  padding-left: 1rem;
  position: relative;
}

.assumptions-tooltip ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--muted-foreground);
}

/* Impact Cards */
.impact-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .impact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.impact-card {
  background: linear-gradient(135deg, hsl(250, 80%, 55%) 0%, hsl(280, 80%, 55%) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.impact-card-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.impact-card-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .impact-card-value {
    font-size: 2.5rem;
  }
}

.impact-card-unit {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.impact-card-footer {
  font-size: 0.8125rem;
  opacity: 0.8;
  min-height: 1.25rem;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  padding: 5rem 1rem;
  background-color: hsla(210, 40%, 96.1%, 0.3);
}

.faq-container {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .faq-header h2 {
    font-size: 2.25rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Details/Summary FAQ Styling */
.faq-item {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-item summary {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--foreground);
}

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

.faq-item summary::after {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta {
  padding: 5rem 1rem;
  background-color: var(--background);
}

.final-cta-container {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .final-cta h2 {
    font-size: 2.25rem;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 2rem 1rem;
  background-color: var(--foreground);
  color: white;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo span {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.footer-copyright {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
}
