/* ============================================================
   GoofieTails — marketing site styles
   Theme mirrors the iOS app (vibrant, Apple Health-style).
   ============================================================ */

:root {
  --brand: #2FB457;
  --walk: #34C759;
  --food: #FF9500;
  --meds: #FF2D55;
  --vaccine: #0A84FF;
  --chat: #AF52DE;
  --explore: #30B0C7;
  --weight: #5E5CE6;

  --ink: #16181B;
  --muted: #6B7077;
  --line: #E7E9EE;
  --surface: #FFFFFF;
  --bg: #F6F8FB;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(20, 25, 35, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 25, 35, 0.14);
  --maxw: 1120px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-cursive: "Monte Carlo", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow {
  display: block;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 12px;
}
.center { text-align: center; }
.center p { max-width: 620px; margin: 14px auto 0; }
#features h2 {
  display: inline-block;
  transform-origin: center center;
  letter-spacing: -0.025em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(47,180,87,.35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(47,180,87,.45); }
.btn-ghost { background: rgba(0,0,0,.04); color: var(--ink); }
.btn-ghost:hover { background: rgba(0,0,0,.07); }
.appstore { display: inline-block; }
.appstore img { height: 54px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: #F6F8FB;
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.nav-hidden {
  transform: translateY(-100%);
}
.nav.nav-scrolled {
  background: #F6F8FB;
  box-shadow: 0 10px 30px rgba(20, 25, 35, 0.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.85rem; letter-spacing: -0.03em; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--walk));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 10px 20px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 100px; }
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(175,82,222,.12), transparent 60%),
    radial-gradient(50% 50% at 10% 30%, rgba(52,199,89,.12), transparent 60%),
    radial-gradient(50% 50% at 60% 90%, rgba(255,149,0,.10), transparent 60%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow {
  font-family: "Prata", Georgia, serif;
  font-size: 2.125rem; /* 34px */
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
  color: var(--brand);
  display: inline-block;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Playful pop entrance animation with elastic spring bezier */
.hero-copy h1, 
.hero-copy .eyebrow, 
.hero-copy .lead, 
.hero-copy .hero-cta, 
.hero-copy .trust {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: playfulPop 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.hero-copy .eyebrow { animation-delay: 0.15s; }
.hero-copy h1 { animation-delay: 0.3s; }
.hero-copy .lead { animation-delay: 0.45s; }
.hero-copy .hero-cta { animation-delay: 0.6s; }
.hero-copy .trust { animation-delay: 0.7s; }

@keyframes playfulPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  70% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 5.375rem); /* 86px on desktop */
  line-height: 1.05;
  margin: 20px 0;
  display: inline-block;
  transform-origin: center center;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1, #features h2 {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}
.hero h1:hover, #features h2:hover {
  transform: scale(1.02);
  color: var(--brand);
}
.hero p.lead {
  font-size: 1.375rem; /* 22px */
  line-height: 1.5;
  color: #3b4047;
  margin-bottom: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px; justify-content: center; }
.trust { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* Decorative macOS-style animated circles */
.hero-circles-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  animation: circleDropIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-circle-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47, 180, 87, 0.28), rgba(10, 132, 255, 0.12));
  filter: blur(80px);
  z-index: -2;
  left: -240px;
  top: -100px;
  animation: bubbleFloat 14s ease-in-out infinite alternate;
}
.hero-circle-glass {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08));
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    inset 0 20px 40px rgba(255, 255, 255, 0.65),
    inset 0 -20px 40px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.04);
  z-index: -1;
  left: -190px;
  top: -40px;
  animation: bubbleFloat 12s ease-in-out infinite alternate;
}

