/* ============================================================
   FunnyPawZ — "sticker" design system (matches lp2 / PetGPT)
   Cream + ink, thick borders, hard offset shadows, rounded.
   ============================================================ */

:root {
  --cream:   #fff4dc;
  --paper:   #fffaf0;
  --ink:     #241b16;
  --muted:   #6f6557;
  --pink:    #ff4fa3;
  --sky:     #63d2ff;
  --mint:    #66e6a7;
  --sun:     #ffd43b;

  --bd: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-xl: 10px 10px 0 var(--ink);

  --font-display: "Varela Round", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
}
.display-outline { color: var(--ink); }

/* highlighter-marker accent words */
.highlight, .highlight-blue {
  color: var(--ink);
  padding: 0 0.14em;
  border-radius: 0.32em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.highlight { background: var(--sky); }
.highlight-blue { background: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: var(--bd);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translate(0, 0); box-shadow: 3px 3px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; }

.btn-hero { background: var(--pink); color: #fff; }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-playful { background: var(--sky); color: var(--ink); }

.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 0.8rem; }
.btn-lg { padding: 13px 24px; font-size: 16px; }
.btn-xl { padding: 16px 30px; font-size: 18px; border-radius: 1.1rem; }

/* ---------- Header / nav ---------- */
.site-header { position: relative; z-index: 20; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 6px;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 18px 0 80px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
.hero h1 { font-size: clamp(44px, 7vw, 84px); margin-bottom: 22px; }
.hero .lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  font-weight: 500;
  max-width: 40ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.stats { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.stats > div {
  background: var(--paper);
  border: var(--bd);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 12px 18px;
  text-align: center;
}
.stat-value { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); color: var(--ink); }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 700; }

/* hero visual + phones */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; }
.hero-pet {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  z-index: 5;
  border: var(--bd);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.hero-pet-1 { width: 92px; height: 92px; top: 0; left: 6%; animation: float 3s ease-in-out infinite; }
.hero-pet-2 { width: 78px; height: 78px; bottom: 24px; right: 4%; animation: float 4s ease-in-out infinite 0.5s; }

.phone {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 2rem;
  padding: 10px;
  box-shadow: var(--shadow-xl);
}
.phone-screen {
  position: relative;
  border: var(--bd);
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--cream);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 20px; background: var(--ink);
  border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-main { width: 272px; }
.phone-secondary {
  position: absolute; width: 188px; right: -26px; top: 16%;
  transform: rotate(5deg); z-index: 2;
}

/* floating paws (subtle texture) */
.paw { position: absolute; color: var(--ink); opacity: 0.05; pointer-events: none; z-index: 0; }
.paw svg { width: 100%; height: 100%; }
.paw-float { animation: float 3.5s ease-in-out infinite; }

/* ---------- Section shells ---------- */
.section { padding: 84px 0; }
.section-tint { background: rgba(255, 255, 255, 0.55); border-top: var(--bd); border-bottom: var(--bd); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 52px); color: var(--ink); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; font-weight: 500; margin: 0; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  position: relative;
  background: var(--paper);
  border: var(--bd);
  border-radius: 1.25rem;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.feature-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 58px; height: 58px;
  border: var(--bd);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.feature-card h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; font-weight: 500; margin: 0; line-height: 1.55; }
.feature-corner { display: none; }

.bg-primary, .bg-sky { background: var(--sky); }
.bg-blue, .bg-mint { background: var(--mint); }
.bg-pink { background: var(--pink); }
.bg-orange-dark, .bg-sun { background: var(--sun); }

/* ---------- Showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 46px); color: var(--ink); margin-bottom: 18px; }
.split p { color: var(--muted); font-size: 18px; font-weight: 500; margin: 0 0 26px; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.check-dot {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint); border: var(--bd);
  display: flex; align-items: center; justify-content: center;
}
.check-dot svg { width: 14px; height: 14px; color: var(--ink); }

.showcase-images { position: relative; display: flex; justify-content: center; min-height: 360px; }
.showcase-images img { border: var(--bd); background: var(--paper); }
.showcase-images .img-main { width: 256px; height: 256px; border-radius: 1.5rem; object-fit: cover; box-shadow: var(--shadow-lg); }
.showcase-images .img-2 {
  position: absolute; width: 188px; height: 188px; bottom: -22px; right: 6%;
  border-radius: 1.5rem; object-fit: cover; box-shadow: var(--shadow);
}
.showcase-images .img-3 {
  position: absolute; width: 126px; height: 126px; top: -18px; right: 2%;
  border-radius: 1.2rem; object-fit: cover; box-shadow: var(--shadow);
  animation: wiggle 4s ease-in-out infinite;
}

/* ---------- VetAI chips ---------- */
.chip-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 26px; }
.chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: var(--bd); border-radius: 1rem;
  box-shadow: var(--shadow); padding: 13px 18px; font-weight: 700;
}
.chip .emoji { font-size: 22px; }

/* ---------- CTA / download ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(32px, 5vw, 56px); color: var(--ink); margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 18px; font-weight: 500; max-width: 44ch; margin: 0 auto 34px; }
.store-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--cream);
  border: var(--bd); border-radius: 1rem; padding: 13px 24px;
  text-decoration: none; box-shadow: 5px 5px 0 var(--pink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.store-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--pink); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn .store-text { text-align: left; line-height: 1.15; }
.store-btn .store-text small { font-size: 11px; opacity: 0.85; display: block; font-weight: 600; }
.store-btn .store-text strong { font-size: 18px; font-weight: 800; font-family: var(--font-display); }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; border-top: var(--bd); background: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--pink); }
.footer-copy { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ---------- Legal / content pages ---------- */
.subpage-header { border-bottom: var(--bd); background: var(--cream); }
.subpage-header .nav { padding: 18px 0; gap: 16px; justify-content: flex-start; }
.content { max-width: 760px; margin: 0 auto; padding: 52px 24px 88px; }
.content h1 { font-size: clamp(34px, 5vw, 48px); color: var(--ink); margin-bottom: 26px; }
.content h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--ink); margin: 34px 0 12px; }
.content h3 { font-family: var(--font-body); font-weight: 800; font-size: 18px; color: var(--ink); margin: 20px 0 8px; }
.content p, .content li { color: var(--muted); font-weight: 500; }
.content ul { padding-left: 22px; }
.content li { margin-bottom: 6px; }
.content .updated { font-weight: 800; color: var(--ink); }
.content a { color: var(--ink); font-weight: 800; background: var(--sky); padding: 0 0.2em; border-radius: 0.3em; text-decoration: none; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0 40px; }
.support-card { background: var(--paper); border: var(--bd); border-radius: 1.25rem; padding: 24px; box-shadow: var(--shadow); }
.support-card h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.support-card h3 svg { width: 20px; height: 20px; color: var(--pink); }
.support-card p { font-size: 14.5px; margin: 0 0 10px; }
.faq-item { border-bottom: 2px dashed rgba(36,27,22,0.18); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 16px; margin: 0 0 4px; color: var(--ink); }
.faq-item p { font-size: 15px; margin: 0; }
.help-box { background: var(--sky); border: var(--bd); border-radius: 1.25rem; box-shadow: var(--shadow); padding: 28px; text-align: center; margin-top: 32px; }
.help-box h3 { color: var(--ink); }
.help-box p { color: var(--ink); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); color: var(--ink); text-decoration: none; font-size: 15px; }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 440px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 12px 0 56px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta, .store-row, .stats { justify-content: center; }
  .hero-text { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .phone-secondary { display: none; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
