/* PetZync - colors taken from the mobile app */
:root {
  --teal: #0E8C78;
  --teal-dark: #0A6E5E;
  --teal-soft: #DDF3EE;
  --mint: #EDFCF9;
  --bg: #F3FAF8;
  --surface: #FFFFFF;
  --navy: #13294B;
  --ink: #2D3B4E;
  --muted: #64748B;
  --line: #DCE8E5;
  --coral: #F26B5B;
  --coral-soft: #FDE8E6;
  --amber: #F5A623;
  --amber-soft: #FFF8EC;
  --blue: #3B9BF0;
  --danger: #C0392B;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(19, 41, 75, .07);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; color: var(--teal); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--teal-dark); font-weight: inherit; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 0; font: 600 1rem var(--font); cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(14, 140, 120, .25); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: var(--surface); color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 250, 248, .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.nav-links .btn { padding: 10px 20px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--mint), var(--bg)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--teal); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 520px; }
.hero-tagline { font-size: 1.05rem; letter-spacing: .02em; color: var(--muted); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-art { position: relative; }
.hero-art::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--teal-soft), transparent); z-index: 0; }
.hero-art img { position: relative; width: 100%; max-width: 520px; margin-inline: auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.trust { display: flex; flex-wrap: wrap; gap: 26px; }
.trust div { display: flex; flex-direction: column; }
.trust strong { font-size: 1.6rem; color: var(--navy); font-weight: 800; }
.trust span { font-size: .88rem; color: var(--muted); }

/* Cards / features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; }
.ic-teal { background: var(--teal-soft); color: var(--teal); }
.ic-coral { background: var(--coral-soft); color: var(--coral); }
.ic-blue { background: #E3F1FD; color: var(--blue); }
.ic-amber { background: var(--amber-soft); color: var(--amber); }

/* Highlight banner (mirrors the app's "Your happy place" card) */
.happy { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #0E8C78 0%, #34A393 60%, #5CC2AE 100%); color: #fff; box-shadow: var(--shadow); }
.happy-text { padding: 48px; }
.happy-text .eyebrow { color: rgba(255, 255, 255, .85); }
.happy h2 { color: #fff; }
.happy p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.happy ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.happy li { display: flex; gap: 10px; align-items: flex-start; }
.happy li::before { content: '✓'; font-weight: 800; background: rgba(255, 255, 255, .2); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .8rem; margin-top: 2px; }
.happy img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Screens */
.screens { display: flex; gap: 24px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; justify-content: safe center; }
.phone { flex: 0 0 200px; scroll-snap-align: center; text-align: center; }
.phone-frame { border-radius: 30px; padding: 8px; background: #0F1B2D; box-shadow: 0 18px 40px rgba(19, 41, 75, .2); }
.phone-frame img { border-radius: 23px; aspect-ratio: 720 / 1450; object-fit: cover; width: 100%; }
.phone figcaption { margin-top: 12px; font-weight: 600; color: var(--navy); }

/* Download */
.download { background: var(--surface); }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.qr-card { display: flex; gap: 28px; align-items: center; }
.qr-box { flex: none; background: #fff; padding: 14px; border-radius: 18px; border: 1px solid var(--line); }
.qr-box canvas, .qr-box img { width: 180px !important; height: 180px !important; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: flex; gap: 14px; }
.steps li::before { content: counter(step); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 700; display: grid; place-items: center; }
.link-copy { display: flex; gap: 8px; margin-top: 18px; }
.link-copy input { flex: 1; min-width: 0; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge-soon { font-size: .7rem; background: var(--amber-soft); color: #A86B00; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.2rem; color: var(--navy); font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Pre-order */
.preorder-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.product { background: var(--amber-soft); border: 1px solid #F6E3BE; }
.product .price { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.product .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.product ul { padding-left: 20px; margin: 0 0 1em; }
.notice { border-radius: var(--radius-sm); padding: 14px 18px; background: var(--amber-soft); border: 1px solid #F6E3BE; color: #7A5200; margin-bottom: 18px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: 400 1rem var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px; width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 140, 120, .12); }
.invalid input, .invalid select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; font-weight: 500; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 14px 18px; display: none; }
.form-status.ok { display: block; background: var(--teal-soft); color: var(--teal-dark); }
.form-status.err { display: block; background: var(--coral-soft); color: #9B2C1F; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; }
.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.contact-list svg { width: 22px; height: 22px; }

/* Closing banner like the app */
.closing { display: flex; align-items: center; gap: 16px; background: var(--teal-soft); border-radius: var(--radius); padding: 22px 28px; color: var(--teal-dark); }
.closing strong { color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; margin-top: 88px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: #8EE0CF; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px; transition: transform .25s; z-index: 100; }
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .download-grid, .preorder-grid, .contact-grid, .happy { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 380px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .happy img { max-height: 360px; object-fit: contain; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; }
  .nav-links .btn { margin-top: 8px; }
  .section { padding: 64px 0; }
  .grid-3, .form-row { grid-template-columns: 1fr; }
  .qr-card { flex-direction: column; text-align: center; }
  .happy-text { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