@keyframes circleDropIn {
  0% {
    transform: translate(-150px, -60px) scale(0.6);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes bubbleFloat {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
  50% {
    transform: translate(10px, -15px) scale(1.03);
    border-radius: 48% 52% 50% 48% / 52% 48% 52% 50%;
  }
  100% {
    transform: translate(-5px, 10px) scale(0.98);
    border-radius: 52% 48% 52% 52% / 48% 52% 48% 48%;
  }
}

/* Interactive 3-iPhone Gallery */
.hero-gallery {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 450px;
  margin: 0 auto;
  z-index: 2;
  perspective: 1000px;
}
.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-phone {
  position: absolute;
  left: 50%;
  width: 195px;
  height: 395px;
  background: #f2f2f7;
  border: 7px solid #16181b;
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.6s ease;
  transform-origin: center center;
}

/* Phone Mockup Internal Interface */
.gallery-phone .notch {
  width: 70px;
  height: 16px;
  background: #16181b;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
  flex: none;
  z-index: 10;
}
.gallery-phone .home-indicator {
  width: 70px;
  height: 3px;
  background: rgba(0,0,0,0.15);
  border-radius: 99px;
  margin: 0 auto 6px;
  flex: none;
  z-index: 10;
}
.gallery-phone .screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #F6F8FB;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
}
.gallery-phone .screen img.screen-sc {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Phone Screen Header Themes */
.mock-header {
  padding: 18px 12px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-header.walk-theme { background: var(--walk); }
.mock-header.chat-theme { background: var(--chat); }
.mock-header.care-theme { background: var(--food); }

.mock-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

/* Mock Screen Layout Cards */
.mock-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-card-map {
  height: 70px;
  background: #eef1f6;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 0.5px solid var(--line);
}
/* Mock map visual details */
.mock-card-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 30%, #e2f5e2 40%, transparent 41%),
    radial-gradient(circle at 80% 70%, #d0e9ff 30%, transparent 31%);
  opacity: 0.8;
}
.mock-card-map::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--walk);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.4);
  left: 80px;
  top: 30px;
}
.mock-phone-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted);
}
.mock-phone-row strong { color: var(--ink); font-size: 0.72rem; }

/* Lily Mock Screen Bubbles */
.mock-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
}
.mock-bubble {
  padding: 8px 10px;
  font-size: 0.72rem;
  line-height: 1.3;
  max-width: 85%;
  border-radius: 14px;
}
.mock-bubble.user {
  align-self: flex-end;
  background: var(--chat);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.mock-bubble.lily {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* Care Mock Screen Checklists */
.mock-log-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  color: var(--muted);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.mock-log-item.checked {
  color: var(--ink);
}
.mock-log-item .check-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 8px;
  color: transparent;
  flex: none;
}
.mock-log-item.checked .check-circle {
  background: var(--food);
  border-color: var(--food);
  color: #fff;
}

/* 3D Circular Positions */
.gallery-phone.pos-left {
  transform: translate(-105%, 15px) scale(0.85) rotateY(20deg);
  opacity: 1;
  z-index: 1;
  filter: blur(0.8px) brightness(0.75);
}
.gallery-phone.pos-middle {
  transform: translate(-50%, 0) scale(1.05) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  filter: none;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.22);
}
.gallery-phone.pos-right {
  transform: translate(5%, 15px) scale(0.85) rotateY(-20deg);
  opacity: 1;
  z-index: 1;
  filter: blur(0.8px) brightness(0.75);
}

/* Dot indicators */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(22, 24, 27, 0.12);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.gallery-dots .dot.active {
  background: var(--brand);
  transform: scale(1.2);
}

/* Feature cards — horizontal scroll + flip */
.features-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 48px 24px 32px;
  margin-top: 0;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) transparent;
}
.features-scroll::-webkit-scrollbar { height: 6px; }
.features-scroll::-webkit-scrollbar-track { background: transparent; }
.features-scroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 999px; }

.flip-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  height: 320px;
  perspective: 800px;
  scroll-snap-align: center;
  cursor: pointer;
}

