/* ========================================
   Loop Donations - Stylesheet
   Mobile-first, light theme with playful energy
   ======================================== */

/* CSS Custom Properties */
:root {
  --red: #E83A3A;
  --red-dark: #C02020;
  --red-glow: #FF5252;
  --red-light: #FFF0F0;
  --yellow: #F5C518;
  --yellow-light: #FFF9E0;
  --pink: #FF9AF5;
  --green: #22B255;
  --green-light: #EEFBF2;
  --dark: #1B1A1B;
  --body-bg: #FFFFFF;
  --section-alt: #F7F7F8;
  --card-bg: #FFFFFF;
  --card-border: #E8E8EC;
  --text-primary: #1B1A1B;
  --text-secondary: #555560;
  --text-muted: #8C8C96;
  --border-light: #EDEDF0;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --shadow-text: 3px 3px 0px rgba(0,0,0,0.1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--body-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3.2rem, 8vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.7rem, 6vw, 3.2rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}

p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 800px;
}

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

.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-pink { color: var(--pink); }
.text-green { color: var(--green); }

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 35%;
  background: var(--red);
  opacity: 0.15;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-3deg);
}

.highlight-green::after {
  background: var(--green);
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.badge-red {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(232, 58, 58, 0.2);
}

.badge-yellow {
  background: var(--yellow-light);
  color: #B8900E;
  border: 1px solid rgba(245, 197, 24, 0.3);
}

.badge-green {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(34, 178, 85, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--red);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(232, 58, 58, 0.3);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 58, 58, 0.4);
}

.btn-dark {
  background: var(--dark);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--card-border);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: var(--section-alt);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: var(--dark);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,255,255,0.3);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 0.95rem;
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1001;
}

.nav-logo-img {
  height: 52px;
  width: auto;
}

.footer-logo-img {
  height: 36px;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #FFFFFF;
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.nav-cta {
  display: none;
}

.nav-cta-always {
  display: inline-flex;
  background: none;
  color: var(--text-primary);
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .nav-cta-always {
    background: var(--dark);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-cta-always:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span {
  background: var(--text-primary);
}

.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);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--red);
}

/* Desktop Nav */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #C4DEFA 0%, #FFFFFF 60%);
}

/* Hero background elements */
.hero-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-cloud {
  position: absolute;
}

.cloud-1 {
  width: 180px;
  top: 8%;
  left: 5%;
  animation: cloudDrift 25s ease-in-out infinite;
}

.cloud-2 {
  width: 150px;
  top: 15%;
  right: 8%;
  animation: cloudDrift 30s ease-in-out infinite reverse;
}

.cloud-3 {
  width: 120px;
  top: 5%;
  right: 30%;
  animation: cloudDrift 20s ease-in-out infinite 5s;
}

.cloud-4 {
  width: 140px;
  top: 22%;
  left: 25%;
  animation: cloudDrift 28s ease-in-out infinite 3s reverse;
}

.hero-rainbow {
  position: absolute;
  width: 750px;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
}

.hero-grass {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .cloud-1 {
    width: 120px;
    top: 4%;
    left: 2%;
  }

  .cloud-2 {
    width: 100px;
    top: 8%;
    right: 2%;
  }

  .cloud-3 {
    width: 80px;
    top: 2%;
    right: 20%;
  }

  .cloud-4 {
    width: 90px;
    top: 14%;
    left: 15%;
  }

  .hero-rainbow {
    width: 500px;
    bottom: 12%;
  }

  .hero-grass {
    display: none;
  }
}

/* Desktop adjustments */
@media (min-width: 1200px) {
  .cloud-1 {
    width: 220px;
    top: 10%;
    left: 8%;
  }

  .cloud-2 {
    width: 190px;
    top: 12%;
    right: 10%;
  }

  .cloud-3 {
    width: 150px;
    top: 5%;
  }

  .cloud-4 {
    width: 170px;
    top: 18%;
  }

  .hero-rainbow {
    width: 900px;
    bottom: 5%;
  }

  .hero-grass {
    height: 100px;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  text-shadow: 4px 4px 0px rgba(0,0,0,0.12), 8px 8px 0px rgba(0,0,0,0.04);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
  color: var(--text-primary);
}

.hero h1 .text-rotate {
  color: var(--red);
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-mini {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-bag-visual {
  margin-top: 48px;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.hero-van-img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  animation: driveIn 1.5s ease-out 0.3s both;
}

@media (min-width: 768px) {
  .hero-van-img {
    width: 560px;
  }
}

@keyframes driveIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.bag-placeholder {
  width: 200px;
  height: 260px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  border-radius: 20px 20px 30px 30px;
  position: relative;
  box-shadow: 0 20px 60px rgba(232, 58, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

.bag-placeholder::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 30%;
  right: 30%;
  height: 24px;
  border: 4px solid var(--red-dark);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.bag-placeholder .bag-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

/* ========================================
   MARQUEE / TICKER
   ======================================== */
.marquee {
  background: #F9F088;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-primary);
  display: flex;
}

.marquee-inner {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
  padding-right: 48px;
  animation: marquee 15s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 50%;
  opacity: 0.6;
}

/* ========================================
   HAPPY LIVES GALLERY
   ======================================== */
.gallery-section {
  padding: 60px 0;
  background: var(--section-alt);
}

.gallery-title {
  text-align: center;
  margin-bottom: 32px;
}

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

.gallery-placeholder {
  aspect-ratio: 1;
  background: var(--card-border);
  border-radius: var(--radius-sm);
}

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

/* ========================================
   HONEST TRUTH / STATS SECTION
   ======================================== */
.stats-section {
  padding: 80px 0;
  background: var(--body-bg);
}

.stats-header {
  text-align: center;
  margin-bottom: 48px;
}

.stats-header h2 {
  margin-bottom: 12px;
}

.stats-header p {
  max-width: 600px;
  margin: 0 auto;
}

.stats-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  text-align: center;
}

.stats-divider-desc {
  margin-top: 12px;
  max-width: 500px;
}

.stats-hr {
  width: 120px;
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 0 0 32px;
}

.stats-divider-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0;
}

.stats-arrow {
  width: 48px;
  height: auto;
  margin-top: -4px;
}

.stats-divider-text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--green);
  padding: 10px 32px;
  border-radius: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 58, 58, 0.2);
  box-shadow: var(--shadow-card-hover);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

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

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  padding: 80px 0;
  background: var(--section-alt);
}

