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

:root {
  --primary: #E8845A;
  --primary-dark: #C96840;
  --primary-light: #FDF0DF;
  --text: #1A1008;
  --text-secondary: #6B4E3D;
  --border: #EDD9C8;
  --surface: #FFFAF5;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* UTILS */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  border: none;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.nav-logo { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--primary); }
.nav .btn-sm { background: var(--primary); color: var(--white); white-space: nowrap; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #FDF0DF 0%, #F5C4A8 55%, #E8845A 100%);
  padding: 80px 24px 100px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #2B1A0A;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: #4B3421;
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: #7A5A48; }

/* PHONE MOCKUP */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 280px;
  background: #1A1008;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(42,26,8,0.35), 0 0 0 1px rgba(255,255,255,0.1);
}
.phone-screen {
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
  padding: 20px 16px 16px;
  min-height: 480px;
}

/* App header row */
.mock-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.mock-header-left { display: flex; flex-direction: column; }
.mock-caption { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.mock-name { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.mock-age { font-size: 12px; color: #888; margin-top: 2px; }
.mock-streak-pill {
  background: #FDF0DF;
  color: #1A1008;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Photo */
.mock-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #eee;
}
.mock-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

/* Actions row */
.mock-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.mock-timeline-link { font-size: 12px; font-weight: 600; color: #E8845A; }
.mock-share-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid #EDD9C8;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #555;
}

/* Milestone card */
.mock-milestone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-light);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 4px;
}
.mock-emoji { font-size: 20px; }
.mock-ms-name { font-size: 11px; font-weight: 700; }
.mock-ms-desc { font-size: 10px; color: #888; margin-top: 1px; }

/* FEATURES */
.features {
  padding: 100px 24px;
  background: var(--surface);
}
.features h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* PRICING */
.pricing {
  padding: 100px 24px;
  background: var(--surface);
}
.pricing h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 48px;
}
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
}
.toggle-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: font-weight 0.2s;
}
.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s;
}
.toggle-switch input:checked + .toggle-track { background: var(--primary); }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-track .toggle-thumb { transform: translateX(24px); }
.savings-badge {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  background: linear-gradient(135deg, #FDF0DF 0%, #F5C4A8 100%);
  border: 2px solid var(--primary);
  transform: scale(1.05);
}
.badge-pro {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 8px;
}
.price {
  margin-bottom: 24px;
}
.amount {
  font-size: 36px;
  font-weight: 800;
  display: block;
}
.period {
  font-size: 14px;
  color: var(--text-secondary);
}
.annual-price {
  text-align: center;
}
.savings {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.features-list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.features-list li:last-child { border-bottom: none; }
.features-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.features-list-heading {
  font-weight: 700 !important;
  color: var(--text) !important;
}
.features-list-heading::before { content: '' !important; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

/* HOW IT WORKS */
.how {
  padding: 100px 24px;
  background: var(--white);
}
.how h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 56px;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-secondary); }
.step-arrow { font-size: 24px; color: var(--border); flex-shrink: 0; }

/* FINAL CTA */
.final-cta {
  background: linear-gradient(135deg, #FDF0DF 0%, #F5C4A8 100%);
  padding: 100px 24px;
  text-align: center;
}
.paw-large { font-size: 56px; margin-bottom: 24px; }
.final-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #2B1A0A;
  margin-bottom: 12px;
}
.final-cta p { font-size: 18px; color: #4B3421; margin-bottom: 36px; }
.final-cta .hero-cta { justify-content: center; }

/* FOOTER */
.footer {
  background: var(--text);
  padding: 32px 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .nav-logo { color: var(--white); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* HAMBURGER */
.nav-right { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.97);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; text-align: center; }
}
