/* WICK webinar registration page. Section order follows the OP Protocol webinar Lovable build;
   tokens, type and loaders come from ../vsl/landing.css (the WICK Lovable look). */
body { padding-bottom: 120px; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.confirm { color: var(--funnel-gold-light); font-size: 0.92em; }

/* top banner */
.wb-banner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid color-mix(in srgb, var(--funnel-gold) 30%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--funnel-gold) 70%, transparent), color-mix(in srgb, var(--funnel-gold) 70%, transparent)); font-weight: 600; font-size: 0.95rem; }
.wb-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.wb-brand b, .book__brand b { color: var(--brand); }
.wb-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--foreground); opacity: 0.7; }
.wick { display: block; width: 22px; height: 22px; overflow: visible; }
.wick__w { fill: none; stroke: var(--brand); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }

/* hero */
.wh { max-width: 60rem; margin: 0 auto; padding: 40px 16px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wh__pre { margin: 0; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.wh__rule { display: block; width: 160px; height: 2px; margin: 14px 0 20px; background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.wh__title { margin: 0; font-size: clamp(1.55rem, 0.9rem + 2.5vw, 2.7rem); font-weight: 800; line-height: 1.16; text-wrap: balance; }
.wh__sub { margin: 22px auto 0; max-width: 40rem; font-size: 1.02rem; line-height: 1.6; color: oklch(0.85 0.01 27); }
.wh__date { margin: 26px 0 0; font-size: 1.12rem; font-weight: 700; }
.cdown { display: flex; gap: clamp(18px, 4vw, 34px); margin: 18px 0 26px; font-variant-numeric: tabular-nums; }
.cdown div { display: flex; flex-direction: column; align-items: center; }
.cdown b { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 800; line-height: 1; }
.cdown span { margin-top: 6px; font-size: 0.78rem; color: var(--muted-foreground); }
.cdown b.tick { animation: tickIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes tickIn { from { transform: translateY(-30%); opacity: 0.2; } to { transform: none; opacity: 1; } }

.seat { display: inline-flex; align-items: center; gap: 14px; min-width: 280px; padding: 14px 28px; border: 1px solid color-mix(in srgb, var(--funnel-gold) 60%, transparent); border-radius: 12px; cursor: pointer; text-align: left;
  background: linear-gradient(180deg, var(--funnel-gold), var(--funnel-gold-deep)); color: var(--foreground); font: inherit;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--funnel-gold) 14%, transparent), 0 0 40px -6px color-mix(in srgb, var(--funnel-gold) 70%, transparent); transition: transform 0.25s, filter 0.25s; animation: seatGlow 2.8s ease-in-out infinite; }
.seat:hover { transform: translateY(-2px); filter: brightness(1.1); }
.seat b { display: block; font-size: 1.08rem; font-weight: 800; letter-spacing: 0.02em; }
.seat small { display: block; font-size: 0.82rem; opacity: 0.88; }
.seat .tk { flex: none; width: 26px; height: 26px; animation: tkPulse 2s ease-in-out infinite; }
.seat--sm { min-width: 0; padding: 10px 18px; animation: none; }
.seat--sm b { font-size: 0.95rem; }
.seat--full { width: 100%; justify-content: center; margin-top: 8px; }
@keyframes seatGlow { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--funnel-gold) 10%, transparent), 0 0 56px -4px color-mix(in srgb, var(--funnel-gold) 85%, transparent); } }
@keyframes tkPulse { 50% { transform: rotate(-8deg) scale(1.08); } }
.perks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 0.92rem; color: oklch(0.85 0.01 27); }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 18px; height: 18px; color: var(--brand); }

.sep { width: min(900px, 86%); height: 1px; margin: 48px auto; border: 0; background: linear-gradient(90deg, transparent, oklch(1 0 0 / 18%), transparent); }

