/* =========================================================
   TailWag — style.css
   ========================================================= */

/* ── Reset & Custom Properties ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #E8772E;
  --orange-dark:  #D06520;
  --orange-light: #FFF3EB;
  --navy:         #0E1C2F;
  --navy-mid:     #162535;
  --chalk:        #F5F2EC;
  --yellow:       #FFE135;
  --mint:         #4DDBB5;
  --gold:         #C2923A;
  --text:         #0E1C2F;
  --text-sec:     #536070;
  --text-muted:   #94A3B8;
  --white:        #FFFFFF;
  --border:       #E8E4DC;
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 4px rgba(14,28,47,.06), 0 1px 2px rgba(14,28,47,.04);
  --shadow-md: 0 4px 20px rgba(14,28,47,.09), 0 2px 6px rgba(14,28,47,.05);
  --shadow-lg: 0 12px 48px rgba(14,28,47,.13), 0 4px 14px rgba(14,28,47,.07);
  --shadow-xl: 0 24px 80px rgba(14,28,47,.18), 0 8px 24px rgba(14,28,47,.09);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── Scroll Progress Bar ──────────────────────────────── */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--mint));
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(232,119,46,.38);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,119,46,.5);
}
.btn-primary:focus-visible { outline: 3px solid rgba(255,255,255,.6); outline-offset: 3px; }

@keyframes shimmer {
  0%   { left: -150%; }
  45%  { left: 150%; }
  100% { left: 150%; }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.24);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.42);
  transform: translateY(-1px);
}
.btn-ghost:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 3px; }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(14,28,47,.78);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(14,28,47,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 24px; height: 66px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 20px; color: #fff; flex-shrink: 0;
}
.logo-text { color: var(--orange); letter-spacing: -.3px; }
.logo-icon { flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link { color: rgba(255,255,255,.72); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-cta {
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 20px; border-radius: 50px; position: relative; overflow: hidden;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 14px rgba(232,119,46,.32);
}
.nav-cta::before {
  content: '';
  position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite 1.5s;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 3px solid rgba(255,255,255,.5); outline-offset: 3px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .25s, opacity .25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(14,28,47,.98); border-top: 1px solid rgba(255,255,255,.07);
  padding: 12px 24px 20px; gap: 4px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile-link {
  display: block; padding: 14px 0; color: rgba(255,255,255,.78);
  font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.07); transition: color .2s;
}
.nav-mobile-link:hover { color: #fff; }
.nav-mobile-cta {
  display: block; margin-top: 12px; text-align: center;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: 50px; transition: background .2s;
}
.nav-mobile-cta:hover { background: var(--orange-dark); }

@media (max-width: 768px) {
  .nav-right { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; background: var(--navy);
  padding-top: 66px; overflow: hidden;
}

/* Animated blobs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.blob-1 {
  width: 600px; height: 600px; background: rgba(232,119,46,.18);
  top: -140px; right: -110px;
  animation: blobFloat 10s ease-in-out infinite alternate;
}
.blob-2 {
  width: 460px; height: 460px; background: rgba(77,219,181,.13);
  bottom: 30px; left: -110px;
  animation: blobFloat 13s ease-in-out infinite alternate-reverse;
  animation-delay: -4s;
}
.blob-3 {
  width: 340px; height: 340px; background: rgba(255,225,53,.09);
  top: 40%; left: 34%;
  animation: blobFloat 15s ease-in-out infinite alternate;
  animation-delay: -7s;
}

@keyframes blobFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(48px, 28px) scale(1.08); }
}

/* Floating paw decorations */
.hero-floats { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.float-paw {
  position: absolute;
  left: var(--x); top: var(--y);
  font-size: 28px;
  opacity: .05;
  animation: floatPaw var(--d, 14s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  user-select: none;
}
@keyframes floatPaw {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: .05; }
  33%       { transform: translateY(-30px) rotate(18deg) scale(1.1); opacity: .09; }
  66%       { transform: translateY(-18px) rotate(36deg) scale(.95); opacity: .06; }
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding-top: 90px; padding-bottom: 115px;
  position: relative; z-index: 1;
}
.hero-content { max-width: 540px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,119,46,.13); color: var(--orange);
  border: 1px solid rgba(232,119,46,.28); padding: 7px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 26px;
  animation: fadeUp .65s ease both .1s;
}
.eyebrow-dot {
  width: 7px; height: 7px; background: var(--orange);
  border-radius: 50%; flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(232,119,46,.6); }
  50%       { opacity: .5; transform: scale(.7); box-shadow: 0 0 0 4px rgba(232,119,46,0); }
}

.hero-headline {
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 900; color: #fff;
  line-height: 1.08; letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeUp .65s ease both .2s;
}

/* Animated gradient headline text */
.gradient-text {
  background: linear-gradient(128deg, var(--orange) 0%, #FF8C42 25%, var(--yellow) 55%, #FF8C42 75%, var(--orange) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientSlide 5s linear infinite;
}
@keyframes gradientSlide {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.68);
  line-height: 1.78; margin-bottom: 38px;
  animation: fadeUp .65s ease both .3s;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 38px;
  animation: fadeUp .65s ease both .4s;
}
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp .65s ease both .5s;
}
.trust-avatars { display: flex; }
.trust-avatars span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.14);
  font-size: 15px; margin-right: -6px;
}
.hero-trust p { color: rgba(255,255,255,.48); font-size: 13px; margin-left: 14px; }

