/* ══════════════════════════════════════════════════════════════════
   Webinar Landing Page — Evergreen Styles
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset / Theme Override ── */
.webinar-page {
    padding: 0;
    background-color: var(--white);
}

/* ── Containers ── */
.wb-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.wb-container-narrow {
    max-width: 760px;
}

/* ── Shared Section Styles ── */
.webinar-page h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-heading);
}

.webinar-page p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.webinar-page p:last-child {
    margin-bottom: 0;
}

/* ── Primary CTA Button ── */
.wb-btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 2.5rem;
    border-radius: var(--border-radius-button);
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.wb-btn-primary:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}


/* ── Image Placeholders ── */
.wb-image-placeholder,
.wb-hero-placeholder {
    background: rgba(69, 104, 220, 0.08);
    border: 2px dashed rgba(69, 104, 220, 0.25);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.wb-hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════════════════════════════
   Section 1: Hero (Two-Column)
   ══════════════════════════════════════════════════════════════════ */
.wb-hero {
    background: var(--gradient-primary);
    padding: 8rem 2rem 5rem;
}

.wb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.wb-hero-copy {
    text-align: left;
}

.wb-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.wb-hero p.wb-hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    max-width: 640px;
    margin: 0 0 1.5rem;
    line-height: 1.7;
}

.wb-hero p.wb-hero-session {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
}

.wb-hero-session strong {
    color: var(--white);
}

/* Hero media — screenshot image */
.wb-hero-media {
    max-width: 560px;
}

.wb-hero-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* ══════════════════════════════════════════════════════════════════
   Section 2: What to Expect
   ══════════════════════════════════════════════════════════════════ */
.wb-expect {
    padding: 5rem 2rem;
    background: var(--white);
}

.wb-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.wb-expect-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.wb-expect-list li {
    position: relative;
    padding: 0 0 1.5rem 1.75rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.wb-expect-list li:last-child {
    padding-bottom: 0;
}

.wb-expect-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.wb-expect-list li strong {
    color: var(--dark-gray);
}

.wb-expect-image {
    margin-top: 2rem;
    text-align: center;
}

.wb-expect-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at center, #000 65%, transparent 95%);
    mask-image: radial-gradient(ellipse 90% 85% at center, #000 65%, transparent 95%);
}

.wb-expect-image.wb-image-placeholder {
    min-height: 200px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wb-expect-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════════
   Section 3: Registration (Luma Embed)
   ══════════════════════════════════════════════════════════════════ */
.wb-register {
    padding: 5rem 2rem;
    background: var(--background-primary);
}

.wb-register h2 {
    text-align: center;
}

.wb-luma-container {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-light);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.wb-coming-soon {
    text-align: center;
    padding: 3rem 1rem;
}

.wb-coming-soon p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.wb-coming-soon p:first-child {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.wb-register-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════
   Section 3b: Lesson Output (Full Width)
   ══════════════════════════════════════════════════════════════════ */
.wb-lesson-output {
    padding: 4rem 2rem;
    background: var(--white);
    text-align: center;
}

.wb-lesson-output img {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-light);
}

.wb-lesson-placeholder {
    max-width: 900px;
    margin: 0 auto;
    min-height: 300px;
}

.wb-lesson-caption {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════════
   Section 4: Try It Now
   ══════════════════════════════════════════════════════════════════ */
.wb-try-it {
    padding: 5rem 2rem;
    background: var(--white);
}

.wb-try-it-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.wb-try-it-copy h2 {
    font-size: 1.8rem;
}

.wb-try-it-generator {
    position: sticky;
    top: 100px;
}

/* ══════════════════════════════════════════════════════════════════
   Section 5: Who's Behind This
   ══════════════════════════════════════════════════════════════════ */
.wb-about {
    padding: 5rem 2rem;
    background: var(--background-primary);
}

.wb-about p strong {
    color: var(--dark-gray);
}

.wb-about p {
    color: var(--text-secondary);
}

.wb-about-headshots {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.wb-headshot {
    text-align: center;
}

.wb-headshot img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 8px 24px rgba(69, 104, 220, 0.15);
    border: 3px solid rgba(69, 104, 220, 0.12);
}

.wb-headshot-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(69, 104, 220, 0.08);
    border: 2px dashed rgba(69, 104, 220, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
}

.wb-headshot-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.wb-about-closing {
    margin-top: 2rem;
    font-weight: 600;
    color: var(--dark-gray);
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════
   Section 6: Testimonials (Conquest-Style Dark Cards)
   ══════════════════════════════════════════════════════════════════ */
.wb-testimonials {
    padding: 5rem 2rem;
    background: #faf9f7;
}

.wb-testimonials h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.wb-text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wb-testimonials-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.wb-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wb-testimonial-card {
    background: #1e1e2e;
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.wb-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Photo area */
.wb-author-photo {
    position: relative;
    width: calc(100% - 1.25rem);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #4568dc, #b06ab3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin: 0.625rem auto 0;
}

.wb-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    mix-blend-mode: luminosity;
    opacity: 0.92;
}

.wb-initials {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
}

/* Gradient tint overlay */
.wb-author-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(69, 104, 220, 0.15), rgba(176, 106, 179, 0.15));
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: color;
    border-radius: 14px;
}

/* Bottom fade into dark card */
.wb-author-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, #1e1e2e, transparent);
    z-index: 2;
    pointer-events: none;
    border-radius: 0 0 14px 14px;
}

/* Quote body — pulled up into photo fade */
.wb-quote-body {
    padding: 0 1.4rem 1.15rem;
    margin-top: -2.1rem;
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wb-quote-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 1.1rem 0;
    font-weight: 400;
}

/* Attribution */
.wb-author-info {
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wb-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.wb-author-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin-top: 0.15rem;
}

.wb-author-role a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.25);
    transition: color var(--transition-base);
}

