/* ============================================================
   TinPet — Landing page
   Sistema visual: oscuro vibrante, degradado de marca
   ============================================================ */

:root {
  /* Base */
  --bg: #0a0a0e;
  --bg-2: #101019;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.40);

  /* Marca */
  --orange: #ff8a1e;
  --amber: #ffb020;
  --coral: #ff3d6e;
  --purple: #9b3fe4;
  --blue: #2e86ff;
  --cyan: #29d3ff;

  --grad: linear-gradient(100deg, #ff9a1e 0%, #ff3d6e 36%, #9b3fe4 66%, #2e86ff 100%);
  --grad-soft: linear-gradient(100deg, #ff9a1e, #ff3d6e, #9b3fe4, #2e86ff);

  --maxw: 1200px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Fredoka", sans-serif; font-weight: 500;
  font-size: 1.02rem;
  padding: 14px 26px; border-radius: 999px;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary {
  color: #fff; position: relative;
  background: var(--grad);
  background-size: 180% 180%;
  box-shadow: 0 12px 34px -10px rgba(255, 61, 110, .6), 0 6px 16px -8px rgba(46, 134, 255, .5);
  animation: gradShift 7s ease infinite;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -10px rgba(255, 61, 110, .7); }
.btn-ghost {
  color: #fff; background: var(--surface);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-3px); }

@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Google Play badge */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0a0a0e;
  padding: 11px 22px 11px 18px; border-radius: 16px;
  transition: transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.8);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(0,0,0,.9); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn .st-small { font-size: .68rem; opacity: .65; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.store-btn .st-big { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.18rem; line-height: 1.1; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 14, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(10, 10, 14, .88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand img.brand-logo { width: auto; height: 44px; border-radius: 0; }
.nav.scrolled .brand img.brand-logo { height: 38px; }
.brand .name { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand .name b { color: var(--amber); font-weight: 600; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .98rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 168px 0 90px; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }

/* fondo aurora */
.aurora { position: absolute; inset: -20% -10%; z-index: 0; filter: blur(70px); opacity: .85; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.b1 { width: 620px; height: 620px; background: radial-gradient(circle, var(--orange), transparent 65%); top: -8%; left: -6%; animation: float1 16s ease-in-out infinite; }
.b2 { width: 560px; height: 560px; background: radial-gradient(circle, var(--coral), transparent 65%); top: 6%; right: -4%; animation: float2 19s ease-in-out infinite; }
.b3 { width: 640px; height: 640px; background: radial-gradient(circle, var(--purple), transparent 65%); bottom: -22%; left: 24%; animation: float3 21s ease-in-out infinite; }
.b4 { width: 520px; height: 520px; background: radial-gradient(circle, var(--blue), transparent 66%); bottom: -10%; right: 12%; animation: float1 23s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-46px,38px) scale(1.12); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(36px,-30px) scale(1.06); } }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  color: var(--muted); backdrop-filter: blur(6px); margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,61,110,.22); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,61,110,.22);} 50% { box-shadow: 0 0 0 9px rgba(255,61,110,0);} }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 22px; }
.hero-logo { display: block; width: clamp(150px, 16vw, 188px); margin-bottom: 24px; filter: drop-shadow(0 10px 26px rgba(0,0,0,.5)); animation: bob 6s ease-in-out infinite; }
.soon-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--faint); font-weight: 700; font-size: .92rem; }
.soon-note .apple { width: 16px; height: 18px; fill: var(--faint); }
.store-btn.soon { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #fff; cursor: default; box-shadow: none; backdrop-filter: blur(8px); }
.store-btn.soon:hover { transform: none; box-shadow: none; }
.store-btn.soon .apple { width: 24px; height: 28px; fill: #fff; }
.store-btn.soon .st-small { opacity: .6; }
.hero p.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 30ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; font-size: 1.1rem; }
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--amber); letter-spacing: 2px; }

