/* Pricing Page Styles */

.pricing-page-wrapper {
    background: #f8f9fa;
    padding: 40px 20px;
    min-height: 100vh;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Steps */
.pricing-step {
    margin-bottom: 50px;
}

.step-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.step-description {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-style: italic;
}

/* Plans Grid */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.pricing-plan {
    position: relative;
}

.plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-card {
    display: block;
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.plan-radio:checked + .plan-card {
    border-color: #4CAF50;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

.plan-card.featured {
    border-color: #FF9800;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #FF9800;
    color: white;
    padding: 5px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.plan-header h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #4CAF50;
}

.plan-price .currency {
    font-size: 1.5rem;
    margin-top: 5px;
    font-weight: 600;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.plan-features {
    text-align: left;
}

.plan-highlight {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1976D2;
    font-size: 0.95rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Add-ons Grid */
.pricing-addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.addon-item {
    position: relative;
}

.addon-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.addon-card {
    display: block;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.addon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.addon-checkbox:checked + .addon-card {
    border-color: #2196F3;
    background: #f0f7ff;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.15);
}

.addon-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.addon-price {
    font-size: 2rem;
    color: #2196F3;
    font-weight: 700;
    margin-bottom: 15px;
}

.addon-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.addon-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.addon-card li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #2196F3;
    font-weight: bold;
}

.addon-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.no-products {
    text-align: center;
    color: #666;
    font-size: 1rem;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Checkout Section */
.pricing-checkout {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.total-section {
    margin: 30px 0;
}

.total-display {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.5rem;
}

.total-label {
    font-weight: 600;
    color: #2c3e50;
}

.total-amount {
    font-weight: 700;
    color: #4CAF50;
    font-size: 2rem;
}

.checkout-actions {
    margin-top: 30px;
}

.buy-now-button {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.buy-now-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.buy-now-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
}

.buy-now-button:active:not(:disabled) {
    transform: translateY(0);
}

.guarantee-text {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #c62828;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .pricing-addons {
        grid-template-columns: 1fr;
    }

    .plan-card,
    .addon-card {
        padding: 20px;
    }

    .buy-now-button {
        padding: 15px 40px;
        font-size: 1.1rem;
    }

    .total-display {
        font-size: 1.2rem;
        padding: 15px 25px;
    }

    .total-amount {
        font-size: 1.5rem;
    }
}

/* Loading State */
.button-loader {
    display: inline-block;
}

.buy-now-button.loading .button-text {
    display: none;
}

.buy-now-button.loading .button-loader {
    display: inline-block !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-step {
    animation: fadeIn 0.6s ease-out;
}

/* Click animation */
.plan-card.clicked,
.addon-card.clicked {
    animation: clickPulse 0.3s ease-out;
}

@keyframes clickPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

