/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Design System Variables */
:root {
  /* Color Palette */
  --color-primary: #b91c1c; /* Deep red accent */
  --color-secondary: #dc2626; /* Slightly brighter red */
  --color-background: #fefefe; /* Off-white */
  --color-surface: #ffffff; /* Pure white */
  --color-text-primary: #1f2937; /* Charcoal */
  --color-text-secondary: #6b7280; /* Gray */
  --color-text-muted: #9ca3af; /* Light gray */

  /* Spacing Scale */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 2vw, 1rem);
  --space-md: clamp(1rem, 3vw, 1.5rem);
  --space-lg: clamp(1.5rem, 4vw, 2rem);
  --space-xl: clamp(2rem, 6vw, 3rem);
  --space-2xl: clamp(3rem, 8vw, 4rem);
  --space-3xl: clamp(4rem, 10vw, 6rem);

  /* Typography Scale */
  --text-xs: clamp(0.75rem, 2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 2.5vw, 1rem);
  --text-base: clamp(1rem, 3vw, 1.125rem);
  --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 4vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 5vw, 2rem);
  --text-3xl: clamp(2rem, 6vw, 2.5rem);
  --text-4xl: clamp(2.5rem, 8vw, 3.5rem);
  --text-5xl: clamp(3.5rem, 10vw, 4.5rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Premium Dark Mode Colors */
  --color-primary-dark: #dc2626; /* Muted, warmer red */
  --color-secondary-dark: #ef4444; /* Slightly brighter red */
  --color-background-dark: #0f0f0f; /* Deep charcoal, not pure black */
  --color-surface-dark: #1a1a1a; /* Rich charcoal surface */
  --color-text-primary-dark: #f5f5f5; /* Soft white, not pure white */
  --color-text-secondary-dark: #d4d4d4; /* Warm gray text */
  --color-text-muted-dark: #a3a3a3; /* Muted warm gray */

  /* Legacy Variables (for compatibility) */
  --primary-red: var(--color-primary);
  --secondary-red: var(--color-secondary);
  --white: var(--color-surface);
  --light-gray: var(--color-background);
  --dark-gray: var(--color-text-primary);
  --shadow: var(--shadow-md);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
  --transition: var(--transition-normal);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-background);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 25%, rgba(185, 28, 28, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Minimal Luxury Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  height: 4rem;
}

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

.logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.025em;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.hamburger:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

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

/* Theme Toggle */
.theme-toggle {
  margin-left: var(--space-lg);
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  width: 50px;
  height: 26px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-slow);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theme-toggle-btn::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  transition: var(--transition-slow);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.theme-toggle-btn.dark::before {
  transform: translateX(22px);
  background: linear-gradient(135deg, #4a5568, #2d3748);
  box-shadow: 0 2px 8px rgba(74, 85, 104, 0.3);
}

.theme-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.theme-toggle-btn .sun-icon,
.theme-toggle-btn .moon-icon {
  width: 14px;
  height: 14px;
  position: absolute;
  transition: var(--transition-slow);
  opacity: 0;
}

.theme-toggle-btn .sun-icon {
  color: #ffd700;
  opacity: 1;
}

.theme-toggle-btn.dark .sun-icon {
  opacity: 0;
}

.theme-toggle-btn.dark .moon-icon {
  opacity: 1;
  color: #e2e8f0;
}

.theme-toggle-btn .moon-icon {
  opacity: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-text-primary);
  margin: 3px 0;
  transition: var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

.nav ul.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  animation: slideDown 0.3s ease-out;
}

.nav ul.active li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav ul.active li:last-child {
  border-bottom: none;
}

.nav ul.active a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--color-text-primary);
}

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

/* Premium Luxury Footer */
.footer {
  background: linear-gradient(135deg, var(--color-text-primary) 0%, #2d3748 50%, var(--color-text-primary) 100%);
  color: var(--color-surface);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), var(--color-primary), transparent);
  opacity: 0.6;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(185, 28, 28, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  margin-bottom: var(--space-lg);
  color: var(--color-surface);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.footer-cta .btn {
  background: var(--color-primary);
  color: var(--color-surface);
  border: 1px solid var(--color-primary);
  transition: var(--transition-normal);
}

.footer-cta .btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.emergency-info p {
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.emergency-link {
  color: var(--color-primary) !important;
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: var(--transition-fast);
}

.emergency-link:hover {
  color: var(--color-surface) !important;
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: var(--transition-normal);
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.footer-section a:hover {
  color: var(--color-surface);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.social-links a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-slow);
  color: rgba(255, 255, 255, 0.8);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links a:hover {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-surface);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.social-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.social-icon.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: white;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #e6683c;
  color: white;
}

.social-icon.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: white;
}

.newsletter p {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-surface);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-surface);
  font-size: var(--text-sm);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn-small {
  padding: var(--space-sm) var(--space-md);
  white-space: nowrap;
}

.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-surface);
}

