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

:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;

  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}

.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-outline {
  background: transparent;
  border-color: var(--green-600);
  color: var(--green-600);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--gray-300, #d1d5db);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-white {
  background: var(--white);
  color: var(--green-700);
}

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: var(--green-100);
  color: var(--green-700);
}

.badge-blue {
  background: var(--blue-100);
  color: var(--blue-600);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--gray-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-heading {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-highlight {
  color: var(--green-600);
}

.hero-subheading {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero illustration cards */
.hero-image {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.hero-card-1 { margin-left: 0; }
.hero-card-2 { margin-left: 0; }
.hero-card-3 { margin-left: 0; }

.hero-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.hero-card .badge {
  margin-left: auto;
  flex-shrink: 0;
}

/* =============================================
   STATS BANNER
   ============================================= */
.stats-banner {
  background: var(--green-600);
  color: var(--white);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 56px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  background: var(--gray-50);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.8rem;
  color: var(--gray-300, #d1d5db);
  flex-shrink: 0;
}

/* =============================================
   WHO WE SERVE
   ============================================= */
.who-we-serve {
  background: var(--white);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.role-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.role-donor   { border-top: 4px solid var(--green-500); }
.role-recipient { border-top: 4px solid var(--blue-500); }
.role-volunteer { border-top: 4px solid #f59e0b; }

.role-icon {
  font-size: 2.4rem;
}

.role-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}

.role-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.role-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.role-features li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.role-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  color: var(--white);
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}

.cta-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-left: 6px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-400);
  max-width: 220px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* =============================================
   MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Navbar */
  .navbar-inner {
    gap: 0;
    padding: 0 16px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 16px 60px;
    gap: 40px;
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-image {
    padding: 0;
  }

  /* Stats */
  .stats-inner {
    flex-direction: column;
    gap: 24px;
    padding: 40px 16px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  /* Sections */
  .section-inner {
    padding: 60px 16px;
  }

  .section-heading {
    font-size: 1.7rem;
  }

  /* How it works */
  .steps-grid {
    flex-direction: column;
    gap: 24px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  /* Who we serve */
  .roles-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-inner {
    padding: 60px 16px;
  }

  .cta-inner h2 {
    font-size: 1.8rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    padding: 40px 16px 24px;
    gap: 24px;
  }

  .footer-links {
    gap: 24px;
  }
}