/* ── Phone Mockup ─────────────────────────────────────── */
.hero-visual {
  display: flex; justify-content: center; align-items: flex-start;
  animation: fadeUp .8s ease both .35s;
}
.phone-wrap { position: relative; }

.phone-frame {
  width: 272px;
  background: var(--navy-mid);
  border-radius: 44px;
  border: 2.5px solid rgba(255,255,255,.12);
  box-shadow:
    0 48px 120px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden; position: relative; z-index: 1;
  transform: rotate(2deg);
}
.phone-notch {
  width: 92px; height: 26px;
  background: var(--navy-mid);
  border-radius: 0 0 18px 18px;
  margin: 0 auto; position: relative; z-index: 2;
  border: 2px solid rgba(255,255,255,.06); border-top: none;
}

/* Multi-screen container */
.phone-screen-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.phone-screen {
  grid-row: 1; grid-column: 1;
  display: flex; flex-direction: column;
  min-height: 500px;
  background: var(--chalk);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.phone-screen.screen-active {
  opacity: 1; transform: translateX(0);
  pointer-events: auto;
}

/* Screen indicators */
.phone-indicators {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 16px; position: relative; z-index: 2;
}
.screen-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none; padding: 0; cursor: pointer;
  transition: background .3s, transform .3s, width .3s;
}
.screen-dot.active {
  background: var(--orange);
  width: 20px; border-radius: 4px;
}
.screen-dot:hover:not(.active) { background: rgba(255,255,255,.5); }

.phone-glow {
  position: absolute; bottom: -36px; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 70px;
  background: rgba(232,119,46,.3);
  filter: blur(44px); border-radius: 50%; pointer-events: none;
}

