/* Membership Page Styles */

/* Hero Section */
.membership-hero {
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9) 0%, rgba(30, 30, 60, 0.9) 100%), url('images/the-office-building-V9XWZKQ.jpeg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.membership-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 207, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.membership-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077ff 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
    animation: pulse 2s infinite;
}

.hero-badge i {
    margin-right: 5px;
    color: var(--gold-accent);
}

.membership-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.membership-hero h1 span {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.membership-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-accent) 50%, transparent 100%);
}

.membership-hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
    width: fit-content;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-toggle button {
    background: none;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-toggle button.toggle-active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077ff 100%);
    box-shadow: 0 4px 10px rgba(0, 207, 255, 0.3);
}

.save-badge {
    position: absolute;
    top: -10px;
    right: -15px;
    background: var(--gold-accent);
    color: var(--dark-bg);
    font-size: 0.7em;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--dark-bg);
    position: relative;
}

.scarcity-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.scarcity-banner p {
    font-weight: 600;
    margin: 0;
    font-size: 1.1em;
}

.scarcity-banner i {
    margin: 0 5px;
}

#countdown-timer {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0 5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 207, 255, 0.3);
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(40, 40, 80, 0.95) 0%, rgba(30, 30, 60, 0.95) 100%);
    transform: scale(1.05);
    border: 1px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 207, 255, 0.2);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077ff 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
}

.pricing-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--gold-accent);
    position: relative;
    display: inline-block;
}

.pricing-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-accent) 50%, transparent 100%);
}

.price {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: white;
}

.price-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 5px;
}

.price-save {
    background: var(--gold-accent);
    color: var(--dark-bg);
    font-size: 0.7em;
    padding: 5px 10px;
    border-radius: 20px;
    margin-top: 10px;
    display: inline-block;
    font-weight: 700;
}

.plan-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 0.95em;
    min-height: 60px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    margin-top: auto;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #ffd700 100%);
    color: var(--dark-bg);
    font-weight: 700;
    border: none;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffd700 0%, var(--gold-accent) 100%);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.institutional-card {
    background: linear-gradient(135deg, rgba(40, 40, 80, 0.95) 0%, rgba(20, 20, 40, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Plan Comparison */
.plan-comparison {
    margin-top: 80px;
}

.plan-comparison h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: white;
}

.plan-comparison h2 span {
    color: var(--gold-accent);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 30, 60, 0.7);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(0, 207, 255, 0.1);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: white;
}

.comparison-table td {
    color: rgba(255, 255, 255, 0.8);
}

.comparison-table .fa-check {
    color: #4cd964;
}

.comparison-table .fa-times {
    color: #ff3b30;
}

.category-row td {
    background: rgba(0, 207, 255, 0.05);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--card-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    border-color: rgba(0, 207, 255, 0.3);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: white;
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 0.9em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 207, 255, 0.1);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-item.active {
    background: rgba(40, 40, 80, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9) 0%, rgba(30, 30, 60, 0.9) 100%), url('images/business-people-examining-business-graphs-EYB89TR.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(30, 30, 60, 0.8);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 207, 255, 0.3);
}

.testimonial-quote {
    position: relative;
    padding-top: 20px;
}

.testimonial-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 1.5em;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-quote p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.testimonial-author p {
    margin: 5px 0 0;
    color: var(--primary-color);
    font-size: 0.9em;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 207, 255, 0.1) 0%, rgba(0, 119, 255, 0.1) 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 207, 255, 0.05) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.guarantee i {
    color: var(--gold-accent);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Early Bird Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.95) 0%, rgba(20, 20, 40, 0.95) 100%);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 207, 255, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px;
    text-align: center;
}

.popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.popup-badge i {
    margin-right: 5px;
}

.popup-content h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: white;
}

.popup-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.popup-countdown {
    margin-bottom: 30px;
}

.popup-countdown p {
    margin-bottom: 15px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 10px;
    min-width: 70px;
}

.countdown-value {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.countdown-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

.popup-spots-left {
    margin-bottom: 30px;
}

.popup-spots-left p {
    margin-bottom: 10px;
}

.spots-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.spots-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #0077ff 100%);
    border-radius: 5px;
}

.popup-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.popup-guarantee i {
    color: var(--gold-accent);
    margin-right: 10px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .membership-hero h1 {
        font-size: 2.8em;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .pricing-card.popular {
        transform: scale(1.03);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1.03) translateY(-10px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .membership-hero h1 {
        font-size: 2.2em;
    }
    
    .membership-hero p {
        font-size: 1em;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 576px) {
    .membership-hero {
        padding: 100px 0 60px;
    }
    
    .membership-hero h1 {
        font-size: 1.8em;
    }
    
    .price-value {
        font-size: 2em;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px;
    }
    
    .countdown-value {
        font-size: 1.5em;
    }
    
    .popup-content {
        padding: 30px 20px;
    }
}
