/* Webinar Landing Page — Responsive CSS
   Templates: classic | bold | authority
   v1.0 — 2026-03-06 */

:root { --accent: #1E40AF; --text: #111827; --muted: #6B7280; --border: #E5E7EB; --bg: #F9FAFB; --white: #fff; --radius: 12px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.wl-body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ─── Container ─────────────────────────────────── */
.wl-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ─── Cookie Banner ─────────────────────────────── */
.wl-cookie { position: fixed; bottom: 0; left: 0; right: 0; background: #1E293B; color: #E2E8F0; padding: 14px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; z-index: 999; font-size: 14px; }
.wl-cookie a { color: #93C5FD; }
.wl-cookie-btn { background: var(--accent); color: #fff; border: none; padding: 7px 18px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 14px; }

/* ─── HERO ──────────────────────────────────────── */
.wl-hero { background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #1E40AF 100%); color: #fff; padding: 56px 0 48px; text-align: center; }
.wl-badge { display: inline-block; background: #EF4444; color: #fff; padding: 5px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 20px; }
.wl-headline { font-size: clamp(26px, 5vw, 46px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.wl-sub { font-size: clamp(16px, 2.5vw, 20px); opacity: .85; max-width: 640px; margin: 0 auto 28px; }

/* ─── Video / Thumb ─────────────────────────────── */
.wl-video-wrap, .wl-thumb-wrap { max-width: 640px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.wl-video-wrap { position: relative; aspect-ratio: 16/9; }
.wl-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.wl-thumb-wrap img { width: 100%; display: block; }

/* ─── MAIN ──────────────────────────────────────── */
.wl-main { padding: 48px 0; }
.wl-two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

/* ─── Form Box ──────────────────────────────────── */
.wl-form-box { background: var(--white); border-radius: var(--radius); box-shadow: 0 4px 24px rgba(0,0,0,.1); padding: 32px; border-top: 4px solid var(--accent); }
.wl-form-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.wl-form-badge { background: #ECFDF5; color: #065F46; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.wl-duration-badge { background: #F3F4F6; color: #374151; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.wl-field { margin-bottom: 14px; }
.wl-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.wl-field input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 16px; background: #F9FAFB; transition: border-color .2s; }
.wl-field input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(30,64,175,.1); }
.wl-cta-btn { width: 100%; padding: 16px; background: var(--accent); color: #fff; border: none; border-radius: 10px; font-size: 18px; font-weight: 700; cursor: pointer; margin-top: 8px; transition: transform .15s, background .2s; }
.wl-cta-btn:hover { background: #1E3A8A; transform: translateY(-1px); }
.wl-cta-btn:active { transform: scale(.98); }
.wl-cta-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.wl-privacy-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.wl-privacy-note a { color: var(--muted); text-decoration: underline; }
.wl-msg { padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.wl-msg-error { background: #FEE2E2; color: #991B1B; }
.wl-success { text-align: center; padding: 16px 0; }
.wl-success-icon { font-size: 48px; margin-bottom: 12px; }
.wl-success h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.wl-success p { color: var(--muted); font-size: 15px; }

/* ─── Trust ─────────────────────────────────────── */
.wl-trust { background: #EFF6FF; border-top: 1px solid #BFDBFE; border-bottom: 1px solid #BFDBFE; padding: 28px 0; }
.wl-trust .wl-container { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.wl-trust-item { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #1E3A8A; }
.wl-trust-icon { background: #1E40AF; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* ─── Host ──────────────────────────────────────── */
.wl-host { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.07); text-align: center; }
.wl-host-section { padding: 40px 0; background: var(--white); border-top: 1px solid var(--border); }
.wl-host-row { display: flex; gap: 24px; align-items: center; }
.wl-host-label { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--accent); letter-spacing: .06em; margin-bottom: 4px; }
.wl-host-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); flex-shrink: 0; display: block; margin: 0 auto 12px; }
.wl-host-row .wl-host-img { margin: 0; }
.wl-host-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.wl-host-bio { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── Footer ────────────────────────────────────── */
.wl-footer { background: #1E293B; color: #94A3B8; padding: 28px 0; margin-top: 40px; }
.wl-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.wl-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.wl-footer-links a { color: #CBD5E1; font-size: 14px; text-decoration: none; }
.wl-footer-links a:hover { color: #fff; }
.wl-footer-copy { font-size: 13px; }

/* ─── Template: BOLD ────────────────────────────── */
.wl-tpl-bold .wl-hero { padding: 80px 0 64px; }
.wl-tpl-bold .wl-main { background: linear-gradient(180deg, #F9FAFB 0%, #EFF6FF 100%); }
.wl-tpl-bold .wl-form-box { max-width: 520px; margin: 0 auto; }
.wl-tpl-bold .wl-two-col { grid-template-columns: 1fr; }
.wl-tpl-bold .wl-cta-btn { font-size: 20px; padding: 18px; }

/* ─── Template: AUTHORITY ───────────────────────── */
.wl-tpl-authority .wl-hero { background: linear-gradient(135deg, #111827 0%, #1F2937 100%); }
.wl-tpl-authority .wl-host { position: sticky; top: 20px; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 768px) {
  .wl-two-col { grid-template-columns: 1fr; gap: 24px; }
  .wl-hero { padding: 40px 0 32px; }
  .wl-form-box { padding: 24px 20px; }
  .wl-host-row { flex-direction: column; text-align: center; }
  .wl-host-row .wl-host-img { margin: 0 auto 12px; }
  .wl-footer-inner { flex-direction: column; text-align: center; }
  .wl-footer-links { justify-content: center; }
  .wl-trust .wl-container { flex-direction: column; align-items: flex-start; }
  .wl-tpl-authority .wl-host { position: static; }
  .wl-cookie { font-size: 13px; }
}
@media (max-width: 480px) {
  .wl-headline { font-size: 24px; }
  .wl-cta-btn { font-size: 16px; padding: 14px; }
  .wl-container { padding: 0 16px; }
}
