/* ─── WoofCard — Shared Styles ─── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@700;800&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg:           #FAF8F5;
  --bg-alt:       #FFFFFF;
  --bg-dark:      #0E1014;
  --ink:          #15171C;
  --muted:        #6B6F7A;
  --line:         #E8E4DD;
  --accent:       #2B5FE8;
  --accent-hover: #234ec0;
  --sand:         #E8DCC4;
  --sand-deep:    #D7C5A0;
  --green:        #2E7D5B;
  --radius:       18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(250, 248, 245, 0.78);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em; color: var(--ink);
}
.logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; flex: 1; margin-left: 12px; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--ink); font-weight: 500;
  padding: 6px 0; opacity: 0.85; transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--accent); color: #fff; border: 0;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px; transition: background .15s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-hover); }
.lang-btn {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 6px 13px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; font-family: 'JetBrains Mono', monospace;
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
  flex-shrink: 0;
}
.lang-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-size: 15px; border: 0; transition: all .18s ease;
  font-family: inherit; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2d36; }

/* ─── LAYOUT ─── */
section { padding: 120px 32px; }
.container { max-width: 1240px; margin: 0 auto; }
.bg-white { background: var(--bg-alt); }
.bg-cream { background: var(--bg); }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--bg-dark); color: #fff; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent);
}
.eyebrow.muted { color: var(--muted); }

/* ─── HERO ─── */
.hero { padding: 80px 32px 0; text-align: center; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 800; margin-top: 28px; }
.hero h1 .ink { color: var(--ink); }
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 700; }
.hero-sub {
  font-size: 21px; color: var(--muted); max-width: 640px;
  margin: 28px auto 0; line-height: 1.45;
}
.hero-ctas {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap;
}
.hero-mock-wrap { margin: 80px auto 0; max-width: 1100px; }
.hero-mock {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 28px;
}

/* ─── PHONE MOCKUP ─── */
.phone {
  background: #1a1c22; border-radius: 46px; padding: 12px;
  width: 280px; aspect-ratio: 9 / 19.5;
  box-shadow: 0 30px 80px -20px rgba(20,30,60,0.18), 0 8px 20px -4px rgba(0,0,0,0.06);
  position: relative; flex-shrink: 0;
}
.phone-screen {
  background: #fff; border-radius: 36px; height: 100%;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; background: #1a1c22;
  border-radius: 14px; z-index: 5;
}
.phone.tilted-l { transform: rotate(-3deg) translateY(20px); }
.phone.tilted-r { transform: rotate(3deg) translateY(20px); }

