/* =========================================================
   SHAREBUY — Presentation mode (Instagram Reels walkthrough)
   ========================================================= */
.pres {
  position: fixed; inset: 0; z-index: 450; display: none; flex-direction: column;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(214, 173, 96, 0.10), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(127, 166, 217, 0.05), transparent 60%),
    #06070A;
  opacity: 0; transition: opacity .5s var(--ease);
}
.pres.on { display: flex; opacity: 1; animation: fadeIn .6s var(--ease) both; }
.pres-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 36px; flex: none; }
.pres-brand { display: flex; align-items: center; gap: 12px; }
.pres-brand span { font-weight: 600; letter-spacing: .34em; font-size: 14px; }
.pres-brand em { font-style: normal; color: var(--text-3); font-size: 12px; letter-spacing: .06em; padding-left: 12px; border-left: 1px solid var(--line-2); }
.pres-scene-label { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.pres-scene-label span { color: var(--gold); font-variant-numeric: tabular-nums; }
.pres-scene-label b { font-weight: 500; color: var(--text-2); }
.pres-exit { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2); cursor: pointer; font-size: 12.5px; }
.pres-exit:hover { color: var(--text); border-color: var(--gold-line); }
.pres-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.pres-foot { flex: none; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 24px 24px; }
.pres-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: all .25s; }
.pres-nav:hover:not(:disabled) { border-color: var(--gold-line); color: var(--gold-2); }
.pres-nav.next:not(:disabled) { background: var(--gold-dim); border-color: var(--gold-line); color: var(--gold-2); }
.pres-nav:disabled { opacity: .3; cursor: default; }
.pres-dots { display: flex; gap: 6px; }
.pres-dots button { position: relative; background: none; border: 0; padding: 8px 2px; cursor: pointer; }
.pres-dots i { display: block; width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); transition: all .4s var(--ease); }
.pres-dots button.done i { background: rgba(214,173,96,.45); }
.pres-dots button.on i { width: 54px; background: var(--gold); }
.pres-dots span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--text-2); background: #161C25; border: 1px solid var(--line-2); padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.pres-dots button:hover span { opacity: 1; }

/* Scene transitions */
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 56px 20px; text-align: center; animation: sceneIn .9s var(--ease) both; overflow-y: auto; }
.scene.from-left { animation-name: sceneInL; }
.scene.leaving { animation: sceneOut .42s ease both; }
.scene.leaving.to-right { animation-name: sceneOutR; }
@keyframes sceneIn { from { opacity: 0; transform: translateX(40px) scale(.985); filter: blur(8px); } }
@keyframes sceneInL { from { opacity: 0; transform: translateX(-40px) scale(.985); filter: blur(8px); } }
@keyframes sceneOut { to { opacity: 0; transform: translateX(-40px) scale(.985); filter: blur(8px); } }
@keyframes sceneOutR { to { opacity: 0; transform: translateX(40px) scale(.985); filter: blur(8px); } }
.scene > * { animation: rise .9s var(--ease) both; }
.scene > *:nth-child(2) { animation-delay: .08s; } .scene > *:nth-child(3) { animation-delay: .16s; } .scene > *:nth-child(4) { animation-delay: .24s; } .scene > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.sc-kicker { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.sc-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; margin-bottom: 30px; }