@media (min-width: 1840px) {
  .features-scroll {
    justify-content: center;
  }
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.flip-front {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
  overflow: hidden;
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.flip-card.flipped .flip-front {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.flip-front::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    140px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    color-mix(in srgb, var(--accent) 15%, transparent),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.flip-card:hover .flip-front::after {
  opacity: 1;
}
.flip-front .ico {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center; font-size: 28px;
  color: #fff; margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.flip-front h3 { font-size: 1.2rem; position: relative; z-index: 2; }
.flip-back {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
  transform: rotateY(180deg);
  color: #fff;
  gap: 16px;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.flip-card.flipped .flip-back {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3),
              0 0 30px color-mix(in srgb, var(--accent) 70%, transparent),
              0 0 60px color-mix(in srgb, var(--accent) 35%, transparent);
}
.flip-back p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.6;
}
.flip-back em { color: rgba(255,255,255,0.7); }
.flip-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

/* Steps */
.steps-wrapper { position: relative; margin-top: 44px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  display: grid; place-items: center; margin: 0 auto 14px;
  position: relative; z-index: 3;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.step .num.glow {
  box-shadow: 0 0 12px 4px rgba(47, 180, 87, 0.5), 0 0 30px 8px rgba(47, 180, 87, 0.25);
  transform: scale(1.12);
}

/* Connecting line */
.steps-line {
  position: absolute;
  top: 36px;
  left: calc(50% / 3);
  right: calc(50% / 3);
  height: 4px;
  z-index: 1;
}
.steps-svg {
  width: 100%;
  height: 4px;
  display: block;
}
.steps-track {
  stroke: #e0e4ea;
  stroke-width: 2;
  stroke-linecap: round;
}
.steps-progress {
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

/* Traveling glowing dot */
.steps-star {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 30%, var(--brand) 70%);
  box-shadow:
    0 0 8px 3px rgba(47, 180, 87, 0.6),
    0 0 20px 6px rgba(47, 180, 87, 0.3),
    0 0 40px 10px rgba(47, 180, 87, 0.15);
  z-index: 4;
  opacity: 0;
}

.band { background: linear-gradient(135deg, #faf5ff, #f3eafe); border-radius: var(--radius); padding: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; position: relative; overflow: visible; }

.band .pill { display: inline-block; background: var(--chat); color: #fff; font-weight: 600; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }

/* Pricing */
.billing-toggle-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(22, 24, 27, 0.04);
  padding: 6px 14px;
  border-radius: 999px;
}
.billing-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}
.billing-label.active {
  color: var(--ink);
}
.billing-switch {
  width: 48px;
  height: 26px;
  background: var(--brand);
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  position: relative;
  outline: none;
}
.billing-switch-handle {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.billing-switch.yearly .billing-switch-handle {
  left: 25px;
}
.discount-badge {
  background: #ffe4e6;
  color: #f43f5e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 4px;
}

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 32px auto 0; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan.pro {
  border: 2.5px solid var(--brand);
  position: relative;
  box-shadow: 0 15px 35px rgba(47, 180, 87, 0.08);
}
.plan.pro:hover {
  box-shadow: 0 25px 50px rgba(47, 180, 87, 0.16);
}
.plan.pro .tag { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-weight: 700; font-size: .75rem; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; margin: 8px 0 18px; line-height: 1.2; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.plan li { font-size: .95rem; color: #3b4047; padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(47, 180, 87, 0.05);
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  outline: none;
  color: var(--ink);
  transition: color 0.3s ease;
}
.faq summary::before {
  content: "•";
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.3s ease;
  flex-shrink: 0;
}
.faq summary::-webkit-details-marker,
.faq summary::marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--muted);
  transition: transform 0.35s ease, color 0.35s ease;
  display: inline-block;
  line-height: 1;
  margin-left: auto;
}
.faq details[open] summary {
  color: var(--brand);
}
.faq details[open] summary::before {
  color: var(--brand);
}
.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  color: var(--brand);
}

/* Rainbow to Green Hover Animation */
@keyframes rainbowToGreen {
  0% { color: #ff2d55; }
  15% { color: #ff9500; }
  30% { color: #ffcc00; }
  45% { color: #4cd964; }
  60% { color: #007aff; }
  75% { color: #5856d6; }
  90% { color: #af52de; }
  100% { color: var(--brand); }
}

.faq summary:hover {
  animation: rainbowToGreen 1s ease-in-out forwards;
}
.faq summary:hover::before {
  animation: rainbowToGreen 1s ease-in-out forwards;
}

.faq details p {
  padding: 0 24px 20px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-8px);
  animation: faqSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes faqSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--walk)); border-radius: var(--radius); padding: 64px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 12px auto 26px; max-width: 460px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

/* Footer */
.footer { background: #0e1013; color: #c9ccd2; padding: 60px 0 34px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { font-family: var(--font-head); color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a { display: block; color: #9aa0a8; font-size: .92rem; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer .copy { border-top: 1px solid #23262c; margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #7d828a; }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 24px 40px; }
.legal h1 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 8px; font-weight: 700; }
.legal h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 28px 0 10px; font-weight: 700; }
.legal h3 { font-family: var(--font-head); margin: 18px 0 6px; font-weight: 600; }
.legal p, .legal li { color: #3b4047; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.legal .note { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 14px 16px; color: #9a3412; font-size: .9rem; margin: 16px 0; }
.back { color: var(--brand); font-weight: 600; }

/* iOS Chat Mockup */
.ios-device-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  width: 100%;
}
.ios-phone {
  width: 100%;
  max-width: 280px;
  height: 560px;
  background: #f2f2f7;
  border-radius: 40px;
  border: 8px solid #16181b;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transform: rotate(0deg);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.ios-phone:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 8px 25px rgba(0,0,0,0.1);
}
.ios-island {
  width: 90px;
  height: 20px;
  background: #16181b;
  border-radius: 99px;
  margin: 10px auto 0;
  flex: none;
  z-index: 10;
}
.ios-home-indicator {
  width: 90px;
  height: 4px;
  background: rgba(0,0,0,0.15);
  border-radius: 99px;
  margin: 0 auto 8px;
  flex: none;
  z-index: 10;
}
.ios-chat-body {
  flex: 1;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ios-chat-body::-webkit-scrollbar {
  display: none;
}
.ios-bubble {
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.35;
  max-width: 85%;
  border-radius: 18px;
  position: relative;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ios-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ios-bubble.user {
  align-self: flex-end;
  background: var(--chat);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ios-bubble.lily {
  align-self: flex-start;
  background: #ffffff;
  color: #1c1c1e;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.ios-bubble.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  width: 58px;
}
.dot-bounce {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e8e93;
  animation: dot-bounce 1.4s infinite ease-in-out both;
}
.dot-bounce:nth-child(1) { animation-delay: -0.32s; }
.dot-bounce:nth-child(2) { animation-delay: -0.16s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}



/* Responsive */
@media (max-width: 880px) {
  .hero-grid, .band, .pricing, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .section { padding: 64px 0; }
  .band, .cta-band { padding: 36px 24px; }
  
  /* Responsive Hero Adjustments */
  .hero-cta {
    justify-content: center;
  }
    .hero-circles-wrapper {
      left: 50%;
      transform: translateX(-50%);
      top: -20px;
    }
    .hero-circle-glow {
      left: -260px;
      top: -40px;
    }
    .hero-circle-glass {
      left: -220px;
      top: 0;
    }
    .hero-gallery {
      margin-top: 32px;
      max-width: 380px;
      height: 390px;
    }
    .gallery-phone {
      width: 165px;
      height: 335px;
      border-radius: 26px;
      border-width: 5px;
    }
    .gallery-phone.pos-left {
      transform: translate(-105%, 10px) scale(0.85) rotateY(20deg);
    }
    .gallery-phone.pos-right {
      transform: translate(5%, 10px) scale(0.85) rotateY(-20deg);
    }
}

/* Scroll reveal typography animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.plan-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 24px;
  min-height: 48px;
}
.price-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 600px;
  margin: 32px auto 0;
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   Interactive Feature Demo Modal & Mockup Screen Styles
   ============================================================ */

/* Single-sided Feature Card overrides */
.feature-card {
  flex: 0 0 310px;
  width: 310px;
  min-width: 310px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature-card .ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 24px;
  transition: transform 0.25s ease;
}
.feature-card:hover .ico {
  transform: scale(1.08) rotate(3deg);
}
.feature-card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--muted);
  flex: 1;
}
.feature-card .demo-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease, gap 0.15s ease;
  margin-top: auto;
}
.feature-card:hover .demo-link {
  color: color-mix(in srgb, var(--accent) 85%, #000);
  gap: 8px;
}

/* Modal Overlay */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  padding: 24px;
}
.demo-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Card */
.demo-modal {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  width: 100%;
  max-width: 920px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.demo-modal-overlay.open .demo-modal {
  transform: scale(1) translateY(0);
}
.demo-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.05);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 10;
}
.demo-modal .close-btn:hover {
  background: rgba(0,0,0,0.1);
  transform: scale(1.05);
}

/* Modal Grid */
.demo-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 48px;
  align-items: center;
}
.demo-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.demo-details .eyebrow {
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.demo-details h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.demo-details p {
  font-size: 1.05rem;
  color: #3b4047;
  line-height: 1.5;
  margin-bottom: 24px;
}
.demo-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-bullets li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 28px;
  position: relative;
  line-height: 1.4;
}
.demo-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Phone Wrapper & Sizing */
.demo-phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Phone Hardware Wrapper for physical buttons */
.phone-hardware-wrapper {
  position: relative;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hw-button {
  position: absolute;
  background: #1c1d21;
  border-radius: 3px;
  z-index: 1;
}
.hw-button.silent {
  width: 3px;
  height: 16px;
  left: 7px;
  top: 70px;
}
.hw-button.vol-up {
  width: 3px;
  height: 32px;
  left: 7px;
  top: 110px;
}
.hw-button.vol-down {
  width: 3px;
  height: 32px;
  left: 7px;
  top: 154px;
}
.hw-button.power {
  width: 3px;
  height: 48px;
  right: 7px;
  top: 120px;
}
.demo-screen-phone {
  width: 270px;
  height: 585px;
  border: 7px solid #1c1d21;
  border-radius: 46px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.22);
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.demo-screen-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%, transparent 40%, transparent 100%);
  pointer-events: none;
  z-index: 20;
}
.demo-screen-phone .ios-island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  border-radius: 99px;
  background: #1c1d21;
  z-index: 100;
}
.demo-screen-phone .ios-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 4px;
  background: rgba(0,0,0,0.15);
  border-radius: 99px;
  z-index: 100;
}
.ios-screen-content {
  flex: 1;
  overflow: hidden;
  background: #f6f8fb;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Mock GPS Screen (London Map) --- */
.london-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.london-map-svg .bg-land {
  fill: #f4f3ef;
}
.london-map-svg .park-area {
  fill: #e2eccb;
}
.london-map-svg .water-body {
  fill: #b3d5e2;
  transition: all 0.3s;
}
.london-map-svg .road-line {
  stroke: #ffffff;
  stroke-width: 3.5px;
  stroke-linecap: round;
  fill: none;
}
.london-map-svg .road-line.major {
  stroke: #ffffff;
  stroke-width: 5px;
}
.london-map-svg .road-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 7px;
  font-weight: 500;
  fill: #9a9d9f;
  text-anchor: middle;
}
.london-map-svg .park-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  fill: #7d9653;
  text-transform: uppercase;
}
.mock-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.mock-path-line {
  stroke: var(--walk);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawWalkPath 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.mock-map-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--walk);
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}
.mock-map-marker.start {
  left: 30px;
  top: 130px;
  background: #ff3b30;
}
.mock-map-marker.current {
  /* Initial fallback coordinate at start of path */
  left: 0px;
  top: 0px;
  offset-path: path("M 30 130 L 45 95 Q 50 65 80 70 T 130 95");
  animation: moveMarker 5s cubic-bezier(0.4, 0, 0.2, 1) forwards, pulseDot 1.5s infinite alternate;
}
.mock-map-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--line);
  padding: 12px;
  z-index: 4;
  display: flex;
  justify-content: space-around;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.03);
}
.mock-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.6rem;
  color: var(--muted);
}
.mock-stat-item strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 2px;
}

