/* Pricing Calculator Styles */

.calculator-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

/* Left Section */
.calculator-left {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.calculator-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.calculator-subtitle {
    font-size: 16px;
    color: var(--default-color);
    margin-bottom: 32px;
    line-height: 1.5;
}

.developer-selection {
    background: var(--background-color);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.selection-prompt {
    font-size: 16px;
    color: var(--default-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.developer-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-category:last-child {
    border-bottom: none;
}

.developer-category label {
    font-size: 18px;
    font-weight: 500;
    color: var(--heading-color);
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-color);
    background: var(--surface-color);
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.counter-btn:hover:not(:disabled) {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.counter-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--heading-color);
    min-width: 30px;
    text-align: center;
}

/* Right Section */
.calculator-right {
    position: sticky;
    top: 20px;
}

.cost-card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cost-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-item:last-of-type:not(.savings) {
    border-bottom: none;
    margin-bottom: 32px;
}

.cost-item.savings {
    border-bottom: none;
    margin-bottom: 32px;
}

.cost-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.wallet-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--heading-color);
    font-weight: 700;
}

.smile-icon {
    background: rgba(255, 255, 255, 0.1);
    font-size: 24px;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.smile-icon i {
    filter: grayscale(100%);
    color: var(--heading-color);
}

.piggy-icon {
    background: rgba(255, 255, 255, 0.1);
    font-size: 24px;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.piggy-icon i {
    filter: grayscale(100%);
    color: var(--heading-color);
}

.cost-details {
    flex: 1;
}

.cost-label {
    font-size: 14px;
    color: var(--default-color);
    margin-bottom: 4px;
}

.cost-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
}

.inhouse-cost-strikethrough {
    text-decoration: line-through;
    color: #e74c3c !important;
    opacity: 0.7;
}

.savings-value {
    color: var(--accent-color);
}

.cost-note {
    font-size: 12px;
    color: var(--default-color);
    margin-top: 4px;
    opacity: 0.7;
}

.savings-note {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form {
    margin-top: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-form input {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    width: 100%;
    background: var(--background-color);
    color: var(--default-color);
}

.contact-form input::placeholder {
    color: var(--default-color);
    opacity: 0.6;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.recaptcha-container {
    margin-bottom: 24px;
}

.recaptcha-links {
    font-size: 12px;
    color: var(--default-color);
    margin-top: 8px;
    opacity: 0.7;
}

.recaptcha-links a {
    color: var(--accent-color);
    text-decoration: none;
}

.recaptcha-links a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(0, 136, 112, 0.1);
}

.call-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .calculator-section {
        grid-template-columns: 1fr;
    }
    
    .calculator-right {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .calculator-left,
    .cost-card {
        padding: 24px;
    }
    
    .calculator-title {
        font-size: 28px;
    }
}