/* Scene 1 & 8 */
.intro-wrap, .final-wrap { display: flex; flex-direction: column; align-items: center; }
.intro-logo { animation: logoIn 1.4s var(--ease) both; filter: drop-shadow(0 20px 50px rgba(214,173,96,.25)); }
.intro-logo .brand-mark { width: auto; height: auto; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(-8deg); } }
.intro-word { font-family: var(--font); font-weight: 600; font-size: clamp(42px, 6vw, 92px); letter-spacing: .38em; margin: 28px 0 0 .38em; background: linear-gradient(180deg, #FFF6E0, #D6AD60 70%, #9C7430); -webkit-background-clip: text; background-clip: text; color: transparent; animation: trackIn 1.6s var(--ease) .2s both; }
@keyframes trackIn { from { opacity: 0; letter-spacing: .1em; } }
.intro-sub { color: var(--text-2); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; margin-top: 10px; animation: rise 1s var(--ease) .6s both; }
.intro-owner { display: flex; align-items: center; gap: 18px; margin-top: 54px; padding: 16px 26px 16px 16px; border-radius: 80px; border: 1px solid var(--gold-line); background: rgba(214,173,96,.05); text-align: left; animation: rise 1s var(--ease) 1s both; }
.intro-owner img { width: 88px; height: 88px; border-radius: 50%; }
.intro-owner b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; }
.intro-owner span { display: block; color: var(--text-2); font-size: 14px; }
.intro-owner small { color: var(--gold); font-size: 12px; letter-spacing: .06em; }
.final-line { width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 34px 0 26px; animation: line 1.4s var(--ease) .8s forwards; }
@keyframes line { to { width: min(560px, 80vw); } }
.final-tag { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 36px); letter-spacing: .14em; font-weight: 600; }
.final-tag span { display: inline-block; opacity: 0; animation: riseIn 1s var(--ease) forwards; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.final-tag span:nth-child(1) { animation-delay: 1.1s; } .final-tag span:nth-child(2) { animation-delay: 1.5s; } .final-tag span:nth-child(3) { animation-delay: 1.9s; color: var(--gold); }
.final-wrap .btn { animation: rise 1s var(--ease) 2.6s both; }

/* Scene 2 */
.empire-value { font-family: var(--serif); font-weight: 600; font-size: clamp(54px, 8.4vw, 132px); line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #FFF6E0 0%, #F2D89C 45%, #C99B4B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empire-cr { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; flex-wrap: wrap; justify-content: center; }
.empire-cr .trend { font-size: 15px; padding: 4px 12px; }
.empire-cr em { font-style: normal; font-weight: 400; color: var(--text-2); font-size: 15px; }
.empire-chart { width: min(1100px, 92%); height: clamp(140px, 24vh, 240px); margin-top: 28px; }
.empire-stats { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.empire-stats div { padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); min-width: 170px; }
.empire-stats span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.empire-stats b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Scene 3 */
.intel-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; width: min(1320px, 100%); text-align: left; }
.pcard { background: rgba(21,26,34,.85); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; }
.pcard-head { margin-bottom: 14px; }
.pcard-head b { display: block; font-size: 18px; font-weight: 600; }
.pcard-head span { color: var(--text-2); font-size: 13px; }
.pchart { position: relative; height: clamp(220px, 40vh, 380px); }
.pchart.sm { height: clamp(180px, 28vh, 260px); }
.pdonut { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pdonut .legend-row { font-size: 13.5px; }

/* Scene 4 */
.lux-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; width: min(1400px, 100%); }
.lux { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--card); text-align: left; animation: luxIn 1s var(--ease) both; animation-delay: var(--d); }
@keyframes luxIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.lux-img { aspect-ratio: 4 / 5; background-size: cover; background-position: center; transform: scale(1.08); animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.lux-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(180deg, transparent, rgba(6,7,10,.92) 55%); }
.lux-body span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lux-body b { display: block; font-size: 20px; font-weight: 600; margin-top: 4px; }
.lux-val { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold-2); margin-top: 2px; }

/* Scene 5 */
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; width: min(1360px, 100%); text-align: left; }
.pbiz { padding: 24px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 8%, transparent), transparent 60%), var(--card); animation: luxIn 1s var(--ease) both; animation-delay: var(--d); display: flex; flex-direction: column; gap: 4px; }
.pbiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pbiz > b { font-size: 20px; font-weight: 600; }
.pbiz > small { color: var(--text-2); font-size: 12.5px; margin-bottom: 14px; }
.pbiz-rev { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--c); line-height: 1.1; }
.pbiz-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.pbiz-row span { color: var(--text-2); }
.pbiz .progress { margin-top: 14px; }

