/* ====================================
   MODERN MEMBERSHIP PLANS STYLES
==================================== */

:root {
    --primary-gold: #d4af37;
    --dark-bg: #0a0a0a;
    --dark-card: #1a1a1a;
    --light-bg: #f8f8f8;
    --text-light: #ffffff;
    --text-muted: #777;
    --border-color: #e0e0e0;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====================================
   HERO SECTION
==================================== */
.plans-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--primary-gold);
    border-radius: 50px;
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* ====================================
   PLANS SECTION
==================================== */
.plans-section {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

/* Plans Container */
.plans-container {
    width: 100%;
    padding: 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    width: 100%;
    align-items: start;
}

/* Plan Card - Modern Design */
.plan-card {
    position: relative;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(20, 20, 28, 0.96) 0%, rgba(26, 26, 36, 0.96) 100%);
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:nth-child(n+4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card > * {
    position: relative;
    z-index: 2;
}

.plan-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.25),
                0 0 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.plan-card.featured {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(50, 45, 25, 0.98) 0%, rgba(65, 58, 35, 0.98) 100%);
    border: 2px solid rgba(212, 175, 55, 0.35);
    transform: scale(1.03);
}

.plan-card.featured:hover {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 0 40px 100px rgba(212, 175, 55, 0.35),
                0 0 60px rgba(212, 175, 55, 0.2);
}

.plan-header {
    margin-bottom: 35px;
    text-align: center;
    position: relative;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
    border-radius: 2px;
}

.plan-name {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    height: 135px;
}

.plan-description {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.7;
    min-height: 50px;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 15px 0 0 0;
}

.plan-pricing {
    text-align: center;
    padding: 40px 25px;
    margin: 35px 0;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.12) 0%, rgba(244, 208, 63, 0.06) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.plan-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.plan-pricing::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.price-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 12px;
    gap: 2px;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.currency {
    font-size: 1.9rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.amount {
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInScale 0.8s ease-out 0.1s both;
}

.price-period {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    text-transform: lowercase;
    margin-top: 10px;
    letter-spacing: 0.3px;
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

.plan-cta {
    display: block;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 10px;
    border: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.35), 
                0 0 20px rgba(212, 175, 55, 0.15);
    margin-top: auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plan-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s ease;
}

.plan-cta:hover::before {
    width: 300px;
    height: 300px;
}

.plan-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.5), 
                0 0 30px rgba(212, 175, 55, 0.25);
}

.no-plans {
    text-align: center;
    padding: 80px 40px;
    color: #888;
    font-size: 1.05rem;
}

/* ====================================
   BENEFITS SECTION
==================================== */
.benefits-section {
    padding: 100px 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(145deg, rgba(26, 26, 34, 0.95) 0%, rgba(32, 32, 45, 0.95) 100%);
    border-radius: 18px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1.5px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25), 
                0 0 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.benefit-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-weight: 400;
}

/* ====================================
   CTA SECTION
==================================== */
.cta-section {
    padding: 100px 20px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.5);
    color: var(--dark-bg);
}

/* ====================================
   RESPONSIVE
==================================== */
@media (max-width: 768px) {
    .plans-hero {
        min-height: 60vh;
        padding: 100px 20px 60px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 18px;
    }

    .plans-section,
    .benefits-section,
    .cta-section {
        padding: 60px 20px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-card.featured:hover {
        transform: scale(1.02) translateY(-10px);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .amount {
        font-size: 3.5rem;
    }

    .cta-button {
        padding: 18px 45px;
        font-size: 0.95rem;
    }
}

/* ====================================
   PLAN MODAL STYLES
==================================== */
.plan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.plan-modal-content {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 26, 34, 0.99) 0%, rgba(32, 32, 45, 0.99) 100%);
    border-radius: 24px;
    max-width: 750px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 
                0 0 80px rgba(212, 175, 55, 0.3),
                inset 0 0 40px rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.plan-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.4);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    font-weight: 300;
}

.plan-modal-close:hover {
    background: rgba(212, 175, 55, 0.35);
    border-color: rgba(212, 175, 55, 0.6);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
    color: #f4d03f;
}

.plan-modal-header {
    background: linear-gradient(145deg, rgba(26, 26, 34, 0.98) 0%, rgba(32, 32, 45, 0.98) 100%);
    padding: 50px 40px 40px;
    text-align: center;
    border-radius: 22px 22px 0 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.plan-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.plan-modal-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-modal-body {
    padding: 50px 40px;
    background: rgba(26, 26, 34, 0.5);
}

.plan-modal-pricing {
    text-align: center;
    padding: 40px 30px;
    margin-bottom: 35px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.12) 0%, rgba(244, 208, 63, 0.08) 100%);
    border-radius: 18px;
    border: 2px solid rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
}

.plan-modal-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.modal-price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
    animation: fadeInScale 0.6s ease-out;
}

.modal-currency {
    font-size: 2rem;
    font-weight: 600;
    color: #d4af37;
    margin-right: 5px;
}

.modal-amount {
    font-size: 5.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
}

.modal-price-period {
    font-size: 1rem;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 12px;
}

.plan-modal-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 500;
}

.plan-modal-book-btn {
    display: block;
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.35), 
                0 0 20px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.plan-modal-book-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.plan-modal-book-btn:hover::before {
    width: 300px;
    height: 300px;
}

.plan-modal-book-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5), 
                0 0 30px rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
    .plan-modal-content {
        width: 95%;
    }

    .plan-modal-header h2 {
        font-size: 1.8rem;
    }

    .modal-amount {
        font-size: 3.5rem;
    }

    .plan-modal-description {
        font-size: 1rem;
    }
}