/* phone hero */
.hero-visual { position: relative; display: grid; place-items: center; perspective: 1200px; }
.phone-glow { position: absolute; width: 420px; height: 420px; background: var(--grad); border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0; animation: gradShift 8s ease infinite; background-size: 200% 200%; }
.phone {
  position: relative; z-index: 2; width: min(330px, 78%);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.6));
  will-change: transform;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1deg); } }

/* tarjetitas flotantes alrededor del phone */
.float-chip {
  position: absolute; z-index: 3;
  background: rgba(20,20,28,.85); border: 1px solid var(--line);
  backdrop-filter: blur(10px); border-radius: 16px;
  padding: 11px 15px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .92rem; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  will-change: transform;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; }
.chip-match { top: 6%; left: 1%; animation: bob 7s ease-in-out infinite; }
.chip-match .ic { background: linear-gradient(135deg, var(--coral), var(--purple)); }
.chip-like { bottom: 10%; right: 0%; animation: bob 5.5s ease-in-out .6s infinite; }
.chip-like .ic { background: linear-gradient(135deg, var(--orange), var(--amber)); }
.chip-paw { top: 44%; right: -2%; animation: bob 6.5s ease-in-out .3s infinite; }
.chip-paw .ic { background: linear-gradient(135deg, var(--blue), var(--cyan)); }

/* ============================================================
   SECCIONES genéricas
   ============================================================ */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.kicker { font-family: "Fredoka", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; color: var(--amber); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.stat .num { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: clamp(2.2rem,4vw,3rem); }
.stat .lbl { color: var(--muted); font-weight: 700; margin-top: 4px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 40px 30px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.22); }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.step:hover::before { transform: scaleX(1); }
.step .stepnum { font-family: "Fredoka",sans-serif; font-weight: 600; font-size: 1rem; color: var(--faint); margin-bottom: 18px; }
.step .stepic { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; margin-bottom: 22px; background: var(--surface-2); border: 1px solid var(--line); }
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--muted); }

/* ============================================================
   DEMO SWIPE
   ============================================================ */
.demo { padding: 100px 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.demo-copy h2 { font-size: clamp(2rem,3.6vw,3rem); margin-bottom: 18px; }
.demo-copy p { color: var(--muted); font-size: 1.12rem; margin-bottom: 26px; }
.demo-copy ul { list-style: none; display: grid; gap: 14px; }
.demo-copy li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.demo-copy li .tick { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); font-size: .8rem; }

.deck-stage-w { position: relative; height: 560px; display: grid; place-items: center; }
.deck { position: relative; width: min(360px, 90%); height: 500px; }
.swipe-card {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden;
  background: #16161f; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.85);
  cursor: grab; user-select: none; will-change: transform;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.swipe-card.dragging { cursor: grabbing; transition: none; }
.swipe-card .photo { position: absolute; inset: 0; z-index: 0; }
.swipe-card .photo.placeholder { display: grid; place-items: center; }
.swipe-card .photo.placeholder .big-emoji { font-size: 8rem; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.swipe-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.swipe-card .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.88) 4%, rgba(0,0,0,.25) 42%, rgba(0,0,0,0) 70%); }
.swipe-card .info { position: relative; z-index: 2; padding: 24px; }
.swipe-card .info .nm { font-family: "Fredoka",sans-serif; font-weight: 600; font-size: 1.7rem; display: flex; align-items: baseline; gap: 10px; }
.swipe-card .info .nm small { font-weight: 400; font-size: 1.15rem; opacity: .8; }
.swipe-card .info .meta { color: rgba(255,255,255,.82); font-weight: 700; margin: 4px 0 12px; display: flex; align-items: center; gap: 8px; }
.swipe-card .info .bio { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 14px; }
.swipe-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.swipe-card .tags span { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }

