/* ============================================
   WEBINAR LANDING PAGE STYLES
   Learn Claude Code — From Scratch
   ============================================ */

/* Variables */
:root {
    --wbn-bg: #ffffff;
    --wbn-bg-warm: #fdf8f4;
    --wbn-text: #1a1a1a;
    --wbn-text-muted: #5a5a5a;
    --wbn-text-secondary: #6c757d;
    --wbn-accent: #FF8C42;
    --wbn-accent-hover: #ff7b29;
    --wbn-accent-glow: rgba(255, 140, 66, 0.15);
    --wbn-success: #4CAF50;
    --wbn-error: #ef4444;
    --wbn-border: #dee2e6;
    --wbn-dark: #1a1209;
    --wbn-dark-mid: #231a12;
    --wbn-cream: #faf6f1;
    --wbn-cream-muted: rgba(250, 246, 241, 0.72);
    --wbn-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --wbn-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--wbn-font-body);
    background: var(--wbn-bg);
    color: var(--wbn-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

/* ============================================
   HEADER
   ============================================ */
.wbn-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 80px 0;
}

.wbn-header a {
    display: inline-block;
}

.wbn-logo {
    height: 56px;
    width: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.wbn-hero {
    background: linear-gradient(180deg, var(--wbn-bg) 0%, var(--wbn-bg-warm) 100%);
    padding: 52px 0 88px;
}

.wbn-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
}

/* Hero — left column */
.wbn-hero-text {
    padding-top: 16px;
}

.wbn-badge {
    display: inline-block;
    background: var(--wbn-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.wbn-title {
    font-family: var(--wbn-font-display);
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.06;
    color: var(--wbn-text);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.wbn-title-accent {
    display: inline;
    position: relative;
}

.wbn-title-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -2px;
    width: calc(100% + 4px);
    height: 14px;
    background: linear-gradient(120deg, #FFE066 0%, #FFEB99 100%);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.55;
}

.wbn-title-sub {
    display: block;
    font-family: var(--wbn-font-body);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--wbn-accent);
    letter-spacing: 0;
    margin-top: 10px;
}

.wbn-desc {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--wbn-text-muted);
    margin: 24px 0 22px;
    max-width: 520px;
}

.wbn-waitlist-note {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--wbn-text-secondary);
    font-style: italic;
    max-width: 460px;
}

/* Hero — right column (form card) */
.wbn-hero-form {
    display: flex;
    justify-content: flex-end;
}

.wbn-form-card {
    background: var(--wbn-bg);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-top: 3px solid var(--wbn-accent);
    border-radius: 16px;
    padding: 36px 32px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.06),
        0 6px 20px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.wbn-form-card:hover {
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04);
}

.wbn-form-title {
    font-family: var(--wbn-font-display);
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    color: var(--wbn-text);
    margin-bottom: 6px;
}

/* Date / time block */
.wbn-date-info {
    text-align: center;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--wbn-border);
}

.wbn-date {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--wbn-text);
    margin-bottom: 6px;
}

.wbn-times {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.wbn-times span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wbn-text-secondary);
    letter-spacing: 0.3px;
}

/* Form fields */
.wbn-field {
    margin-bottom: 14px;
}

.wbn-field input {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: var(--wbn-font-body);
    border: 1.5px solid var(--wbn-border);
    border-radius: 8px;
    color: var(--wbn-text);
    background: var(--wbn-bg);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wbn-field input::placeholder {
    color: #adb5bd;
}

.wbn-field input:focus {
    border-color: var(--wbn-accent);
    box-shadow: 0 0 0 3px var(--wbn-accent-glow);
}

/* Submit button */
.wbn-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    background: var(--wbn-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--wbn-font-body);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wbn-submit-btn:hover:not(:disabled) {
    background: var(--wbn-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(255, 140, 66, 0.32);
}

.wbn-submit-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.2);
}

.wbn-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.wbn-btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form message */
.wbn-form-message {
    font-size: 0.84rem;
    text-align: center;
    margin-top: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 0;
}

.wbn-form-message:empty {
    display: none;
}

.wbn-form-message.success {
    color: var(--wbn-success);
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.15);
    padding: 10px 14px;
}

.wbn-form-message.error {
    color: var(--wbn-error);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 10px 14px;
}

.wbn-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--wbn-text-secondary);
    margin-top: 16px;
}

/* ============================================
   ABOUT SECTION (dark)
   ============================================ */
.wbn-about {
    background: var(--wbn-dark);
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
}

