/* Membership Plans Page Styles */
/* Scoped styles for membership plans page only */

.membership-plans-page {
    /* Variables - Light Mode */
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #f7b32b;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #f0f0f0;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #004e89 0%, #1a659e 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

/* Dark Mode Variables - Based on Site Palette */
[data-theme="dark"] .membership-plans-page {
    --text-dark: #F8FAFC;
    --text-light: #CBD5E1;
    --bg-light: #1E293B;
    --bg-white: #293549;
    --card-bg: #293549;
    --border-color: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
}

/* Hero Section */
.membership-plans-page .hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}

.membership-plans-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.membership-plans-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.membership-plans-page .hero-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.membership-plans-page .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

.membership-plans-page .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.membership-plans-page .hero-cta:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--primary-color);
}

.membership-plans-page .hero-cta-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.membership-plans-page .hero-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Hero CTA on Hero Section (gradient background) */
.membership-plans-page .hero-section .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.membership-plans-page .hero-section .hero-cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* Navigation Bar */
.membership-plans-page .sticky-nav {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 95px;
    z-index: 100;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .membership-plans-page .sticky-nav {
        top: 70px;
        z-index: 98;
        box-shadow: 0 2px 12px rgba(0,0,0,0.15);
        overflow: hidden;
    }

    .membership-plans-page .sticky-nav .container {
        padding: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .membership-plans-page .sticky-nav {
        top: 105px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.membership-plans-page .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
    padding-bottom: 14px;
}

@media (max-width: 768px) {
    .membership-plans-page .nav-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 12px 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
    }

    .membership-plans-page .nav-links::-webkit-scrollbar {
        display: none;
    }

    .membership-plans-page .nav-links li {
        flex-shrink: 0;
    }

    /* Scroll indicator gradient */
    .membership-plans-page .sticky-nav::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 50px;
        background: linear-gradient(to left, var(--bg-white), transparent);
        pointer-events: none;
        z-index: 10;
    }

    /* Scroll hint icon */
    .membership-plans-page .sticky-nav::before {
        content: '→';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-light);
        font-size: 1.2rem;
        font-weight: bold;
        z-index: 11;
        pointer-events: none;
        animation: slideHint 1.5s ease-in-out infinite;
    }

    @keyframes slideHint {
        0%, 100% {
            opacity: 0.4;
            transform: translateY(-50%) translateX(0);
        }
        50% {
            opacity: 1;
            transform: translateY(-50%) translateX(-5px);
        }
    }
}

.membership-plans-page .nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
}

.membership-plans-page .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.membership-plans-page .nav-links a:hover {
    color: var(--primary-color);
}

.membership-plans-page .nav-links a:hover::after {
    width: 100%;
}

/* Free Podcast Match Navigation Item - Special Styling */
.membership-plans-page .nav-links a.nav-free-match {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: freeMatchPulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.membership-plans-page .nav-links a.nav-free-match::before {
    content: '✨';
    margin-right: 6px;
    display: inline-block;
    animation: sparkle 1.5s ease-in-out infinite;
}

.membership-plans-page .nav-links a.nav-free-match::after {
    display: none;
}

.membership-plans-page .nav-links a.nav-free-match:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    animation: freeMatchPulseHover 1s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes freeMatchPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
        transform: scale(1.02);
    }
}

@keyframes freeMatchPulseHover {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        transform: translateY(-2px) scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.8);
        transform: translateY(-2px) scale(1.05);
    }
}

/* Sparkle Animation */
@keyframes sparkle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: rotate(90deg) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 1;
    }
    75% {
        transform: rotate(270deg) scale(1.2);
        opacity: 0.8;
    }
}

/* Dark Mode - Free Match Nav */
[data-theme="dark"] .membership-plans-page .nav-links a.nav-free-match {
    background: linear-gradient(135deg, #5a3d7a 0%, #4c63d2 100%);
    box-shadow: 0 4px 15px rgba(76, 99, 210, 0.5);
}

[data-theme="dark"] .membership-plans-page .nav-links a.nav-free-match:hover {
    box-shadow: 0 6px 20px rgba(76, 99, 210, 0.7);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .membership-plans-page .nav-links a.nav-free-match {
        padding: 8px 16px;
        font-size: 0.75rem;
        border-radius: 20px;
    }
}

/* Section Styles */
.membership-plans-page .section {
    padding: 60px 0;
}

.membership-plans-page .section:first-of-type {
    padding-top: 0;
}

.membership-plans-page .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
}

.membership-plans-page .section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Us Section */
.membership-plans-page .why-us-section {
    background: var(--bg-light);
}