/* Scene 6 */
.pchat { width: min(980px, 100%); display: flex; flex-direction: column; gap: 22px; text-align: left; }
.pmsg { display: flex; gap: 14px; align-items: flex-end; }
.pmsg.user { justify-content: flex-end; }
.pmsg.user img { width: 52px; height: 52px; border-radius: 50%; }
.pmsg.user .pbubble { background: linear-gradient(180deg, #E2BD74, #C99B4B); color: #17120A; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; border-radius: 22px 22px 6px 22px; padding: 16px 22px; }
.pmsg.bot { animation: rise .8s var(--ease) both; }
.pbot-ic { flex: none; }
.pmsg.bot .pbubble { background: rgba(21,26,34,.95); border: 1px solid var(--line-2); border-radius: 22px 22px 22px 6px; padding: 20px 24px; font-size: 15px; flex: 1; min-width: 0; }
.pans-in { animation: rise .8s var(--ease) both; }
.pans-in p { margin-bottom: 10px; }
.caret { display: inline-block; width: 2px; height: 1em; background: #17120A; margin-left: 3px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.typing { display: inline-flex; gap: 6px; padding: 6px 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: .4; animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.pnote { margin-top: 18px; font-size: 12px; color: var(--text-3); letter-spacing: .06em; }
.pkpis { display: flex; gap: 10px; flex-wrap: wrap; }
.pkpis div { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); }
.pkpis span { display: block; font-size: 11px; color: var(--text-3); }

/* Scene 7 */
.appr { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; width: min(1240px, 100%); border-radius: 24px; overflow: hidden; border: 1px solid var(--gold-line); background: var(--card); text-align: left; box-shadow: 0 40px 100px -40px rgba(214,173,96,.35); }
.appr-img { position: relative; background-size: cover; background-position: center; min-height: 420px; }
.appr-img .badge { position: absolute; top: 18px; left: 18px; height: 30px; padding: 0 14px; font-size: 12.5px; backdrop-filter: blur(6px); }
.appr-body { padding: 34px 36px; }
.appr-body h2 { font-family: var(--serif); font-size: 40px; font-weight: 600; }
.appr-body > p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.appr-amt { font-family: var(--serif); font-size: clamp(46px, 5vw, 70px); font-weight: 600; color: var(--gold-2); margin: 16px 0 10px; line-height: 1; }
.appr-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.appr-meta span { color: var(--text-2); }
.appr-meta b { font-weight: 500; text-align: right; }
.appr-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.appr-actions .badge { height: 34px; padding: 0 14px; font-size: 13px; }
.stamp { position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%) rotate(-12deg) scale(2.2); padding: 10px 26px; border: 5px solid; border-radius: 14px; font-weight: 700; font-size: 44px; letter-spacing: .2em; opacity: 0; pointer-events: none; }
.stamp.on { animation: stamp .55s cubic-bezier(.2,1.4,.4,1) forwards; }
.stamp.ok { color: var(--success); border-color: var(--success); background: rgba(8,10,14,.6); }
.stamp.no { color: var(--danger); border-color: var(--danger); background: rgba(8,10,14,.6); }
@keyframes stamp { to { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }

/* Narrow / portrait screens (vertical recording) */
@media (max-width: 1100px), (orientation: portrait) {
  .pres-brand em, .pres-scene-label b { display: none; }
  .scene { padding: 10px 18px 20px; justify-content: flex-start; padding-top: 4vh; }
  .intel-grid, .appr { grid-template-columns: 1fr; }
  .lux-grid, .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appr-img { min-height: 220px; }
  .appr-body { padding: 22px; }
  .pres-dots span { display: none; }
  .pres-dots i { width: 14px; } .pres-dots button.on i { width: 30px; }
}
@media (max-width: 560px) {
  .pres-head { padding: 14px 16px; }
  .empire-stats div { min-width: 140px; padding: 10px 14px; }
  .pbiz-rev { font-size: 30px; }
  .lux-val { font-size: 24px; }
  .lux-body b { font-size: 16px; }
}