/* Shared screen elements */
.mock-status-bar {
  background: #fff; display: flex; justify-content: space-between;
  align-items: center; padding: 5px 16px; font-size: 11px; font-weight: 700; color: var(--text);
}
.mock-signal { display: flex; align-items: center; }
.mock-header {
  background: var(--navy); display: flex; align-items: center;
  justify-content: space-between; padding: 10px 14px;
}
.mock-logo {
  display: flex; align-items: center; gap: 5px;
  color: var(--orange); font-size: 13px; font-weight: 800;
}
.mock-notif {
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mock-bottom-nav {
  background: var(--navy); display: flex; justify-content: space-around;
  padding: 12px 0 16px; font-size: 19px;
}
.mock-nav-active { filter: drop-shadow(0 0 6px rgba(232,119,46,.9)); transform: scale(1.18); }

/* Screen 1: Walk */
.mock-walk-card {
  flex: 1; margin: 12px; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 16px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.walk-complete-badge {
  background: #E8FBF2; color: #1A9C5A;
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 50px;
}
.walk-dog { font-size: 50px; line-height: 1; }
.walk-name { font-size: 16px; font-weight: 800; color: var(--text); }
.walk-stats-row {
  display: flex; align-items: center; width: 100%;
  background: var(--chalk); border-radius: var(--r-sm); padding: 10px 0;
}
.walk-stat { flex: 1; text-align: center; }
.walk-stat-val { font-size: 17px; font-weight: 900; color: var(--text); line-height: 1; }
.xp-val { color: var(--orange); }
.walk-stat-lbl { font-size: 10px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.walk-stat-div { width: 1px; height: 26px; background: var(--border); }
.walk-xp-bar { width: 100%; height: 7px; background: var(--chalk); border-radius: 50px; overflow: hidden; }
.walk-xp-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--orange), #FFB347);
  border-radius: 50px;
  transition: width 1.6s cubic-bezier(.25, 1, .5, 1);
}
.walk-xp-fill.animate { width: 62%; }
.walk-xp-label { font-size: 10px; color: var(--text-muted); font-weight: 500; align-self: flex-start; }
.walk-bonus {
  width: 100%; background: #FFFBEA; border: 1px solid #FDEAA0;
  border-radius: var(--r-sm); padding: 7px 10px;
  font-size: 11px; color: #8A5F00; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.bonus-star { font-size: 13px; flex-shrink: 0; }

/* Screen 2: BreedFeed */
.feed-filter {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 50px;
}
.mock-feed-card {
  margin: 8px 10px 4px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: 12px;
}
.feed-card-2 { margin-top: 0; }
.feed-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feed-avatar { font-size: 26px; }
.feed-name { font-size: 12px; font-weight: 700; color: var(--text); }
.feed-sub { font-size: 10px; color: var(--text-muted); }
.feed-breed-badge {
  margin-left: auto; background: var(--orange-light); color: var(--orange);
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 50px;
}
.feed-content { font-size: 11px; color: var(--text-sec); line-height: 1.5; margin-bottom: 8px; }
.feed-img-placeholder {
  background: var(--chalk); border-radius: 8px; height: 56px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 8px;
}
.feed-reactions { display: flex; gap: 10px; font-size: 10px; font-weight: 600; color: var(--text-muted); }

/* Screen 3: Discovery */
.discovery-location { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 600; }
.mock-discovery-card {
  flex: 1; margin: 10px; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 16px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.discovery-dog-emoji { font-size: 56px; line-height: 1; }
.discovery-name { font-size: 20px; font-weight: 900; color: var(--text); }
.discovery-details { font-size: 12px; color: var(--text-sec); }
.discovery-location-tag { font-size: 11px; color: var(--text-muted); }
.discovery-tags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; margin: 4px 0; }
.dtag {
  background: var(--chalk); color: var(--text-sec);
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 50px;
}
.discovery-owner {
  font-size: 11px; color: var(--mint); font-weight: 600;
  background: rgba(77,219,181,.1); padding: 3px 10px; border-radius: 50px;
}
.discovery-actions { display: flex; gap: 10px; margin-top: 6px; }
.disc-pass {
  flex: 1; padding: 8px; background: #FEE2E2; color: #E53E3E;
  border: none; border-radius: 50px; font-size: 12px; font-weight: 700;
  transition: background .2s;
}
.disc-wag {
  flex: 1; padding: 8px; background: var(--orange); color: #fff;
  border: none; border-radius: 50px; font-size: 12px; font-weight: 700;
  transition: background .2s, transform .15s;
}
.disc-wag:hover { background: var(--orange-dark); transform: scale(1.05); }

/* Hero wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ── Marquee ──────────────────────────────────────────── */
.marquee-strip {
  background: var(--orange);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
  position: relative;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, var(--orange), transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(-90deg, var(--orange), transparent); }

.marquee-track {
  display: inline-flex; align-items: center; gap: 24px;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-item { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .02em; }
.marquee-sep  { color: rgba(255,255,255,.4); font-size: 12px; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Shared ───────────────────────────────────── */
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; color: var(--text);
  letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 18px;
}
.section-header p { font-size: 17px; color: var(--text-sec); line-height: 1.78; }
.br-desktop { display: block; }

/* ── Features ─────────────────────────────────────────── */
.features { padding: 108px 0; background: var(--chalk); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  /* 3D tilt prep */
  transform-style: preserve-3d;
  transition: border-color .22s ease, box-shadow .22s ease;
  cursor: default;
  will-change: transform;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,119,46,.25);
}
/* Hover glow on border */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(232,119,46,.15), transparent, rgba(77,219,181,.1));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: -1;
}
.feature-card:hover::after { opacity: 1; }

.feature-card { position: relative; }