.wb-author-role a:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   Section 7: Bottom CTA
   ══════════════════════════════════════════════════════════════════ */
.wb-bottom-cta {
    background: var(--gradient-primary);
    padding: 5rem 2rem;
    text-align: center;
}

.wb-bottom-cta h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.wb-bottom-cta p.wb-bottom-session {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.wb-bottom-session strong {
    color: var(--white);
}

.wb-link-secondary {
    display: block;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-base);
}

.wb-link-secondary:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

/* ── Lead-gen generator overrides ── */
.webinar-page .alg-suggestions .alg-suggestion-pill:first-child {
    display: none;
}

/* ══════════════════════════════════════════════════════════════════
   Focus States
   ══════════════════════════════════════════════════════════════════ */
.webinar-page a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .wb-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .wb-hero-copy {
        text-align: center;
    }
    .wb-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .wb-hero-media {
        max-width: 480px;
        margin: 0 auto;
    }
    .wb-try-it-grid {
        grid-template-columns: 1fr;
    }
    .wb-try-it-generator {
        position: static;
    }
    .wb-testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .wb-hero {
        padding: 6rem 1.5rem 3.5rem;
    }
    .wb-hero h1 {
        font-size: 2rem;
    }
    .wb-hero-subtitle {
        font-size: 1.05rem;
    }
    .webinar-page h2 {
        font-size: 1.6rem;
    }
    .wb-expect,
    .wb-register,
    .wb-try-it,
    .wb-about,
    .wb-testimonials,
    .wb-lesson-output {
        padding: 3.5rem 1.25rem;
    }
    .wb-about-headshots {
        gap: 2rem;
    }
    .wb-headshot img,
    .wb-headshot-placeholder {
        width: 140px;
        height: 140px;
    }
    .wb-testimonials {
        padding: 3.5rem 1.25rem;
    }
    .wb-testimonial-grid {
        max-width: 360px;
    }
    .wb-bottom-cta {
        padding: 3.5rem 1.25rem;
    }
    .wb-bottom-cta h2 {
        font-size: 1.6rem;
    }
    .wb-container {
        padding: 0 1rem;
    }
}

@media (max-width: 400px) {
    .wb-hero h1 {
        font-size: 1.7rem;
    }
    .wb-hero-subtitle {
        font-size: 1rem;
    }
}
