/* 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;
    }
}

/* Pricing Plans Table Styles */
.pricing-plans-section {
    margin-bottom: 60px;
}

/* Hiring Option Text */
.hiring-option-text {
    margin: 40px 0 30px 0;
    text-align: center;
}

.hiring-option-text p {
    font-size: 18px;
    color: var(--default-color);
    font-weight: 500;
    margin: 0;
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
    background: var(--background-color);
}

.pricing-table th {
    padding: 0;
    text-align: center;
    vertical-align: top;
}

.pricing-table .features-col {
    width: 35%;
    text-align: left;
    padding: 20px;
    font-weight: 600;
    color: #6c5ce7;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table .plan-col {
    width: 33.33%;
    padding: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table .plan-col:first-child {
    border-left: none;
}

.plan-header {
    padding: 24px 20px;
    border-bottom: 3px solid;
}

.plan-header-small {
    border-bottom-color: #00b894;
}

.plan-header-medium {
    border-bottom-color: #00cec9;
}

.plan-header-large {
    border-bottom-color: #0984e3;
}

.plan-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: white;
}

.plan-badge-small {
    background: #00b894;
}

.plan-badge-medium {
    background: #00cec9;
}

.plan-badge-large {
    background: #0984e3;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.plan-audience {
    font-size: 14px;
    color: var(--default-color);
    opacity: 0.8;
}

/* Plan Form Styles */
.plan-form-wrapper {
    padding: 20px;
    background: var(--background-color);
}

.plan-radio {
    display: none;
}

.plan-select-label {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--default-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-radio:checked + .plan-select-label {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.plan-radio:checked ~ .plan-form {
    display: block !important;
}

.plan-form {
    display: none;
}

.plan-form-wrapper .form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.plan-form-wrapper input[type="text"],
.plan-form-wrapper input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: var(--surface-color);
    color: var(--default-color);
}

.plan-form-wrapper input[type="text"]::placeholder,
.plan-form-wrapper input[type="email"]::placeholder {
    color: var(--default-color);
    opacity: 0.6;
}

.plan-form-wrapper input[type="text"]:focus,
.plan-form-wrapper input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.plan-form-messages {
    margin-bottom: 15px;
    min-height: 20px;
}

.plan-form-messages .loading,
.plan-form-messages .error-message,
.plan-form-messages .sent-message {
    display: none;
    font-size: 14px;
    padding: 8px;
    border-radius: 4px;
}

.plan-form-messages .loading.d-block,
.plan-form-messages .error-message.d-block,
.plan-form-messages .sent-message.d-block {
    display: block;
}

.plan-form-messages .loading {
    color: var(--default-color);
}

.plan-form-messages .error-message {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.plan-form-messages .sent-message {
    color: #00b894;
    background: rgba(0, 184, 148, 0.1);
}

.plan-form-wrapper .form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-form-wrapper .btn-primary,
.plan-form-wrapper .btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-form-wrapper .btn-primary {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.plan-form-wrapper .btn-primary:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.plan-form-wrapper .btn-secondary {
    background: var(--surface-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.plan-form-wrapper .btn-secondary:hover {
    background: rgba(0, 136, 112, 0.1);
}

.plan-form-wrapper .call-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 16px 20px;
    text-align: center;
    vertical-align: middle;
}

.pricing-table .feature-name {
    text-align: left;
    color: var(--default-color);
    font-size: 15px;
    padding-left: 20px;
}

.pricing-table .feature-name i {
    margin-left: 6px;
    color: #6c5ce7;
    cursor: help;
    font-size: 14px;
    opacity: 0.7;
}

.pricing-table .feature-name i:hover {
    opacity: 1;
}

.pricing-table .feature-name .services-link {
    color: #6c5ce7;
    text-decoration: underline;
    font-weight: 500;
}

.pricing-table .feature-name .services-link:hover {
    color: #5a4fcf;
    text-decoration: none;
}

.pricing-table .plan-check {
    color: #00b894;
    font-size: 20px;
    font-weight: 600;
}

.pricing-table .plan-dash {
    color: var(--default-color);
    opacity: 0.4;
    font-size: 18px;
    font-weight: 300;
}

/* Responsive Pricing Table */
@media (max-width: 992px) {
    .pricing-table {
        font-size: 14px;
    }
    
    .plan-price {
        font-size: 20px;
    }
    
    .pricing-table .feature-name {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .pricing-table-wrapper {
        overflow-x: scroll;
    }
    
    .pricing-table {
        min-width: 700px;
    }
    
    .plan-header {
        padding: 20px 15px;
    }
    
    .plan-badge {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .plan-price {
        font-size: 18px;
    }
    
    .plan-audience {
        font-size: 12px;
    }
    
    .plan-form-wrapper {
        padding: 15px;
    }
    
    .plan-form-wrapper .btn-primary,
    .plan-form-wrapper .btn-secondary {
        font-size: 13px;
        padding: 10px 16px;
    }
}