.stamp {
  position: absolute; top: 34px; z-index: 4; font-family: "Fredoka",sans-serif; font-weight: 600;
  font-size: 2rem; padding: 6px 18px; border-radius: 12px; border: 4px solid; opacity: 0;
  transition: opacity .12s; text-transform: uppercase; letter-spacing: .04em;
}
.stamp.like { left: 24px; color: #2bd47a; border-color: #2bd47a; transform: rotate(-16deg); }
.stamp.nope { right: 24px; color: #ff476f; border-color: #ff476f; transform: rotate(16deg); }

.deck-controls { display: flex; justify-content: center; gap: 20px; margin-top: 30px; position: relative; z-index: 5; }
.ctrl { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: #fff; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.ctrl:hover { transform: translateY(-4px) scale(1.06); }
.ctrl.nope:hover { color: #ff476f; box-shadow: 0 0 0 1px #ff476f, 0 14px 30px -12px rgba(255,71,111,.6); }
.ctrl.like { width: 74px; height: 74px; font-size: 1.9rem; }
.ctrl.like:hover { color: #2bd47a; box-shadow: 0 0 0 1px #2bd47a, 0 14px 30px -12px rgba(43,212,122,.6); }
.ctrl.star:hover { color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 14px 30px -12px rgba(41,211,255,.6); }

.deck-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 16px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.deck-empty.show { opacity: 1; pointer-events: auto; }
.deck-empty .em { font-size: 4rem; }
.deck-empty button { margin-top: 6px; }

/* match toast */
.match-toast {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(5,5,9,.7); backdrop-filter: blur(8px); opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
.match-toast.show { opacity: 1; pointer-events: auto; }
.match-toast .card { text-align: center; transform: scale(.8); transition: transform .5s var(--ease); }
.match-toast.show .card { transform: scale(1); }
.match-toast h3 { font-size: clamp(2.6rem,7vw,4.5rem); margin-bottom: 10px; }
.match-toast p { color: var(--muted); font-size: 1.2rem; margin-bottom: 24px; }

/* ============================================================
   LIVE MAP
   ============================================================ */
.map-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.map-copy h2 { font-size: clamp(2rem,3.6vw,3rem); margin-bottom: 18px; }
.map-copy h2 #mapBreedWord { transition: opacity .3s; }
.map-copy p { color: var(--muted); font-size: 1.12rem; margin-bottom: 26px; }
.breed-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.breed-chip {
  font-family: "Fredoka",sans-serif; font-weight: 500; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); color: #fff;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: transform .2s var(--ease), background .25s, border-color .25s;
}
.breed-chip:hover { transform: translateY(-2px); background: var(--surface-2); }
.breed-chip.active { background: var(--grad); border-color: transparent; box-shadow: 0 10px 26px -12px rgba(255,61,110,.6); }
.breed-chip .e { font-size: 1.2rem; }

.map-frame {
  position: relative; aspect-ratio: 1 / 0.82; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(46,134,255,.10), transparent 60%),
    #0c0f1a;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
/* faux map grid + "roads" */
.map-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 92%);
}
.map-frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 40%, rgba(155,63,228,.14) 50%, transparent 60%),
    linear-gradient(60deg, transparent 44%, rgba(255,138,30,.12) 50%, transparent 56%);
}
.map-radius {
  position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1;
  transform: translate(-50%,-50%); border-radius: 50%;
  border: 1.5px solid rgba(255,61,110,.4);
  background: radial-gradient(circle, rgba(255,61,110,.10), transparent 70%);
  animation: radar 3.4s ease-out infinite;
}
@keyframes radar { 0% { transform: translate(-50%,-50%) scale(.5); opacity: .9; } 100% { transform: translate(-50%,-50%) scale(1.15); opacity: 0; } }
.map-you {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 4;
  display: grid; place-items: center; gap: 6px; text-align: center;
}
.map-you .me { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 1.5rem; border: 3px solid #0c0f1a; box-shadow: 0 0 0 4px rgba(255,61,110,.25), 0 10px 24px -8px rgba(0,0,0,.7); }
.map-you .lbl { font-size: .72rem; font-weight: 800; color: #fff; background: rgba(0,0,0,.5); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(4px); }

.map-pins { position: absolute; inset: 0; z-index: 3; }
.map-pin { position: absolute; transform: translate(-50%,-100%); animation: pinDrop .5s var(--ease) both; }
@keyframes pinDrop { 0% { transform: translate(-50%,-160%); opacity: 0; } 60% { transform: translate(-50%,-92%); } 100% { transform: translate(-50%,-100%); opacity: 1; } }
.pin-bubble {
  width: 46px; height: 46px; border-radius: 50% 50% 50% 4px; transform: rotate(45deg);
  background: rgba(20,22,34,.92); border: 1.5px solid var(--line); display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.8); backdrop-filter: blur(4px);
}
.pin-bubble { font-size: 1.3rem; }
.pin-bubble span { display: block; transform: rotate(-45deg); }
.map-pin .pin-bubble { line-height: 1; position: relative; }
.map-pin .pin-name {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  font-size: .72rem; font-weight: 800; white-space: nowrap; color: #fff;
  background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 999px; backdrop-filter: blur(4px);
}
/* emoji needs to stay upright despite rotated bubble */
.pin-bubble { font-family: serif; }

/* ============================================================
   FEATURES
   ============================================================ */
/* ============================================================
   APP SHOWCASE — real screenshots
   ============================================================ */
.showcase { padding: 40px 0 100px; overflow: hidden; }
.showcase-scroller { display: flex; gap: 30px; justify-content: center; align-items: center; padding: 30px 22px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.showcase-scroller::-webkit-scrollbar { height: 8px; }
.showcase-scroller::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 99px; }
.phone-screen {
  flex: none; width: 232px; border-radius: 36px; border: 9px solid #17171f;
  background: #000; overflow: hidden; scroll-snap-align: center;
  box-shadow: 0 36px 70px -28px rgba(0,0,0,.85);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.phone-screen img { width: 100%; display: block; }
.showcase-scroller .phone-screen:nth-child(odd) { transform: translateY(-22px); }
.showcase-scroller .phone-screen:hover { transform: translateY(-30px) scale(1.03); box-shadow: 0 46px 80px -28px rgba(255,61,110,.4); }

/* ============================================================
   PET SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 30px; }
.svc-card {
  padding: 34px 24px; border-radius: var(--r-lg); text-align: center;
  background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.svc-card:hover { transform: translateY(-8px); background: var(--surface-2); border-color: rgba(255,255,255,.2); }
.svc-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .6; transition: opacity .35s, transform .5s var(--ease); }
.svc-card:hover .svc-bg { opacity: .72; transform: scale(1.05); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,14,.22) 0%, rgba(10,10,14,.62) 75%); pointer-events: none; }
.svc-card > .svc-ic, .svc-card > h3, .svc-card > p { position: relative; z-index: 2; }
.svc-card .svc-ic { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 18px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: .92rem; }

.svc-listing {
  display: flex; align-items: center; gap: 20px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  max-width: 640px; margin: 0 auto;
}
.svc-listing .thumb { width: 84px; height: 84px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 2.4rem; background: linear-gradient(135deg,#2e86ff,#29d3ff); overflow: hidden; }
.svc-listing .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-listing .lcontent { flex: 1; }
.svc-listing .lcontent .ltop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.svc-listing .lcontent h4 { font-family: "Fredoka",sans-serif; font-weight: 600; font-size: 1.25rem; }
.svc-listing .featured { font-size: .72rem; font-weight: 800; color: #ffce6b; background: rgba(255,176,32,.16); border: 1px solid rgba(255,176,32,.4); padding: 3px 10px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.svc-listing .lmeta { color: var(--muted); font-weight: 700; font-size: .92rem; }
.svc-listing .lmeta b { color: #fff; font-weight: 700; }
.svc-listing .lcontent p { color: var(--faint); font-size: .9rem; margin-top: 4px; }
.svc-listing .chev { font-size: 1.4rem; color: var(--faint); }

/* badges reused in swipe card */
.card-badges { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 8px; }
.badge { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.badge.vax { color: #6ff0a8; background: rgba(43,212,122,.2); border: 1px solid rgba(43,212,122,.5); }
.badge.ped { color: #9fc6ff; background: rgba(46,134,255,.2); border: 1px solid rgba(46,134,255,.5); }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature {
  position: relative; padding: 34px 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), background .35s;
}
.feature:hover { transform: translateY(-6px); background: var(--surface-2); }
.feature .glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(60px); opacity: 0; transition: opacity .4s; top: -60px; right: -60px; }
.feature:hover .glow { opacity: .5; }
.feature .ficon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 20px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }
.feature.span2 { grid-column: span 2; }

/* ============================================================
   GALLERY marquee
   ============================================================ */
.gallery { padding: 60px 0 100px; overflow: hidden; }
.marquee { display: flex; gap: 22px; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.gcard { width: 280px; height: 360px; border-radius: 22px; overflow: hidden; position: relative; flex: none; border: 1px solid var(--line); }
.gcard .photo { position: absolute; inset: 0; display: grid; place-items: center; }
.gcard .photo img { width: 100%; height: 100%; object-fit: cover; }
.gcard .photo .big-emoji { font-size: 6rem; }
.gcard .photo .couple { display: flex; align-items: center; gap: 4px; font-size: 3.2rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.gcard .photo .couple .h { font-size: 1.7rem; }
.gcard .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); font-family: "Fredoka",sans-serif; font-weight: 500; }
.gcard .cap small { display: block; font-family: "Nunito"; font-weight: 700; color: var(--muted); }
.gcard .heart { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 1.3rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }

/* ============================================================
   CTA DOWNLOAD
   ============================================================ */
.cta { padding: 40px 0 110px; }
.cta-inner {
  position: relative; border-radius: 36px; overflow: hidden;
  padding: 80px 60px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  border: 1px solid var(--line);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,8,13,.95) 30%, rgba(8,8,13,.55) 70%, rgba(155,63,228,.4)); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(2.1rem,4vw,3.3rem); margin-bottom: 16px; }
