/* ==========================================================================
   Become a Teacher — landing page styles.
   Uses theme CSS custom properties from critical.css.
   Prefix: bat- (become-a-teacher).
   ========================================================================== */

/* Remove default site-main padding for this page */
.page-become-a-teacher .site-main {
    padding: 0;
}

/* --- Hero Section --- */
.bat-hero {
    position: relative;
    background: var(--color-surface);
    padding: var(--space-3xl) 0 clamp(3rem, 8vw, 5rem);
    overflow: hidden;
}

.bat-hero__bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: var(--color-primary-container);
    border-radius: 100px 0 0 100px;
    opacity: 0.5;
    transform: translateX(33%);
    pointer-events: none;
}

.bat-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.bat-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

/* Hero text */
.bat-hero__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--color-primary-container);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

.bat-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
}

.bat-hero__title-highlight {
    color: var(--color-primary);
}

.bat-hero__desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.bat-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Hero image */
.bat-hero__media {
    position: relative;
}

.bat-hero__img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--elevation-4);
    aspect-ratio: 4 / 3;
}

.bat-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bat-hero__play {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base);
}

.bat-hero__play:hover {
    background: rgba(15, 23, 42, 0.3);
}

.bat-hero__play-btn {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--elevation-3);
    transition: transform var(--transition-base);
}

.bat-hero__play:hover .bat-hero__play-btn {
    transform: scale(1.1);
}

.bat-hero__play-btn .material-symbols-outlined {
    font-size: 36px;
    color: var(--color-primary);
    margin-left: 3px;
}

/* Floating stat card */
.bat-hero__stat-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--color-surface);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--elevation-3);
    border: 1px solid var(--color-outline-variant);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.bat-hero__stat-icon {
    width: 48px;
    height: 48px;
    background: var(--color-success-container);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bat-hero__stat-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--color-success);
}

.bat-hero__stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
    margin: 0;
}

.bat-hero__stat-value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
}

.bat-hero__stat-unit {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-text-secondary);
}

/* --- Stats Section --- */
.bat-stats {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #1a3a5c 70%, #1a73e8 100%);
    padding: var(--space-2xl) 0;
}

.bat-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.bat-stats__item {
    padding: var(--space-md) var(--space-lg);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.bat-stats__item:last-child {
    border-right: none;
}

.bat-stats__number {
    font-size: clamp(1.75rem, 3vw, var(--font-size-4xl));
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--space-xs);
    line-height: 1.2;
}

.bat-stats__label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin: 0;
}

/* --- Why Teach Section --- */
.bat-why {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--color-surface-container);
}

.bat-why__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.bat-why__title {
    font-size: clamp(1.5rem, 3vw, var(--font-size-4xl));
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
}

.bat-why__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.bat-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.bat-why__card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-outline-variant);
    box-shadow: var(--elevation-1);
    transition: box-shadow var(--transition-base);
}

.bat-why__card:hover {
    box-shadow: var(--elevation-3);
}

.bat-why__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.bat-why__icon .material-symbols-outlined {
    font-size: 28px;
}

.bat-why__icon--blue {
    background: var(--color-primary-container);
    color: var(--color-primary);
}

.bat-why__icon--purple {
    background: #f3e8ff;
    color: #9333ea;
}

.bat-why__icon--amber {
    background: var(--color-accent-container);
    color: #d97706;
}

.bat-why__card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.bat-why__card-desc {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- Steps Section --- */
.bat-steps {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--color-surface);
    overflow: hidden;
}

.bat-steps__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

/* Timeline column */
.bat-steps__timeline {
    position: relative;
    order: 1;
}

.bat-steps__blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: var(--color-primary-container);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.7;
    pointer-events: none;
}

.bat-steps__step {
    display: flex;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.bat-steps__marker-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bat-steps__number {
    width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: var(--color-primary-container);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: background var(--transition-base), color var(--transition-base);
}

.bat-steps__step:hover .bat-steps__number {
    background: var(--color-primary);
    color: #fff;
}

.bat-steps__line {
    width: 2px;
    flex: 1;
    background: var(--color-outline-variant);
    margin: var(--space-sm) 0;
}

.bat-steps__content {
    padding-bottom: var(--space-xl);
}

.bat-steps__step-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.bat-steps__step-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Info column */
.bat-steps__info {
    order: 2;
}

.bat-steps__heading {
    font-size: clamp(1.5rem, 3vw, var(--font-size-4xl));
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
}

.bat-steps__subheading {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.bat-steps__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-3);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- Support Section --- */
.bat-support {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--color-primary-container);
}

.bat-support__card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-3xl);
    border: 1px solid rgba(26, 115, 232, 0.15);
    box-shadow: var(--elevation-1);
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
}

.bat-support__avatar-col {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.bat-support__avatar-wrapper {
    position: relative;
}

.bat-support__avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-surface);
    box-shadow: var(--elevation-3);
}

.bat-support__online {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: var(--color-success);
    border-radius: 50%;
    border: 4px solid var(--color-surface);
}

.bat-support__title {
    font-size: clamp(1.5rem, 2.5vw, var(--font-size-3xl));
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
}

.bat-support__desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.bat-support__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.bat-support__link:hover {
    color: var(--color-primary-dark);
}

.bat-support__link .material-symbols-outlined {
    font-size: 20px;
}

/* --- Bottom CTA Section --- */
.bat-cta {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--color-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bat-cta__bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
}

.bat-cta__bg svg {
    transform: translateY(-50%);
}

.bat-cta__container {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.bat-cta__title {
    font-size: clamp(1.75rem, 4vw, var(--font-size-5xl));
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.bat-cta__desc {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.bat-cta__btn {
    padding: 1.125rem 2.5rem;
    font-size: var(--font-size-xl);
    font-weight: 700;
    box-shadow: var(--elevation-2), 0 0 20px rgba(26, 115, 232, 0.3);
    transition: all var(--transition-base);
}

.bat-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-3), 0 0 30px rgba(26, 115, 232, 0.45);
}

.bat-cta__note {
    margin-top: var(--space-lg);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.45);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .bat-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .bat-hero__media {
        max-width: 560px;
        margin-inline: auto;
    }

    .bat-steps__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .bat-steps__info {
        order: -1;
        text-align: center;
    }

    .bat-support__card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .bat-support__avatar {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .bat-hero__media {
        display: none;
    }

    .bat-hero__desc {
        max-width: none;
    }

    .bat-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bat-stats__item:nth-child(2) {
        border-right: none;
    }

    .bat-stats__item:nth-child(1),
    .bat-stats__item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: var(--space-lg);
    }

    .bat-stats__item:nth-child(3),
    .bat-stats__item:nth-child(4) {
        padding-top: var(--space-lg);
    }

    .bat-why__grid {
        grid-template-columns: 1fr;
    }

    .bat-steps__img {
        height: 280px;
    }
}