@keyframes drawWalkPath {
  to { stroke-dashoffset: 0; }
}
@keyframes moveMarker {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
@keyframes pulseDot {
  to { box-shadow: 0 0 0 12px rgba(52, 199, 89, 0); }
}

/* --- Mock Care Logs Screen --- */
.mock-care-header {
  background: var(--food);
  padding: 16px 12px 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.mock-care-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.mock-care-task {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  font-size: 0.72rem;
  transition: all 0.3s ease;
  transform: translateY(10px);
  opacity: 0;
}
.mock-care-task.show {
  transform: translateY(0);
  opacity: 1;
}
.mock-care-task.done {
  background: #fbfbfc;
  color: var(--muted);
  border: 1.5px solid var(--line);
}
.mock-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  color: transparent;
  transition: all 0.25s ease;
}
.mock-care-task.done .mock-checkbox {
  background: var(--food);
  border-color: var(--food);
  color: #fff;
}
.mock-push-notification {
  position: absolute;
  top: -70px;
  left: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-left: 4px solid var(--food);
  z-index: 10;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.mock-push-notification.show {
  top: 8px;
}
.mock-push-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink);
}
.mock-push-body {
  font-size: 0.6rem;
  color: #555;
}

/* --- Mock Chat Screen (Lily) --- */
.mock-chat-header {
  background: var(--chat);
  padding: 16px 12px 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.mock-chat-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  text-align: left;
}
.mock-chat-bubble {
  padding: 8px 12px;
  font-size: 0.72rem;
  line-height: 1.35;
  max-width: 85%;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.mock-chat-bubble.show {
  opacity: 1;
  transform: translateY(0);
}
.mock-chat-bubble.user {
  background: var(--chat);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.mock-chat-bubble.lily {
  background: #fff;
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.mock-chat-bubble.typing {
  background: #fff;
  align-self: flex-start;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* --- Mock PDF Reports Screen --- */
.mock-report-header {
  background: var(--vaccine);
  padding: 16px 12px 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.mock-loader-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  padding: 20px;
  transition: opacity 0.3s ease;
}
.mock-loader-ring {
  width: 38px;
  height: 38px;
  border: 3.5px solid var(--line);
  border-top-color: var(--vaccine);
  border-radius: 50%;
  animation: mockSpin 1s linear infinite;
}
.mock-loader-text {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}
.mock-pdf-sheet {
  position: absolute;
  inset: 0;
  top: 100%;
  background: #fbfbfc;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 5;
  transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: left;
}
.mock-pdf-sheet.show {
  top: 32px;
}
.mock-pdf-header {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--muted);
  background: #fff;
}
.mock-pdf-header strong {
  color: var(--ink);
}
.mock-pdf-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-pdf-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.mock-pdf-graph {
  height: 52px;
  background: #eef7fe;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  gap: 8px;
  border: 0.5px solid rgba(10, 132, 255, 0.1);
}
.mock-pdf-bar {
  flex: 1;
  background: var(--vaccine);
  border-radius: 4px 4px 0 0;
  transition: height 0.8s ease;
  height: 0;
}
.mock-pdf-sheet.show .mock-pdf-bar {
  height: var(--h);
}
@keyframes mockSpin {
  to { transform: rotate(360deg); }
}

/* --- Mock Explore Nearby Screen --- */
.mock-explore-header {
  background: var(--explore);
  padding: 16px 12px 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.mock-search-bar {
  background: #fff;
  margin: 10px 10px 4px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.65rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  height: 24px;
}
.mock-search-cursor {
  width: 1.5px;
  height: 10px;
  background: var(--explore);
  animation: mockBlink 0.8s steps(2, start) infinite;
}
.mock-explore-map {
  height: 110px;
  background: url('assets/london_explore_map.png') no-repeat center center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
  position: relative;
  opacity: 0.9;
}
.mock-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--explore);
  border: 1.5px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mock-pin.show {
  transform: translate(-50%, -50%) scale(1);
}
.mock-explore-list {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
}
.mock-explore-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #f6f8fb;
  border-radius: 8px;
  font-size: 0.65rem;
  border: 0.5px solid var(--line);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.mock-explore-item.show {
  opacity: 1;
  transform: translateY(0);
}
.mock-explore-item strong {
  color: var(--ink);
}
@keyframes mockBlink {
  to { visibility: hidden; }
}

/* --- Mock Vault Document Scanner Screen --- */
.mock-vault-header {
  background: var(--weight);
  padding: 16px 12px 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.mock-camera-view {
  flex: 1;
  background: #222;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-camera-paper {
  width: 110px;
  height: 150px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  padding: 10px;
  transform: rotate(5deg) scale(0.9);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.mock-camera-paper::before {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 12px;
  height: 6px; background: #ddd;
}
.mock-camera-paper::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 26px;
  height: 60px; background: #f5f5f5;
}
.mock-scanner-grid {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}
.mock-scanner-laser {
  position: absolute;
  left: 0; right: 0;
  top: 0; height: 2px;
  background: #34c759;
  box-shadow: 0 0 8px #34c759;
  z-index: 4;
  animation: laserMove 2.5s infinite alternate;
}
.mock-camera-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}
.mock-camera-flash.flash {
  animation: cameraFlash 0.3s ease-out;
}
.mock-vault-success {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  padding: 10px;
}
.mock-vault-success.show {
  transform: translateY(0);
}
.mock-vault-success .success-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eefdf2;
  color: #34c759;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}
@keyframes laserMove {
  from { top: 0; }
  to { top: 100%; }
}
@keyframes cameraFlash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

/* --- Live Session Tracking Dashboard --- */
.mock-session-header {
  padding: 16px 16px 6px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-session-header .title-group {
  display: flex;
  flex-direction: column;
}
.mock-session-header .sub-title {
  font-size: 0.58rem;
  color: #34c759;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-session-header .main-title {
  font-size: 1.1rem;
  color: #34c759;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 1px;
}
.mock-session-header .tracking-pill {
  background: #eefdf3;
  color: #34c759;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.mock-session-header .tracking-pill::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #34c759;
  border-radius: 50%;
  animation: livePulse 1.2s infinite alternate;
}

.mock-km-display {
  text-align: center;
  margin: 6px 0 10px;
}
.mock-km-display .km-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: #34c759;
  line-height: 1;
  letter-spacing: -0.03em;
}
.mock-km-display .km-lbl {
  font-size: 0.5rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
}

.mock-session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px;
  margin-bottom: 10px;
}
.mock-session-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 1.5px 4px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.01);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.mock-session-card .card-ico {
  font-size: 0.8rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1fcf4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-session-card .card-info {
  display: flex;
  flex-direction: column;
}
.mock-session-card .card-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}
.mock-session-card .card-lbl {
  font-size: 0.48rem;
  color: var(--muted);
  margin-top: 1px;
}

.mock-map-card {
  margin: 0 14px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  border: 1px solid var(--line);
  background: url('assets/london_walk_map.png') no-repeat center center;
  background-size: cover;
}

.mock-control-btns {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  margin-top: auto;
  margin-bottom: 6px;
}
.mock-btn {
  flex: 1;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: opacity 0.2s;
}
.mock-btn.pause {
  background: transparent;
  border: 1px solid #34c759;
  color: #34c759;
}
.mock-btn.end {
  background: #ff3b30;
  color: #fff;
}
.mock-btn-ico {
  font-size: 0.55rem;
}

@keyframes livePulse {
  to { opacity: 0.3; }
}

/* Responsive Modal Grid */
@media (max-width: 768px) {
  .demo-modal-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
    max-height: 85vh;
    overflow-y: auto;
  }
  .demo-details h2 {
    font-size: 1.8rem;
  }
  .demo-phone-wrapper {
    margin-top: 12px;
  }
}