/* Phone screen content */
.ps-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px 8px; font-size: 13px; font-weight: 600;
}
.ps-status-icons { display: flex; gap: 5px; align-items: center; }
.ps-header { padding: 32px 22px 16px; }
.ps-greet { font-size: 13px; color: var(--muted); }
.ps-pet-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.pet-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-deep) 100%);
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.ps-pet-name { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.ps-pet-meta { font-size: 12px; color: var(--muted); }
.ps-card {
  margin: 0 16px 12px; padding: 16px;
  background: var(--bg); border-radius: 16px;
}
.ps-card.accent { background: #EDF1FE; }
.ps-card.dark { background: var(--ink); color: #fff; }
.ps-card-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.ps-card.dark .ps-card-label { color: #9aa0ad; }
.ps-card-title { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; margin-top: 4px; letter-spacing: -0.01em; }
.ps-card-meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ps-card.dark .ps-card-meta { color: #9aa0ad; }
.ps-tabbar {
  margin-top: auto; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 10px 0 18px;
}
.ps-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; color: var(--muted); font-weight: 500; }
.ps-tab.active { color: var(--accent); }
.ps-tab-dot { width: 18px; height: 18px; border-radius: 5px; background: currentColor; opacity: 0.85; }
.ps-timeline-row { display: flex; gap: 12px; padding: 14px 22px; align-items: flex-start; border-bottom: 1px solid var(--line); }
.ps-tl-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--green); flex-shrink: 0; }
.ps-tl-dot.upcoming { background: var(--sand-deep); }
.ps-tl-dot.due { background: var(--accent); }
.ps-tl-title { font-weight: 600; font-size: 13px; }
.ps-tl-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ps-tl-tag {
  display: inline-block; margin-top: 4px;
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(46,125,91,0.1); color: var(--green); font-weight: 500;
}
.ps-tl-tag.due { background: rgba(43,95,232,0.1); color: var(--accent); }
.ps-section-label { padding: 4px 22px 8px; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ps-action {
  padding: 12px 16px; margin: 0 16px; background: var(--accent);
  color: #fff; border-radius: 12px; text-align: center; font-size: 13px; font-weight: 600;
}
.ps-action-row { padding: 12px 22px 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.ps-action-btn { flex: 1; background: var(--ink); color: #fff; padding: 12px; text-align: center; border-radius: 12px; font-size: 13px; font-weight: 600; }
.ps-stats-row { display: flex; gap: 10px; margin-top: 14px; }
.ps-stat { flex: 1; padding: 12px; border-radius: 12px; }
.ps-share-bar { padding: 14px 22px; border-top: 1px solid var(--line); }

/* ─── FEATURES STRIP ─── */
.feat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feat-strip-item { text-align: left; }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feat-strip-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feat-strip-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ─── SPLIT ─── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse > div:first-child { order: 2; }
.split-text .eyebrow { display: block; margin-bottom: 18px; }
.split-text h2 { font-size: clamp(36px, 4.2vw, 52px); font-weight: 800; }
.split-text p { font-size: 18px; color: var(--muted); margin-top: 22px; line-height: 1.55; }
.split-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px; color: var(--accent); font-weight: 600;
  font-size: 16px; transition: gap .2s;
}
.split-link:hover { gap: 12px; }
.split-mock { display: flex; justify-content: center; }
.split-mock .phone { width: 300px; }

/* ─── FEATURE GRID ─── */
.grid-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 32px; flex-wrap: wrap; }
.grid-head h2 { font-size: clamp(36px, 4.2vw, 52px); font-weight: 800; max-width: 700px; }
.grid-head p { color: var(--muted); font-size: 17px; max-width: 360px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: var(--bg); padding: 32px; border-radius: var(--radius);
  min-height: 240px; display: flex; flex-direction: column;
  transition: transform .2s, background .2s;
}
.feat-card:hover { transform: translateY(-3px); background: #F4F0E8; }
.feat-card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); margin-bottom: auto; }
.feat-card h4 { font-size: 22px; font-weight: 700; margin-top: 32px; }
.feat-card p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.feat-card.featured { background: var(--ink); color: #fff; }
.feat-card.featured .feat-card-icon { background: rgba(255,255,255,0.08); color: #fff; }
.feat-card.featured p { color: #9aa0ad; }
.feat-card.featured:hover { background: #1f2229; transform: translateY(-3px); }

/* ─── DOWNLOAD CTA ─── */
.download-cta { text-align: center; }
.download-cta h2 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 800; color: #fff; }
.download-cta p { font-size: 19px; color: #9aa0ad; margin: 22px auto 40px; max-width: 540px; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  padding: 14px 24px; border-radius: 14px; font-weight: 600;
  transition: transform .15s;
}
.appstore-badge:hover { transform: translateY(-2px); }
.appstore-badge .as-small { font-size: 11px; font-weight: 500; opacity: 0.65; display: block; line-height: 1; margin-bottom: 3px; }
.appstore-badge .as-big { font-family: 'Manrope', sans-serif; font-size: 19px; line-height: 1; letter-spacing: -0.01em; }
.appstore-icon { font-size: 28px; }

/* ─── FOOTER ─── */
footer { background: var(--bg-dark); color: #9aa0ad; padding: 64px 32px 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.foot-inner { max-width: 1240px; margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-logo { color: #fff; }
.foot-logo .logo-mark { background: #fff; color: var(--ink); }
.foot-tag { font-size: 14px; color: #9aa0ad; margin-top: 12px; max-width: 280px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: 'Manrope', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin: 0 0 16px; }
.foot-col a { display: block; font-size: 14px; padding: 5px 0; color: #9aa0ad; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }

/* ─── INNER PAGES (page-hero) ─── */
.page-hero { padding: 120px 32px 80px; text-align: center; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 19px; margin-top: 18px; }
.page-date { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ─── DOC PAGES ─── */
.doc-page { padding: 80px 32px 120px; }
.doc-layout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; gap: 80px; }
.doc-side { position: sticky; top: 80px; align-self: start; }
.doc-side h6 { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 14px; }
.doc-side a { display: block; padding: 8px 0 8px 14px; font-size: 14px; color: var(--ink); border-left: 2px solid transparent; margin-left: -14px; opacity: 0.7; transition: all .15s; }
.doc-side a:hover { opacity: 1; }
.doc-side a.active { border-left-color: var(--accent); color: var(--accent); opacity: 1; font-weight: 600; }
.doc-content h1 { font-size: 56px; font-weight: 800; margin-bottom: 12px; }
.doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 48px; }
.doc-content h2 { font-size: 28px; font-weight: 700; margin-top: 56px; margin-bottom: 18px; scroll-margin-top: 100px; }
.doc-content p { font-size: 16px; color: var(--ink); line-height: 1.7; margin-bottom: 14px; max-width: 680px; }
.doc-content ul { font-size: 16px; line-height: 1.7; color: var(--ink); max-width: 680px; padding-left: 22px; margin-bottom: 14px; }
.doc-content li { margin-bottom: 6px; }
.doc-content a { color: var(--accent); font-weight: 600; }
.doc-content a:hover { text-decoration: underline; }

/* ─── FAQ / SUPPORT ─── */
.faq-page-hero { padding: 80px 32px 40px; text-align: center; }
.faq-page-hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; margin-top: 18px; }
.faq-page-hero > p { color: var(--muted); font-size: 19px; margin-top: 18px; }
.faq-search { max-width: 580px; margin: 36px auto 0; position: relative; }
.faq-search input {
  width: 100%; padding: 18px 20px 18px 50px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 16px; font-family: inherit; background: var(--bg-alt);
  transition: all .15s; color: var(--ink);
}
.faq-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(43,95,232,0.1); }
.faq-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-cats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.faq-cat {
  padding: 8px 16px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: all .15s; cursor: pointer;
}
.faq-cat:hover, .faq-cat.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-list { max-width: 820px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-q {
  width: 100%; background: none; border: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0; text-align: left;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 19px;
  color: var(--ink); letter-spacing: -0.01em;
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
  transition: transform .2s, background .2s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-toggle { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding-top .3s ease;
  color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 680px;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 14px; }
.faq-empty { text-align: center; padding: 60px; color: var(--muted); }

/* ─── CONTACT FORM ─── */
.contact-section { background: var(--bg); }
.contact-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-grid h2 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; }
.contact-grid > div > p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.contact-info { margin-top: 40px; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-info-row:last-child { border-bottom: 1px solid var(--line); }
.contact-info-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-info-val { font-weight: 600; font-size: 15px; margin-top: 2px; }
.form-card { background: var(--bg-alt); padding: 40px; border-radius: var(--radius); }
.form-row { display: grid; gap: 20px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px;
  background: var(--bg-alt); color: var(--ink);
  transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,95,232,0.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field-error { color: #c0392b; font-size: 12px; margin-top: 6px; display: none; }
.field.error input, .field.error textarea, .field.error select { border-color: #c0392b; }
.field.error .field-error { display: block; }
.form-success { background: rgba(46,125,91,0.1); color: var(--green); padding: 16px; border-radius: 10px; font-size: 14px; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.form-success-hidden { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  section { padding: 80px 22px; }
  .nav-inner { padding: 12px 22px; gap: 14px; }
  .nav-links { display: none; }
  .hero { padding: 60px 22px 0; }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); margin-top: 20px; }
  .hero-sub { font-size: 17px; margin-top: 20px; }
  .hero-ctas { margin-top: 28px; }
  .hero-mock-wrap { margin-top: 48px; }
  .hero-mock { flex-direction: column; align-items: center; }
  /* hide side phones on mobile — show only center */
  .phone.tilted-l, .phone.tilted-r { display: none; }
  .phone { width: 300px; }
  .split-mock .phone { width: 280px; }
  .feat-strip { grid-template-columns: 1fr 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > div:first-child { order: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 32px; }
  .doc-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row.two { grid-template-columns: 1fr; }
  .foot-cols { gap: 32px; }
  .faq-page-hero { padding: 60px 22px 32px; }
  .faq-q { font-size: 16px; }
  .grid-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .feat-strip { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .foot-top { flex-direction: column; }
}
