/* ============================================
   PRICING PAGE STYLES
   ============================================ */

.pricing-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/pricing-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

/* Price Calculator */
.price-calculator {
    margin: 60px 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.calculator-group {
    margin-bottom: 30px;
}

.calculator-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark-color);
}

.calculator-group input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.calculator-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.range-value {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
    font-size: 1.1rem;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
}

/* Calculator Result */
.calculator-result {
    background: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.calculator-result h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.total-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price-details {
    text-align: left;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item .price {
    font-weight: 600;
    color: var(--dark-color);
}

.note {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 20px 0;
    font-style: italic;
}

/* Price Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.package-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.1);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.package-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.package-price {
    color: var(--primary-color);
}

.package-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.package-price .period {
    color: var(--gray-color);
    font-size: 1rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.package-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features i {
    width: 20px;
    text-align: center;
}

.package-features .fa-check {
    color: var(--primary-color);
}

.package-features .fa-times {
    color: var(--gray-color);
}

/* Price Table Section */
.price-table-section {
    margin: 80px 0;
}

.price-accordion {
    margin-top: 40px;
}

.price-accordion .accordion-header {
    width: 100%;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: var(--transition);
}

.price-accordion .accordion-header:hover {
    background: #f8f9fa;
}

.price-accordion .accordion-header.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.price-accordion .accordion-header.active i {
    transform: rotate(180deg);
}

.price-accordion .accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.price-accordion .accordion-content.active {
    padding: 20px;
    max-height: 1000px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.price-table th,
.price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.price-value {
    color: var(--primary-color);
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .price-table {
        display: block;
        overflow-x: auto;
    }
    
    .calculator-wrapper {
        padding: 20px;
    }
    
    .total-price {
        font-size: 2.5rem;
    }
}