.membership-plans-page .feature-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.membership-plans-page .feature-card:hover {
    box-shadow: var(--shadow-md);
}

.membership-plans-page .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.membership-plans-page .feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.membership-plans-page .feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* How It Works Section */
.membership-plans-page .how-it-works-section {
    background: var(--bg-white);
}

.membership-plans-page .step-card {
    text-align: center;
    padding: 26px 22px;
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.membership-plans-page .step-number {
    width: 62px;
    height: 62px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 14px;
    box-shadow: var(--shadow-md);
}

.membership-plans-page .step-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.membership-plans-page .step-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.92rem;
    text-align: center;
}

.membership-plans-page .step-list {
    list-style: disc;
    padding-left: 1.4rem;
    margin-top: 12px;
    text-align: left;
}

.membership-plans-page .step-list li {
    padding: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.membership-plans-page .step-list li + li {
    margin-top: 6px;
}

.membership-plans-page .step-list li strong {
    color: var(--text-dark);
}

.membership-plans-page .step-highlight {
    background: rgba(255, 107, 53, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: auto;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.15);
}

/* Pricing Section */
.membership-plans-page .pricing-section {
    background: var(--bg-light);
}

.membership-plans-page .plan-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}


.membership-plans-page .plan-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.membership-plans-page .plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 107, 53, 0.03) 100%);
}

.membership-plans-page .plan-card.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

.membership-plans-page .plan-badge-wrapper {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.membership-plans-page .plan-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}


.membership-plans-page .discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    z-index: 10;
}

.membership-plans-page .plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-plans-page .plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 60px;
}

.membership-plans-page .plan-price del {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
}