.feature-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-bottom: 14px;
}
.feature-icon-wrap {
  width: 48px; height: 48px;
  background: var(--ic, var(--orange-light));
  color: var(--ig, var(--orange));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover .feature-icon-wrap {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(14,28,47,.1);
}
.feature-card h3 {
  font-size: 19px; font-weight: 800; color: var(--text);
  letter-spacing: -.4px; margin-bottom: 10px;
}
.feature-card p { font-size: 14.5px; color: var(--text-sec); line-height: 1.72; }
.feature-tag {
  display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; color: var(--orange); background: var(--orange-light);
  padding: 4px 10px; border-radius: 50px;
}

/* ── Stats Bar ────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,119,46,.08) 0%, transparent 70%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(36px, 4vw, 56px); font-weight: 900;
  color: var(--orange); letter-spacing: -1px; line-height: 1;
  margin-bottom: 8px;
}
.stat-infinity {
  font-size: clamp(44px, 5vw, 64px);
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.5); font-weight: 500; line-height: 1.4; }

/* ── PawFormers ───────────────────────────────────────── */
.pawformers { background: var(--navy); padding: 108px 0; }
.pawformers-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.pawformers-text .section-eyebrow { color: var(--yellow); }
.pawformers-text h2 {
  font-size: clamp(28px, 3vw, 44px); font-weight: 900; color: #fff;
  letter-spacing: -1.1px; line-height: 1.12; margin-bottom: 18px;
}
.pawformers-text > p {
  font-size: 16px; color: rgba(255,255,255,.62); line-height: 1.82; margin-bottom: 34px;
}
.pawformers-cards { display: flex; flex-direction: column; gap: 12px; }

.pawformer-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: background .2s, border-color .2s, transform .25s ease;
}
.pawformer-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateX(6px);
}
.pawformer-gold   { border-color: rgba(255,215,0,.28); background: rgba(255,215,0,.04); }
.pawformer-silver { border-color: rgba(180,180,200,.2); }
.pawformer-bronze { border-color: rgba(200,130,50,.2); }
.pawformer-rank   { font-size: 24px; flex-shrink: 0; }
.pawformer-avatar { font-size: 38px; flex-shrink: 0; }
.pawformer-info   { flex: 1; min-width: 0; }
.pawformer-name   { font-size: 15px; font-weight: 700; color: #fff; }
.pawformer-breed  { font-size: 12px; color: rgba(255,255,255,.46); margin-top: 2px; }
.pawformer-stats  { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.pf-stat { display: flex; flex-direction: column; align-items: flex-end; }
.pf-val  { font-size: 14px; font-weight: 800; color: var(--orange); line-height: 1; }
.pawformer-gold .pf-val { color: var(--yellow); }
.pf-lbl  { font-size: 10px; color: rgba(255,255,255,.38); font-weight: 500; margin-top: 1px; }

/* ── QR Collar ───────────────────────────────────────── */
.collar { padding: 108px 0; background: var(--white); }
.collar-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.collar-visual { display: flex; justify-content: center; }
.collar-mockup { position: relative; }
.collar-tag {
  width: 180px; height: 180px;
  background: var(--white);
  border: 3px solid var(--border);
  border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}
.collar-tag-label {
  font-size: 13px; font-weight: 800; color: var(--orange);
  letter-spacing: .04em;
}
.collar-ring {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 28px;
  border: 4px solid #C0C0C0;
  border-radius: 50% 50% 0 0;
  border-bottom: none;
  z-index: 0;
}
.collar-text .section-eyebrow { color: var(--orange); }
.collar-text h2 {
  font-size: clamp(28px, 3vw, 44px); font-weight: 900; color: var(--text);
  letter-spacing: -1.1px; line-height: 1.12; margin-bottom: 18px;
}
.collar-text > p {
  font-size: 16px; color: var(--text-sec); line-height: 1.82; margin-bottom: 34px;
}
.collar-features { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.collar-features li {
  display: flex; gap: 14px; align-items: flex-start;
}
.collar-features svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.collar-features strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.collar-features span { font-size: 14px; color: var(--text-sec); line-height: 1.6; }
.collar-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.collar-note { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── Membership ──────────────────────────────────────── */
.membership { padding: 108px 0; background: var(--chalk); }
.tiers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }

.tier-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .25s ease;
}
.tier-card:hover {
  border-color: rgba(232,119,46,.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tier-badge {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-muted); margin-bottom: 20px;
}
.tier-price {
  font-size: clamp(36px, 4vw, 48px); font-weight: 900; color: var(--text);
  letter-spacing: -1.5px; line-height: 1;
}
.tier-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.tier-period { font-size: 14px; color: var(--text-muted); margin-top: 6px; margin-bottom: 28px; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-features li {
  font-size: 15px; color: var(--text-sec); font-weight: 500;
  padding-left: 24px; position: relative;
}
.tier-features li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .25;
}

/* Pro tier */
.tier-pro {
  border-color: var(--orange);
  background: linear-gradient(180deg, #FFF9F5, var(--white));
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(232,119,46,.15);
}
.tier-pro:hover {
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(232,119,46,.3);
}
.tier-pro .tier-badge { color: var(--orange); }
.tier-pro .tier-features li::before { opacity: .6; }
.tier-popular {
  position: absolute; top: -12px; right: 24px;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 14px; border-radius: 50px;
  box-shadow: 0 4px 14px rgba(232,119,46,.35);
}
.tier-founding {
  display: flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 10px 14px;
  background: #FFFBEA; border: 1px solid #FDEAA0; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700; color: #8A5F00;
}
.tier-founding svg { color: #C2923A; flex-shrink: 0; }
.tier-cta { margin-top: 20px; text-align: center; justify-content: center; width: 100%; }

/* ── Coming Soon ──────────────────────────────────────── */
.coming-soon { padding: 108px 0; background: var(--white); }
.coming-soon-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.coming-soon-inner h2 {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; color: var(--text);
  letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 18px;
}
.coming-soon-inner > p {
  font-size: 17px; color: var(--text-sec); line-height: 1.78; margin-bottom: 52px;
}
.coming-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: left; }

.coming-item {
  background: var(--chalk); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s, transform .25s ease;
}
.coming-item:hover {
  border-color: rgba(232,119,46,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.coming-icon { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.coming-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.coming-item span { font-size: 13.5px; color: var(--text-sec); line-height: 1.62; }

/* ── Waitlist ─────────────────────────────────────────── */
.waitlist { padding: 108px 0; background: var(--chalk); }
.waitlist-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.waitlist-text .section-eyebrow { color: var(--orange); }
.waitlist-text h2 {
  font-size: clamp(28px, 3vw, 44px); font-weight: 900; color: var(--text);
  letter-spacing: -1.1px; line-height: 1.12; margin-bottom: 18px;
}
.waitlist-text > p { font-size: 16px; color: var(--text-sec); line-height: 1.82; margin-bottom: 34px; }
.waitlist-perks { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.waitlist-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text); font-weight: 500;
}
.waitlist-perks svg { color: var(--orange); flex-shrink: 0; }

/* Form card with animated gradient border */
.waitlist-form-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.waitlist-form-wrap::before {
  content: '';
  position: absolute; inset: -1.5px; z-index: -1;
  border-radius: calc(var(--r-xl) + 1.5px);
  background: linear-gradient(135deg, rgba(232,119,46,.4), rgba(77,219,181,.2), rgba(232,119,46,.4));
  background-size: 300% 300%;
  animation: gradientBorder 5s ease infinite;
  opacity: .6;
}
@keyframes gradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.waitlist-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.req-star { color: var(--orange); }

.form-group input[type="email"] {
  width: 100%; padding: 13px 16px; font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--chalk);
  border: 1.5px solid var(--border); border-radius: var(--r-md); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input[type="email"]::placeholder { color: var(--text-muted); }
.form-group input[type="email"]:focus {
  border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(232,119,46,.12);
}
.form-group input[type="email"].is-invalid {
  border-color: #E53E3E; box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}

.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; padding: 13px 38px 13px 16px; font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--chalk);
  border: 1.5px solid var(--border); border-radius: var(--r-md); outline: none;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.select-wrap select:focus {
  border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(232,119,46,.12);
}
.select-wrap select:disabled { opacity: .52; cursor: not-allowed; }
.select-wrap select.is-invalid { border-color: #E53E3E; box-shadow: 0 0 0 3px rgba(229,62,62,.1); }
.select-chevron {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%); pointer-events: none; color: var(--text-muted);
}

.btn-submit {
  width: 100%; padding: 16px; background: var(--orange); color: #fff;
  font-size: 16px; font-weight: 700; border: none; border-radius: 50px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 22px rgba(232,119,46,.36); cursor: pointer; margin-top: 4px;
}
.btn-submit::before {
  content: '';
  position: absolute; top: 0; left: -150%; width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out infinite;
}
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,119,46,.48); }
.btn-submit:disabled { opacity: .72; transform: none; cursor: wait; }
.btn-submit-spinner { display: none; }
.btn-submit.is-loading .btn-submit-label { display: none; }
.btn-submit.is-loading .btn-submit-spinner { display: flex; animation: spin .75s linear infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.form-error {
  background: #FFF5F5; border: 1.5px solid #FC8181; border-radius: var(--r-sm);
  padding: 11px 14px; font-size: 14px; color: #C53030; font-weight: 500;
}
.form-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: -4px; }

/* Success */
.waitlist-success { text-align: center; padding: 16px 0 8px; }
.success-paw { font-size: 56px; margin-bottom: 18px; animation: successBounce .6s cubic-bezier(.36,0,.66,-0.56) reverse, successSettle .4s .3s ease forwards; }
@keyframes successBounce { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1) rotate(0deg); } }
@keyframes successSettle { from { transform: scale(1.2); } to { transform: scale(1); } }
.waitlist-success h3 {
  font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.4px; margin-bottom: 10px;
}
.waitlist-success p { font-size: 15px; color: var(--text-sec); line-height: 1.72; }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: var(--navy); padding-top: 64px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.42); line-height: 1.68; max-width: 256px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social-link:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-3px) scale(1.1); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.48); transition: color .2s; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom { padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom-inner span { font-size: 13px; color: rgba(255,255,255,.26); }

/* ── Cursor Paw Trail ─────────────────────────────────── */
.cursor-paw {
  position: fixed; pointer-events: none; z-index: 9998;
  font-size: 18px; line-height: 1; user-select: none;
  animation: pawFade 700ms ease-out forwards;
}
@keyframes pawFade {
  0%   { opacity: .55; transform: scale(1) rotate(var(--rot, 0deg)); }
  100% { opacity: 0;   transform: scale(.4) translateY(8px) rotate(var(--rot, 0deg)); }
}

/* ── Reveal Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.25, 1, .5, 1), transform .7s cubic-bezier(.25, 1, .5, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered feature cards */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: .08s; }
.features-grid .feature-card:nth-child(3) { transition-delay: .16s; }
.features-grid .feature-card:nth-child(4) { transition-delay: .08s; }
.features-grid .feature-card:nth-child(5) { transition-delay: .16s; }
.features-grid .feature-card:nth-child(6) { transition-delay: .24s; }

