.product-hero { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.product-hero h1 { max-width: 11ch; }
.product-hero .button-row { gap: .7rem; }
.product-hero-note { margin: 1.2rem 0 0; }
.demo-section { scroll-margin-top: 6rem; }
.demo-heading, .product-benefits-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.1rem; }
.demo-heading h2 { max-width: 13ch; }
.demo-heading .lead { margin-bottom: 0; }
.demo-heading-badge { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border: 1px solid rgba(128, 96, 206, .19); border-radius: 1.15rem; background: linear-gradient(120deg, #f6edfc, #fbeaf5); box-shadow: 0 15px 40px rgba(107, 68, 137, .07); color: #6542a3; font-size: .77rem; line-height: 1.35; white-space: nowrap; }
.demo-heading-badge .icon { width: 2rem; height: 2rem; color: var(--rose); animation: demo-spark 5s ease-in-out infinite; }
.demo-heading-badge strong { display: block; font-size: .89rem; color: var(--ink); }
.demo-shell { overflow: hidden; border: 1px solid #d7c4ef; border-radius: 2rem; background: #2d2343; box-shadow: 0 30px 75px rgba(48, 29, 75, .19); color: #fff; }
.demo-shell-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.8rem; padding: .75rem clamp(1.3rem, 3vw, 2.4rem); border-bottom: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .045); }
.demo-shell-brand, .demo-mode { font-size: .66rem; letter-spacing: .16em; font-weight: 700; }
.demo-shell-brand { display: flex; align-items: center; gap: .8rem; }
.demo-signal { width: .55rem; height: .55rem; border-radius: 50%; background: #f18fc7; box-shadow: 0 0 0 5px rgba(241, 143, 199, .16); }
.demo-mode { color: #e9d8f5; }
.demo-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.2rem, 4vw, 3.6rem); background: radial-gradient(circle at 22% 45%, rgba(137, 104, 200, .22), transparent 45%), radial-gradient(circle at 90% 15%, rgba(223, 105, 170, .1), transparent 35%); }
.demo-visual { display: grid; align-content: start; justify-items: center; min-width: 0; }
.demo-photo-wrap { width: min(100%, 425px); height: clamp(385px, 43vw, 520px); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 46% 46% 1.4rem 1.4rem; background: #bda8c0; isolation: isolate; box-shadow: 0 23px 55px rgba(15, 8, 33, .32); }
.demo-photo-wrap::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(to bottom, rgba(21, 12, 39, .13), transparent 45%, rgba(21, 12, 39, .43)); pointer-events: none; }
.demo-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.demo-hud { position: absolute; z-index: 7; top: 16%; left: 18%; right: 18%; display: flex; justify-content: space-between; gap: .4rem; color: white; font-size: .52rem; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 6px #2d2343; pointer-events: none; }
.demo-hud-light { color: #f9d2f0; white-space: nowrap; }
.demo-grid-overlay { position: absolute; z-index: 3; inset: 10% 10% 14%; opacity: 0; background-image: linear-gradient(rgba(242,209,255,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(242,209,255,.23) 1px, transparent 1px); background-size: 24px 24px; clip-path: ellipse(42% 47% at 50% 48%); mix-blend-mode: screen; pointer-events: none; transition: opacity .45s; }
.demo-contours { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: 0; fill: none; stroke: rgba(253, 216, 250, .88); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px #ce75de); pointer-events: none; transition: opacity .5s; }
.demo-contours path { stroke-dasharray: 1250; stroke-dashoffset: 1250; }
.demo-contours circle { fill: #f5a8e7; stroke: #fff; opacity: 0; }
.demo-shell[data-phase="scanning"] .demo-contours { opacity: .85; }
.demo-shell[data-phase="scanning"] .demo-contours path { animation: demo-trace 3.4s ease-out both; }
.demo-shell[data-stage="map"] .demo-grid-overlay, .demo-shell[data-stage="ideas"] .demo-grid-overlay { opacity: .6; animation: demo-grid-breathe 1.7s ease-in-out infinite alternate; }
.demo-shell[data-stage="map"] .demo-contours circle, .demo-shell[data-stage="ideas"] .demo-contours circle { animation: demo-node-pop .48s ease-out both; }
.demo-shell[data-stage="map"] .demo-contours circle:nth-last-child(2) { animation-delay: .14s; }
.demo-shell[data-stage="map"] .demo-contours circle:nth-last-child(1) { animation-delay: .3s; }
.demo-stage-chip { position: absolute; z-index: 7; top: 3.2rem; left: 50%; max-width: 80%; padding: .38rem .75rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(54,32,80,.66); backdrop-filter: blur(8px); color: #fff; font-size: .62rem; font-weight: 700; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.demo-face-guide { position: absolute; z-index: 2; inset: 15% 17% 17%; border: 1px solid rgba(255,255,255,.38); border-radius: 48% 48% 44% 44%; box-shadow: 0 0 0 999px rgba(18, 10, 39, .06); pointer-events: none; }
.demo-corner { position: absolute; width: 1.5rem; height: 1.5rem; border: 3px solid #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .32)); }
.demo-corner.tl { top: 4%; left: 7%; border-bottom: 0; border-right: 0; border-radius: 10px 0 0; }
.demo-corner.tr { top: 4%; right: 7%; border-bottom: 0; border-left: 0; border-radius: 0 10px 0 0; }
.demo-corner.bl { bottom: 6%; left: 7%; border-top: 0; border-right: 0; border-radius: 0 0 0 10px; }
.demo-corner.br { bottom: 6%; right: 7%; border-top: 0; border-left: 0; border-radius: 0 0 10px; }
.demo-scan-beam { position: absolute; z-index: 5; top: 7%; left: 11%; right: 11%; height: 3px; border-radius: 99px; background: #f2afe3; opacity: 0; box-shadow: 0 0 18px 5px rgba(226, 110, 228, .68), 0 20px 60px 15px rgba(171, 106, 229, .18); pointer-events: none; }
.demo-marker { position: absolute; z-index: 6; width: .55rem; height: .55rem; border: 1px solid white; border-radius: 50%; background: #e68ac5; box-shadow: 0 0 0 .45rem rgba(238, 158, 226, .27), 0 0 18px #dca1eb; opacity: 0; pointer-events: none; }
.demo-marker--one { top: 39%; left: 28%; }
.demo-marker--two { top: 40%; right: 28%; }
.demo-marker--three { top: 69%; left: 49%; }
.demo-shell[data-phase="scanning"] .demo-scan-beam { opacity: 1; animation: demo-sweep 3.4s ease-in-out both; }
.demo-shell[data-phase="scanning"] .demo-marker { animation: demo-blink 1.15s ease-in-out infinite alternate; }
.demo-shell[data-phase="scanning"] .demo-marker--two { animation-delay: .18s; }
.demo-shell[data-phase="scanning"] .demo-marker--three { animation-delay: .36s; }
.demo-photo-tag { position: absolute; z-index: 7; bottom: 1.15rem; left: 50%; display: flex; align-items: center; gap: .45rem; width: max-content; max-width: calc(100% - 2rem); padding: .57rem .85rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(255,255,255,.9); color: #42354e; backdrop-filter: blur(8px); font-size: .69rem; transform: translateX(-50%); }
.demo-photo-actions { width: min(100%, 425px); display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.demo-upload, .demo-reset { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.55rem; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.37); border-radius: 999px; background: rgba(255,255,255,.09); color: white; font-size: .72rem; cursor: pointer; transition: background .2s, transform .2s; }
.demo-upload:hover, .demo-reset:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.demo-upload:focus-visible, .demo-reset:focus-visible { outline: 3px solid #efb4f0; outline-offset: 3px; }
#demo-upload { position: absolute; width: 1px; height: 1px; opacity: 0; clip-path: inset(50%); overflow: hidden; }
.demo-photo-help { width: min(100%, 425px); margin: .8rem 0 0; color: #ded0e9; font-size: .7rem; line-height: 1.6; }
.demo-photo-help strong { color: white; }
.demo-error { width: min(100%, 425px); margin: .5rem 0 0; color: #ffc8da; font-size: .76rem; }
.demo-controls { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.demo-step-label { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.2rem; color: #e5d1ef; font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.demo-step-label span:first-child { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #ad80c9; border-radius: 50%; color: #f7c5e6; font: 500 1.1rem var(--serif); letter-spacing: 0; }
.demo-controls h3 { max-width: 17ch; margin-bottom: 1rem; font-size: clamp(2.3rem, 3vw, 3.4rem); }
.demo-controls-intro { max-width: 30rem; color: #decfe7; font-size: .83rem; }
.demo-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin: 1.05rem 0 .1rem; padding: 0; list-style: none; }
.demo-timeline li { display: flex; align-items: center; gap: .38rem; min-height: 3.3rem; padding: .55rem .6rem; border: 1px solid rgba(228,200,245,.21); border-radius: .75rem; color: #d8cae2; font-size: .62rem; line-height: 1.25; transition: border-color .35s, background .35s, color .35s, transform .35s; }
.demo-timeline li span { display: grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgba(246,218,255,.12); font-size: .61rem; }
.demo-timeline li.is-active { border-color: #f1b4df; background: rgba(227, 137, 209, .21); color: #fff; transform: translateY(-3px); }
.demo-timeline li.is-active span, .demo-timeline li.is-complete span { background: #efa9d9; color: #322645; }
.demo-timeline li.is-complete { color: #ffe5f7; border-color: rgba(241,180,223,.5); }
.demo-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1rem 0 1.45rem; }
.demo-choice { display: flex; align-items: center; gap: .65rem; min-width: 0; min-height: 4.2rem; padding: .65rem .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1rem; background: rgba(255,255,255,.045); color: #fff; text-align: left; font-size: .83rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .25s, transform .25s; }
.demo-choice:hover { border-color: rgba(240,179,229,.75); transform: translateY(-3px); }
.demo-choice.is-selected { border-color: #eaa9d6; background: linear-gradient(125deg, rgba(174, 116, 212, .33), rgba(228, 122, 184, .2)); }
.demo-choice:focus-visible { outline: 3px solid #efa9d8; outline-offset: 2px; }
.demo-choice-icon { width: 2.2rem; height: 2.2rem; flex: none; display: grid; place-items: center; border-radius: .7rem; background: rgba(226, 163, 232, .14); color: #f4b7db; }
.demo-choice-icon .icon { width: 1.15rem; height: 1.15rem; }
.demo-choice small { display: block; color: #d3c2df; font-size: .66rem; font-weight: 400; white-space: nowrap; }
.demo-choice-arrow { margin-left: auto; opacity: .54; }
.demo-choice.is-selected .demo-choice-arrow { opacity: 1; color: #fac4e8; transform: rotate(-45deg); }
.demo-start { align-self: flex-start; min-width: 13rem; cursor: pointer; }
.demo-start:disabled { opacity: .67; cursor: wait; box-shadow: none; transform: none; }
.demo-progress { width: min(100%, 23rem); height: .3rem; margin-top: 1.3rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.demo-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9988ef, #ee99cb); }
.demo-shell[data-phase="scanning"] .demo-progress span { animation: demo-progress 3.4s linear both; }
.demo-shell[data-phase="complete"] .demo-progress span { width: 100%; }
.demo-status { min-height: 1.4rem; margin: .5rem 0 1.1rem; color: #e4d4ed; font-size: .72rem; }
.demo-privacy { display: flex; align-items: center; gap: .45rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); color: #d2c1df; font-size: .68rem; }
.demo-privacy .icon { color: #d4b7f0; }
.demo-results { margin-top: 1.35rem; padding: clamp(1.5rem, 4vw, 3.2rem); border: 1px solid #e4d5ec; border-radius: 2rem; background: linear-gradient(140deg, #fff 30%, #f9f2fd); box-shadow: 0 22px 60px rgba(66, 41, 99, .08); animation: demo-arrive .5s ease both; }
.demo-results[hidden], .demo-error[hidden], .demo-reset[hidden] { display: none !important; }
.demo-results-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.demo-results-header h3 { margin-bottom: .5rem; font-size: clamp(2.5rem, 4vw, 4rem); }
.demo-results-header p:last-child { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.demo-results-label { padding: .5rem .7rem; border: 1px solid #ddc7ee; border-radius: 999px; color: #754b97; font-size: .61rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.demo-result-tabs { display: flex; gap: .5rem; padding: 1.3rem 0; overflow-x: auto; }
.demo-result-tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1rem; border: 1px solid #e4d9eb; border-radius: 999px; background: white; color: #685574; font-size: .81rem; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.demo-result-tabs button:hover { transform: translateY(-2px); border-color: #c899da; }
.demo-result-tabs button[aria-selected="true"] { border-color: transparent; background: #6749a6; color: white; }
.demo-result-content { display: grid; grid-template-columns: 4rem minmax(0,1fr); gap: 1.2rem; min-height: 12rem; padding: 1.5rem; border: 1px solid #ede4f1; border-radius: 1.3rem; background: white; }
.demo-result-content.is-switching { animation: demo-tab-in .3s ease both; }
.demo-result-icon { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 1.15rem; background: linear-gradient(135deg, #eee5ff, #f9e2f1); color: #a04dac; }
.demo-result-icon .icon { width: 1.7rem; height: 1.7rem; }
.demo-result-eyebrow { margin-bottom: .5rem; color: #8552b0; font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.demo-result-content h4 { margin: 0 0 .5rem; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1 var(--serif); }
.demo-result-content p:not(.demo-result-eyebrow) { max-width: 45rem; margin-bottom: .75rem; color: var(--muted); font-size: .85rem; }
.demo-result-content ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.demo-result-content li { display: flex; align-items: flex-start; gap: .55rem; color: #554c60; font-size: .8rem; }
.demo-result-content li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 1.1rem; height: 1.1rem; margin-top: .15rem; border-radius: 50%; background: #efe5f8; color: #7854ad; font-size: .65rem; }
.demo-result-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.demo-result-footer span, .demo-repeat { display: inline-flex; align-items: center; gap: .5rem; color: #755f80; font-size: .76rem; }
.demo-result-footer span .icon { color: var(--rose); }
.demo-result-actions { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.demo-repeat { padding: .55rem .7rem; border: 0; background: none; color: #6749a6; font-weight: 700; cursor: pointer; }
.demo-repeat:hover { text-decoration: underline; }
.demo-disclaimer { margin: 1.2rem 0 0; padding: .85rem 1rem; border-left: 3px solid var(--rose); background: #f9f1fa; color: #5c5064; font-size: .72rem; line-height: 1.6; }
.product-benefits-heading h2 { max-width: 13ch; }
.product-benefits-heading .body-copy { max-width: 26rem; margin-bottom: .3rem; }
.product-benefits .feature-icon { background: linear-gradient(135deg, #eee4fb, #f9e5f1); color: #7c52bd; }
.product-benefits .feature-card:nth-child(2) .feature-icon { background: #f9e4f1; color: #ba4b96; }
.product-benefits .feature-card:nth-child(3) .feature-icon { background: #e3eff5; color: #626eb7; }
@keyframes demo-sweep { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(390px); opacity: 0; } }
@keyframes demo-trace { 0% { stroke-dashoffset: 1250; opacity: 0; } 28% { opacity: .95; } 80% { stroke-dashoffset: 0; opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes demo-grid-breathe { from { opacity: .25; transform: scale(.99); } to { opacity: .55; transform: scale(1.03); } }
@keyframes demo-node-pop { from { opacity: 0; transform: scale(.2); transform-origin: center; } to { opacity: 1; transform: scale(1); transform-origin: center; } }
@keyframes demo-blink { from { opacity: .2; transform: scale(.75); } to { opacity: 1; transform: scale(1.2); } }
@keyframes demo-progress { to { width: 100%; } }
@keyframes demo-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes demo-tab-in { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes demo-spark { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(9deg) scale(1.1); } }
@media (max-width: 920px) {
  .demo-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 1.5rem; }
  .demo-photo-wrap { height: 430px; }
  .demo-choices { grid-template-columns: 1fr; }
  .demo-choice { min-height: 3.6rem; }
}
@media (max-width: 760px) {
  .demo-heading, .product-benefits-heading { align-items: flex-start; flex-direction: column; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-photo-wrap { width: min(100%, 380px); height: min(115vw, 470px); }
  .demo-controls { padding-top: .5rem; }
  .demo-choices { grid-template-columns: 1fr 1fr; }
  .demo-results-header { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 460px) {
  .demo-shell { border-radius: 1.25rem; }
  .demo-mode { font-size: .53rem; }
  .demo-grid { padding: 1rem; }
  .demo-photo-wrap { height: 395px; }
  .demo-choices { gap: .45rem; }
  .demo-choice { gap: .3rem; padding: .55rem .45rem; font-size: .74rem; }
  .demo-choice-icon { width: 1.75rem; height: 1.75rem; }
  .demo-choice small { font-size: .58rem; }
  .demo-choice-arrow { display: none; }
  .demo-photo-actions { flex-direction: column; align-items: flex-start; }
  .demo-results { border-radius: 1.25rem; }
  .demo-result-content { grid-template-columns: 1fr; padding: 1.15rem; }
  .demo-result-footer { align-items: flex-start; flex-direction: column; }
  .demo-timeline { gap: .28rem; }
  .demo-timeline li { display: grid; justify-items: start; align-content: center; padding: .5rem .4rem; font-size: .56rem; }
  .demo-hud { font-size: .48rem; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-heading-badge .icon, .demo-shell[data-phase="scanning"] .demo-scan-beam, .demo-shell[data-phase="scanning"] .demo-marker, .demo-shell[data-phase="scanning"] .demo-progress span, .demo-shell[data-phase="scanning"] .demo-contours path, .demo-shell[data-stage="map"] .demo-grid-overlay, .demo-shell[data-stage="ideas"] .demo-grid-overlay, .demo-shell[data-stage="map"] .demo-contours circle, .demo-shell[data-stage="ideas"] .demo-contours circle, .demo-results, .demo-result-content.is-switching { animation: none !important; }
  .demo-shell[data-phase="scanning"] .demo-scan-beam { opacity: .5; top: 50%; }
  .demo-shell[data-phase="scanning"] .demo-progress span { width: 100%; }
  .demo-timeline li { transition: none; transform: none; }
}
