/* Enhanced Pricing Section Styles */

.pricing-preview-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.pricing-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pricing-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e0e7ff" opacity="0.2"/><circle cx="75" cy="75" r="1" fill="%23e0e7ff" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23e0e7ff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23e0e7ff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23e0e7ff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.pricing-preview-section .container {
    position: relative;
    z-index: 2;
}

/* Pricing Cards Grid */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card-wrapper {
    position: relative;
}

.pricing-card-wrapper.featured-wrapper {
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

.pricing-card-wrapper.featured-wrapper .pricing-preview-card {
    position: relative;
    overflow: visible;
}

/* Enhanced Pricing Cards */
.pricing-preview-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(146, 85, 206, 0.1);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
}

.pricing-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5b00aa, #5b00aa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-preview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(146, 85, 206, 0.3);
    box-shadow: 0 20px 40px rgba(146, 85, 206, 0.15) !important;
}

.pricing-preview-card:hover::before {
    opacity: 1;
}

.pricing-preview-card.featured {
    background: linear-gradient(135deg, #5b00aa 0%, #7B3FA7 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(146, 85, 206, 0.3) !important;
    overflow: visible;
}

.pricing-preview-card.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
}

.pricing-preview-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(146, 85, 206, 0.4) !important;
}

/* Enhanced Featured Badge */
.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #5b00aa 0%, #5b00aa 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: 0 6px 20px rgba(146, 85, 206, 0.5);
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Enhanced Package Icon */
.package-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0e6f9 0%, #e6d4f5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 2px solid rgba(146, 85, 206, 0.2);
    box-shadow: 0 8px 25px rgba(146, 85, 206, 0.15);
}

.package-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 50%;
    top: 0;
    left: 0;
}

.pricing-preview-card.featured .package-icon {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.package-icon i {
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.pricing-preview-card.featured .package-icon i {
    color: #fff;
}

/* Enhanced Typography */
.package-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: center;
}

.pricing-preview-card.featured .package-name {
    color: #fff;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.package-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-preview-card.featured .package-price .currency {
    color: rgba(255, 255, 255, 0.9);
}

.package-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin: 0 4px;
}

.pricing-preview-card.featured .package-price .amount {
    color: #fff;
}

.package-price .period {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

.pricing-preview-card.featured .package-price .period {
    color: rgba(255, 255, 255, 0.8);
}

.package-price .custom-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-preview-card.featured .package-price .custom-text {
    color: rgba(255, 255, 255, 0.9);
}

.package-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.pricing-preview-card.featured .package-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.3;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features li i {
    color: #5b00aa;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-preview-card.featured .pricing-features li {
    color: #fff;
}

.pricing-preview-card.featured .pricing-features li i {
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Pricing Button */
.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #5b00aa 0%, #5b00aa 100%);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
    border: 2px solid rgba(160, 102, 217, 0.3);
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(146, 85, 206, 0.3);
}

.pricing-btn span {
    position: relative;
    z-index: 1;
}

.pricing-btn i {
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.pricing-btn:hover {
    background: linear-gradient(135deg, #4a0088 0%, #6a3196 100%);
    color: #fff;
    text-decoration: none;
}

.pricing-btn:hover i {
    transform: translateX(1px);
}

.pricing-btn.featured-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #5b00aa;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.pricing-btn.featured-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #7B3FA7;
    text-decoration: none;
}

/* Benefits Section */
.pricing-benefits-section {
    margin-top: 3rem;
}

.benefits-container {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 2px solid rgba(146, 85, 206, 0.1);
    box-shadow: 0 10px 40px rgba(146, 85, 206, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 16px;
    border: 1px solid rgba(146, 85, 206, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(146, 85, 206, 0.15);
    border-color: rgba(146, 85, 206, 0.2);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5b00aa, #5b00aa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(146, 85, 206, 0.3);
}

.benefit-icon i {
    color: white;
    font-size: 20px;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.benefit-text {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.benefits-cta {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(146, 85, 206, 0.1);
}

.view-all-packages-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5b00aa 0%, #5b00aa 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(146, 85, 206, 0.3);
}

.view-all-packages-btn:hover {
    background: linear-gradient(135deg, #7B3FA7 0%, #5b00aa 100%);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(146, 85, 206, 0.4);
}

.view-all-packages-btn i {
    transition: transform 0.3s ease;
}

.view-all-packages-btn:hover i {
    transform: translateX(4px);
}

/* Package Buttons */
.package-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-btn.secondary-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--primary-color);
    border: 2px solid rgba(146, 85, 206, 0.2);
    box-shadow: 0 2px 8px rgba(146, 85, 206, 0.1);
}

.pricing-btn.secondary-btn:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: var(--primary-color);
    border-color: rgba(146, 85, 206, 0.3);
    box-shadow: 0 4px 15px rgba(146, 85, 206, 0.2);
}

.pricing-btn.secondary-btn i {
    color: var(--primary-color);
}

/* Package Note */
.package-note {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

.pricing-preview-card.featured .package-note {
    color: rgba(255, 255, 255, 0.8);
}

/* Pricing Toggle Styles */
.pricing-toggle-wrapper {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pricing-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    border: 2px solid rgba(146, 85, 206, 0.1);
    position: relative;
}

.pricing-toggle input[type="radio"] {
    display: none;
}

.pricing-toggle label {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-gray);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pricing-toggle input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #5b00aa 0%, #5b00aa 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(146, 85, 206, 0.3);
}

.discount-info {
    display: none;
    align-items: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, #7B3FA7 0%, #5b00aa 100%);
    padding: 18px 28px;
    border-radius: 35px;
    color: white;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 15px 40px rgba(123, 63, 167, 0.6);
    border: 4px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: discountPulse 2.5s ease-in-out infinite;
    margin-top: 3rem;
    margin-bottom: 4rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.discount-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: discountShine 4s ease-in-out infinite;
}

.discount-info::after {
    content: '🎉';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 20px;
    animation: discountIconBounce 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes discountPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 35px rgba(146, 85, 206, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 18px 45px rgba(146, 85, 206, 0.7);
    }
}

@keyframes discountShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes discountIconBounce {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-5deg);
    }
    75% {
        transform: translateY(-2px) rotate(5deg);
    }
}

.discount-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 3px solid rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.discount-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.6px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-card-wrapper.featured-wrapper {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }
    
    .pricing-card-wrapper.featured-wrapper {
        transform: none;
    }
    
    .pricing-preview-card {
        padding: 1.5rem 1.25rem;
        min-height: 380px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-container {
        padding: 2rem 1.5rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing-preview-card {
        padding: 1.25rem 1rem;
        min-height: 360px;
    }
    
    .package-icon {
        width: 60px;
        height: 60px;
    }
    
    .package-icon i {
        font-size: 24px;
    }
    
    .package-name {
        font-size: 20px;
    }
    
    .package-price .amount {
        font-size: 40px;
    }
    
    .benefits-container {
        padding: 1.5rem 1rem;
    }
}