/* Warm ambient glow */
.wbn-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 12% 55%, rgba(255, 140, 66, 0.09) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 88% 25%, rgba(255, 140, 66, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Decorative background image */
.wbn-about-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.wbn-about-bg-img {
    width: 520px;
    height: auto;
    opacity: 0.06;
    filter: grayscale(100%) brightness(3);
}

/* Content grid */
.wbn-about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: start;
}

/* Section headings */
.wbn-about-heading {
    font-family: var(--wbn-font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--wbn-cream);
    margin-bottom: 12px;
}

.wbn-about-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--wbn-accent);
    border-radius: 2px;
    margin-top: 14px;
    margin-bottom: 8px;
}

/* Who are we */
.wbn-claude-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 14px;
    margin-bottom: 32px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.wbn-about-text {
    font-size: 0.98rem;
    line-height: 1.78;
    color: var(--wbn-cream-muted);
    margin-bottom: 14px;
}

.wbn-about-caption {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(250, 246, 241, 0.1);
}

.wbn-caption-name {
    font-family: var(--wbn-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--wbn-cream);
    margin-bottom: 3px;
}

.wbn-caption-role {
    font-size: 0.82rem;
    color: var(--wbn-cream-muted);
    font-style: italic;
}

/* Curriculum list */
.wbn-curriculum {
    list-style: none;
    padding: 0;
}

.wbn-curriculum li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--wbn-cream-muted);
}

.wbn-curriculum li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    background: var(--wbn-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.4);
}

.wbn-curriculum li strong {
    color: var(--wbn-cream);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.wbn-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 80px;
    text-align: center;
    border-top: 1px solid var(--wbn-border);
}

.wbn-footer p {
    font-size: 0.875rem;
    color: var(--wbn-text-secondary);
}

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */
.wbn-fade-up {
    opacity: 0;
    transform: translateY(28px);
    animation: wbnFadeUp 0.72s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.wbn-delay-1 { animation-delay: 0.08s; }
.wbn-delay-2 { animation-delay: 0.18s; }
.wbn-delay-3 { animation-delay: 0.28s; }
.wbn-delay-4 { animation-delay: 0.38s; }
.wbn-delay-5 { animation-delay: 0.48s; }

@keyframes wbnFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered reveal */
.wbn-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}

.wbn-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children in reveal */
.wbn-reveal-stagger .wbn-reveal:nth-child(2) { transition-delay: 0.08s; }
.wbn-reveal-stagger .wbn-reveal:nth-child(3) { transition-delay: 0.16s; }
.wbn-reveal-stagger .wbn-reveal:nth-child(4) { transition-delay: 0.24s; }
.wbn-reveal-stagger .wbn-reveal:nth-child(5) { transition-delay: 0.32s; }
.wbn-reveal-stagger .wbn-reveal:nth-child(6) { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .wbn-header,
    .wbn-hero-inner,
    .wbn-about-inner,
    .wbn-footer {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .wbn-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wbn-hero-text {
        text-align: center;
        padding-top: 0;
    }

    .wbn-desc,
    .wbn-waitlist-note {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .wbn-hero-form {
        justify-content: center;
    }

    .wbn-form-card {
        max-width: 460px;
    }

    .wbn-title {
        font-size: 3rem;
    }

    .wbn-about-inner {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .wbn-claude-img {
        max-width: 260px;
    }

    .wbn-about-bg-img {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .wbn-header,
    .wbn-hero-inner,
    .wbn-about-inner,
    .wbn-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wbn-header {
        text-align: center;
        padding-top: 24px;
    }

    .wbn-hero {
        padding: 36px 0 64px;
    }

    .wbn-title {
        font-size: 2.35rem;
    }

    .wbn-title-sub {
        font-size: 1.15rem;
    }

    .wbn-desc {
        font-size: 1rem;
    }

    .wbn-form-card {
        padding: 28px 22px 26px;
    }

    .wbn-form-title {
        font-size: 1.5rem;
    }

    .wbn-about {
        padding: 64px 0 72px;
    }

    .wbn-about-heading {
        font-size: 1.65rem;
    }

    .wbn-about-bg-img {
        width: 280px;
    }

    .wbn-footer {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .wbn-title {
        font-size: 2rem;
    }

    .wbn-title-accent::after {
        height: 10px;
        bottom: 3px;
    }

    .wbn-badge {
        font-size: 0.65rem;
        padding: 5px 14px;
        letter-spacing: 1.8px;
    }

    .wbn-times {
        flex-direction: column;
        gap: 3px;
    }

    .wbn-about-heading {
        font-size: 1.45rem;
    }

    .wbn-curriculum li {
        font-size: 0.9rem;
    }

    .wbn-claude-img {
        max-width: 220px;
    }
}
