:root {
  --brand: #138b70;
  --brand-dark: #08624f;
  --brand-soft: #dff5ed;
  --coral: #ff725e;
  --gold: #ffcd68;
  --ink: #15251f;
  --muted: #687a73;
  --paper: #f7faf8;
  --line: #dfebe6;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; }

.navbar { padding: 18px 0; transition: .25s ease; }
.navbar.scrolled { padding: 10px 0; background: rgba(255,255,255,.94); box-shadow: 0 10px 34px rgba(20,65,51,.08); backdrop-filter: blur(14px); }
.navbar-brand { color: var(--ink); font-size: 19px; font-weight: 850; letter-spacing: -.4px; }
.navbar-brand:hover { color: var(--brand-dark); }
.brand-mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; background: var(--brand); border-radius: 13px; box-shadow: 0 8px 20px rgba(19,139,112,.2); }
.nav-link { color: #40514b; font-size: 15px; font-weight: 650; }
.nav-link:hover, .nav-link:focus { color: var(--brand); }
.navbar-toggler { border: 0; box-shadow: none !important; }

.btn { border-radius: 14px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { color: #fff; border-color: var(--brand); background: var(--brand); box-shadow: 0 12px 26px rgba(19,139,112,.2); }
.btn-brand:hover, .btn-brand:focus { color: #fff; border-color: var(--brand-dark); background: var(--brand-dark); box-shadow: 0 14px 30px rgba(8,98,79,.26); }
.btn-soft { color: var(--brand-dark); border-color: #c5e8db; background: rgba(255,255,255,.72); }
.btn-soft:hover { color: var(--brand-dark); border-color: #aedccb; background: #fff; }

.hero-section { min-height: 760px; position: relative; overflow: hidden; background: linear-gradient(145deg,#f5fbf8 0%,#eef9f4 48%,#fff9ef 100%); }
.hero-section::before { content: ""; width: 590px; height: 590px; position: absolute; top: 100px; right: -180px; border: 1px solid rgba(19,139,112,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(19,139,112,.025), 0 0 0 160px rgba(19,139,112,.018); }
.hero-row { padding: 110px 0 70px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); }
.hero-glow-one { width: 320px; height: 320px; left: -180px; bottom: 20px; background: rgba(90,209,166,.12); }
.hero-glow-two { width: 210px; height: 210px; right: 30%; top: 5%; background: rgba(255,205,104,.14); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 8px 14px; color: var(--brand-dark); background: rgba(255,255,255,.76); border: 1px solid rgba(19,139,112,.12); border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.live-dot { width: 8px; height: 8px; display: inline-block; background: #26b989; border-radius: 50%; box-shadow: 0 0 0 6px rgba(38,185,137,.12); animation: pulse 2s infinite; }
.hero-copy h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(43px,5.6vw,76px); line-height: 1.12; font-weight: 900; letter-spacing: -3px; }
.hero-copy h1 span { color: var(--brand); }
.hero-lead { max-width: 660px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions .btn { padding: 14px 24px; font-size: 16px; }
.trust-list { margin-top: 32px; color: #6d7e77; font-size: 14px; font-weight: 650; }
.trust-list span::first-letter { color: var(--brand); }

.qr-stage { position: relative; display: flex; justify-content: center; }
.qr-card { width: min(100%,390px); position: relative; z-index: 2; padding: 30px 34px 28px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); border-radius: 32px; box-shadow: 0 30px 80px rgba(20,74,57,.15); backdrop-filter: blur(10px); }
.qr-card::before { content: ""; position: absolute; inset: 10px; pointer-events: none; border: 1px dashed #d5e9e1; border-radius: 25px; }
.qr-label { position: relative; color: #8ba097; font-size: 10px; font-weight: 850; letter-spacing: 2px; }
.qr-button { position: relative; margin: 18px auto; padding: 10px; border: 0; background: #fff; border-radius: 24px; box-shadow: 0 12px 34px rgba(25,91,70,.11); transition: transform .25s ease; }
.qr-button:hover { transform: scale(1.025); }
.qr-button img { width: min(100%,258px); height: auto; display: block; border-radius: 15px; }
.qr-card h2 { position: relative; margin-bottom: 7px; font-size: 23px; font-weight: 900; }
.qr-card p { position: relative; margin: 0 auto 15px; max-width: 270px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.qr-tip { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; font-size: 12px; font-weight: 750; }
.paw-float { position: absolute; display: grid; place-items: center; z-index: 3; color: #fff; background: var(--coral); border: 5px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 14px 34px rgba(255,114,94,.25); }
.paw-a { width: 72px; height: 72px; left: -8px; top: 80px; transform: rotate(-18deg); }
.paw-b { width: 52px; height: 52px; right: 0; bottom: 70px; color: #684d1d; background: var(--gold); transform: rotate(16deg); }
.scroll-cue { width: 28px; height: 44px; position: absolute; left: 50%; bottom: 25px; display: flex; justify-content: center; padding-top: 8px; border: 2px solid rgba(21,37,31,.25); border-radius: 99px; transform: translateX(-50%); }
.scroll-cue span { width: 4px; height: 8px; background: var(--brand); border-radius: 99px; animation: scrollDown 1.8s infinite; }

.impact-strip { position: relative; z-index: 4; padding: 34px 0; color: #fff; background: var(--brand-dark); }
.impact-strip strong, .impact-strip span { display: block; }
.impact-strip strong { font-size: 34px; font-weight: 900; }
.impact-strip strong::after { content: "+"; margin-left: 2px; color: #8de2c4; font-size: 18px; }
.impact-strip [data-count="0"]::after { content: ""; }
.impact-strip span { margin-top: 3px; color: rgba(255,255,255,.68); font-size: 13px; }

.section-space { padding: 108px 0; }
.section-heading { max-width: 720px; }
.section-kicker { display: inline-block; margin-bottom: 12px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: 2px; }
.section-heading h2, .display-title { margin-bottom: 16px; font-size: clamp(32px,4vw,48px); line-height: 1.25; font-weight: 900; letter-spacing: -1.5px; }
.section-heading p, .section-copy { color: var(--muted); font-size: 16px; line-height: 1.85; }
.feature-section { background: #fff; }
.feature-card { padding: 34px 28px; border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 22px 50px rgba(25,74,59,.1); }
.feature-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 20px; font-size: 29px; font-weight: 500; }
.icon-coral { color: #d94938; background: #ffe7e2; }
.icon-green { color: var(--brand-dark); background: var(--brand-soft); }
.icon-gold { color: #9d6d09; background: #fff1ca; }
.icon-purple { color: #6253a7; background: #edeaff; }
.feature-card h3 { font-size: 21px; font-weight: 900; }
.feature-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.steps-section { overflow: hidden; background: var(--paper); }
.step-list { position: relative; }
.step-list::before { content: ""; width: 1px; position: absolute; top: 44px; bottom: 44px; left: 34px; background: #cce3da; }
.step-item { position: relative; display: flex; align-items: flex-start; gap: 22px; padding: 24px; background: #fff; border: 1px solid #e4eee9; border-radius: 22px; box-shadow: 0 12px 30px rgba(25,74,59,.045); }
.step-item + .step-item { margin-top: 18px; }
.step-item > span { width: 48px; height: 48px; display: grid; place-items: center; position: relative; z-index: 2; flex: 0 0 auto; color: #fff; background: var(--brand); border-radius: 15px; font-size: 13px; font-weight: 900; box-shadow: 0 8px 18px rgba(19,139,112,.2); }
.step-item h3 { margin: 1px 0 7px; font-size: 19px; font-weight: 900; }
.step-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.examples-section { background: #fff; }
.filter-pills { display: inline-flex; gap: 5px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.filter-pills button { padding: 8px 18px; color: #708078; background: transparent; border: 0; border-radius: 11px; font-size: 13px; font-weight: 800; }
.filter-pills button.active { color: #fff; background: var(--brand); box-shadow: 0 6px 15px rgba(19,139,112,.18); }
.pet-card { height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.pet-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(24,73,58,.11); }
.pet-visual { height: 230px; position: relative; display: grid; place-items: center; overflow: hidden; }
.pet-visual::before, .pet-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.28); }
.pet-visual::before { width: 170px; height: 170px; }
.pet-visual::after { width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.35); background: transparent; }
.dog-bg { background: linear-gradient(145deg,#f8d69b,#f4bd71); }
.cat-bg { background: linear-gradient(145deg,#b7e4d3,#75c9ad); }
.bunny-bg { background: linear-gradient(145deg,#d9d1f4,#afa3df); }
.pet-visual > span { position: relative; z-index: 2; font-size: 90px; filter: drop-shadow(0 12px 12px rgba(30,50,43,.1)); }
.pet-visual em, .pet-visual small { position: absolute; z-index: 3; color: #fff; background: rgba(24,39,34,.68); backdrop-filter: blur(8px); font-style: normal; }
.pet-visual em { top: 16px; left: 16px; padding: 6px 11px; background: var(--coral); border-radius: 999px; font-size: 12px; font-weight: 850; }
.pet-visual em.adopt-tag { background: var(--brand); }
.pet-visual small { right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; }
.pet-body { padding: 24px; }
.pet-meta { display: flex; justify-content: space-between; margin-bottom: 12px; color: #8b9893; font-size: 12px; }
.pet-meta b { color: var(--brand-dark); font-weight: 800; }
.pet-body h3 { margin-bottom: 10px; font-size: 20px; font-weight: 900; }
.pet-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.safety-section { padding-bottom: 30px; }
.safety-panel { display: flex; align-items: center; gap: 28px; padding: 36px 42px; background: #fff9e9; border: 1px solid #f4e4b8; border-radius: 26px; }
.safety-icon { width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 auto; background: #fff; border-radius: 22px; font-size: 32px; box-shadow: 0 10px 24px rgba(145,107,31,.1); }
.safety-panel h2 { margin-bottom: 8px; font-size: 25px; font-weight: 900; }
.safety-panel p { margin: 0; color: #776c51; line-height: 1.75; }

.final-cta { padding-top: 70px; }
.cta-panel { padding: 62px 68px; position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg,#08705a,#159b79); border-radius: 34px; box-shadow: 0 30px 70px rgba(8,98,79,.2); }
.cta-panel::after { content: "🐾"; position: absolute; right: 36%; bottom: -50px; color: rgba(255,255,255,.07); font-size: 190px; transform: rotate(-18deg); }
.section-kicker.light { color: #9de7cc; }
.cta-panel h2 { position: relative; z-index: 2; margin-bottom: 16px; font-size: clamp(34px,4.2vw,52px); line-height: 1.22; font-weight: 900; letter-spacing: -1.5px; }
.cta-panel p { position: relative; z-index: 2; margin: 0; color: rgba(255,255,255,.73); font-size: 16px; }
.cta-code { width: fit-content; position: relative; z-index: 2; display: flex; align-items: center; gap: 17px; padding: 14px; background: #fff; border-radius: 22px; color: var(--ink); }
.cta-code img { width: 142px; height: 142px; border-radius: 13px; }
.cta-code strong, .cta-code span { display: block; }
.cta-code strong { margin-bottom: 6px; font-size: 17px; }
.cta-code span { color: var(--muted); font-size: 12px; }

.site-footer { padding: 30px 0 38px; color: #7b8983; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
.qr-modal-content { padding: 18px; border: 0; border-radius: 28px; box-shadow: 0 25px 70px rgba(17,57,45,.22); }
.qr-modal-content h2 { margin-bottom: 18px; font-size: 24px; font-weight: 900; }
.modal-code { width: 100%; height: auto; padding: 8px; border: 1px solid var(--line); border-radius: 20px; }
.qr-modal-content p { margin: 16px 0 2px; color: var(--muted); font-size: 13px; }
#backToTop { width: 44px; height: 44px; position: fixed; right: 22px; bottom: 22px; z-index: 20; display: none; color: #fff; background: var(--brand); border: 0; border-radius: 14px; box-shadow: 0 10px 28px rgba(8,98,79,.25); }

.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal-up.is-visible { opacity: 1; transform: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(38,185,137,.12); } 50% { box-shadow: 0 0 0 9px rgba(38,185,137,0); } }
@keyframes scrollDown { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(15px); } }

@media (max-width: 991.98px) {
  .navbar { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
  .navbar-collapse { margin-top: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 15px 35px rgba(20,65,51,.09); }
  .hero-row { padding-top: 150px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .qr-stage { margin-top: 12px; margin-bottom: 50px; }
  .scroll-cue { display: none; }
  .display-title { font-size: 38px; }
  .cta-panel { padding: 48px; text-align: center; }
  .cta-code { margin: 18px auto 0 !important; text-align: left; }
}

@media (max-width: 767.98px) {
  .navbar { padding: 10px 0; }
  .navbar-brand { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero-row { padding: 125px 0 45px; }
  .hero-copy h1 { font-size: 43px; letter-spacing: -2px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid !important; }
  .hero-actions .btn { width: 100%; }
  .trust-list { gap: 12px !important; font-size: 12px; }
  .qr-card { padding: 25px 24px 24px; }
  .paw-a { left: -12px; }.paw-b { right: -5px; }
  .impact-strip strong { font-size: 28px; }
  .section-space { padding: 76px 0; }
  .section-heading h2, .display-title { font-size: 32px; }
  .step-item { padding: 20px; }
  .safety-panel { align-items: flex-start; padding: 28px 24px; }
  .safety-icon { width: 52px; height: 52px; border-radius: 16px; font-size: 24px; }
  .safety-panel h2 { font-size: 21px; }
  .cta-panel { padding: 40px 24px; border-radius: 26px; }
  .cta-panel h2 { font-size: 34px; }
  .cta-code { display: inline-block; text-align: center; }
  .cta-code img { width: 180px; height: 180px; }
  .cta-code div { margin-top: 10px; }
  .footer-brand { justify-content: center; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-up { opacity: 1; transform: none; }
}
