:root {
    --lc-primary: #004225;
    --lc-accent: #ffd700;
    --lc-text-primary: #000000;
    --lc-text-secondary: #000000;
    --lc-text-muted: #6b7280;
    --lc-max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.webinar-page {
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: var(--lc-text-primary);
    background-color: #000000;
    background-image: url("/webinar/preview/assets/img/dallasbg.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

body.webinar-page.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: none;
}

.page-background-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

.webinar-main {
    max-width: var(--lc-max-width);
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.webinar-step,
.webinar-disclaimer {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0.75rem clamp(1.5rem, 3vw, 2.5rem);
}

.webinar-step-1 {
    padding-top: 0.1rem;
}

.webinar-step,
.webinar-disclaimer,
.webinar-footer {
    color: var(--lc-text-primary);
    text-align: center;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lc-text-primary);
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-align: center;
}

.page-title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin: 0 0 1.25rem;
    color: #000000;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    margin: 0 0 0.9rem;
    color: #000000;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.webinar-step-3 .section-title {
    margin-bottom: 0;
}

.section-body {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.video-wrapper {
    margin-top: 0.25rem;
}

.video-inner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000000;
}

.webinar-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: cover;
    background-color: #000000;
    cursor: pointer;
}

.video-audio-toggle {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-audio-toggle::before {
    content: "🔊";
    font-size: 1.3rem;
}

.video-audio-toggle.is-unmuted::before {
    content: "🔇";
}

.video-audio-toggle.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 3.5rem;
    border-radius: 999px;
    border: none;
    background: #004225;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    margin: 1.25rem auto 0;
}

.primary-button:hover,
.primary-button:focus-visible {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.calendly-section {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

.webinar-step-3 .calendly-section {
    margin-top: 0.35rem;
}

.calendly-inline-widget {
    min-width: 320px;
    width: 100%;
    max-width: 700px;
    height: 850px;
    margin: 0 auto;
}

.contact-block {
    margin-top: 1.75rem;
    text-align: center;
}

.contact-main-title {
    margin-bottom: 0.25rem;
}

.section-subtitle {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
}

.next-options {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.next-option {
    flex: 1 1 260px;
    max-width: 320px;
    text-align: center;
    padding: 0.5rem 0.5rem 0.75rem;
}

.next-option-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.next-option-text {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.option-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    border: none;
    background: #004225;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.option-button:hover,
.option-button:focus-visible {
    background: #90ee90;
    color: #ffffff;
    transform: translateY(-1px);
}

.contact-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.text-link {
    display: inline-flex;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #000000;
}

.disclaimer-heading {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.disclaimer-text {
    margin: 0 0 0.7rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--lc-text-muted);
    text-shadow: none;
}

.webinar-disclaimer a {
    color: var(--lc-text-muted);
}

.webinar-footer {
    padding: 0 1.5rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.footer-text {
    margin: 0;
}

.footer-text a {
    color: #000000;
}

.exit-intent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
}

.exit-intent-overlay.is-visible {
    display: flex;
}

.exit-intent-modal {
    background: #ffffff;
    color: #000000;
    border-radius: 18px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1.5rem 1.1rem;
    position: relative;
    text-align: center;
    margin-top: 5vh;
}

.exit-intent-title {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.exit-intent-body {
    border-radius: 0;
    border: none;
    padding: 0.25rem 0 0;
    background: transparent;
    display: block;
}

.exit-calendly-widget {
    min-width: 320px;
    width: 100%;
    max-width: 700px;
    height: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .webinar-main {
        padding-top: 0;
        padding-bottom: 2.5rem;
    }

    .webinar-step,
    .webinar-disclaimer {
        padding: 0.9rem 1.1rem 1.4rem;
    }

    .webinar-video {
        max-height: none;
    }

    .calendly-inline-widget,
    .exit-calendly-widget {
        height: 880px;
    }

    .exit-intent-modal {
        padding: 0.7rem 1rem 1rem;
    }
}

@media (min-width: 992px) {
    .webinar-step-3 {
        text-align: center;
    }
}