.membership-plans-page .plan-period {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 16px;
    text-align: center;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-plans-page .plan-trial-badge {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.membership-plans-page .plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    flex-grow: 1;
}

.membership-plans-page .plan-features li {
    padding: 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: start;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.membership-plans-page .plan-features li:last-child {
    border-bottom: none;
}

.membership-plans-page .plan-features li i {
    color: #28a745;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.membership-plans-page .plan-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.membership-plans-page .plan-cta:hover {
    box-shadow: var(--shadow-md);
    color: white;
}

.membership-plans-page .plan-cta.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.membership-plans-page .plan-cta.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Testimonials Section */
.membership-plans-page .testimonials-section {
    background: var(--bg-light);
}

.membership-plans-page .testimonial-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.membership-plans-page .testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.membership-plans-page .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.membership-plans-page .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.membership-plans-page .author-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.membership-plans-page .author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Explore & Discover Section */
.membership-plans-page .explore-section {
    background: var(--bg-light);
}

.membership-plans-page .explore-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}


.membership-plans-page .explore-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.membership-plans-page .explore-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.membership-plans-page .explore-icon {
    font-size: 2.5rem;
}

.membership-plans-page .explore-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.membership-plans-page .explore-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.membership-plans-page .explore-link {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.membership-plans-page .explore-link:hover {
    box-shadow: var(--shadow-md);
    gap: 12px;
    color: white;
}

/* Resources Section */
.membership-plans-page .resources-section {
    background: var(--bg-white);
}

.membership-plans-page .resource-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.membership-plans-page .resource-card:hover {
    box-shadow: var(--shadow-md);
    color: inherit;
}

.membership-plans-page .resource-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.membership-plans-page .resource-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.membership-plans-page .resource-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Secure Payment Badge */
.membership-plans-page .secure-payment-badge {
    background: transparent;
    color: var(--text-light);
    padding: 16px 32px;
    text-align: center;
    margin-top: 32px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: all 0.3s ease;
}

.membership-plans-page .secure-payment-badge:hover {
    color: var(--text-dark);
}

.membership-plans-page .secure-payment-badge i {
    font-size: 1.3rem;
}

    .membership-plans-page .secure-payment-badge span {
        font-size: 0.95rem;
    }

    [data-theme="dark"] .membership-plans-page .secure-payment-badge {
        background: transparent;
        color: var(--text-light);
    }

    [data-theme="dark"] .membership-plans-page .secure-payment-badge:hover {
        color: var(--text-dark);
    }

    .membership-plans-page .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Free Match Section - Standout Highlight Version */
    .membership-plans-page .match-section.free-match-highlight {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 80px 0;
        margin: 60px 0;
        position: relative;
        overflow: hidden;
    }

    .membership-plans-page .match-section.free-match-highlight::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

    .membership-plans-page .match-section.free-match-highlight .container {
        position: relative;
        z-index: 1;
    }

    .membership-plans-page .match-section.free-match-highlight .match-intro {
        color: #ffffff;
    }

    .membership-plans-page .match-section.free-match-highlight .section-title {
        color: #ffffff !important;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .membership-plans-page .match-section.free-match-highlight .match-lead {
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .membership-plans-page .match-section.free-match-highlight .match-description {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .membership-plans-page .match-section.free-match-highlight .match-promise {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        padding: 1rem 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        color: #ffffff;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .membership-plans-page .match-section.free-match-highlight .match-promise i {
        font-size: 1.5rem;
        color: #ffd700;
    }

    .membership-plans-page .match-section.free-match-highlight .match-form-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        border: 3px solid rgba(255, 255, 255, 0.5);
        position: relative;
    }

    .membership-plans-page .match-section.free-match-highlight .match-form-card::before {
        content: '✨ FREE';
        position: absolute;
        top: -15px;
        right: 30px;
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #333;
        padding: 8px 20px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        letter-spacing: 1px;
    }

    .membership-plans-page .match-section.free-match-highlight .match-form-title {
        color: #667eea;
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .membership-plans-page .match-section.free-match-highlight .match-form-subtitle {
        color: #666;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .membership-plans-page .match-section.free-match-highlight .form-control,
    .membership-plans-page .match-section.free-match-highlight .form-select {
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        transition: all 0.3s ease;
    }

    .membership-plans-page .match-section.free-match-highlight .form-control:focus,
    .membership-plans-page .match-section.free-match-highlight .form-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

    .membership-plans-page .match-section.free-match-highlight .match-submit-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #ffffff;
        border: none;
        padding: 1rem 2.5rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .membership-plans-page .match-section.free-match-highlight .match-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

    .membership-plans-page .match-section.free-match-highlight .match-submit-btn:active {
        transform: translateY(0);
    }

    .membership-plans-page .match-section.free-match-highlight .form-label {
        color: #333;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .membership-plans-page .match-section.free-match-highlight .required-asterisk {
        color: #e74c3c;
    }

    .membership-plans-page .match-section.free-match-highlight .match-checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .membership-plans-page .match-section.free-match-highlight .form-check-label {
        color: #555;
        cursor: pointer;
    }

    .membership-plans-page .match-section.free-match-highlight .form-check-input:checked {
        background-color: #667eea;
        border-color: #667eea;
    }

    /* Responsive adjustments for free-match-highlight */
    @media (max-width: 768px) {
        .membership-plans-page .match-section.free-match-highlight {
            padding: 50px 0;
            margin: 40px 0;
        }

        .membership-plans-page .match-section.free-match-highlight .section-title {
            font-size: 2rem;
        }

        .membership-plans-page .match-section.free-match-highlight .match-form-card {
            padding: 1.5rem;
        }

        .membership-plans-page .match-section.free-match-highlight .match-form-card::before {
            right: 20px;
            padding: 6px 15px;
            font-size: 0.8rem;
        }
    }

    /* Free Match Section - Default (non-highlighted) */
    .membership-plans-page .match-section {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 78, 137, 0.05) 100%);
    }

    .membership-plans-page .match-intro {
        padding-right: 20px;
    }

    .membership-plans-page .match-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 12px;
    }

    .membership-plans-page .match-lead {
        font-size: 1.1rem;
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 12px;
    }

    .membership-plans-page .match-description {
        color: var(--text-light);
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .membership-plans-page .match-promise {
        display: flex;
        align-items: center;
        gap: 10px;
        background: var(--card-bg);
        border-radius: 12px;
        padding: 12px 16px;
        box-shadow: var(--shadow-sm);
        color: var(--text-dark);
        font-weight: 600;
    }

    .membership-plans-page .match-promise i {
        color: var(--primary-color);
    }

    .membership-plans-page .match-form-card {
        background: var(--card-bg);
        border-radius: 16px;
        box-shadow: var(--shadow-md);
        padding: 28px 24px;
    }

    .membership-plans-page .match-form-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 6px;
    }

    .membership-plans-page .match-form-subtitle {
        color: var(--text-light);
        margin-bottom: 20px;
    }

    .membership-plans-page .match-form .form-label {
        font-weight: 600;
        color: var(--text-dark);
    }

    .membership-plans-page .match-form .form-control,
    .membership-plans-page .match-form .form-select {
        border-radius: 10px;
        border: 1px solid var(--border-color);
        padding: 10px 12px;
    }

    .membership-plans-page .match-form .form-control:focus,
    .membership-plans-page .match-form .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.15);
    }

