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

:root {
  --green-dark:  #1a7a4a;
  --green-main:  #28a760;
  --green-mid:   #3ec97a;
  --green-light: #a8f0c6;
  --green-pale:  #e8faf0;
  --white:       #ffffff;
  --gray-100:    #f4f7f5;
  --gray-300:    #c8d8cf;
  --gray-600:    #5a7367;
  --gray-800:    #2c3e35;
  --gold:        #f5c842;
  --red-accent:  #e05a5a;
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --shadow-sm:   0 2px 12px rgba(40,167,96,.12);
  --shadow-md:   0 6px 28px rgba(40,167,96,.18);
  --shadow-lg:   0 12px 48px rgba(40,167,96,.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--gray-100);
  color: var(--gray-800);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 55%, var(--green-mid) 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 60px 80px;
  gap: 40px;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .10;
  background: var(--white);
}
.shape-1 { width: 380px; height: 380px; top: -120px; right: -80px; }
.shape-2 { width: 220px; height: 220px; bottom: -60px; left: 40px; }
.shape-3 { width: 140px; height: 140px; top: 80px; left: 200px; }

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 240px;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.35);
  margin-bottom: 18px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content h1 span {
  color: var(--green-light);
}

.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 340px;
  line-height: 1.6;
}

/* Photo */
.hero-photo-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.photo-ring {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  border: 5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.12);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 12px rgba(255,255,255,.08);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.photo-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--gold);
  color: #5a3d00;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 50px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(245,200,66,.4);
  animation: pulseBadge 2.4s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

/* ===== STATS ===== */
.stats-section {
  padding: 0 0 16px;
  margin-top: -44px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.stat-card.highlight {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: var(--white);
}

.stat-icon {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card.highlight .stat-value { color: var(--white); }
.stat-card.highlight .stat-label { color: rgba(255,255,255,.82); }

.lost-value { color: var(--red-accent) !important; }
.goal-value { color: var(--gold) !important; }

.stat-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
  padding: 56px 0 64px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--gray-600);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 36px;
}

.progress-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px 50px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-600);
  text-align: center;
}

.progress-labels strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-800);
}

/* Track */
.progress-track {
  position: relative;
  height: 28px;
  background: var(--green-pale);
  border-radius: 50px;
  overflow: visible;
  border: 2px solid var(--green-light);
  margin-bottom: 18px;
}

.progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-main), var(--green-mid));
  box-shadow: 0 2px 14px rgba(40,167,96,.4);
  transition: width 2s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}

.progress-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,.35) 80%, transparent 100%);
  animation: shimmer 2.2s linear infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 0%;
  transition: left 2s cubic-bezier(.22,1,.36,1);
  z-index: 5;
}

.thumb-label {
  display: block;
  background: var(--green-dark);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(26,122,74,.35);
  position: relative;
  top: -32px;
}

.thumb-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--green-dark);
}

.goal-flag {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  font-size: 1.5rem;
  z-index: 5;
}

/* Progress info row */
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  font-size: .9rem;
  font-weight: 700;
}

.progress-pct { color: var(--green-main); font-size: 1.05rem; }
.progress-pct span { font-size: 1.4rem; font-weight: 900; }
.progress-remain { color: var(--gray-600); }

/* Milestones */
.milestones {
  position: relative;
  height: 52px;
  margin-top: 6px;
}

.milestone {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.m-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 2px solid var(--white);
  box-shadow: 0 1px 5px rgba(0,0,0,.1);
  transition: all .5s ease;
}

.m-dot.active {
  background: var(--green-main);
  box-shadow: 0 0 0 4px rgba(40,167,96,.25);
  transform: scale(1.4);
}

.m-dot.goal {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,200,66,.3);
}

.milestone.done .m-dot:not(.active) {
  background: var(--green-light);
  border-color: var(--green-main);
}

.m-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-600);
  white-space: nowrap;
}

/* ===== MOTIVATION ===== */
.motivation-section {
  padding: 0 0 64px;
  background: transparent;
}

.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 18px;
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--green-light);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.quote-card.feature-quote {
  border-top-color: var(--green-main);
  background: linear-gradient(160deg, var(--green-pale), var(--white));
}

.quote-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.quote-icon.big { font-size: 2.4rem; }

.quote-card p {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.6;
  font-style: italic;
}

/* ===== TIMELINE ===== */
.timeline-section {
  padding: 0 0 64px;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(to bottom, var(--green-main), var(--green-light));
  border-radius: 3px;
}

.tl-item {
  position: relative;
  margin-bottom: 28px;
}

.tl-dot {
  position: absolute;
  left: -31px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-main);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-light);
}

.tl-dot.future {
  background: var(--gray-300);
  box-shadow: 0 0 0 3px rgba(200,216,207,.5);
}

.tl-item.current .tl-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,200,66,.3);
  animation: pulseTimeline 2s ease-in-out infinite;
}

@keyframes pulseTimeline {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,200,66,.3); }
  50%       { box-shadow: 0 0 0 8px rgba(245,200,66,.15); }
}

.tl-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-main);
}

.tl-card.future-card {
  border-left-color: var(--gray-300);
  opacity: .65;
}

.tl-date {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 4px;
}

.future-card .tl-date { color: var(--gray-600); }

.tl-weight {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-800);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tl-badge {
  font-size: .78rem;
  background: var(--green-main);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 800;
}

.tl-desc {
  font-size: .88rem;
  color: var(--gray-600);
  font-weight: 600;
}

/* ===== SUPPORT ===== */
.support-section {
  padding: 0 0 72px;
}

.support-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

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

.support-emoji {
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.support-card h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.support-card p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 24px;
  opacity: .92;
}

.support-hearts {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.6rem;
}

.support-hearts span {
  animation: heartPulse 1.4s ease-in-out infinite;
  color: #ff8fa3;
}

.support-hearts span:nth-child(2) { animation-delay: .25s; }
.support-hearts span:nth-child(3) { animation-delay: .5s; }

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.28); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.65);
  text-align: center;
  padding: 24px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 64px;
    text-align: center;
    min-height: auto;
  }

  .hero-sub { margin: 0 auto; }

  .photo-ring { width: 200px; height: 250px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .progress-card { padding: 28px 20px 36px; }

  .quotes-grid { grid-template-columns: 1fr; }

  .progress-labels .label-current { display: none; }

  .support-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-value { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .support-card h3 { font-size: 1.5rem; }
}