/* what's in the room */
.room { max-width: 64rem; margin: 0 auto; padding: 0 16px; }
.room__title { margin: 0 0 32px; text-align: center; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
.phases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ph { position: relative; padding: 26px 26px 28px; border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--funnel-gold) 55%, transparent); background: linear-gradient(180deg, oklch(0.1 0.02 27), oklch(0.06 0.005 27)); box-shadow: 0 0 34px -14px color-mix(in srgb, var(--funnel-gold) 70%, transparent); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s; }
.ph:hover { transform: translateY(-4px); box-shadow: 0 0 46px -10px color-mix(in srgb, var(--funnel-gold) 85%, transparent); }
.ph__top { display: flex; align-items: center; gap: 12px; }
.ph__ico svg { width: 30px; height: 30px; color: var(--brand); transition: transform 0.4s; }
.ph:hover .ph__ico svg { transform: scale(1.12) rotate(-4deg); }
.ph__lbl { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.04em; }
.ph__bars { margin-left: auto; display: flex; gap: 3px; } .ph__bars i { width: 3px; height: 22px; border-radius: 2px; background: var(--brand); } .ph__bars i + i { height: 14px; opacity: 0.6; }
.ph__meta { display: flex; gap: 10px; margin: 14px 0 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.ph__t { margin: 0 0 10px; font-size: 1.28rem; font-weight: 800; line-height: 1.22; }
.ph__d { margin: 0; font-size: 0.96rem; line-height: 1.65; color: oklch(0.8 0.01 27); }
.ph:last-child { border-style: dashed; }

/* gift */
.gift { max-width: 52rem; margin: 0 auto; padding: 0 16px; text-align: center; }
.gift__title { margin: 0; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.glow-w { text-shadow: 0 0 12px oklch(1 0 0 / 55%), 0 0 26px color-mix(in srgb, var(--funnel-gold) 60%, transparent); }
.gift__sub { margin: 10px 0 0; font-size: 1.1rem; font-weight: 600; color: var(--brand); }
.gift__text { margin: 18px auto 0; max-width: 44rem; text-align: left; font-size: 0.98rem; line-height: 1.7; color: oklch(0.82 0.01 27); }
.book { position: relative; width: min(300px, 78vw); margin: 38px auto 0; aspect-ratio: 3 / 4; transform: rotate(-4deg); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px color-mix(in srgb, var(--funnel-gold) 45%, transparent)); }
.book:hover { transform: rotate(0deg) translateY(-6px); }
.book__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 16px; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, var(--funnel-gold-deep), var(--funnel-gold)); z-index: 1; }
.book__cover { position: absolute; inset: 0; padding: 26px 22px 22px 34px; border-radius: 6px 10px 10px 6px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; overflow: hidden;
  background: radial-gradient(80% 60% at 80% 0%, color-mix(in srgb, var(--funnel-gold) 35%, transparent), transparent 70%), linear-gradient(160deg, #1a0d0e, #070505); border: 1px solid oklch(1 0 0 / 10%); }
.book__brand { display: inline-flex; align-items: center; gap: 6px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.book__brand .wick { width: 16px; height: 16px; }
.book__k { margin: auto 0 6px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.book__t { margin: 0; font-size: 1.7rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.book__chart { width: 100%; margin: 16px 0 10px; }
.book__parts { margin: 0; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted-foreground); }
.seat--gift b { text-transform: none; }

/* host */
.host { max-width: 64rem; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.host__img { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 18px;
  border: 1.5px solid color-mix(in srgb, var(--funnel-gold) 50%, transparent); box-shadow: 0 0 40px -12px color-mix(in srgb, var(--funnel-gold) 70%, transparent);
  background: radial-gradient(60% 50% at 70% 20%, oklch(1 0 0 / 7%), transparent 70%), radial-gradient(90% 60% at 50% 110%, color-mix(in srgb, var(--funnel-gold) 30%, transparent), transparent 70%), linear-gradient(180deg, #1a1314, #0b0809); }
.host__img span { padding: 6px 12px; border-radius: 99px; background: rgba(11, 8, 9, 0.6); border: 1px solid oklch(1 0 0 / 16%); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.host__k { margin: 0 0 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); }
.host__name { margin: 0; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; line-height: 1.05; }
.host__role { margin: 8px 0 18px; font-weight: 600; color: oklch(0.85 0.01 27); }
.host__bio { margin: 0 0 14px; font-size: 0.97rem; line-height: 1.7; color: oklch(0.8 0.01 27); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stats div { padding: 14px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--funnel-gold) 35%, transparent); background: color-mix(in srgb, var(--funnel-gold) 8%, transparent); text-align: center; }
.stats b { display: block; font-size: 1.2rem; font-weight: 800; color: var(--brand); text-shadow: var(--brand-text-shadow); }
.stats span { display: block; margin-top: 4px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }

/* results */
.res { max-width: 64rem; margin: 0 auto; padding: 0 16px; }
.res__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.res__tile { position: relative; overflow: hidden; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 14px; display: flex; align-items: flex-end; justify-content: center; padding: 14px; border: 1px solid color-mix(in srgb, var(--funnel-gold) 30%, transparent); background: linear-gradient(180deg, #120c0d, #090607); box-shadow: 0 0 26px -14px color-mix(in srgb, var(--funnel-gold) 60%, transparent); transition: transform 0.35s; }
.res__tile:hover { transform: scale(1.03); }
.res__tile span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }

/* sticky bar (as on the OP webinar page) */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)); background: oklch(0.06 0.01 27 / 92%); border-top: 1px solid color-mix(in srgb, var(--funnel-gold) 35%, transparent); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.stickybar.is-on { transform: none; }
.stickybar__in { max-width: 64rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stickybar__t b { display: block; font-weight: 800; }
.stickybar__t span { font-size: 0.86rem; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }

/* registration modal */
.reg { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.reg.open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.reg__card { position: relative; width: min(440px, 100%); padding: 34px 26px 26px; border-radius: 18px; background: var(--card); border: 1px solid color-mix(in srgb, var(--funnel-gold) 40%, transparent); box-shadow: 0 0 60px -20px color-mix(in srgb, var(--funnel-gold) 80%, transparent); }
.reg__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid oklch(1 0 0 / 18%); background: transparent; color: var(--foreground); font-size: 1.5rem; cursor: pointer; }
.reg__k { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.reg__t { margin: 6px 0 16px; font-size: 1.6rem; font-weight: 800; }
.reg label { display: block; margin: 10px 0 6px; font-size: 0.85rem; font-weight: 600; }
.reg input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid oklch(1 0 0 / 16%); background: oklch(1 0 0 / 4%); color: var(--foreground); font: inherit; }
.reg input:focus { outline: none; border-color: var(--brand); }
.reg__note { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted-foreground); text-align: center; }
.reg__err { margin: 6px 0 0; min-height: 1em; font-size: 0.85rem; color: var(--funnel-gold-light); text-align: center; }
.reg__done b { display: block; font-size: 1.3rem; margin-bottom: 6px; }
.reg__done span { color: var(--muted-foreground); }

/* scroll reveals */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .phases, .res__grid { grid-template-columns: 1fr; }
  .res__grid { grid-template-columns: repeat(2, 1fr); }
  .host { grid-template-columns: 1fr; }
  .host__img { max-width: 360px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stickybar__t { display: none; }
  .stickybar__in { justify-content: center; }
  .seat { min-width: 0; width: 100%; max-width: 420px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .stickybar { transition: none; }
}

.host__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.res__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
