/* ============================================================
   Belly Care — Version 2 (minimal, centered)
   Tokens come from config.css. Only layout for this page here.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--color-ink);
  /* soft brand wash, kept light for a clean minimal feel */
  background:
    radial-gradient(120% 70% at 50% 0%, var(--color-paper) 0%, var(--color-cream) 60%, #E9EDE6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Floating glassy nav ---------- */
.v2nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 14px var(--container-pad) 0;
}
.v2nav__bar {
  width: auto;                 /* hug content, compact */
  max-width: calc(100% - 2 * var(--container-pad));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: var(--radius-pill);
  /* glassmorphism */
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
          backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 12px 34px -18px rgba(34, 30, 39, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.v2nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: var(--tracking-snug);
}
.v2nav__brand .logo-mark { width: 1.55em; height: 1.55em; vertical-align: middle; }
.v2nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.v2nav__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brown);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}
.v2nav__links a:hover { color: var(--color-ink); background: rgba(255, 255, 255, 0.65); }
.v2nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-white);
  background-color: var(--color-sage);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0) 52%);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    inset 0 -2px 6px rgba(0,0,0,0.18),
    0 8px 18px -10px var(--color-sage);
  transition: transform 0.2s var(--anim-ease), filter 0.2s;
}
.v2nav__cta svg { width: 15px; height: 15px; }
.v2nav__cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

@media (max-width: 720px) {
  .v2nav__links { display: none; }
}

.v2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--container-pad) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Brand lockup ---------- */
.v2__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: var(--tracking-snug);
  margin: 0 0 clamp(28px, 5vw, 48px);
}

/* ---------- Moving logo widget (visuals from logo.css) ---------- */
.v2__orb {
  width: clamp(100px, 14vw, 136px);
  height: clamp(100px, 14vw, 136px);
  margin-bottom: clamp(6px, 1vw, 10px);
}

/* ---------- Hero copy ---------- */
.v2__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: var(--space-gap);
}
.v2__rating .star { color: var(--color-flower); }
.v2__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  max-width: 30ch;
  margin: 0 0 var(--space-gap);
}
.v2__sub {
  color: var(--color-brown);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  max-width: 64ch;
  margin: 0 0 clamp(26px, 4vw, 36px);
}

/* ---------- CTA ---------- */
.v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-white);
  /* app primary-button style: solid fill + inner top highlight */
  background-color: var(--color-sage);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0) 52%);
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    inset 0 -3px 8px rgba(0,0,0,0.20),
    0 14px 30px -14px var(--color-sage);
  transition: transform .25s var(--anim-ease), box-shadow .25s var(--anim-ease), filter .25s;
}
.v2__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    inset 0 -3px 8px rgba(0,0,0,0.20),
    0 18px 36px -14px var(--color-sage);
}
.v2__cta:active { transform: translateY(0); }
.v2__cta svg { width: 18px; height: 18px; }
.v2__note { font-size: var(--text-sm); color: var(--color-brown); margin: 14px 0 0; }

/* ---------- Screenshot demos ---------- */
.v2__shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 2.5vw, 36px);
  margin-top: clamp(48px, 8vw, 96px);
  width: 100%;
}
.v2__shots figure { margin: 0; flex: 0 1 280px; }
.v2__shots img {
  width: 100%;
  height: auto;   /* keep aspect ratio (overrides the width/height attrs) */
  filter: drop-shadow(0 30px 50px rgba(34, 30, 39, 0.22));
  animation: v2-float 7s ease-in-out infinite;
}
.v2__shots figure:nth-child(1) img { animation-delay: -1s; }
.v2__shots figure:nth-child(3) img { animation-delay: -3.5s; }
/* lift the centre phone for a subtle hero focus */
.v2__shots figure:nth-child(2) { flex-basis: 300px; transform: translateY(-26px); }
.v2__shots figure:nth-child(2) img { animation-delay: -2.2s; }
.v2__shots figcaption {
  margin-top: 18px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-ink);
}
.v2__shots figcaption span { display: block; font-weight: 400; color: var(--color-brown); }
.v2__shots-dots { display: none; }   /* mobile-only carousel indicators */

/* ---------- Footer ---------- */
.v2__foot {
  margin-top: clamp(48px, 7vw, 88px);
  font-size: var(--text-sm);
  color: var(--color-brown);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.v2__foot a:hover { color: var(--color-salmon); }

@keyframes v2-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 720px) {
  /* one screenshot at a time: a swipeable, auto-advancing carousel */
  .v2__shots {
    flex-wrap: nowrap;
    gap: 0;
    margin-top: clamp(36px, 8vw, 64px);
    max-width: 320px;
    margin-inline: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .v2__shots::-webkit-scrollbar { display: none; }
  .v2__shots figure,
  .v2__shots figure:nth-child(2) {
    flex: 0 0 100%;
    transform: none;
    scroll-snap-align: center;
    padding: 0 6px;
  }
  .v2__shots img { animation: none; }       /* no float inside the slider */
  .v2__shots-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
  }
  .v2__shots-dots b {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-line);
    cursor: pointer;
    transition: width 0.22s var(--anim-ease), background 0.22s;
  }
  .v2__shots-dots b.is-active { width: 20px; background: var(--color-sage); }
}

@media (max-width: 480px) {
  .v2nav { top: 10px; padding-top: 10px; }
  .v2nav__bar { gap: 8px; padding: 7px 7px 7px 13px; }
  .v2nav__brand { font-size: 1rem; }
  .v2nav__brand .logo-mark { width: 1.4em; height: 1.4em; }
  .v2nav__cta { padding: 9px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .v2__shots img { animation: none; }
  .v2__shots figure:nth-child(2) { transform: translateY(-26px); }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SEO content section (features + FAQ)
   ============================================================ */
.seo {
  width: 100%;
  max-width: 760px;
  margin: clamp(56px, 9vw, 104px) auto 0;
  text-align: left;
}
.seo--faq { margin-top: clamp(40px, 6vw, 72px); }

.seo__h {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-align: center;
  margin: 0 0 12px;
}
.seo__lead {
  color: var(--color-brown);
  font-size: clamp(0.9rem, 1vw, 1rem);
  text-align: center;
  max-width: 56ch;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

/* ----- Features grid ----- */
.seo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.seo-card {
  background: var(--color-white);
  border: 1px solid var(--color-ink-faint);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-card);
}
.seo-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-snug);
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 3px solid var(--color-sage);
}
.seo-card p {
  margin: 0;
  color: var(--color-brown);
  font-size: var(--text-md);
  line-height: var(--leading-body);
}

/* ----- FAQ accordion ----- */
.seo-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.seo-faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-ink-faint);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  transition: box-shadow 0.2s var(--anim-ease);
}
.seo-faq__item[open] { box-shadow: var(--shadow-card); }
.seo-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: var(--tracking-snug);
  color: var(--color-ink);
}
.seo-faq__item summary::-webkit-details-marker { display: none; }
.seo-faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--color-sage);
  border-bottom: 2px solid var(--color-sage);
  transform: rotate(45deg);
  transition: transform 0.25s var(--anim-ease);
}
.seo-faq__item[open] summary::after { transform: rotate(-135deg); }
.seo-faq__item p {
  margin: 0 0 14px;
  color: var(--color-brown);
  font-size: var(--text-md);
  line-height: var(--leading-body);
}

@media (max-width: 620px) {
  .seo__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-faq__item summary::after { transition: none; }
}