.membership-plans-page .required-asterisk {
    color: #dc3545;
    margin-left: 4px;
    font-weight: 700;
}

    .membership-plans-page .match-checkbox-group {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
    }

    .membership-plans-page .match-checkbox-group .form-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 16px;
    min-width: 180px;
    transition: all 0.3s ease;
    }

    .membership-plans-page .match-checkbox-group .form-check-input {
        width: 18px;
        height: 18px;
        border-radius: 4px;
    margin: 0;
    }

    .membership-plans-page .match-checkbox-group .form-check-label {
        color: var(--text-dark);
        font-weight: 500;
    margin: 0;
    }

.membership-plans-page .match-checkbox-group .form-check:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.membership-plans-page .match-checkbox-group .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .membership-plans-page .match-submit-btn {
        background: var(--primary-color);
        border: none;
        color: white;
        padding: 12px 26px;
        border-radius: 999px;
        font-weight: 600;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
    }

    .membership-plans-page .match-submit-btn:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }

    @media (max-width: 992px) {
        .membership-plans-page .match-intro {
            padding-right: 0;
            text-align: center;
            margin-bottom: 20px;
        }

        .membership-plans-page .match-promise {
            justify-content: center;
        }
    }

/* Ensure cards don't overflow */
.membership-plans-page .row {
    margin-left: -12px;
    margin-right: -12px;
}

.membership-plans-page .row > [class*='col-'] {
    padding-left: 12px;
    padding-right: 12px;
}

