:root {
  --ptw-coral: #ff5c38;
  --ptw-coral-dark: #e04824;
  --ptw-coral-soft: #fff0ec;
  --ptw-navy: #0f172a;
  --ptw-navy-deep: #091528;
  --ptw-navy-mid: #172033;
  --canvas: #f8f9fa;
  --surface: #ffffff;
  --surface-tint: #fff7f4;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius-card: 16px;
  --radius-feature: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 24px 56px rgba(9, 21, 40, 0.22);
  --section-space: clamp(56px, 7vw, 96px);
  --content-gap: clamp(24px, 3vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link { background: var(--surface); border-radius: 8px; color: var(--ptw-navy); left: 16px; padding: 10px 14px; position: fixed; top: -64px; z-index: 30; }
.skip-link:focus { top: 16px; }

.site-header { background: rgba(9, 21, 40, 0.93); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; position: sticky; top: 0; z-index: 20; }
.nav, .section, .footer-inner { margin: 0 auto; max-width: 1200px; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.nav { align-items: center; display: flex; gap: 18px; justify-content: space-between; min-height: 72px; }
.brand-mini { align-items: center; color: #ffffff; display: inline-flex; flex: 0 0 auto; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; }
.brand-mini::before { background: var(--ptw-coral); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 92, 56, 0.17); content: ""; height: 8px; margin-right: 10px; width: 8px; }
.nav-links { display: none; }
.nav-links a { color: #d8e0ed; font-size: 0.86rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .footer-links a:hover { color: var(--ptw-coral); }
.language-switch { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-pill); display: flex; gap: 2px; padding: 3px; }
.language-switch a { border-radius: var(--radius-pill); color: #d8e0ed; font-size: 0.78rem; font-weight: 800; padding: 5px 9px; text-decoration: none; }
.language-switch a[aria-current="page"] { background: #ffffff; color: var(--ptw-navy); }

.hero { background: radial-gradient(circle at 83% 18%, rgba(255, 92, 56, 0.24), transparent 30%), radial-gradient(circle at 67% 95%, rgba(37, 99, 235, 0.18), transparent 34%), var(--ptw-navy-deep); color: #ffffff; overflow: hidden; }
.hero-inner { align-items: center; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); margin: 0 auto; max-width: 1200px; padding: 34px clamp(20px, 4vw, 40px) 32px; }
.hero-copy { max-width: 590px; position: relative; z-index: 2; }
.logo { height: auto; margin-bottom: 12px; max-width: min(190px, 60vw); }
.eyebrow { color: var(--ptw-coral); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; margin: 0 0 12px; text-transform: uppercase; }
.hero .eyebrow { color: #ffd1c5; }
h1 { font-size: clamp(2.375rem, 10vw, 3rem); letter-spacing: -0.06em; line-height: 0.98; margin-bottom: 12px; }
.hero-text { color: #d6e0ef; font-size: 1rem; margin-bottom: 18px; max-width: 500px; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.coming-soon { align-items: center; background: #ffffff; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-pill); color: var(--ptw-navy); cursor: default; display: inline-flex; font: inherit; font-size: 0.84rem; font-weight: 750; gap: 8px; min-height: 46px; padding: 10px 14px; }
.coming-soon::before { background: var(--ptw-coral); border-radius: 50%; box-shadow: 0 0 0 4px var(--ptw-coral-soft); content: ""; height: 8px; width: 8px; }

.hero-showcase { height: 242px; max-height: 242px; position: relative; width: min(100%, 350px); }
.showcase-card { aspect-ratio: 1 / 1; border: 3px solid rgba(255, 255, 255, 0.88); border-radius: 20px; box-shadow: 0 16px 32px rgba(9, 21, 40, 0.24); overflow: hidden; position: absolute; }
.showcase-card img { display: block; height: 100%; object-fit: cover; width: 100%; }
.showcase-login { left: 1%; top: 8%; transform: rotate(-5deg); width: 39%; z-index: 1; }
.showcase-login img { object-position: center 70%; }
.showcase-pets { right: 2%; top: 2%; transform: rotate(3deg); width: 37%; z-index: 2; }
.showcase-pets img { object-position: center 22%; }
.showcase-map-controls { bottom: 1%; left: 3%; transform: rotate(5deg); width: 38%; z-index: 3; }
.showcase-map-controls img { object-position: center 20%; }
.showcase-walk { bottom: 1%; right: 3%; transform: rotate(-3deg); width: 37%; z-index: 4; }
.showcase-walk img { object-position: center 84%; }
.showcase-map { left: 22%; top: 15%; transform: rotate(-2deg); width: 58%; z-index: 5; }
.showcase-map img { object-position: center 46%; }

.section { padding-bottom: var(--section-space); padding-top: var(--section-space); }
.section-heading { margin-bottom: var(--content-gap); max-width: 700px; }
.section-heading h2, .map-copy h2, .pet-copy h2, .final-cta h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.05em; line-height: 1.03; margin-bottom: 14px; }
.section-heading > p:last-child, .map-copy > p:last-child, .pet-copy > p:last-child { color: var(--muted); font-size: 1.04rem; margin-bottom: 0; }
.steps { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.step, .feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.step { min-height: 178px; padding: 20px; position: relative; }
.step::after { background: var(--ptw-coral); border-radius: var(--radius-pill); bottom: 20px; content: ""; height: 3px; left: 20px; opacity: 0.35; position: absolute; width: 32px; }
.step-number, .feature-label { color: var(--ptw-coral); display: block; font-size: 0.73rem; font-weight: 850; letter-spacing: 0.1em; margin-bottom: 10px; text-transform: uppercase; }
.step h3, .feature-card h3 { font-size: 1.08rem; margin-bottom: 7px; }
.step p, .feature-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }

.map-layout, .feature-layout, .pet-layout { display: grid; gap: var(--content-gap); }
.map-panel { background: linear-gradient(145deg, #1c3157, var(--ptw-navy)); border-radius: var(--radius-feature); box-shadow: var(--shadow-float); overflow: hidden; padding: 12px; }
.map-panel img { border-radius: 15px; max-height: 620px; object-fit: cover; object-position: center top; width: 100%; }
.map-copy, .pet-copy { align-self: center; }
.feature-band { background: linear-gradient(180deg, var(--surface-tint), var(--canvas)); }
.feature-card { padding: 25px; }
.feature-card + .feature-card { margin-top: 14px; }
.feature-card:first-child { border-color: #ffd6c9; }
.pet-layout { align-items: center; }
.pet-art { background: linear-gradient(135deg, #ffe5dc, #ffad8f); border-radius: var(--radius-feature); box-shadow: var(--shadow-card); overflow: hidden; padding: 8px; }
.pet-art img { aspect-ratio: 3 / 2; border-radius: 17px; object-fit: cover; width: 100%; }

.video-section { background: var(--ptw-navy-deep); color: #ffffff; }
.video-placeholder { align-items: center; background: radial-gradient(circle at 75% 25%, rgba(255, 92, 56, 0.38), transparent 24%), linear-gradient(125deg, #172033, #0f172a); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--radius-feature); display: grid; min-height: 310px; overflow: hidden; padding: 38px; place-items: center; position: relative; text-align: center; }
.video-placeholder::before { border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; content: ""; height: 160px; position: absolute; right: -54px; top: -56px; width: 160px; }
.video-placeholder > div { position: relative; }
.video-mark { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius-pill); color: #ffd1c5; display: inline-block; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.1em; margin-bottom: 15px; padding: 7px 11px; text-transform: uppercase; }
.video-placeholder h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; margin-bottom: 10px; }
.video-placeholder p { color: #cbd5e1; margin: 0 auto; max-width: 500px; }

.final-cta-wrap { background: linear-gradient(125deg, var(--ptw-coral), #ff7a4c 55%, #ff9d35); color: #ffffff; }
.final-cta { margin: 0 auto; max-width: 860px; padding: clamp(70px, 10vw, 112px) 20px; text-align: center; }
.final-cta p { color: rgba(255, 255, 255, 0.92); font-size: 1.06rem; margin: 0 auto 26px; max-width: 540px; }
.final-cta .store-row { justify-content: center; }
.site-footer { background: var(--ptw-navy-deep); color: #cbd5e1; }
.footer-inner { align-items: center; display: flex; flex-wrap: wrap; font-size: 0.9rem; gap: 12px 22px; justify-content: space-between; padding-bottom: 30px; padding-top: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #ffffff; text-decoration: none; }

@media (min-width: 720px) {
  .nav-links { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-layout, .pet-layout { grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr); }
  .feature-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr); }
  .feature-card + .feature-card { margin-top: 0; }
}

@media (min-width: 900px) {
  .hero-inner { gap: clamp(34px, 4vw, 56px); grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); height: min(650px, calc(100vh - 180px)); max-height: 650px; padding-bottom: 44px; padding-top: 44px; }
  .logo { margin-bottom: 14px; max-width: 250px; }
  .hero .eyebrow { margin-bottom: 10px; }
  h1 { font-size: clamp(3rem, 4.5vw, 4.5rem); line-height: 0.96; margin-bottom: 14px; }
  .hero-text { font-size: clamp(1rem, 1.3vw, 1.13rem); margin-bottom: 22px; }
  .coming-soon { font-size: 0.9rem; padding-left: 17px; padding-right: 17px; }
  .hero-showcase { height: min(460px, 100%); max-height: 460px; width: min(86%, 430px); }
  .showcase-card { border-radius: 24px; border-width: 4px; }
  .showcase-login { left: 0; top: 8%; width: 39%; }
  .showcase-pets { right: 0; top: 0; width: 38%; }
  .showcase-map-controls { bottom: 0; left: 3%; width: 38%; }
  .showcase-walk { bottom: 0; right: 3%; width: 37%; }
  .showcase-map { left: 22%; top: 15%; width: 59%; }
}

@media (max-width: 420px) {
  .nav { gap: 10px; min-height: 64px; }
  .brand-mini { font-size: 0.71rem; }
  .brand-mini::before { margin-right: 7px; }
  .language-switch a { padding: 5px 7px; }
  .hero-inner { padding-bottom: 28px; padding-top: 30px; }
  .hero-showcase { height: 230px; max-height: 230px; width: min(100%, 320px); }
  .showcase-card { border-radius: 18px; border-width: 3px; }
  .showcase-login { left: 2%; top: 10%; transform: rotate(-3deg); width: 38%; }
  .showcase-pets { right: 2%; top: 3%; transform: rotate(2deg); width: 36%; }
  .showcase-map-controls { bottom: 2%; left: 5%; transform: rotate(3deg); width: 37%; }
  .showcase-walk { bottom: 2%; right: 5%; transform: rotate(-2deg); width: 35%; }
  .showcase-map { left: 22%; top: 16%; transform: rotate(-1deg); width: 58%; }
  .coming-soon { font-size: 0.86rem; padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
