/* ==========================================================================
   MealBridge - Polished Landing & Home View Styles
   Visual preview of actual product, 3-step pipeline, demo impact metrics
   ========================================================================== */

.landing-page {
  width: 100%;
  padding-bottom: 70px;
}

/* Full-width container override for Home Page */
.landing-page .container {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(20px, 3vw, 48px) !important;
  padding-right: clamp(20px, 3vw, 48px) !important;
  box-sizing: border-box;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: clamp(52px, 6vw, 84px) 0 clamp(60px, 6.5vw, 92px);
  background: 
    radial-gradient(ellipse 70% 65% at 50% -10%, rgba(5, 150, 105, 0.14) 0%, rgba(5, 150, 105, 0.02) 55%, transparent 80%),
    radial-gradient(circle 600px at 12% 35%, rgba(16, 185, 129, 0.09) 0%, transparent 60%);
  width: 100%;
  overflow: hidden;
}

/* Animated Ambient Logistics Radar Rings in Hero Background */
.hero-section::before {
  content: '';
  position: absolute;
  top: 48%;
  right: 18%;
  transform: translate(50%, -50%);
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, rgba(14, 165, 233, 0.02) 40%, transparent 65%);
  border: 1px dashed rgba(5, 150, 105, 0.22);
  pointer-events: none;
  z-index: 0;
  animation: heroRadarSpin 35s linear infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 48%;
  right: 18%;
  transform: translate(50%, -50%);
  width: 540px;
  height: 540px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.16);
  pointer-events: none;
  z-index: 0;
}

@keyframes heroRadarSpin {
  0% { transform: translate(50%, -50%) rotate(0deg); }
  100% { transform: translate(50%, -50%) rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border: 1px solid var(--primary-green-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-charcoal-dark);
  line-height: 1.08;
  margin-bottom: 22px;
  max-width: 840px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-charcoal);
  line-height: 1.62;
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

/* Visual Product Preview Card (Actual Product Look) */
.hero-card-col {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.live-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.live-card-wrapper::before {
  content: '';
  position: absolute;
  inset: -14px;
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.22) 0%, rgba(37, 99, 235, 0.10) 45%, transparent 72%);
  border-radius: 36px;
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.live-card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--text-charcoal-dark);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: -14px;
  margin-left: 20px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.live-donation-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: clamp(24px, 2.2vw, 32px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.live-donation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.live-card-photo-header {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
}

.live-card-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.live-donation-card:hover .live-card-hero-img {
  transform: scale(1.04);
}

.live-card-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
}

.live-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(5, 150, 105, 0.9);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.live-photo-venue {
  color: #E2E8F0;
  font-size: 0.75rem;
}

.preview-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.preview-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.preview-meals-hero {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-charcoal-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.preview-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.preview-deadline-box {
  background-color: var(--urgency-amber-light);
  border: 1px solid var(--urgency-amber-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deadline-k {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: #92400E;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.deadline-v {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--urgency-amber);
}

.recipient-preview-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--accent-blue-light);
  border: 1px solid var(--accent-blue-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.recipient-avatar-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.recipient-info-col {
  display: flex;
  flex-direction: column;
}

.rec-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rec-name {
  font-size: 1rem;
  font-weight: 800;
  color: #1E3A8A;
}

.rec-dist {
  font-size: 0.8rem;
  color: #3B82F6;
  font-weight: 600;
}

/* 3-Step Simple Explanation */
.steps-section {
  position: relative;
  padding: clamp(72px, 8vw, 104px) 0;
  width: 100%;
  background: transparent;
  border-top: 1px dashed rgba(203, 213, 225, 0.85);
  border-bottom: 1px dashed rgba(203, 213, 225, 0.85);
}

.section-headline {
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  color: var(--text-charcoal-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtext {
  font-size: 1.12rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
  line-height: 1.6;
}

.three-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 36px);
  width: 100%;
}

.step-card-clean {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px -6px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-card-clean:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -10px rgba(5, 150, 105, 0.14), 0 0 0 1.5px var(--primary-green-border);
  border-color: var(--primary-green-border);
}

.step-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.step-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.step-card-clean:hover .step-card-img {
  transform: scale(1.05);
}

.step-number-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  background-color: var(--primary-green);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.45);
}

.step-card-body {
  padding: 26px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-title-clean {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-charcoal-dark);
  margin-bottom: 10px;
}

.step-desc-clean {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Impact Statistics (Clearly Labeled Demo Data) */
.demo-impact-section {
  padding: 30px 0 clamp(60px, 7vw, 90px);
  width: 100%;
}

.demo-impact-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 3.5vw, 54px) clamp(32px, 3.8vw, 60px);
  box-shadow: 0 24px 56px -12px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(255, 255, 255, 0.85);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.demo-impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at top right, rgba(5, 150, 105, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.demo-impact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.demo-data-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.2vw, 56px);
  width: 100%;
}

.stat-item-clean {
  display: flex;
  flex-direction: column;
}

.stat-val-giant {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  font-weight: 800;
  color: var(--text-charcoal-dark);
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-title-clean {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 6px;
}

.stat-sub-clean {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Concise Trust & Food-Safety Notice */
.safety-statement-card {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  padding: 24px clamp(24px, 2.5vw, 40px);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 50px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
}

.safety-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #FFFFFF;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .three-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .demo-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