/* ============================================================
   Playful Interactive Pet Characters
   ============================================================ */

/* Hero Pet */
.hero-pet-container {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatHeroPet 6s ease-in-out infinite;
}
.hero-pet-image {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

@keyframes floatHeroPet {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* FAQ Mascot */
.faq-wrapper {
  position: relative;
  max-width: 760px;
  margin: 40px auto 0;
}
.faq-wrapper .faq {
  margin-top: 0;
}
.faq-mascot {
  position: absolute;
  top: -141px;
  right: -6px;
  width: 208px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Side Peek Cat */
.side-peek-pet {
  position: fixed;
  right: -70px;
  bottom: 120px;
  z-index: 999;
  display: flex;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.side-peek-pet:hover {
  right: 0;
}
.side-peek-image {
  width: 110px;
  height: auto;
  cursor: pointer;
}
.side-peek-bubble {
  position: absolute;
  right: 120px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.side-peek-bubble::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.side-peek-pet:hover .side-peek-bubble {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Footer Peek Dog */
.footer-peek-pet {
  position: absolute;
  bottom: 0;
  left: -20px;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(40px);
}
.footer:hover .footer-peek-pet {
  transform: translateY(-5px);
}
.footer-peek-image {
  width: 130px;
  height: auto;
}

/* Desktop Grid and Alignment overrides */
@media (min-width: 881px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    text-align: left;
    justify-items: stretch;
    align-items: center;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-cta {
    justify-content: flex-start;
  }
}

/* Responsiveness: Hide all peek/float pets on mobile/tablet viewports */
@media (max-width: 880px) {
  .hero-pet-container {
    display: none;
  }
  .faq-mascot {
    display: none;
  }
  .side-peek-pet {
    display: none;
  }
  .footer-peek-pet {
    display: none;
  }
}

/* CTA Band Container modifications */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 96px 40px; /* Taller on desktop to match Figma's 400px height proportions */
}

/* CTA Peeking Pets styling */
.cta-pet {
  position: absolute;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Default sizes for desktop screen widths (min-width: 1024px) */
@media (min-width: 1024px) {
  .cta-pet-dog1 {
    top: -106px;
    left: -32px;
    width: 238px;
    height: auto;
    z-index: 1;
  }
  .cta-pet-dog2 {
    bottom: -69px;
    left: -22px;
    width: 260px;
    height: auto;
    z-index: 2;
  }
  .cta-pet-dogandcat {
    bottom: -15px;
    right: 155px;
    width: 400px;
    height: auto;
    z-index: 2;
  }
  .cta-pet-dog3 {
    bottom: -15px;
    right: -10px;
    width: 210px;
    height: auto;
    z-index: 1;
  }
}

/* Slightly scaled down for medium screens (881px - 1023px) to prevent overlap with text */
@media (max-width: 1023px) and (min-width: 881px) {
  .cta-band {
    padding: 76px 40px;
  }
  .cta-pet-dog1 {
    top: -80px;
    left: -24px;
    width: 185px;
    height: auto;
    z-index: 1;
  }
  .cta-pet-dog2 {
    bottom: -52px;
    left: -16px;
    width: 200px;
    height: auto;
    z-index: 2;
  }
  .cta-pet-dogandcat {
    bottom: -10px;
    right: 125px;
    width: 260px;
    height: auto;
    z-index: 2;
  }
  .cta-pet-dog3 {
    bottom: -10px;
    right: -8px;
    width: 160px;
    height: auto;
    z-index: 1;
  }
}

/* Interactive hover effects */
.cta-band:hover .cta-pet-dog1 {
  transform: scale(1.06) translate(5px, 5px) rotate(-3deg);
}
.cta-band:hover .cta-pet-dog2 {
  transform: scale(1.06) translate(5px, -5px);
}
.cta-band:hover .cta-pet-dogandcat {
  transform: scale(1.06) translate(-5px, -5px);
}
.cta-band:hover .cta-pet-dog3 {
  transform: scale(1.06) translate(-5px, -5px);
}

/* Hide CTA peeking pets and custom floating pets on mobile/tablet viewports to keep the design clean */
@media (max-width: 880px) {
  .cta-pet,
  .custom-floating-pet {
    display: none !important;
  }
}


/* ===== WEB CUSTOMIZER PRO OVERRIDES — AUTO-BAKED ===== */
/* Last baked: 6/22/2026, 2:32:12 PM */
/* Original Uploaded File: istockphoto-161954265-612x612.svg */
#custom-float-1782118785070 {
  position: absolute;
  left: 463px;
  top: 2604px;
  right: auto;
  bottom: auto;
  width: 453px;
  height: auto;
}


/* ===== END WEB CUSTOMIZER PRO OVERRIDES ===== */