/* Premium Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-surface);
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-slow);
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-normal);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(185, 28, 28, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  margin: 1rem 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Progress Line */
.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
  transform-origin: left;
  z-index: 1001;
}

/* Cinematic Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4) contrast(1.1) saturate(1.2);
}

.hero-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(185, 28, 28, 0.4) 0%,
    rgba(220, 38, 38, 0.3) 50%,
    rgba(185, 28, 28, 0.4) 100%);
  z-index: 1;
}

.hero-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(0, 0, 0, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
  z-index: 2;
}

.hero-mid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content-layer {
  position: relative;
  z-index: 2;
  color: var(--color-surface);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.blood-drop {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 20px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.heartbeat-line {
  position: absolute;
  bottom: 30%;
  left: 10%;
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  animation: heartbeat 2s infinite;
}

.hero-content h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 800px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 600px;
  line-height: 1.6;
  opacity: 0.9;
}

.hero .btn {
  animation: fadeInUp 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Problem Section */
.problem-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);
  text-align: center;
}

.problem-content {
  max-width: 800px;
  margin: 0 auto;
}

.problem-content h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.problem-content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

/* Matters Section */
.matters-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);
}

.section-title {
  text-align: center;
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-bottom: var(--space-3xl);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.matters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.matter-card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.matter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition-normal);
}

.matter-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.matter-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.matter-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.matter-card p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: var(--text-base);
}

/* Help Section */
.help-section {
  padding: 6rem 0;
  background: var(--light-gray);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 auto var(--space-xl);
  transition: var(--transition-normal);
}

.step h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.step p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: var(--text-base);
}

/* Emotional Break */
.emotional-break {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emotional-break::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.emotional-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.emotional-image {
  opacity: 0.8;
}

.break-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.emotional-break blockquote {
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  font-weight: 300;
}

/* Impact Section */
.impact-section {
  padding: 6rem 0;
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.impact-item h3 {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.impact-item p {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.impact-item small {
  color: #666;
}

/* Preview Section */
.preview-section {
  padding: var(--space-3xl) 0;
  background: var(--color-background);
}

.preview-showcase {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.preview-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  object-fit: cover;
}

.preview-ui {
  max-width: 900px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  justify-content: center;
  flex-wrap: wrap;
}

.filter-bar select,
.filter-bar input,
.filter-bar button {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-family: inherit;
  font-size: var(--text-sm);
  transition: var(--transition-normal);
}

.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.filter-bar button {
  background: var(--color-primary);
  color: var(--color-surface);
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.filter-bar button:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
}

.donor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.donor-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-slow);
  cursor: pointer;
}

.donor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.donor-card h4 {
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  font-size: var(--text-lg);
  font-weight: 600;
}

.donor-card p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.donor-card .btn {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
}

/* Trust Section */
.trust-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-background) 0%, rgba(185, 28, 28, 0.02) 50%, var(--color-background) 100%);
  position: relative;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(185, 28, 28, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(185, 28, 28, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.trust-item {
  text-align: center;
  background: var(--color-surface);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.check-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-md);
}

.trust-item h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.trust-item p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: var(--text-base);
}

/* Final CTA */
.final-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.cta-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.9;
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
  font-weight: 600;
  background: var(--color-surface);
  color: var(--color-primary);
  border: 2px solid var(--color-surface);
  transition: var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.btn-large:hover {
  background: transparent;
  color: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--white);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 500;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

th {
  background: var(--glass-bg);
  font-weight: 600;
}

.btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 1000;
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: 6px;
}

