:root {
  --bg: #FFF8F0;
  --bg-alt: #FFF1E0;
  --fg: #2D1B0E;
  --fg-muted: #6B5744;
  --accent: #FF6B35;
  --accent-light: #FF8F5E;
  --accent-dark: #E05520;
  --green: #2ECC71;
  --green-light: #D5F5E3;
  --blue: #3498DB;
  --blue-light: #D6EAF8;
  --red: #E74C3C;
  --red-light: #FDEDEC;
  --yellow: #F39C12;
  --yellow-light: #FEF5E7;
  --purple: #9B59B6;
  --card-bg: #FFFFFF;
  --card-shadow: 0 4px 24px rgba(45, 27, 14, 0.08);
  --card-shadow-hover: 0 8px 40px rgba(45, 27, 14, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Gabarito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 80px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 85vh;
}

.hero-bg-shapes .paw {
  position: absolute;
  font-size: 40px;
  opacity: 0.06;
  animation: float 6s ease-in-out infinite;
}
.paw-1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 50px; }
.paw-2 { top: 30%; right: 8%; animation-delay: 1s; font-size: 35px; }
.paw-3 { bottom: 20%; left: 15%; animation-delay: 2s; font-size: 45px; }
.paw-4 { top: 60%; right: 20%; animation-delay: 3s; font-size: 30px; }
.paw-5 { bottom: 10%; right: 10%; animation-delay: 4s; font-size: 55px; }
.paw-6 { top: 15%; left: 40%; animation-delay: 5s; font-size: 28px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--fg);
}

.highlight {
  color: var(--red);
  position: relative;
}

.highlight-alt {
  color: var(--green);
  position: relative;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-weight: 600;
}

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

/* Dog Card Illustration */
.hero-illustration {
  flex-shrink: 0;
}

.dog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 28px;
  width: 300px;
  text-align: center;
  position: relative;
  border: 2px solid var(--red-light);
  animation: cardPulse 3s ease-in-out infinite;
}

@keyframes cardPulse {
  0%, 100% { transform: translateY(0); box-shadow: var(--card-shadow); }
  50% { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
}

.dog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dog-card-status {
  background: var(--red-light);
  color: var(--red);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.dog-card-time {
  font-size: 13px;
  color: var(--fg-muted);
}

.dog-card-avatar {
  font-size: 64px;
  margin: 8px 0;
}

.dog-card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.dog-card-breed {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.dog-card-location,
.dog-card-reward,
.dog-card-searchers {
  font-size: 0.9rem;
  padding: 6px 0;
  border-top: 1px solid #f0e8df;
}

.dog-card-reward {
  font-weight: 700;
  color: var(--accent);
}

.dog-card-searchers {
  color: var(--green);
  font-weight: 700;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  background: var(--card-bg);
  padding: 80px 40px;
  text-align: center;
}

.how-it-works h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.section-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  max-width: 280px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
}

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

.step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.step-arrow {
  font-size: 1.6rem;
  color: var(--accent);
  padding-top: 60px;
  font-weight: 800;
}

/* ========== FEATURES ========== */
.features {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* Map Mock */
.map-mock {
  position: relative;
  width: 140px;
  height: 140px;
  background: var(--blue-light);
  border-radius: 50%;
}

.map-radius {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 3px dashed var(--blue);
  border-radius: 50%;
  opacity: 0.5;
  animation: radarPulse 2.5s ease-out infinite;
}

@keyframes radarPulse {
  0% { width: 60px; height: 60px; opacity: 0.6; }
  100% { width: 130px; height: 130px; opacity: 0; }
}

.map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid white;
}

.dot-1 { top: 25%; left: 30%; }
.dot-2 { top: 60%; right: 25%; }
.dot-3 { bottom: 20%; left: 45%; }

/* AI Mock */
.ai-mock {
  position: relative;
  width: 140px;
  height: 140px;
}

.ai-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--purple);
}

.ring-1 { width: 50px; height: 50px; opacity: 0.7; animation: ringPulse 3s ease-in-out infinite; }
.ring-2 { width: 85px; height: 85px; opacity: 0.4; animation: ringPulse 3s ease-in-out infinite 0.5s; }
.ring-3 { width: 120px; height: 120px; opacity: 0.2; animation: ringPulse 3s ease-in-out infinite 1s; }

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.ai-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

/* Alert Mock */
.alert-mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 200px;
}

.notif {
  background: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  animation: slideIn 0.5s ease-out backwards;
}

.notif-1 { animation-delay: 0.2s; border-left: 3px solid var(--green); }
.notif-2 { animation-delay: 0.5s; border-left: 3px solid var(--blue); }
.notif-3 { animation-delay: 0.8s; border-left: 3px solid var(--accent); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Geo Mock */
.geo-mock {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-pin {
  font-size: 2.4rem;
  position: relative;
  z-index: 2;
}

.geo-radius-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0) 70%);
  border: 2px dashed var(--accent-light);
}

.geo-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--card-bg);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ========== REWARDS ========== */
.rewards {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 80px 40px;
  color: white;
}

.rewards-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.rewards-text {
  flex: 1;
}

.rewards-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.rewards-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.rewards-text p:last-child {
  opacity: 0.85;
  font-size: 0.95rem;
}

.rewards-tiers {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.tier {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  min-width: 90px;
  transition: transform 0.2s;
}

.tier:hover {
  transform: scale(1.05);
}

.tier-popular {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
  position: relative;
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--fg);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.tier-label {
  font-size: 0.78rem;
  opacity: 0.8;
  font-weight: 600;
}

/* ========== CLOSING ========== */
.closing {
  padding: 100px 40px;
  text-align: center;
  background: var(--bg);
}

.closing-content {
  max-width: 650px;
  margin: 0 auto;
}

.closing-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--fg);
}

.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--fg);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-meta {
  text-align: right;
  font-size: 0.85rem;
}

.footer-copy {
  margin-top: 4px;
  opacity: 0.5;
}

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

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    align-items: center;
  }

  .dog-card {
    width: 260px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

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

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

  .rewards-content {
    flex-direction: column;
    text-align: center;
  }

  .rewards-tiers {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

  .how-it-works,
  .features,
  .rewards,
  .closing {
    padding: 60px 24px;
  }
}