/* JOIN PAGE MODERN STYLES */

/* HERO SECTION */
.join-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 250px;
    position: relative;
    z-index: 1;
}

.join-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* Handled by JS */
}

.join-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem;
    opacity: 0;
    /* Handled by JS */
}

/* BENTO GRID */
.join-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* SHARED CARD STYLES */
.join-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
}

.join-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon-lg {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.join-card-desc {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 1rem;
}

/* GRID SPANS */
.span-6 {
    grid-column: span 6;
}

.span-4 {
    grid-column: span 4;
}

.span-12 {
    grid-column: span 12;
}

@media (max-width: 900px) {

    .span-6,
    .span-4 {
        grid-column: span 12;
    }
}

/* CTA BUTTON (Enhanced) */
.join-cta-container {
    text-align: center;
    margin: 4rem 0;
    opacity: 0;
    /* JS Fade Up */
}

.join-btn-lg {
    display: inline-block;
    padding: 1.5rem 4rem;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.join-btn-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}