.how-header {
  text-align: center;
  margin-bottom: 56px;
}

.how-header h2 {
  margin-bottom: 12px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

.step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

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

.step-number {
  width: 56px;
  height: 56px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(232, 58, 58, 0.25);
}

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

.step h3 {
  margin-bottom: 10px;
}

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

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

/* ========================================
   PRICING
   ======================================== */
.pricing {
  padding: 80px 0;
  background: var(--body-bg);
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-header h2 {
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px 36px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: visible;
}

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

.price-card.featured {
  border-color: var(--red);
  border-width: 2px;
  background: var(--card-bg);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 32px;
  text-align: center;
  border-radius: 50px;
  white-space: nowrap;
}

.price-card-bags {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}

.price-bag-img {
  height: 140px;
  width: auto;
  border-radius: 10px;
}

.price-card-bag {
  width: 64px;
  height: 80px;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  border-radius: 10px 10px 14px 14px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(232, 58, 58, 0.2);
}

.price-card-bag::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 25%;
  right: 25%;
  height: 12px;
  border: 3px solid var(--red-dark);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.price-card-bag span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.price-tier-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0;
}

.price-amount {
  text-align: left;
  margin-bottom: 10px;
}

.price-amount .dollar {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-amount .per {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-savings {
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.price-features {
  margin-bottom: 20px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.price-features .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  .price-card.featured {
    transform: scale(1.03);
  }

  .price-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

/* ========================================
   IMPACT SECTION
   ======================================== */
.impact {
  padding: 80px 0;
  background: var(--section-alt);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(34, 178, 85, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.impact-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.impact h2 {
  margin-bottom: 16px;
}

.impact-subtitle {
  max-width: 600px;
  margin: 0 auto 48px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.impact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

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

.impact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.impact-card h3 {
  margin-bottom: 8px;
}

.impact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 80px 0;
  background: var(--body-bg);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(232,58,58,0.2);
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 80px 0;
  background: var(--section-alt);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: rgba(232,58,58,0.3);
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: color var(--transition);
}

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

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta-banner h2 {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: #FFFFFF;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 60px 0 24px;
  background: var(--dark);
  color: #FFFFFF;
}

.footer h4, .footer a, .footer p {
  color: rgba(255,255,255,0.6);
}

.footer .nav-logo {
  color: #FFFFFF;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========================================
   MEDIA LOGOS
   ======================================== */
.media-section {
  padding: 60px 0;
  background: var(--body-bg);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.media-section p {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.media-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 40px;
}

.media-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(0,0,0,0.15);
  transition: color var(--transition);
}

.media-logo:hover {
  color: rgba(0,0,0,0.35);
}

/* ========================================
   INTERNAL PAGES
   ======================================== */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--body-bg);
  position: relative;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.page-content {
  padding: 60px 0;
}

.content-block {
  margin-bottom: 48px;
}

.content-block h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.content-block p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Steps detail (how-it-works page) */
.step-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}

.step-detail:last-child {
  border-bottom: none;
}

.step-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-visual-box {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4/3;
  background: var(--section-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

@media (min-width: 768px) {
  .step-detail {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .step-detail:nth-child(even) .step-detail-content {
    order: 2;
  }

  .step-detail:nth-child(even) .step-detail-visual {
    order: 1;
  }
}

/* About page values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

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

.value-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--pink));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   MISC
   ======================================== */
::selection {
  background: var(--red);
  color: #FFFFFF;
}

/* Smooth anchor offset for fixed nav */
:target {
  scroll-margin-top: 80px;
}
