/* PLANS SECTION ULTRA PREMIUM */
.plans-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    /* Allow glow to spill */
    background: #020202;
    z-index: 10;
}

/* Atmospheric Glow Background */
.plans-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
    filter: blur(50px);
}

/* --- HEADER TYPOGRAPHY --- */
.plans-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
}

.plans-section .section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: none;
    background: linear-gradient(135deg, #ffffff 40%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
}

.plans-section .section-header p {
    color: #bbbbbb;
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: -0.5px;
    text-transform: none;
    opacity: 0.9;
}

.plans-section .section-header p::after {
    display: none;
    /* Remove distracting line */
}

.plans-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    /* Increased gap */
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    align-items: center;
    perspective: 1000px;
}

/* --- COMMON CARD STYLES --- */
.plan-card {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    width: 380px;
    text-align: left;
    position: relative;
    backdrop-filter: blur(20px);
    /* Heavy blur */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Hover Shine Effect */
.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.plan-card:hover::before,
.plan-card.mobile-active::before {
    left: 100%;
}

.plan-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.plan-target {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
    min-height: 40px;
    font-weight: 500;
}

/* --- LIST ITEMS --- */
.plan-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.plan-list li {
    margin-bottom: 18px;
    color: #bbb;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.plan-list li:hover,
.plan-list li.mobile-active {
    transform: translateX(5px);
    color: #fff;
}

/* Icons */
.icon-check {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.icon-cross {
    color: #666;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* --- ADVISORY CARD (LEFT - GHOST) --- */
.plan-card.advisory {
    border-color: rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(15, 15, 15, 0.9));
}

.plan-card.advisory:hover,
.plan-card.advisory.mobile-active {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* --- PARTNER CARD (RIGHT - HERO) --- */
.plan-card.featured {
    background: #080808;
    border: 0;
    transform: scale(1.08) translateZ(0);
    /* Force GPU to avoid blur */
    backface-visibility: hidden;
    z-index: 10;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
    overflow: visible;
    /* Allows badge to pop out */
    padding: 0;
    /* Clear padding so shine-container fills it */
    backdrop-filter: none;
    /* Remove blur as requested */
}

/* Container for content + shine (Clipped) */
.shine-container {
    padding: 60px 40px 40px;
    /* Top padding adjusted for badge space inside if needed, or visual balance */
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    /* Replicate main card background here if needed, or transparent to show parent */
    border: 1px solid transparent;
    /* Placeholder to match sizing */
}

/* Shine Effect on Container */
.shine-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    /* Slightly stronger shine for featured */
    transition: 0.5s;
    pointer-events: none;
    z-index: 1;
}

.plan-card.featured:hover .shine-container::before,
.plan-card.featured.mobile-active .shine-container::before {
    left: 100%;
}

/* Disable default shine on featured parent */
.plan-card.featured::before {
    display: none;
}

/* Styles for inner content to sit above shine */
.shine-container>* {
    position: relative;
    z-index: 2;
}

/* Metallic/Gold Border Wrapper (Keep on Parent) */
.plan-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, #f5a623, #4a3b18, #000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 5;
}

.plan-card.featured h3 {
    background: linear-gradient(90deg, #fff, #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Golden Halo Pulse */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 30px rgba(245, 166, 35, 0.1);
    }

    50% {
        box-shadow: 0 0 50px rgba(245, 166, 35, 0.25);
    }

    100% {
        box-shadow: 0 0 30px rgba(245, 166, 35, 0.1);
    }
}

.plan-card.featured {
    animation: goldPulse 4s infinite ease-in-out;
}

.plan-card.featured:hover,
.plan-card.featured.mobile-active {
    transform: scale(1.1);
    box-shadow: 0 0 80px rgba(245, 166, 35, 0.3);
}

.badge-featured {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #f5a623, #ffcc00);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.6);
    z-index: 5;
    border: 2px solid #000;
}

/* --- BUTTONS --- */
.plan-card .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 18px 0;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    background: transparent;
}

.btn-outline:hover,
.btn-outline.mobile-active {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: linear-gradient(90deg, #f5a623, #ffb347);
    color: #000;
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-primary.mobile-active {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(245, 166, 35, 0.4);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .plans-grid {
        flex-direction: column;
        gap: 60px;
    }

    .plan-card {
        width: 100%;
        max-width: 380px;
    }

    .plan-card.featured {
        transform: scale(1.05);
        order: -1;
        margin-top: 20px;
    }
}