/* ========================================
   PLAN CARD - ENHANCED WITH JS EFFECT
   LEFT: 1 LARGE CARD | RIGHT: SMALL CARDS GRID
   INCREASED BLUR + OPACITY
   ======================================== */

.plan-highlight-card {
    background: rgba(138, 116, 45, 0.28) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 1.5rem;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

/* Soft gradient overlay - static */
.plan-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Shimmer light effect on hover */
.plan-highlight-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.plan-highlight-card:hover::after {
    left: 150%;
}

.plan-highlight-card:hover {
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.35);
    border-color: rgba(255, 215, 0, 0.9);
}

/* LEFT SECTION - LARGE MAIN CARD */
.plan-left-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Main Plan Card */
.plan-main-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.35);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.plan-main-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14) 0%, rgba(255, 165, 0, 0.07) 100%);
}

.plan-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

.plan-icon canvas {
    width: 80px !important;
    height: 80px !important;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.plan-percentage {
    font-size: 5rem !important;
    font-weight: 900;
    line-height: 0.9;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -4px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.plan-main-card:hover .plan-percentage {
    transform: scale(1.05);
}

.plan-label {
    font-size: 0.85rem !important;
    color: #FFD700;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Duration Sub-card */
.plan-duration-subcard {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-duration-subcard:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.duration-label {
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.duration-value {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.duration-subtitle {
    font-size: 0.65rem;
    color: #CCC;
    font-weight: 500;
}

/* RIGHT SECTION - SMALL CARDS GRID */
.plan-right-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Stats Grid - 2x2 */
.plan-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.stat-card-small {
    background: rgba(26, 26, 26, 0.8);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    padding: 1rem 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.stat-card-small:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    background: rgba(26, 26, 26, 0.95);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    transition: transform 0.3s ease;
}

.stat-card-small:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
    display: block;
    transition: transform 0.3s ease;
}

.stat-card-small:hover .stat-value {
    transform: scale(1.05);
}

.stat-label {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Features List - Compact */
.plan-features-compact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-item-compact {
    background: rgba(26, 26, 26, 0.7);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Light sweep on hover */
.feature-item-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item-compact:hover::before {
    left: 100%;
}

.feature-item-compact:hover {
    background: rgba(26, 26, 26, 0.9);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(4px);
}

.feature-check {
    font-size: 0.85rem;
    color: #FFD700;
    font-weight: 900;
    background: rgba(255, 215, 0, 0.12);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item-compact:hover .feature-check {
    background: rgba(255, 215, 0, 0.2);
    transform: rotate(360deg);
}

.feature-text {
    font-size: 0.75rem;
    color: #CCC;
    font-weight: 600;
    flex: 1;
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 7px 22px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1400px) {
    .plan-percentage {
        font-size: 4.5rem !important;
    }
    
    .duration-value {
        font-size: 1.4rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .plan-highlight-card {
        grid-template-columns: 1fr !important;
        padding: 2rem !important;
    }
    
    .plan-left-section,
    .plan-right-section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .plan-percentage {
        font-size: 3.5rem !important;
    }
    
    .plan-stats-grid {
        grid-template-columns: 1fr;
    }
}