@media (max-width: 768px) {
    .membership-plans-page .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .membership-plans-page .row > [class*='col-'] {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Dark Mode Additional Adjustments */
[data-theme="dark"] .membership-plans-page .plan-cta.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .membership-plans-page .hero-cta-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .membership-plans-page .hero-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .membership-plans-page .alert-success {
    background-color: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.25);
    color: #4ADE80;
}

[data-theme="dark"] .membership-plans-page .how-it-works-section,
[data-theme="dark"] .membership-plans-page .resources-section {
    background: #293549;
}

[data-theme="dark"] .membership-plans-page .why-us-section,
[data-theme="dark"] .membership-plans-page .pricing-section,
[data-theme="dark"] .membership-plans-page .testimonials-section,
[data-theme="dark"] .membership-plans-page .explore-section {
    background: #1E293B;
}

[data-theme="dark"] .membership-plans-page .feature-card:hover,
[data-theme="dark"] .membership-plans-page .plan-card:hover,
[data-theme="dark"] .membership-plans-page .testimonial-card:hover,
[data-theme="dark"] .membership-plans-page .resource-card:hover,
[data-theme="dark"] .membership-plans-page .explore-card:hover {
    border-color: #F4B864;
}

[data-theme="dark"] .membership-plans-page .plan-features li i {
    color: #4ADE80;
}

[data-theme="dark"] .membership-plans-page .step-list li i {
    color: #F4B864;
}

/* Dark Mode - Free Match Highlight Section */
[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight {
    background: linear-gradient(135deg, #4c63d2 0%, #5a3d7a 100%);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight::before {
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid-dark" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid-dark)"/></svg>');
    opacity: 0.4;
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-form-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-form-card::before {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-form-title {
    color: #a8b5ff;
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-form-subtitle {
    color: var(--text-light);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .form-control,
[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .form-select {
    background: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .form-control:focus,
[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .form-select:focus {
    border-color: #a8b5ff;
    box-shadow: 0 0 0 0.2rem rgba(168, 181, 255, 0.25);
    background: var(--bg-white);
    color: var(--text-dark);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .form-label {
    color: var(--text-dark);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .form-check-label {
    color: var(--text-dark);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-promise {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-submit-btn {
    background: linear-gradient(135deg, #5a3d7a 0%, #4c63d2 100%);
    box-shadow: 0 8px 25px rgba(76, 99, 210, 0.5);
}

[data-theme="dark"] .membership-plans-page .match-section.free-match-highlight .match-submit-btn:hover {
    background: linear-gradient(135deg, #4c63d2 0%, #5a3d7a 100%);
    box-shadow: 0 12px 35px rgba(76, 99, 210, 0.6);
}

@media (max-width: 768px) {
    [data-theme="dark"] .membership-plans-page .nav-links a {
        background: #1E293B;
        color: var(--text-dark);
    }

    [data-theme="dark"] .membership-plans-page .nav-links a:hover {
        background: var(--primary-color);
        color: white;
    }

    [data-theme="dark"] .membership-plans-page .sticky-nav::after {
        background: linear-gradient(to left, #293549, transparent);
    }

    [data-theme="dark"] .membership-plans-page .sticky-nav::before {
        color: var(--text-light);
    }
}

/* Responsive Styles */

/* Tablet (Medium devices) */
@media (max-width: 992px) and (min-width: 769px) {
    .membership-plans-page .hero-title {
        font-size: 2rem;
    }

    .membership-plans-page .section-title {
        font-size: 1.6rem;
    }

    .membership-plans-page .nav-links {
        gap: 16px;
        font-size: 0.8rem;
    }

    .membership-plans-page .plan-card {
        padding: 24px 20px;
    }

    .membership-plans-page .explore-card {
        padding: 28px 24px;
    }
}

/* Mobile (Small devices) */
@media (max-width: 768px) {
    .membership-plans-page .section {
        padding: 40px 0;
    }

    .membership-plans-page .hero-section {
        padding: 40px 0 30px;
    }

    .membership-plans-page .hero-content {
        padding: 0 15px;
    }

    .membership-plans-page .hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .membership-plans-page .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .membership-plans-page .hero-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
        display: inline-flex !important;
        width: auto;
        justify-content: center;
    }

    .membership-plans-page .hero-cta.me-0 {
        margin-right: 0 !important;
    }

    .membership-plans-page .hero-cta.mb-3 {
        display: block !important;
        width: 100%;
        margin-bottom: 12px !important;
    }

    .membership-plans-page .hero-cta-secondary {
        display: block !important;
        width: 100%;
    }

    .membership-plans-page .section-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .membership-plans-page .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 28px;
        padding: 0 15px;
    }

    .membership-plans-page .nav-links {
        gap: 16px;
    }

    .membership-plans-page .nav-links a {
        font-size: 0.875rem;
        white-space: nowrap;
        padding: 8px 12px;
        background: var(--bg-light);
        border-radius: 20px;
        display: inline-block;
    }

    .membership-plans-page .nav-links a:hover {
        background: var(--primary-color);
        color: white;
    }

    .membership-plans-page .nav-links a::after {
        display: none;
    }

    .membership-plans-page .plan-card {
        padding: 24px 20px;
        margin: 0 8px;
    }

    .membership-plans-page .plan-name {
        font-size: 1.3rem;
        min-height: 40px;
    }

    .membership-plans-page .plan-price {
        font-size: 1.8rem;
        min-height: 50px;
    }

    .membership-plans-page .plan-price del {
        font-size: 1.1rem;
    }

    .membership-plans-page .step-card {
        padding: 20px 16px;
    }

    .membership-plans-page .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .membership-plans-page .step-title {
        font-size: 1.05rem;
    }

    .membership-plans-page .feature-card,
    .membership-plans-page .testimonial-card,
    .membership-plans-page .resource-card {
        padding: 20px;
    }

    .membership-plans-page .feature-title,
    .membership-plans-page .resource-title {
        font-size: 1rem;
    }

    .membership-plans-page .explore-card {
        padding: 24px 20px;
    }

    .membership-plans-page .explore-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .membership-plans-page .explore-icon {
        font-size: 2rem;
    }

    .membership-plans-page .explore-title {
        font-size: 1.3rem;
    }

    .membership-plans-page .explore-link {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .membership-plans-page .secure-payment-badge {
        padding: 14px 24px;
        font-size: 0.85rem;
        margin-top: 24px;
        gap: 8px;
    }

    .membership-plans-page .secure-payment-badge i {
        font-size: 1.1rem;
    }

    .membership-plans-page .secure-payment-badge span {
        font-size: 0.85rem;
    }

    .membership-plans-page .discount-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .membership-plans-page .plan-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .membership-plans-page .hero-title {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .membership-plans-page .hero-subtitle {
        font-size: 0.875rem;
    }

    .membership-plans-page .section-title {
        font-size: 1.3rem;
    }

    .membership-plans-page .section-subtitle {
        font-size: 0.85rem;
    }

    .membership-plans-page .nav-links {
        gap: 12px;
    }

    .membership-plans-page .nav-links a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .membership-plans-page .plan-card {
        margin: 0 4px;
        padding: 20px 16px;
    }

    .membership-plans-page .plan-name {
        font-size: 1.2rem;
    }

    .membership-plans-page .plan-price {
        font-size: 1.6rem;
    }

    .membership-plans-page .feature-icon,
    .membership-plans-page .resource-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .membership-plans-page .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .membership-plans-page .explore-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .membership-plans-page .explore-icon {
        font-size: 1.8rem;
    }

    .membership-plans-page .explore-title {
        font-size: 1.2rem;
    }

    .membership-plans-page .secure-payment-badge {
        padding: 12px 20px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .membership-plans-page .secure-payment-badge i {
        font-size: 1rem;
    }

    .membership-plans-page .secure-payment-badge span {
        font-size: 0.8rem;
    }
}