.cta-content h2 .grad-text { display: inline; }
.cta-content p { color: rgba(255,255,255,.82); font-size: 1.15rem; margin-bottom: 30px; max-width: 42ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-qr { position: relative; z-index: 2; justify-self: end; text-align: center; }
.cta-qr .qbox { width: 150px; height: 150px; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 12px; }
.cta-qr small { display: block; margin-top: 12px; color: var(--muted); font-weight: 700; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: #fff; cursor: pointer; padding: 22px 26px; font-family: "Fredoka",sans-serif; font-weight: 500; font-size: 1.18rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s var(--ease), background .3s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--grad); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer .brand { margin-bottom: 16px; }
.footer .ftag { color: var(--muted); max-width: 30ch; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--surface-2); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-col h4 { font-family: "Fredoka",sans-serif; font-weight: 500; margin-bottom: 16px; font-size: 1.05rem; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 11px; font-weight: 600; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; gap: 14px; color: var(--faint); font-size: .9rem; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-logo { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-qr { justify-self: start; }
  .features-grid, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .feature.span2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.open { background: rgba(10,10,14,.96); backdrop-filter: blur(16px); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 18px; position: absolute;
    top: 100%; left: 0; right: 0; padding: 24px; border-bottom: 1px solid var(--line);
    background: rgba(10,10,14,.98);
  }
  .features-grid, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-listing { flex-direction: column; text-align: center; }
  .hero { padding-top: 130px; }
  .float-chip { display: none; }
  .cta-inner { padding: 50px 26px; }
  .section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
