.product-scene { position:relative; min-height:700px; isolation:isolate; min-width:0; }
.portal-peek { position:absolute; z-index:1; top:24px; left:0; width:calc(100% - 28px); transform:rotate(-4deg); transform-origin:center; color:var(--ink); text-decoration:none; transition:transform .9s cubic-bezier(.22,.61,.36,1),box-shadow .9s cubic-bezier(.22,.61,.36,1); will-change:transform; }
.portal-peek-caption { display:block; padding:18px 20px; color:var(--muted); font-size:.9rem; }
.portal-peek-caption .text-link { display:flex; color:var(--ink); font-size:.875rem; }
.scene-orbit { position: absolute; z-index: -2; border-radius: 50%; }
.orbit-one { width:80%; aspect-ratio:1; right:0; bottom:60px; background:#e2ecd6; border:1px solid #d5e0c7; }
.orbit-two { width:94%; aspect-ratio:1; right:0; bottom:24px; border:1px solid #e1e6d9; }
.scene-building { position: absolute; left: 0; bottom: 76px; z-index: -1; width: 134px; height: 210px; transform: rotate(-8deg); background: #cad9bc; border: 1px solid #b7cba8; border-radius: 8px 8px 0 0; display: grid; grid-template-columns: repeat(2, 19px); grid-auto-rows: 27px; gap: 16px; place-content: center; }
.scene-building span { border: 1px solid #a2b891; background: #dbe5d0; border-radius: 3px; }
.phone { position:absolute; z-index:2; right:12px; top:92px; width:254px; background:#fcfdf9; border:7px solid #244c3d; border-radius:34px; padding:21px 16px 10px; transform:rotate(5deg); box-shadow:14px 25px 0 #b8c5ac38,0 28px 55px #183d3224; }
.phone, .floating-note, .scene-building, .orbit-one, .orbit-two { transition:transform .9s cubic-bezier(.22,.61,.36,1),box-shadow .9s cubic-bezier(.22,.61,.36,1); will-change:transform; }
.phone-top { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.mini-brand { width: 20px; height: 23px; display: grid; place-content: center; background: var(--ink); border-radius: 5px; color: white; font-weight: 700; font-size: 12px; }
.demo-label { margin-left: auto; font-size: 8px; font-weight: 750; color: #725322; background: #f1e7cd; padding: 2px 6px; border-radius: 4px; }
.phone-greeting { font-size: 8px; color: var(--muted); margin-top: 24px; }
.phone h2 { font-size: 24px; margin-top: 4px; }
.balance-card { background: var(--ink); color: white; border-radius: 13px; padding: 16px; margin-top: 18px; }
.balance-card > span { font-size: 10px; color: #c8daca; }
.balance-card > strong { display: block; font-size: 43px; font-weight: 550; letter-spacing: -.045em; line-height: 1.5; }
.balance-card strong > span { font-size: 27px; }
.balance-card strong small { font-size: 13px; font-weight: 400; color: #c8daca; letter-spacing: 0; }
.balance-bottom { display: flex; justify-content: space-between; font-size: 8px; border-top: 1px solid #ffffff24; padding-top: 10px; color: #d8e6d3; }
.phone-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 15px 0; }
.phone-summary > div { background: #eef2e8; border-radius: 7px; padding: 8px 11px; display: flex; flex-direction: column; font-size: 10px; }
.phone-summary span { color: var(--muted); font-size: 8px; }
.phone-section-title { display: flex; justify-content: space-between; align-items: center; margin: 5px 0; }
.phone-section-title h3 { font-size: 11px; letter-spacing: -.015em; }
.phone-section-title > span { font-size: 8px; color: var(--muted); }
.charge-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; font-size: 9px; border-bottom: 1px solid #e7ebdf; }
.charge-row strong { margin-left: auto; font-weight: 650; font-variant-numeric: tabular-nums; }
.charge-symbol { width: 23px; height: 23px; background: #edf2e4; border-radius: 6px; display: grid; place-items: center; color: #5d7954; font-size: 14px; }
.phone-tabs { display: flex; justify-content: space-between; font-size: 8px; padding-top: 16px; color: var(--muted); }
.phone-tabs .selected { color: var(--ink); font-weight: 700; }
.floating-note { position:absolute; z-index:3; right:0; bottom:62px; background:white; padding:15px 18px; border:1px solid #e6e9df; border-radius:12px; display:flex; gap:10px; align-items:center; box-shadow:0 12px 30px #213c2810; transform:rotate(-3deg); }
.check-mark { width: 30px; height: 30px; border-radius: 50%; background: #e6efd9; display: grid; place-items: center; color: #426d38; }
.floating-note strong, .floating-note div > span { display: block; font-size: 10px; }
.floating-note div > span { font-size: 9px; color: var(--muted); }
.product-scene > figcaption { position:absolute; bottom:0; width:100%; text-align:center; font-size:.75rem; color:var(--muted); }
@media(min-width:651px) {
  .product-scene:focus-within .portal-peek { transform:translate(-36px,-28px) rotate(-1deg); box-shadow:0 30px 65px #193d3224; }
  .product-scene:focus-within .phone { transform:translate(16px,-12px) rotate(0deg) scale(1.06); }
}
@media(min-width:651px) and (hover:hover) and (pointer:fine) {
  .product-scene:hover .portal-peek { transform:translate(-36px,-28px) rotate(-1deg); box-shadow:0 30px 65px #193d3224; }
  .product-scene:hover .phone { transform:translate(16px,-12px) rotate(0deg) scale(1.06); box-shadow:18px 30px 0 #b8c5ac47,0 38px 70px #183d322e; }
  .product-scene:hover .floating-note { transform:rotate(0deg) translateY(-8px); box-shadow:0 18px 40px #213c2818; }
  .product-scene:hover .scene-building { transform:rotate(-5deg) translateY(-4px); }
  .product-scene:hover .orbit-one { transform:scale(1.03); }
  .product-scene:hover .orbit-two { transform:scale(1.02); }
}
@media(min-width:901px) and (max-width:1100px) {
  .phone { width:230px; right:4px; }
  .portal-peek { width:100%; }
  .portal-peek .preview-heading { padding:14px 12px; gap:6px; font-size:.8rem; }
}
@media(max-width:900px) {
  .product-scene { width:min(600px,100%); margin-inline:auto; }
}
@media(max-width:650px) {
  .product-scene { display:flex; flex-direction:column; align-items:center; gap:24px; min-height:0; }
  .portal-peek { position:relative; top:auto; left:auto; width:100%; transform:none; }
  .phone { position:relative; top:auto; right:auto; width:min(254px,calc(100% - 40px)); margin-block:8px 12px; transform:rotate(2deg); }
  .scene-building { display:none; }
  .scene-orbit { bottom:110px; }
  .floating-note { position:relative; right:auto; bottom:auto; max-width:100%; margin-top:-12px; transform:none; }
  .product-scene > figcaption { position:static; }
  .portal-peek-caption { padding:14px; }
}
