/* ═══════════════════════════════════════
   PETCARE LANDING PAGE — STYLES
   Palette: #FAFAFA bg | #F5F0EB cards | #22C55E accent | #111827 headings
   Font: Inter (Google Fonts)
═══════════════════════════════════════ */

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

:root {
  --bg:           #FAFAFA;
  --card:         #F5F0EB;
  --card-dark:    #EDE8E1;
  --accent:       #22C55E;
  --accent-dark:  #16A34A;
  --text-primary: #111827;
  --text-body:    #374151;
  --text-muted:   #6B7280;
  --white:        #FFFFFF;
  --border:       #E5E7EB;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.6;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(34,197,94,0.35);
}
.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 24px rgba(34,197,94,0.45);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--large {
  font-size: 17px;
  padding: 16px 36px;
  min-height: 56px;
}

.btn--full { width: 100%; }

/* ── Trust ────────────────────────────── */
.trust-icon { margin-right: 4px; }

/* ── Header ───────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}
.logo-icon { font-size: 22px; }

/* ── HERO ─────────────────────────────── */
.hero {
  padding: 52px 0 48px;
  overflow: hidden;
}

/* Prevent sticky header from covering section tops on anchor scroll */
section {
  scroll-margin-top: 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero__h1 {
  font-size: clamp(32px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__h1-accent {
  color: var(--text-primary);
  position: relative;
}
.hero__h1-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.6;
}

.hero__h2 {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__cta-group { display: flex; flex-direction: column; gap: 12px; }

.hero__cta-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.hero__trust {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Phone Mockup */
.hero__mockup {
  display: flex;
  justify-content: center;
}

.phone {
  width: 220px;
  background: var(--text-primary);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
}

.phone__screen {
  background: #F9FAFB;
  border-radius: 26px;
  overflow: hidden;
}

.phone__app {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone__app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.phone__app-pet {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.phone__app-status {
  font-size: 12px;
  background: #DCFCE7;
  color: #15803D;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.phone__app-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.phone__app-card--urgent {
  border-color: var(--accent);
  background: #F0FDF4;
}

.phone__app-card--done {
  opacity: 0.55;
}

.phone__app-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.phone__app-card--urgent .phone__app-card-label {
  color: var(--accent-dark);
}

.phone__app-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.phone__app-card-days {
  font-size: 13px;
  color: var(--text-muted);
}
.phone__app-card--urgent .phone__app-card-days strong { color: var(--accent-dark); }

/* ── PROBLEM ──────────────────────────── */
.problem {
  padding: 80px 0;
  background: var(--card);
}

.problem__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.problem__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.problem__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.problem__card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.problem__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.problem__card-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

.problem__footer {
  text-align: center;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── SOLUTION ─────────────────────────── */
.solution { padding: 80px 0; }

.solution__intro {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 56px;
}

.solution__features {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.solution__feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.solution__feature:hover { box-shadow: var(--shadow); }

.solution__feature-icon { font-size: 36px; }

.solution__feature-title {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.solution__feature-text {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.65;
}

.solution__feature-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 6px;
}

.solution__quote {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
}

.solution__quote p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 10px;
}

.solution__quote cite {
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 500;
}

/* ── PRICING ──────────────────────────── */
.pricing {
  padding: 80px 0;
  background: var(--card);
}

.pricing__intro {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 36px;
}

.pricing__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 0 auto 28px;
  text-align: center;
}

.pricing__trial-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.pricing__trial-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}

.pricing__then {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing__amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing__period {
  font-size: 18px;
  color: var(--text-muted);
}

.pricing__features {
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
}

.pricing__check {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.pricing__cancel {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

.pricing__trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

/* ── FINAL CTA ────────────────────────── */
.final-cta {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(160deg, #F0FDF4 0%, #FAFAFA 60%);
}

.final-cta__text {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 32px;
}

.final-cta__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}

.final-cta__trust {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── FOOTER ───────────────────────────── */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__text {
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer__text a {
  color: var(--text-muted);
  text-decoration: underline;
}
.site-footer__text a:hover { color: var(--text-body); }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET+ (≥ 640px)
══════════════════════════════════════════ */
@media (min-width: 640px) {
  .problem__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__cta-group {
    align-items: flex-start;
  }
  .hero__cta-sub,
  .hero__trust { text-align: left; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — DESKTOP (≥ 900px)
══════════════════════════════════════════ */
@media (min-width: 900px) {
  .hero {
    padding: 80px 0 60px;
  }

  section {
    scroll-margin-top: 80px;
  }

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

  .phone {
    width: 260px;
  }

  .solution__feature {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .solution__feature-icon {
    flex-shrink: 0;
    margin-top: 4px;
  }

  .btn--large {
    font-size: 18px;
    padding: 18px 44px;
  }
}

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

.hero__content,
.hero__mockup,
.problem__card,
.solution__feature,
.pricing__card {
  animation: fadeUp 0.5s ease both;
}

.hero__mockup        { animation-delay: 0.1s; }
.problem__card:nth-child(2) { animation-delay: 0.1s; }
.problem__card:nth-child(3) { animation-delay: 0.2s; }
.solution__feature:nth-child(2) { animation-delay: 0.1s; }
.solution__feature:nth-child(3) { animation-delay: 0.2s; }
