/* ===========================================================
   Webinar funnel page — built on styles.css brand tokens.
   =========================================================== */
body.webinar { background: var(--bg); }

/* Header (logo only) */
.wb-head { border-bottom: 1px solid var(--line); }
.wb-head-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.wb-head .nav-logo { width: clamp(170px, 16vw, 240px); height: 100%; display: flex; align-items: center; flex: none; }
.wb-head .nav-logo img { width: 100%; height: 54px; object-fit: contain; }
.wb-head-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.wb-head-tag .dot, .hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Hero + form */
.wb-hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.wb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("video/yina-webinar-hero.jpg") center 42% / cover no-repeat;
  opacity: 0.28;
  filter: grayscale(20%) saturate(78%) contrast(108%);
  pointer-events: none;
}
@media (min-width: 901px) {
  .wb-hero::before {
    background-size: 125% auto;
    background-position: right 42%;
  }
}
.wb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,6,0.78) 0%, rgba(8,8,6,0.64) 48%, rgba(8,8,6,0.74) 100%);
  pointer-events: none;
}
.wb-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
@media (max-width: 900px) { .wb-hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.wb-copy .hero-badge { margin-bottom: 22px; }
.wb-copy h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.03; margin-bottom: 18px; }
.wb-copy h1 em { color: var(--gold); font-style: italic; }
.wb-kicker { max-width: 560px; margin: -4px 0 14px; color: var(--ink); font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 600; }
.wb-when { font-size: 17px; color: var(--ink); margin-bottom: 16px; }
.wb-when strong { color: var(--gold); }
.wb-sub { font-size: 18px; color: var(--ink-dim); max-width: 520px; margin-bottom: 24px; }
.wb-learn-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.wb-learn-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-dim); }
.wb-learn-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.wb-hosts { display: flex; align-items: center; gap: 12px; }
.wb-hosts span { font-size: 14px; color: var(--ink-dim); }
.wb-hosts strong { color: var(--ink); }

/* Form card */
.wb-form-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px; position: sticky; top: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
@media (max-width: 900px) { .wb-form-card { position: static; } }
.wb-form-card h2 { font-family: var(--sans); font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.wb-form-sub { font-size: 14px; color: var(--ink-dim); margin-bottom: 22px; }
.wb-form { display: grid; gap: 14px; }
.wb-form .field .opt { color: var(--ink-faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
.wb-form select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 16px; color: var(--ink); font-size: 15px; font-family: var(--sans);
  width: 100%; transition: border-color 0.15s; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239B9079' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.wb-form select:focus { outline: none; border-color: var(--gold); }
.wb-form select:invalid { color: var(--ink-faint); }
.wb-phone { display: grid; grid-template-columns: minmax(112px, 0.34fr) minmax(0, 1fr); gap: 10px; }
.wb-phone select { padding-left: 12px; padding-right: 30px; background-position: right 10px center; }
@media (max-width: 420px) { .wb-phone { grid-template-columns: 118px minmax(0, 1fr); } }
.wb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); cursor: pointer; margin-top: 2px; }
.wb-consent input { margin-top: 3px; accent-color: var(--gold); flex: none; }
.wb-error { margin: 2px 0 0; }
.wb-form .btn { width: 100%; margin-top: 4px; }

/* Confirmation */
.wb-done { text-align: center; padding: 10px 4px; }
.wb-done .confirm-ring { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; border: 1px solid var(--gold); display: grid; place-items: center; background: rgba(232,176,75,0.08); }
.wb-done .confirm-ring svg { stroke: var(--gold); }
.wb-done h2 { margin-bottom: 10px; }
.wb-done p { font-size: 15px; color: var(--ink-dim); max-width: 340px; margin: 0 auto 20px; }
.wb-done .btn { width: 100%; margin-top: 10px; }
.wb-upsell { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.wb-upsell-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.wb-upsell p { font-size: 14px; color: var(--ink-dim); max-width: none; margin: 0 auto 14px; }
.wb-upsell .btn { width: 100%; margin-top: 0; }

.wb-section { padding: 72px 0; }
.wb-section .problem-card { background: var(--bg-2); }

.webinar .speaker-card .speaker-photo { aspect-ratio: 4 / 3; object-position: 50% 24%; }
.webinar .speaker-card:nth-child(2) .speaker-photo { object-position: 50% 64%; }
.webinar .speaker-focus { margin-top: -10px; color: var(--ink-dim); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.webinar .final-cta::before { content: none; }

@media (max-width: 760px) {
  .wb-head .nav-logo { width: 168px; }
  .wb-head .nav-logo img { height: 46px; }
  .wb-head-tag { font-size: 10px; letter-spacing: 0.1em; }
}

/* Who should attend */
.wb-who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .wb-who-grid { grid-template-columns: 1fr; } }
.wb-who-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.wb-who-item .wb-who-ic { color: var(--gold); font-size: 13px; line-height: 1.7; flex: none; }
.wb-who-item h3 { font-size: 16px; margin-bottom: 5px; }
.wb-who-item p { font-size: 14px; color: var(--ink-dim); }

/* Agenda */
.wb-agenda { list-style: none; max-width: 720px; margin: 0 auto; }
.wb-agenda li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.wb-agenda li:last-child { border-bottom: 1px solid var(--line); }
.wb-agenda .wb-t { font-family: var(--sans); font-size: 22px; font-weight: 900; color: var(--gold); }
.wb-agenda h3 { font-size: 18px; margin-bottom: 4px; }
.wb-agenda p { font-size: 14.5px; color: var(--ink-dim); }
.webinar .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .webinar .testi-grid { grid-template-columns: 1fr; } }

/* Metallic homepage palette: keep text legible on webinar-only light surfaces. */
body.webinar.v1a .problem-card,
body.webinar.v1a .speaker-card {
  color: #080806;
}

body.webinar.v1a .problem-card .num {
  color: #5d3b00;
}

body.webinar.v1a .problem-card p {
  color: #2f260f;
}

body.webinar.v1a .speaker-role {
  color: #7a4e00;
}

body.webinar.v1a .speaker-focus {
  color: #5d4b1f;
}

body.webinar.v1a .speaker-body p {
  color: #4e442c;
}

body.webinar.v1a .final-cta p {
  color: #2f260f;
}

/* Webinar uses calm solid brand colors; reserve metallic gradients for the logo. */
body.webinar.v1a .btn-gold,
body.webinar.v1a .hero-badge {
  color: #080806;
  background: #c89320;
  border-color: #c89320;
  box-shadow: 0 7px 0 #805c14, 0 14px 28px rgba(128, 92, 20, 0.16);
}

body.webinar.v1a .btn-gold:hover {
  color: #080806;
  background: #c89320;
  box-shadow: 0 5px 0 #805c14, 0 12px 24px rgba(128, 92, 20, 0.18);
}

body.webinar.v1a .hero-badge .dot {
  background: #080806;
}

body.webinar.v1a .problem-card,
body.webinar.v1a .problem-card:nth-child(2),
body.webinar.v1a .problem-card:nth-child(3),
body.webinar.v1a .testi-card,
body.webinar.v1a .testi-card:nth-child(2) {
  color: #080806;
  background: #c89320;
  border-color: #c89320;
}

body.webinar.v1a .testi-stars,
body.webinar.v1a .testi-who .role,
body.webinar.v1a .testi-who .testi-avatar {
  color: #5d3b00;
}

body.webinar.v1a .testi-who .testi-avatar {
  background: rgba(8, 8, 6, 0.08);
  border-color: #805c14;
}

body.webinar.v1a .final-cta {
  color: #080806;
  background: #c89320;
}