/* Stats stagger */
.stats-grid .stat-item:nth-child(1) { transition-delay: 0s; }
.stats-grid .stat-item:nth-child(2) { transition-delay: .1s; }
.stats-grid .stat-item:nth-child(3) { transition-delay: .2s; }
.stats-grid .stat-item:nth-child(4) { transition-delay: .3s; }

/* PawFormers stagger */
.pawformers-cards .pawformer-card:nth-child(1) { transition-delay: 0s; }
.pawformers-cards .pawformer-card:nth-child(2) { transition-delay: .1s; }
.pawformers-cards .pawformer-card:nth-child(3) { transition-delay: .2s; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 24px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 72px; padding-bottom: 90px; gap: 0; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .pawformers-inner { grid-template-columns: 1fr; gap: 48px; }
  .pawformers-text { text-align: center; }
  .pawformers-text .btn-primary { display: inline-flex; margin: 0 auto; }
  .waitlist-wrap { grid-template-columns: 1fr; gap: 48px; }
  .collar-inner { grid-template-columns: 1fr; gap: 48px; }
  .collar-visual { order: -1; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .coming-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .features { padding: 72px 0; }
  .pawformers { padding: 72px 0; }
  .collar { padding: 72px 0; }
  .membership { padding: 72px 0; }
  .coming-soon { padding: 72px 0; }
  .waitlist { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }
  .br-desktop { display: none; }
  .stats-bar { padding: 48px 0; }
}

@media (max-width: 560px) {
  .waitlist-form-wrap { padding: 24px 20px; }
  .hero-headline { letter-spacing: -1.6px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
