/* Membership Page Specific Styles - F1 Unlocked Inspired */

/* --- Variables --- */
:root {
    --onion-purple: #8B5CF6;
    --onion-purple-dark: #6D28D9;
    --onion-purple-glow: rgba(139, 92, 246, 0.5);
    --dark-bg: #15151e;
    /* Slightly lighter than pure black */
    --card-bg: #1f1f2e;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --border-color: #2a2a35;
}

/* --- Hero Section --- */
.membership-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    background: radial-gradient(circle at center, #2e1065 0%, #0b0b0f 80%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Diagonal speed lines background effect */
.membership-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(139, 92, 246, 0.03) 20px,
            rgba(139, 92, 246, 0.03) 40px);
    pointer-events: none;
}

.membership-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: clamp(2rem, 6vw, 4rem);
    /* Responsive font size */
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    word-wrap: break-word;
    /* Ensure wrapping */
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 400;
    line-height: 1.6;
    padding: 0 10px;
}

/* --- Pricing Card --- */
.pricing-section {
    padding: 20px 0;
    /* Reduced padding on mobile */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.membership-card {
    display: flex;
    flex-direction: column;
    background: #1f1f2e;
    border: 1px solid rgba(139, 92, 246, 0.3);
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.15);
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

/* Border simulation for clip-path */
.membership-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 2px var(--onion-purple);
    pointer-events: none;
    z-index: 10;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    opacity: 0.5;
}

@media (min-width: 768px) {
    .pricing-section {
        padding: 40px 20px;
    }

    .membership-card {
        flex-direction: row;
    }
}

.card-left {
    flex: 1;
    padding: 40px 20px;
    /* Reduced padding on mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0) 100%);
    position: relative;
}

@media (min-width: 768px) {
    .card-left {
        padding: 50px;
        align-items: flex-start;
        text-align: left;
        border-right: 1px solid rgba(139, 92, 246, 0.2);
    }
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--onion-purple);
}

.card-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

@media (min-width: 768px) {
    .card-price {
        align-items: flex-start;
    }
}

.price-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--onion-purple);
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-right {
    flex: 1.5;
    padding: 50px;
    background: #1a1a25;
    text-align: left;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #e5e7eb;
    font-family: 'Montserrat', sans-serif;
}

/* Custom Checkmark Icon */
.benefit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--onion-purple);
    transform: rotate(45deg);
    /* Diamond shape bullet */
}

/* --- Section Headline (for contact section) --- */
.section-headline {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 2.5rem;
    margin-bottom: 70px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

/* --- Join Banner --- */
.join-banner {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/background-1.webp') center/cover;
    border-top: 4px solid var(--onion-purple);
    position: relative;
}

.join-banner h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 3.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.join-banner .btn {
    /* Match the F1 Outline style but filled for main CTA */
    background: var(--onion-purple);
    border: none;
    border-radius: 50px;
    /* Pill shape */
    clip-path: none;
    /* Remove cut corners */
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.join-banner .btn:hover {
    background: #fff;
    color: #000;
}

/* Contact Maps Section */
.contact-maps-section {
    padding: 60px 20px;
    background: #0f0f13;
    border-top: 1px solid #2a2a35;
}

.contact-maps-section .section-headline {
    margin-bottom: 40px;
    font-style: normal;
    /* Maps don't need italic headline */
}

.map-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-bottom: 10px;
}