/* Home page interactive sections: "See your brand" and the package finder (loaded only on the home page) */

/* ---------- See your brand ---------- */
.play-brand { background: var(--black); overflow: hidden; position: relative; }
.play-brand::before { content: ''; position: absolute; right: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent 70%); pointer-events: none; }
.play-brand-grid { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(40px, 7vw, 100px); align-items: center; }
.play-brand-copy { display: grid; gap: 20px; justify-items: start; }
.play-brand-copy h2 em { font-style: normal; color: #9a9a9a; }
.play-brand-copy > p { color: var(--muted-d); font-size: 17px; max-width: 520px; }
.play-form { display: grid; gap: 18px; width: 100%; max-width: 560px; }
.play-field { display: grid; gap: 8px; }
.play-field > span { font: 600 13px/1 var(--sans); color: #cfcfcf; }
.play-field input { width: 100%; background: #111; border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 14px; padding: 15px 16px; font: 500 17px var(--sans); transition: border-color .2s, box-shadow .2s; }
.play-field input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.play-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.play-chip { border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #cfcfcf; border-radius: 999px; padding: 9px 14px; font: 500 14px/1 var(--sans); cursor: pointer; transition: all .2s; }
.play-chip:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.play-chip[aria-checked="true"] { background: #fff; color: #000; border-color: #fff; }
.play-brand-cta { margin-top: 6px; }

.play-phone { position: relative; justify-self: center; width: 100%; max-width: 340px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2b2b2b, #0c0c0c); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .04); transform: rotate(2deg); transition: transform .5s ease; }
.play-phone:hover { transform: rotate(0deg) translateY(-4px); }
.play-phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #000; z-index: 2; }
.pp-screen { height: 100%; border-radius: 34px; overflow: hidden; background: #0b0b0b; padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); color: #f2f2f2; }
.pp-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.pp-handle { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-dots { color: #8f8f8f; letter-spacing: 1px; }
.pp-head { display: flex; align-items: center; gap: 14px; }
.pp-avatar { flex: 0 0 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(#fff, #6b6b6b, #fff); }
.pp-initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #1c1c1c; border: 3px solid #0b0b0b; font: 700 20px/1 var(--serif); letter-spacing: -.02em; transition: transform .3s; }
.pp-initials.pop { animation: pp-pop .35s ease; }
@keyframes pp-pop { 50% { transform: scale(1.12); } }
.pp-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 9.5px; color: #9a9a9a; line-height: 1.25; }
.pp-stats b { display: block; color: #fff; font-size: 14px; }
.pp-name { margin: 0; font-weight: 700; font-size: 14px; }
.pp-bio { margin: -6px 0 0; font-size: 12px; line-height: 1.4; color: #d0d0d0; }
.pp-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pp-buttons span { text-align: center; font-size: 12px; font-weight: 600; padding: 7px 0; border-radius: 8px; background: #1f1f1f; }
.pp-buttons span:first-child { background: #fff; color: #000; }
.pp-highlights { display: flex; gap: 10px; overflow: hidden; }
.pp-highlights span { flex: 0 0 auto; display: grid; justify-items: center; gap: 4px; font-size: 9.5px; color: #bdbdbd; }
.pp-highlights i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a3a3a; display: grid; place-items: center; font-style: normal; font-size: 16px; background: #151515; }
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 2px -14px -14px; flex: 1; align-content: start; }
.pp-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: flex; align-items: flex-end; padding: 6px; font: 600 9.5px/1.2 var(--sans); color: #fff; opacity: 0; transform: scale(.94); animation: pp-tile .45s ease forwards; }
.pp-tile.reel::after { content: '▶'; position: absolute; top: 6px; right: 7px; font-size: 9px; opacity: .9; }
.pp-tile b { position: relative; z-index: 1; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
@keyframes pp-tile { to { opacity: 1; transform: none; } }

/* ---------- Package finder ---------- */
.pf-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 18px; }
.pf-modal[hidden] { display: none; }
.pf-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: pf-fade .25s ease; }
html.pf-lock { overflow: hidden; }
.play-finder-box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 36px); overflow: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 4vw, 56px); align-items: start; border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); background: radial-gradient(120% 120% at 0% 0%, #1c1c1c, #0b0b0b 60%); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95); animation: pf-pop .32s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pf-fade { from { opacity: 0; } }
@keyframes pf-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.pf-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .4); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.pf-x:hover { background: #fff; color: #000; }

/* Floating icon */
.pf-fab { position: fixed; right: 22px; bottom: 22px; z-index: 44; display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: #fff; color: #000; cursor: pointer; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .06); font: 600 14px/1 var(--sans); transition: gap .3s ease, padding .3s ease, transform .2s; }
.pf-fab-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.pf-fab-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; animation: pf-spin 6s ease-in-out infinite; }
@keyframes pf-spin { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(25deg); } 90% { transform: rotate(-15deg); } }
.pf-fab-text { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease, padding .35s ease; }
.pf-fab:hover, .pf-fab:focus-visible { transform: translateY(-2px); }
.pf-fab:hover .pf-fab-text, .pf-fab:focus-visible .pf-fab-text, .pf-fab.is-hint .pf-fab-text { max-width: 180px; padding-right: 14px; }
.pf-fab::before { content: ''; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .45); animation: pf-ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes pf-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.pf-inline { margin-top: 18px; text-align: center; }
.pf-inline .pf-open { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; cursor: pointer; font: inherit; font-weight: 600; }

/* Form inside the result */
.pf-form { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); margin-top: 4px; }
.pf-form-title { margin: 0; font: 600 16px/1.3 var(--serif); }
.pf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-form .field { display: grid; gap: 6px; }
.pf-form label { font: 600 12px/1 var(--sans); color: #cfcfcf; }
.pf-form label small { color: #8f8f8f; font-weight: 500; }
.pf-form input:not([type=checkbox]) { width: 100%; background: #0d0d0d; border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 12px; padding: 12px 13px; font: 500 15px var(--sans); }
.pf-form input:focus { outline: none; border-color: #fff; }
.pf-form .field.invalid input { border-color: #ff8a8a; }
.pf-form .check { font-size: 13px; }
.pf-link { color: #cfcfcf; font-size: 14px; font-weight: 600; }
.pf-link:hover { color: #fff; }
.pf-intro { display: grid; gap: 16px; justify-items: start; }
.pf-intro h2 em { font-style: normal; color: #9a9a9a; }
.pf-intro p { color: var(--muted-d); font-size: 17px; }
.pf-progress { width: 100%; max-width: 280px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 6px; }
.pf-progress i { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; transition: width .4s ease; }
.pf-stage { position: relative; min-height: 300px; }
.pf-step { display: none; }
.pf-step.is-active { display: grid; gap: 16px; animation: pf-in .35s ease; }
@keyframes pf-in { from { opacity: 0; transform: translateX(18px); } }
.pf-q { margin: 0; font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); letter-spacing: -.01em; display: grid; gap: 8px; }
.pf-q small { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8f8f8f; }
.pf-options { display: grid; gap: 10px; }
.pf-options button { text-align: left; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); color: #f2f2f2; border-radius: 16px; padding: 17px 18px; font: 500 16px/1.35 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.pf-options button:hover, .pf-options button:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .07); transform: translateX(4px); outline: none; }
.pf-options button.is-picked { background: #fff; color: #000; border-color: #fff; }
.pf-r-name { font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.pf-r-price { font: 500 18px/1 var(--sans); color: #cfcfcf; }
.pf-r-why { margin: 0; color: #cfcfcf; font-size: 16px; }
.pf-r-items { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; color: #d4d4d4; }
.pf-r-items li::before { content: '✓  '; color: #fff; }
.pf-r-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.pf-restart { justify-self: start; background: none; border: 0; color: #9a9a9a; font: 500 14px var(--sans); cursor: pointer; padding: 4px 0; }
.pf-restart:hover { color: #fff; }

/* Hero card: a hook and one strong button that opens the 4 questions */
.hero-quiz { gap: 14px; padding: 24px 24px 22px; }
.hq-steps { margin-left: auto; font: 600 12px/1 var(--sans); color: #9a9a9a; letter-spacing: .02em; }
.hq-hook { margin: 4px 0 0; font: 600 clamp(22px, 2.3vw, 28px)/1.15 var(--serif); letter-spacing: -.02em; }
.hq-sub { margin: 0; color: #bdbdbd; font-size: 15px; line-height: 1.5; }
.hq-cta { justify-self: start; height: 54px; padding: 0 28px; font-size: 16px; position: relative; }
.hq-cta::after { content: ''; position: absolute; inset: -5px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .5); animation: hq-ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes hq-ring { from { transform: scale(.96); opacity: 1; } to { transform: scale(1.12); opacity: 0; } }
.hq-points { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #cfcfcf; }
.hq-points li::before { content: '✓ '; color: #fff; font-weight: 700; }
@media (max-width: 640px) { .hq-cta { justify-self: stretch; } .hq-steps { display: none; } }

@media (max-width: 900px) {
  .play-brand-grid, .play-finder-box { grid-template-columns: 1fr; }
  .pf-intro p { display: none; }
  .pf-fab { bottom: 84px; right: 14px; }
  .play-phone { max-width: 300px; }
  .pf-stage { min-height: 0; }
}
@media (max-width: 520px) {
  .pf-r-items { grid-template-columns: 1fr; }
  .pf-form-row { grid-template-columns: 1fr; }
  .play-finder-box { padding: 22px 18px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-tile, .hq-cta::after, .pf-step.is-active, .pp-initials.pop, .play-finder-box, .pf-backdrop, .pf-fab::before, .pf-fab-icon svg { animation: none; opacity: 1; transform: none; }
  .play-phone { transform: none; }
}
body:has(.wa-float) .pf-fab { bottom: 94px; }
