﻿:root {
    --bg-primary: #293356;
    --bg-card: #343d5c;
    --bg-card-hover: #3c4674;
    --bg-form: rgba(41, 51, 86, 0.98);
    --primary-color: #4f75ff;
    --primary-light: rgba(79, 117, 255, 0.1);
    --secondary-color: #5d6894;
    --text-primary: #ffffff;
    --text-secondary: #b3b9d1;
    --success-color: #00d69f;
    --gradient-start: rgba(79, 117, 255, 0.05);
    --gradient-end: rgba(0, 214, 159, 0.05);
}
 

.package-body {
    background: var(--bg-primary); 
    color: var(--text-primary); 
    line-height: 1.6;
}

.package-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.snip1404 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.plan-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.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(4) { animation-delay: 0.4s; }

.plan-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 117, 255, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin: 1rem 0;
}

.price-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item:hover {
    transform: translateX(8px);
    color: var(--text-primary);
}

.info-icon {
    margin-left: auto;
    position: relative;
    color: var(--text-secondary);
    cursor: help;
    transition: color 0.3s ease;
}

.info-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: max-content;
    max-width: 250px;
    font-size: 0.875rem;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.info-icon:hover {
    color: var(--primary-color);
}

.info-icon:hover .info-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.select-plan-btn {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 117, 255, 0.3);
}

/* Modal Styles */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 29, 51, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.purchase-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-form);
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.purchase-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.selected-plan {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.selected-price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.form-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-indicator.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.toggle-section {
    margin-bottom: 1rem;
}

.toggle-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.toggle-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.toggle-content.active {
    max-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 117, 255, 0.3);
}

.loading-spinner {
    display: none;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@media (max-width: 768px) {
    .package-container {
        padding: 2rem 1rem;
    }

    .pricing-header {
        margin-bottom: 2rem;
    }

    .snip1404 {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .plan-card {
        padding: 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
    }

    .step-indicator {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .selected-price {
        font-size: 1.75rem;
    }
}

/* Custom Scrollbar */ 
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}