/* Comprehensive Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .matters-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
  }

  .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 0.75rem 1rem;
    height: auto;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .header-actions {
    order: 3;
  }

  .nav {
    order: 2;
  }

  .hamburger {
    order: 4;
    display: flex;
  }

  /* Navigation */
  .nav ul {
    display: none;
  }

  .nav ul.active {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav ul.active li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav ul.active li:last-child {
    border-bottom: none;
  }

  .nav ul.active a {
    display: block;
    padding: 1rem 2rem;
    color: var(--color-text-primary);
  }

  .nav ul.active a:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: none;
  }

  .nav ul.active a::after {
    display: none;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
  }

  .hero-content p {
    font-size: var(--text-base);
    margin-bottom: var(--space-2xl);
  }

  .hero .btn {
    display: block;
    width: 100%;
    margin-bottom: var(--space-md);
    text-align: center;
  }

  /* Section Spacing */
  .problem-section,
  .matters-section,
  .help-section,
  .emotional-break,
  .impact-section,
  .preview-section,
  .trust-section,
  .final-cta {
    padding: var(--space-2xl) 0;
  }

  /* Cards and Grids */
  .matters-grid,
  .impact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .matter-card,
  .trust-item {
    padding: var(--space-lg);
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .step {
    text-align: center;
  }

  .filter-bar {
    flex-direction: column;
    gap: var(--space-md);
  }

  .filter-bar select,
  .filter-bar input,
  .filter-bar button {
    width: 100%;
  }

  .donor-cards {
    grid-template-columns: 1fr;
  }

  .preview-image {
    max-height: 250px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-section {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .btn-small {
    width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Tables */
  table {
    font-size: var(--text-sm);
  }

  th, td {
    padding: var(--space-sm);
  }

  /* Emotional Break */
  .emotional-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .emotional-break blockquote {
    font-size: var(--text-xl);
    order: -1;
  }

  .break-image {
    height: 150px;
  }

  /* Final CTA */
  .cta-content h2 {
    font-size: var(--text-2xl);
  }

  .btn-large {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  /* Hero */
  .hero-content h1 {
    font-size: var(--text-2xl);
  }

  .hero-content p {
    font-size: var(--text-sm);
  }

  /* Cards */
  .matter-card,
  .trust-item {
    padding: var(--space-md);
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: var(--text-2xl);
  }

  /* Impact Items */
  .impact-item h3 {
    font-size: var(--text-2xl);
  }

  /* Footer */
  .footer-section h3 {
    font-size: var(--text-base);
  }

  .footer-section p {
    font-size: var(--text-sm);
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .matter-card:hover,
  .trust-item:hover,
  .donor-card:hover {
    transform: none;
  }

  .btn:hover,
  .btn-large:hover {
    transform: none;
  }
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loading-content {
  text-align: center;
  color: var(--color-text-primary);
}

.loading-content p {
  margin-top: var(--space-md);
  font-size: var(--text-base);
  font-weight: 500;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--color-background);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .parallax {
    transform: none !important;
  }
}

/* Dark Mode Styles */
body.dark {
  --color-primary: var(--color-primary-dark);
  --color-secondary: var(--color-secondary-dark);
  --color-background: var(--color-background-dark);
  --color-surface: var(--color-surface-dark);
  --color-text-primary: var(--color-text-primary-dark);
  --color-text-secondary: var(--color-text-secondary-dark);
  --color-text-muted: var(--color-text-muted-dark);
}

body.dark::before {
  background:
    radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(239, 68, 68, 0.01) 0%, transparent 50%);
}

body.dark .hero-video {
  filter: brightness(0.25) contrast(1.1) saturate(0.8) sepia(0.1);
}

body.dark .hero-overlay {
  background: rgba(15, 15, 15, 0.6);
}

body.dark .hero-video::before {
  background: linear-gradient(135deg,
    rgba(220, 38, 38, 0.3) 0%,
    rgba(239, 68, 68, 0.2) 50%,
    rgba(220, 38, 38, 0.3) 100%);
}

body.dark .hero-video::after {
  background: radial-gradient(circle at 30% 70%, rgba(15, 15, 15, 0.7) 0%, transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(15, 15, 15, 0.5) 0%, transparent 60%);
}

body.dark .matter-card {
  background: var(--color-surface);
  border: 1px solid rgba(245, 245, 245, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

body.dark .matter-card:hover {
  background: rgba(26, 26, 26, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(245, 245, 245, 0.12);
}

body.dark .trust-section {
  background: linear-gradient(135deg, var(--color-background) 0%, rgba(220, 38, 38, 0.01) 50%, var(--color-background) 100%);
}

body.dark .trust-item {
  background: var(--color-surface);
  border: 1px solid rgba(245, 245, 245, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

body.dark .trust-item:hover {
  background: rgba(26, 26, 26, 0.9);
  border-color: rgba(245, 245, 245, 0.1);
}

body.dark .preview-section {
  background: var(--color-background);
}

body.dark .preview-ui {
  background: var(--color-surface);
  border: 1px solid rgba(245, 245, 245, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

body.dark .filter-bar select,
body.dark .filter-bar input,
body.dark .filter-bar button {
  background: rgba(245, 245, 245, 0.03);
  border: 1px solid rgba(245, 245, 245, 0.1);
  color: var(--color-text-primary);
}

body.dark .filter-bar select:focus,
body.dark .filter-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

body.dark .donor-card {
  background: var(--color-surface);
  border: 1px solid rgba(245, 245, 245, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

body.dark .donor-card:hover {
  background: rgba(26, 26, 26, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(245, 245, 245, 0.1);
}

body.dark .final-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

body.dark .final-cta::before {
  background: rgba(0, 0, 0, 0.2);
}

body.dark .footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

body.dark .footer-section a {
  color: rgba(241, 245, 249, 0.7);
}

body.dark .footer-section a:hover {
  color: var(--color-surface);
}

body.dark .social-links a {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .social-links a:hover {
  background: var(--color-surface);
  color: var(--color-text-primary);
}

body.dark .theme-toggle-btn {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .hamburger span {
  background: var(--color-text-primary);
}

/* Print Styles */
@media print {
  .hero,
  .floating-elements,
  .progress-line,
  .footer-cta,
  .social-links,
  .newsletter {
    display: none !important;
  }

  .footer {
    background: white !important;
    color: black !important;
  }

  .footer-section a {
    color: black !important;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-bg::before {
    background-size: cover;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}