:root {
  --signup-bg: #060b16;
  --signup-panel: #101828;
  --signup-blue: #4d76ff;
  --signup-blue-light: #8faaff;
  --signup-white: #f8faff;
  --signup-muted: #aab5cb;
}

.webinar-signup-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--signup-white);
  background: var(--signup-bg);
}

.webinar-signup-page.modal-open { overflow: hidden; }
.webinar-signup-page .floating-call-button { display: none; }

.webinar-signup-main {
  position: relative;
  display: flex;
  min-height: calc(100vh - 68px);
  padding: 26px clamp(22px, 4vw, 64px) 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(35, 81, 255, .17), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(56, 96, 255, .11), transparent 24%),
    linear-gradient(135deg, #060b16 0%, #07101d 52%, #050912 100%);
}

.webinar-signup-main::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(112, 139, 206, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 139, 206, .11) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 92%);
}

.webinar-signup-header {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: clamp(22px, 4vw, 64px);
  left: clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.webinar-signup-brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.webinar-signup-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.06); }
.webinar-signup-mark img { width: 28px; height: 28px; object-fit: contain; }
.webinar-signup-brand > span:last-child { display: grid; gap: 1px; }
.webinar-signup-brand strong { font: 700 18px/1.1 'Sora', sans-serif; letter-spacing: -.03em; }
.webinar-signup-brand small { color: #76839b; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.webinar-signup-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 26px;
  border: 1px solid rgba(107, 139, 255, .28);
  border-radius: 999px;
  color: #cbd6ff;
  background: rgba(35, 81, 255, .07);
  box-shadow: 0 0 50px rgba(35, 81, 255, .08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.webinar-signup-pill span { width: 7px; height: 7px; border-radius: 50%; background: #6f91ff; box-shadow: 0 0 18px #6f91ff; }

.webinar-signup-hero {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: auto;
  padding: 118px 0 44px;
  text-align: center;
}

.webinar-signup-kicker { margin: 0 0 24px; color: var(--signup-blue-light); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.webinar-signup-hero h1 { margin: 0 auto; font: 700 clamp(42px, 6.1vw, 78px)/1.04 'Sora', sans-serif; letter-spacing: -.058em; text-wrap: balance; }
.webinar-signup-hero h1 em { color: #e7bc63; font-style: normal; text-decoration: underline; text-decoration-color: rgba(231, 188, 99, .36); text-decoration-thickness: .08em; text-underline-offset: .12em; text-shadow: 0 0 34px rgba(231, 188, 99, .12); }
.webinar-signup-lead { max-width: 720px; margin: 28px auto 0; color: var(--signup-muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; text-wrap: balance; }

.webinar-signup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(590px, 100%);
  min-height: 76px;
  margin-top: 42px;
  padding: 18px 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(180deg, #315fff 0%, #234bdc 100%);
  box-shadow: 0 18px 60px rgba(35, 81, 255, .36), inset 0 1px rgba(255,255,255,.2);
  cursor: pointer;
  font: 800 18px/1.2 'Manrope', sans-serif;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.webinar-signup-cta:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 24px 72px rgba(35, 81, 255, .45), inset 0 1px rgba(255,255,255,.2); }
.webinar-signup-cta:focus-visible, .webinar-modal button:focus-visible, .webinar-modal input:focus-visible { outline: 3px solid #9eb3ff; outline-offset: 3px; }
.webinar-signup-cta svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.webinar-signup-proof { display: flex; justify-content: center; gap: 24px; margin-top: 22px; color: #7f8ba1; font-size: 12px; font-weight: 700; }
.webinar-signup-proof span { display: inline-flex; align-items: center; gap: 7px; }
.webinar-signup-proof i { color: #7291ff; font-style: normal; }

.webinar-signup-orbit { position: absolute; border: 1px solid rgba(80, 112, 214, .13); border-radius: 50%; pointer-events: none; }
.webinar-signup-orbit-one { width: 480px; height: 480px; right: -310px; top: 18%; }
.webinar-signup-orbit-two { width: 320px; height: 320px; left: -230px; bottom: -80px; }

.webinar-signup-footer { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 18px clamp(22px, 4vw, 64px); color: #657087; background: #050912; font-size: 12px; }
.webinar-signup-footer a { transition: color .2s ease; }
.webinar-signup-footer a:hover { color: #b9c6df; }

.webinar-modal[hidden] { display: none; }
.webinar-modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 20px; }
.webinar-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 14, .82); backdrop-filter: blur(8px); }
.webinar-modal-card { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 40px; border: 1px solid rgba(112, 145, 255, .22); border-radius: 24px; color: #111827; background: #fff; box-shadow: 0 36px 100px rgba(0,0,0,.46); }
.webinar-modal-close { position: absolute; top: 14px; right: 15px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #667085; background: #f1f4f9; cursor: pointer; font: 400 25px/1 Arial, sans-serif; }
.webinar-modal-eyebrow { margin: 0 42px 9px 0; color: #2351ff; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.webinar-modal-card h2 { margin: 0; color: #101828; font: 700 clamp(28px, 5vw, 38px)/1.1 'Sora', sans-serif; letter-spacing: -.045em; }
.webinar-modal-intro, .webinar-modal-success > p:not(.webinar-modal-eyebrow) { margin: 13px 0 25px; color: #667085; line-height: 1.6; }
.webinar-modal-alert { margin: 18px 0; padding: 12px 14px; border: 1px solid #fecdca; border-radius: 10px; color: #b42318; background: #fef3f2; font-size: 13px; font-weight: 700; }
.webinar-modal-card form { display: grid; gap: 16px; margin-top: 24px; }
.webinar-modal-field { display: grid; gap: 7px; }
.webinar-modal-field span { color: #344054; font-size: 12px; font-weight: 800; }
.webinar-modal-field input { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #d8dee9; border-radius: 11px; color: #101828; background: #fff; font: 600 15px/1.2 'Manrope', sans-serif; transition: border-color .2s ease, box-shadow .2s ease; }
.webinar-modal-field input::placeholder { color: #98a2b3; font-weight: 500; }
.webinar-modal-field input:focus { border-color: #5277ff; box-shadow: 0 0 0 4px rgba(35,81,255,.1); outline: 0; }
.webinar-report-toggle { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid #d8e0f0; border-radius: 13px; color: #344054; background: #f8faff; cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.webinar-report-toggle:hover { border-color: #aebeff; background: #f4f7ff; }
.webinar-report-toggle[aria-expanded="true"] { border-color: #6f8bff; background: #f2f5ff; box-shadow: 0 0 0 4px rgba(35,81,255,.08); }
.webinar-report-toggle-check { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #b7c4e4; border-radius: 9px; color: #2351ff; background: #fff; font: 700 20px/1 'Manrope', sans-serif; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.webinar-report-toggle[aria-expanded="true"] .webinar-report-toggle-check { border-color: #2351ff; color: #fff; background: #2351ff; }
.webinar-report-toggle-copy { display: grid; }
.webinar-report-toggle-copy strong { color: #1d2939; font-size: 13px; line-height: 1.35; }
.webinar-report-toggle svg { width: 19px; fill: none; stroke: #667085; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform .2s ease; }
.webinar-report-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.webinar-report-fields { display: grid; gap: 16px; padding: 0; }
.webinar-report-fields[hidden] { display: none; }
.webinar-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.webinar-modal-alert[hidden] { display: none; }
[data-webinar-form-content][hidden], .webinar-modal-success[hidden] { display: none; }
.webinar-modal-submit:disabled { cursor: wait; opacity: .72; }
.webinar-turnstile { min-height: 65px; }
.webinar-field-error { margin-top: -9px; color: #b42318; font-size: 12px; font-weight: 700; }
.webinar-field-error[hidden], .webinar-report-fields[hidden] { display: none; }
.webinar-report-fields { display: grid; gap: 16px; animation: webinar-step-reveal .28s ease-out both; }
.webinar-report-choice { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid #d8e0f0; border-radius: 12px; color: #344054; background: #f8faff; cursor: pointer; font-size: 13px; font-weight: 800; line-height: 1.4; }
.webinar-report-choice input { width: 19px; height: 19px; margin: 0; flex: 0 0 auto; accent-color: #2351ff; }
@keyframes webinar-step-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.webinar-modal-consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: #667085; font-size: 11px; line-height: 1.55; cursor: pointer; }
.webinar-modal-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #2351ff; }
.webinar-modal-consent a { color: #2351ff; text-decoration: underline; }
.webinar-modal-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 2px; padding: 14px 20px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(180deg, #315fff, #234bdc); box-shadow: 0 12px 30px rgba(35,81,255,.24); cursor: pointer; font: 800 15px/1.2 'Manrope', sans-serif; text-decoration: none; }
.webinar-modal-submit:hover { color: #fff; }
.webinar-modal-success { padding: 18px 0 2px; text-align: center; }
.webinar-modal-success .webinar-modal-eyebrow { margin-right: 0; }
.webinar-modal-success-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: #2351ff; font-size: 28px; box-shadow: 0 14px 34px rgba(35,81,255,.3); }
.webinar-modal-card { width: min(570px, 100%); padding: 36px 38px; }
.webinar-modal-card h2 { font-size: clamp(27px, 4.8vw, 35px); }
.webinar-modal-card form { gap: 14px; margin-top: 22px; }
.webinar-modal-field { gap: 5px; }
.webinar-modal-field span { font-size: 13px; }
.webinar-modal-field input { min-height: 47px; padding: 11px 13px; }
.webinar-turnstile { min-height: 54px; }
.webinar-modal-legal { margin: 0; color: #667085; font-size: 10px; line-height: 1.55; text-align: center; }
.webinar-modal-legal a { color: #2351ff; text-decoration: underline; }

@media (max-width: 760px) {
  .webinar-signup-main { min-height: calc(100vh - 60px); padding: 20px 18px 36px; }
  .webinar-signup-header { top: 20px; right: 18px; left: 18px; display: flex; justify-content: center; }
  .webinar-signup-brand { position: absolute; left: 0; }
  .webinar-signup-brand > span:last-child { display: none; }
  .webinar-signup-mark { width: 38px; height: 38px; }
  .webinar-signup-pill { max-width: calc(100% - 58px); margin-left: 58px; min-height: 38px; padding: 8px 14px; font-size: 9px; letter-spacing: .09em; text-align: center; }
  .webinar-signup-hero { padding-top: 114px; }
  .webinar-signup-kicker { margin-bottom: 17px; font-size: 10px; }
  .webinar-signup-hero h1 { font-size: clamp(38px, 11.5vw, 56px); }
  .webinar-signup-lead { margin-top: 22px; font-size: 16px; }
  .webinar-signup-cta { min-height: 64px; margin-top: 30px; padding: 15px 18px; font-size: 16px; }
  .webinar-signup-proof { flex-direction: column; align-items: center; gap: 7px; margin-top: 18px; }
  .webinar-signup-footer { min-height: 60px; padding: 16px 20px; }
  .webinar-modal { padding: 10px; }
  .webinar-modal-card { max-height: calc(100dvh - 20px); padding: 29px 20px 22px; border-radius: 19px; }
  .webinar-report-toggle { grid-template-columns: 32px 1fr 18px; gap: 10px; padding: 12px; }
  .webinar-report-toggle-check { width: 32px; height: 32px; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .webinar-signup-hero { padding-top: 102px; }
  .webinar-signup-hero h1 { font-size: clamp(40px, 5.5vw, 66px); }
  .webinar-signup-lead { margin-top: 20px; }
  .webinar-signup-cta { min-height: 66px; margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .webinar-signup-cta, .webinar-signup-footer a, .webinar-modal-field input, .webinar-report-toggle, .webinar-report-toggle-check, .webinar-report-toggle svg { transition: none; }
}
