/* Webinar 1 — scoped to .is-wb1 / .lp-wb1- */

.is-wb1 {
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 139, 59, 0.1), transparent 34%),
    radial-gradient(circle at 0% 30%, rgba(34, 111, 201, 0.08), transparent 38%);
}

.is-wb1 [hidden] {
  display: none !important;
}

.is-wb1 [id] {
  scroll-margin-top: 96px;
}

.lp-wb1-shell {
  max-width: 720px;
  margin: 8px auto 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-canvas, #fff);
  border: 1px solid rgba(15, 48, 87, 0.08);
  box-shadow: 0 30px 60px -36px rgba(10, 31, 57, 0.45);
}

.lp-wb1-shell.is-open {
  max-width: 1040px;
}

/* ——— Head ——— */
.lp-wb1-head {
  position: relative;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 40px) clamp(22px, 3.5vw, 34px);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 0% 0%, rgba(192, 139, 59, 0.32), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(34, 111, 201, 0.35), transparent 50%),
    linear-gradient(135deg, var(--primary-900), var(--primary-700) 60%, #1a4f7a);
  overflow: hidden;
  isolation: isolate;
}

.lp-wb1-head::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(226, 196, 152, 0.25);
  box-shadow: 0 0 0 30px rgba(226, 196, 152, 0.05), 0 0 0 60px rgba(226, 196, 152, 0.03);
  z-index: -1;
}

.lp-wb1-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(226, 196, 152, 0.16);
  border: 1px solid rgba(226, 196, 152, 0.35);
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 700;
}

.lp-wb1-badge .ms {
  font-size: 18px;
}

.is-wb1 .lp-wb1-head h1 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.4;
}

.lp-wb1-lead {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 2;
}

/* ——— Form ——— */
.lp-wb1-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 36px);
}

.lp-wb1-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lp-wb1-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lp-wb1-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.is-wb1 .lp-wb1-field label {
  color: var(--primary-900);
  font-size: 14px;
  font-weight: 700;
}

.is-wb1 .lp-wb1-field label span {
  color: var(--error);
}

.lp-wb1-input {
  position: relative;
  display: block;
}

.lp-wb1-input > .ms {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--primary-400);
  font-size: 22px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.is-wb1 .lp-wb1-input input {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 12px 48px 12px 14px;
  border: 1.5px solid var(--border-default);
  border-radius: 14px;
  background: var(--bg-subtle, #fafafa);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.is-wb1 .lp-wb1-input input[dir="ltr"] {
  text-align: right;
  letter-spacing: 0.5px;
}

.is-wb1 .lp-wb1-input input::placeholder {
  color: var(--text-tertiary);
  opacity: 0.8;
}

.is-wb1 .lp-wb1-input input:hover {
  border-color: var(--border-strong);
}

.is-wb1 .lp-wb1-input input:focus {
  outline: none;
  border-color: var(--primary-500);
  background: var(--bg-canvas, #fff);
  box-shadow: 0 0 0 4px rgba(34, 111, 201, 0.14);
}

.lp-wb1-input:focus-within > .ms {
  color: var(--primary-600);
}

.lp-wb1-field.has-error .lp-wb1-input input {
  border-color: var(--error);
  background: var(--error-bg, #fdecec);
}

.lp-wb1-field.has-error .lp-wb1-input > .ms {
  color: var(--error);
}

.lp-wb1-error {
  min-height: 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.7;
}

.lp-wb1-error:empty {
  display: none;
}

.lp-wb1-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--error-bg, #fdecec);
  color: var(--error);
  font-size: 14px;
  line-height: 1.8;
}

.is-wb1 .lp-wb1-form .lp-wb1-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 30px -16px rgba(15, 48, 87, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.is-wb1 .lp-wb1-form .lp-wb1-submit:hover {
  transform: translateY(-2px);
}

.lp-wb1-submit .ms {
  font-size: 26px;
}

.lp-wb1-form.is-sending .lp-wb1-submit {
  opacity: 0.75;
  pointer-events: none;
}

.lp-wb1-form.is-sending .lp-wb1-submit .ms {
  animation: lp-wb1-spin 1s linear infinite;
}

@keyframes lp-wb1-spin {
  to { transform: rotate(360deg); }
}

.lp-wb1-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.lp-wb1-privacy .ms {
  font-size: 17px;
  color: var(--gold-500);
}

/* ——— Player ——— */
.lp-wb1-player {
  margin: clamp(16px, 3vw, 28px) clamp(14px, 3vw, 28px) 0;
  border-radius: 20px;
  overflow: hidden;
  background: #05101f;
  box-shadow: 0 24px 50px -28px rgba(5, 16, 31, 0.8);
  aspect-ratio: 16 / 9;
}

.is-wb1 .lp-wb1-video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #05101f;
  object-fit: contain;
}

.lp-wb1-resume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 20px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.lp-wb1-resume .ms {
  font-size: 18px;
  color: var(--primary-500);
}

.lp-wb1-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: clamp(16px, 3vw, 24px) clamp(14px, 3vw, 28px) clamp(18px, 3vw, 28px);
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--gold-50);
  border: 1px solid rgba(192, 139, 59, 0.22);
  text-align: center;
}

.lp-wb1-help > .ms {
  color: var(--gold-600);
  font-size: 24px;
}

.is-wb1 .lp-wb1-help p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.is-wb1 .lp-wb1-help a {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-800);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.is-wb1 .lp-wb1-help a:hover {
  background: var(--primary-700);
}

/* ——— Mobile ——— */
@media (max-width: 600px) {
  .is-wb1 {
    padding-bottom: 48px;
  }

  .lp-wb1-shell {
    border-radius: 20px;
  }

  .lp-wb1-row {
    grid-template-columns: 1fr;
  }

  .lp-wb1-player {
    margin-inline: 0;
    border-radius: 0;
  }

  .lp-wb1-privacy {
    align-items: flex-start;
    text-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-wb1-form.is-sending .lp-wb1-submit .ms {
    animation: none;
  }

  .is-wb1 .lp-wb1-form .lp-wb1-submit:hover {
    transform: none;
  }
}
