/* Pricing Calculator Styles */
.calculator-tabs-container {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    flex: 1;
    min-width: 250px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 217, 255, 0.1);
    border-radius: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tab-button i {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s;
}

.tab-button.active {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.2);
}

.tab-button.active i {
    color: var(--cyan-accent);
    transform: scale(1.1);
}

.tab-button:hover:not(.active) {
    border-color: rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.05);
    transform: translateY(-5px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 20px;
}

.calculator-step {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.calculator-step:hover {
    border-color: rgba(0, 217, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 217, 255, 0.3);
}

.step-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.parameter {
    margin-bottom: 25px;
}

.parameter:last-child {
    margin-bottom: 0;
}

.parameter label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.range-input {
    margin-top: 10px;
}

.range-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.range-value span:first-child {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.price-addon {
    background: linear-gradient(90deg, var(--neon-blue), var(--electric-purple));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 217, 255, 0.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
    padding: 0 5px;
}

.calculator-dropdown {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 10px;
    font-weight: 500;
    cursor: pointer;
}

.calculator-dropdown:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
    background: rgba(0, 217, 255, 0.08);
}

.tool-price {
    text-align: right;
    margin-top: 10px;
}

.tool-price span {
    color: var(--cyan-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.volume-options {
    display: grid;
    gap: 12px;
}

.volume-option {
    position: relative;
}

.volume-option input[type="radio"] {
    display: none;
}

.volume-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0;
}

.volume-option input[type="radio"]:checked + label {
    background: rgba(0, 217, 255, 0.08);
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.1);
}

.volume-option:hover label {
    border-color: rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.05);
}

.volume-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.volume-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Checkbox Styling */
.checkbox-option {
    position: relative;
    margin-bottom: 15px;
}

.checkbox-option:last-child {
    margin-bottom: 0;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0;
    min-height: 60px;
}

.checkbox-option input[type="checkbox"]:checked + label {
    background: rgba(0, 217, 255, 0.08);
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.1);
}

.checkbox-option:hover label {
    border-color: rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.05);
}

.checkbox-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
    margin-right: 15px;
}

/* Custom Checkbox Design */
.checkbox-option label:before {
    content: '';
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 6px;
    margin-right: 15px;
    transition: all 0.3s;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkbox-option input[type="checkbox"]:checked + label:before {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.4);
}

/* Number Input Styling */
.number-input {
    position: relative;
}

.number-input .form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.number-input .form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
    background: rgba(0, 217, 255, 0.08);
}

.slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--dark-bg);
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.8);
}

.slider::-webkit-slider-thumb:hover {
    background: var(--cyan-accent);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 217, 255, 1);
}

.tooltip-icon {
    color: var(--text-gray);
    cursor: help;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin-left: 8px;
}

.tooltip-icon:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.calculator-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.summary-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-header h3 {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 600;
}

.summary-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 400;
}

.price-breakdown {
    background: rgba(5, 5, 15, 0.4);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 217, 255, 0.05);
}

.breakdown-header {
    margin-bottom: 20px;
}

.breakdown-header h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.breakdown-list {
    margin-bottom: 25px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.item-name {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 10px;
}

.item-price {
    color: var(--cyan-accent);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.total-section {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.final-label {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.final-price {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.time-estimate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(157, 78, 221, 0.08);
    border-radius: 10px;
    color: var(--cyan-accent);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.time-estimate i {
    font-size: 1.1rem;
}

.audit-offer {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(0, 217, 255, 0.1));
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.offer-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--electric-purple), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.2);
}

.offer-content h4 {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.offer-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.disclaimer {
    color: var(--text-gray);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
    line-height: 1.4;
    font-weight: 400;
}

.disclaimer i {
    margin-right: 5px;
    color: var(--cyan-accent);
}

.tab-placeholder {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 2px dashed rgba(0, 217, 255, 0.2);
}

.placeholder-icon {
    font-size: 4rem;
    color: rgba(0, 217, 255, 0.3);
    margin-bottom: 20px;
}

.tab-placeholder h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.tab-placeholder p {
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}

/* Tooltip container */
.tooltip-icon {
    position: relative;
    cursor: help;
}

.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 5, 15, 0.95);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: normal;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    pointer-events: none;
    max-width: 300px;
    text-align: center;
    font-weight: 400;
    line-height: 1.4;
    backdrop-filter: blur(10px);
}

.tooltip-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Make dropdown more visible */
.calculator-dropdown {
    background-color: rgba(5, 5, 15, 0.4) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    color: var(--text-light) !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300d9ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px !important;
    font-weight: 500;
}

.calculator-dropdown::-ms-expand {
    display: none;
}

/* Hover state for dropdown */
.calculator-dropdown:hover {
    border-color: var(--primary-blue) !important;
    background-color: rgba(0, 217, 255, 0.08) !important;
}

/* Selected option styling */
.calculator-dropdown option:checked,
.calculator-dropdown option:hover {
    background-color: rgba(0, 217, 255, 0.2) !important;
    color: var(--text-light) !important;
}

/* Dropdown list styling */
.calculator-dropdown option {
    background-color: rgba(10, 10, 20, 0.95) !important;
    color: var(--text-light) !important;
    padding: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-weight: 500;
}

.calculator-dropdown option:hover {
    background-color: rgba(0, 217, 255, 0.3) !important;
}

/* Improve price display in summary */
.item-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.final-price {
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-summary {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        min-width: 100%;
        padding: 20px 15px;
    }
    
    .calculator-step {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-header h3 {
        font-size: 1.2rem;
    }
    
    .parameter label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 1rem;
    }
    
    .final-price {
        font-size: 1.8rem;
    }
    
    .volume-option label,
    .checkbox-option label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px;
    }
    
    .price-addon {
        align-self: flex-start;
        margin-top: 5px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .audit-offer {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .breakdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 0;
    }
    
    .item-name, .item-price {
        font-size: 0.9rem;
    }
    
    .final-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .final-label {
        font-size: 1.1rem;
    }
    
    .final-price {
        font-size: 1.6rem;
    }
    
    .time-estimate {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    /* Mobile Menu Fix */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 15, 0.95);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(0, 217, 255, 0.1);
        display: none;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .calculator-wrapper {
        gap: 20px;
    }
    
    .calculator-step {
        padding: 15px;
    }
    
    .final-price {
        font-size: 1.5rem;
    }
    
    .range-labels {
        font-size: 0.8rem;
    }
    
    .price-addon {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .time-estimate {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .volume-desc {
        font-size: 0.85rem;
    }
    
    .summary-header h3 {
        font-size: 1.3rem;
    }
    
    .final-price {
        font-size: 1.4rem;
    }
}