.product-page {
  --product-pink: #f38ca5;
  --product-coral: #ed776d;
  --product-cream: #fff8ef;
  --product-peach: #ffe1cb;
  background: var(--color-white);
}

.product-page .site-header { background: rgba(255, 255, 255, .9); }
.product-page .section-index { color: #d95f78; }

.product-hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 62px) 0 82px;
  background: linear-gradient(145deg, #fff 0%, var(--product-cream) 58%, #fff2e5 100%);
  isolation: isolate;
}

.product-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(circle, rgba(243, 140, 165, .18) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  mask-image: linear-gradient(100deg, #000, transparent 58%);
}

.product-hero-glow {
  position: absolute;
  z-index: -1;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  right: -17%;
  top: -20%;
  background: radial-gradient(circle, rgba(255, 184, 157, .28), rgba(243, 140, 165, .08) 45%, transparent 70%);
  border-radius: 50%;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.product-hero-copy { min-width: 0; }
.product-title-lockup { display: flex; align-items: center; gap: 22px; }
.product-title-lockup > img { width: clamp(82px, 8vw, 108px); height: auto; flex: 0 0 auto; object-fit: contain; border-radius: 24%; box-shadow: 0 14px 35px rgba(127, 75, 77, .16); }
.product-title-lockup p { margin: 0 0 4px; color: #b65c70; font-size: .75rem; font-weight: 750; letter-spacing: .08em; }
.product-title-lockup h1 { margin: 0; font-size: clamp(2.65rem, 5.2vw, 4.9rem); line-height: 1.06; letter-spacing: -.06em; }
.product-tagline { margin: 30px 0 0; color: var(--color-ink); font-size: clamp(1.22rem, 2.3vw, 1.65rem); font-weight: 720; letter-spacing: -.025em; }
.product-intro { max-width: 580px; margin: 18px 0 0; color: var(--color-ink-soft); font-size: .96rem; }
.store-area { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.store-area > p, .play-store > p { margin: 0; color: var(--color-ink-soft); font-size: .7rem; }

.store-badge-link { position: relative; display: inline-flex; flex: 0 0 auto; border-radius: 9px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.store-badge-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.38) 46%, transparent 64%); transform: translateX(-120%); transition: transform .55s var(--ease); pointer-events: none; }
.store-badge-link[href]:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,37,63,.15); }
.store-badge-link[href]:hover::after { transform: translateX(120%); }
.store-badge-link img { width: 180px; height: auto; }
.store-badge-link.is-disabled { opacity: .58; filter: grayscale(.25); cursor: not-allowed; }

.product-hero-visual { position: relative; margin: 0; }
.product-hero-visual::before { content: ""; position: absolute; inset: 10% -5% -9% 8%; z-index: -1; background: linear-gradient(135deg, rgba(243,140,165,.18), rgba(255,209,168,.25)); border-radius: 35px; transform: rotate(3deg); }
.product-hero-visual img { width: 100%; height: auto; object-fit: contain; border: 10px solid rgba(255,255,255,.92); border-radius: 26px; box-shadow: 0 30px 70px rgba(117, 68, 70, .16); animation: productFloat 6s ease-in-out infinite; }
.product-hero-visual figcaption { position: absolute; right: 18px; bottom: 15px; padding: 4px 10px; color: rgba(16,37,63,.6); background: rgba(255,255,255,.75); border-radius: 999px; font-size: .6rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(6px); }
@keyframes productFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.product-section { padding: clamp(88px, 10vw, 140px) 0; }
.overview-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(52px, 10vw, 150px); align-items: start; }
.overview h2, .product-section-heading h2, .gallery-heading h2, .play-panel h2 { margin: 0; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1.12; letter-spacing: -.055em; }
.overview-copy { padding-top: 28px; }
.overview-copy > p { margin: 0 0 22px; color: var(--color-ink-soft); }
.overview-copy > p:first-child { color: var(--color-ink); font-size: clamp(1.22rem, 2.2vw, 1.6rem); font-weight: 650; line-height: 1.8; }
.product-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 34px 0 0; padding: 0; list-style: none; }
.product-facts li { padding: 7px 14px; color: #b6576f; background: #fff3f5; border: 1px solid #f6d3db; border-radius: 999px; font-size: .72rem; font-weight: 700; }

.feature-section { background: linear-gradient(180deg, #fff, #fff8f2 18%, #fff8f2 82%, #fff); }
.product-section-heading, .gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.product-section-heading > p { max-width: 330px; margin: 0; color: var(--color-ink-soft); font-size: .9rem; }
.product-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-feature-card { position: relative; min-height: 310px; padding: 32px; overflow: hidden; background: rgba(255,255,255,.9); border: 1px solid #f3dfe0; border-radius: 22px; box-shadow: 0 22px 55px rgba(128,80,77,.07); }
.product-feature-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(243,140,165,.25), transparent 70%); border-radius: 50%; }
.product-feature-card > span { color: #d95f78; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.product-feature-card h3 { margin: 66px 0 14px; font-size: 1.45rem; line-height: 1.55; letter-spacing: -.025em; }
.product-feature-card p { margin: 0; color: var(--color-ink-soft); font-size: .87rem; }

.screenshots-section { overflow: hidden; }
.gallery-heading { margin-bottom: 40px; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-arrow { width: 48px; height: 48px; color: var(--color-ink); background: var(--color-white); border: 1px solid var(--color-line); border-radius: 50%; cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.gallery-arrow:hover { color: #d95f78; border-color: #d95f78; transform: translateY(-2px); }
.gallery-shell { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.screenshot-track { display: flex; gap: 20px; margin: 0; padding: 8px 0 22px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #e8a9b8 #f8edf0; list-style: none; }
.screenshot-track:focus-visible { outline-offset: -4px; }
.screenshot-slide { flex: 0 0 clamp(220px, 23vw, 310px); scroll-snap-align: start; }
.screenshot-slide img { width: 100%; height: auto; aspect-ratio: 1080 / 2400; object-fit: contain; background: var(--product-cream); border: 1px solid #f0dfe0; border-radius: 22px; box-shadow: 0 18px 42px rgba(80,55,53,.12); }
.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; }
.gallery-footer.container { width: 100%; max-width: none; margin-inline: 0; }
.gallery-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-dots button { width: 9px; height: 9px; padding: 0; background: #e7d2d6; border: 0; border-radius: 50%; cursor: pointer; transition: width .25s, background .25s; }
.gallery-dots button[aria-current="true"] { width: 28px; background: #dc6981; border-radius: 999px; }
.gallery-status { margin: 0; color: var(--color-ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }

.play-section { padding-top: 55px; }
.play-panel { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: clamp(28px, 5vw, 60px); padding: clamp(34px, 5vw, 58px); background: linear-gradient(125deg, #fff0ec, #fff8e7); border: 1px solid #f4ded7; border-radius: 28px; }
.play-panel > img { width: 130px; height: auto; object-fit: contain; border-radius: 25%; box-shadow: 0 16px 35px rgba(127,75,77,.15); }
.play-panel h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.play-panel div > p:last-child { margin: 16px 0 0; color: var(--color-ink-soft); font-size: .9rem; }
.play-store { display: grid; justify-items: center; gap: 8px; }

.product-support { padding-top: 65px; }
.product-support-links { border-top: 1px solid var(--color-line); }
.product-support-links a { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; min-height: 92px; padding: 18px 4px; border-bottom: 1px solid var(--color-line); transition: color .2s, padding .25s var(--ease); }
.product-support-links a:hover { color: #d95f78; padding-inline: 12px; }
.product-support-links span { font-weight: 700; }
.product-support-links small { color: var(--color-ink-soft); font-size: .72rem; }
.product-support-links b { font-weight: 500; }
.footer-back { font-size: .8rem; font-weight: 700; }
.footer-back span { margin-left: 12px; color: #d95f78; }

@media (max-width: 900px) {
  .product-hero { min-height: 0; padding: calc(var(--header-height) + 54px) 0 84px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .product-hero-copy { max-width: 700px; }
  .product-hero-visual { width: min(100%, 720px); }
  .overview-grid { grid-template-columns: 1fr; gap: 38px; }
  .overview-copy { max-width: 680px; padding-top: 0; }
  .product-feature-grid { grid-template-columns: 1fr; }
  .product-feature-card { min-height: 240px; }
  .product-feature-card h3 { margin-top: 36px; }
  .play-panel { grid-template-columns: 100px 1fr; }
  .play-panel > img { width: 100px; }
  .play-store { grid-column: 1 / -1; justify-self: start; justify-items: start; }
}

@media (max-width: 760px) {
  .product-hero { padding: 112px 0 68px; }
  .product-title-lockup { gap: 16px; }
  .product-title-lockup > img { width: 74px; }
  .product-title-lockup h1 { font-size: clamp(2.35rem, 11.5vw, 3.2rem); }
  .product-tagline { margin-top: 24px; font-size: 1.12rem; }
  .store-area { align-items: flex-start; flex-direction: column; gap: 8px; }
  .store-badge-link img { width: 162px; }
  .product-hero-visual img { border-width: 6px; border-radius: 19px; }
  .product-section { padding: 82px 0; }
  .product-section-heading, .gallery-heading { align-items: flex-start; }
  .product-section-heading > p { display: none; }
  .product-feature-card { min-height: 225px; padding: 26px; }
  .gallery-controls { padding-top: 6px; }
  .gallery-arrow { width: 42px; height: 42px; }
  .gallery-shell { width: calc(100% - 36px); }
  .screenshot-track { gap: 14px; padding-inline: 0; scroll-padding-inline: 0; }
  .screenshot-slide { flex-basis: min(76vw, 285px); }
  .play-panel { grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 22px; }
  .play-panel > img { width: 72px; }
  .play-panel .section-index { margin-bottom: 10px; }
  .play-panel h2 { font-size: 1.75rem; }
  .product-support-links a { grid-template-columns: 1fr auto; gap: 4px 18px; }
  .product-support-links small { grid-column: 1; }
  .product-support-links b { grid-column: 2; grid-row: 1 / 3; }
  .product-footer .footer-main { align-items: center; }
}

@media (max-width: 390px) {
  .product-title-lockup > img { width: 66px; }
  .product-title-lockup h1 { font-size: 2.28rem; }
  .product-title-lockup p { font-size: .64rem; }
  .product-hero-grid { gap: 45px; }
  .gallery-heading h2 { font-size: 2.2rem; }
  .gallery-arrow { width: 39px; height: 39px; }
  .play-panel { grid-template-columns: 1fr; }
  .play-panel > img { width: 82px; }
  .play-store { grid-column: auto; }
  .product-footer .footer-main { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-visual img { animation: none; }
  .screenshot-track { scroll-behavior: auto; }
}
