/* ==========================================
   CALCULATOR SPECIFIC STYLES
   ========================================== */

/* Calculator Hero */
.calculator-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0 3rem 0;
    text-align: center;
}

.calculator-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.calculator-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Calculator Section */
.calculator-section {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    background: linear-gradient(to bottom, #f8fafc, white);
    border-bottom: 2px solid #e2e8f0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.progress-step.completed .step-circle::before {
    content: '✓';
}

.progress-step span {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.progress-step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #cbd5e1;
    margin: 0 1rem;
    margin-bottom: 1.5rem;
}

.progress-step.completed ~ .progress-line {
    background: var(--secondary-color);
}

/* Form Steps */
.calculator-form {
    padding: 3rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Header - Premium Design */
.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.step-icon i {
    font-size: 1.75rem;
    color: white;
}

.step-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.step-header .step-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-step h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-subtitle {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Service Cards - Premium Design */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-option {
    cursor: pointer;
}

.service-option input[type="radio"] {
    display: none;
}

.option-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.service-option.selected .option-card,
.service-option input[type="radio"]:checked + .option-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(37, 99, 235, 0.08));
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 25px rgba(37, 99, 235, 0.2);
}

/* Selected checkmark */
.service-option input[type="radio"]:checked + .option-card::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Card Icon Wrap */
.card-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrap i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.option-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Card Meta Info */
.card-meta {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.card-meta i {
    font-size: 0.8rem;
    margin-right: 4px;
    color: var(--primary-color);
}

/* Enterprise Card Badge */
.enterprise-card {
    border-color: #10b981;
}

.enterprise-card:hover {
    border-color: #059669;
}

.service-option input[type="radio"]:checked + .enterprise-card {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), rgba(16, 185, 129, 0.08));
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1), 0 8px 25px rgba(16, 185, 129, 0.2);
}

.service-option input[type="radio"]:checked + .enterprise-card::after {
    background: #10b981;
}

.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Button Large */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.option-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.option-card p {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    background: #f8fafc;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.upload-area i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.upload-area p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Photo Preview */
.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-photo:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.photo-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Upload Tips */
.upload-tips {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
}

.upload-tips h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-tips ul {
    list-style: none;
    padding-left: 0;
}

.upload-tips li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.upload-tips li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Question Blocks */
.question-block {
    margin-bottom: 2.5rem;
}

.question-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.question-label i {
    color: var(--primary-color);
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option span {
    display: block;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.radio-option:hover span {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.radio-option.selected span,
.radio-option input[type="radio"]:checked + span {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.checkbox-option {
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-option span {
    display: block;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.checkbox-option:hover span {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.checkbox-option.selected span,
.checkbox-option input[type="checkbox"]:checked + span {
    border-color: var(--secondary-color);
    background: rgba(16, 185, 129, 0.1);
    font-weight: 600;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.form-navigation button {
    flex: 1;
    max-width: 250px;
}

.btn-prev {
    margin-right: auto;
}

.btn-next {
    margin-left: auto;
}

/* Result Box */
.result-box {
    text-align: center;
}

.result-header {
    margin-bottom: 2rem;
}

.result-header i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.result-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
}

.result-price {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--border-radius-lg);
    border: 3px solid var(--primary-color);
}

/* Result Details */
.result-breakdown {
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    text-align: left;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item .label {
    color: var(--text-medium);
    font-weight: 500;
}

.breakdown-item .value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Price Calculation */
.price-calculation {
    background: white;
    padding: 2rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    text-align: left;
}

.price-calculation h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.calc-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.calc-line.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Result Note */
.result-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    text-align: left;
}

.result-note i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

/* Result Actions */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.result-actions .btn {
    min-width: 300px;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-hero h1 {
        font-size: 2rem;
    }

    .calculator-hero p {
        font-size: 1rem;
    }

    .progress-bar {
        padding: 1.5rem 1rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .progress-step span {
        font-size: 0.75rem;
    }

    .progress-line {
        margin: 0 0.5rem;
    }

    .calculator-form {
        padding: 2rem 1.5rem;
    }

    .form-step h2 {
        font-size: 1.5rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .upload-area i {
        font-size: 3rem;
    }

    .photo-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation button {
        max-width: none;
    }

    .result-price {
        font-size: 2.5rem;
        padding: 1.5rem;
    }

    .result-actions .btn {
        min-width: 100%;
    }
}

/* ==========================================
   ADDITIONAL SERVICES STYLES (NEW)
   ========================================== */

.service-checkbox-card {
    transition: all 0.3s ease;
    position: relative;
}

.service-checkbox-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.service-checkbox-card input[type="checkbox"]:checked + div {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.12)) !important;
    border-color: var(--primary-color) !important;
    box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Add checkmark to selected service cards */
.service-checkbox-card input[type="checkbox"]:checked + div::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.service-checkbox-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Discount Tier Animation */
.discount-tier {
    transition: all 0.3s ease;
}

.discount-tier:hover {
    transform: scale(1.05);
}

/* Quantity Input Box */
.quantity-input-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    margin-top: 1.5rem;
}

.quantity-input-box h3 {
    color: var(--primary-color);
}

.quantity-input-box input[type="number"],
.quantity-input-box select {
    font-size: 1rem;
}

.quantity-input-box input[type="number"]:focus,
.quantity-input-box select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Pickup Distance Input Animation */
#pickupDistanceInput {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}
/* LIVE PAGE COUNTER */
#livePageCounter {
    animation: fadeIn 0.4s ease;
}

#livePageCount {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#livePageCount.pulse {
    animation: pulse 0.5s ease;
}

#liveDiscountInfo {
    font-weight: 500;
}

#liveDiscountInfo i {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive Additional Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .service-checkbox-card {
        padding: 1rem !important;
    }
    
    .quantity-input-box {
        padding: 1.5rem;
    }
}

/* ==========================================
   ORDER FORM STYLES
   ========================================== */

.order-form {
    padding: 2rem;
}

.order-form h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    background: white;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-form {
        padding: 1rem;
    }
}

/* ==========================================
   RESULT PAGE STYLES
   ========================================== */

.price-result {
    padding: 2rem;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

/* Selected Options Overview */
.selected-options-overview {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #7dd3fc;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.selected-options-overview h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    font-size: 0.9rem;
}

.option-item i {
    color: #0ea5e9;
    width: 20px;
}

.option-item .option-label {
    color: #64748b;
    font-weight: 500;
}

.option-item .option-value {
    color: #1e293b;
    margin-left: auto;
}

/* Price Box */
.result-price-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Result Actions */
.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.result-actions .btn {
    min-width: 180px;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* Result Contact */
.result-contact {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.result-contact h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.result-contact p {
    color: var(--text-medium);
    margin: 0 0 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   EMAIL MODAL STYLES
   ========================================== */

.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.email-modal.active {
    display: flex;
}

.email-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.email-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.email-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
}

.email-modal-body {
    padding: 1.5rem;
}

.email-modal-body p {
    color: var(--text-medium);
    margin: 0 0 1.5rem;
}

.email-modal-body .form-group {
    margin-bottom: 1.25rem;
}

.email-modal-body .form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.email-modal-body .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.email-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Success notification */
.email-success {
    text-align: center;
    padding: 2rem;
}

.email-success i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.email-success h4 {
    margin: 0 0 0.5rem;
    color: var(--text-dark);
}

.email-success p {
    color: var(--text-medium);
    margin: 0;
}

/* ==========================================
   STEP 2: QUANTITY INPUT IMPROVEMENTS
   ========================================== */

.quantity-method-container {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

.quantity-input-box {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.quantity-input-box:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.quantity-input-box h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input-box .helper-text {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.input-wrapper label {
    min-width: 150px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input-quantity {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input-quantity:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Live Counter Improvements */
.live-page-counter {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: var(--border-radius-lg);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.counter-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0.5rem 0;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.counter-value.updating {
    transform: scale(1.1);
}

.counter-discount {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.75rem;
    font-weight: 500;
}

/* ==========================================
   STEP 3: QUESTION GROUPING
   ========================================== */

.questions-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.question-category {
    background: linear-gradient(135deg, #f0f9ff, #f8fafc);
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.category-title {
    margin: 0 0 1.5rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.category-title i {
    font-size: 1.25rem;
}

.question-category .question-block {
    margin-bottom: 1.5rem;
}

.question-category .question-block:last-child {
    margin-bottom: 0;
}

/* ==========================================
   STEP 5: RESULTS DISPLAY IMPROVEMENTS
   ========================================== */

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-header i {
    color: #10b981;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-header h2 {
    margin-bottom: 0.5rem;
}

.result-header p {
    color: var(--text-medium);
    margin-top: 0.5rem;
}

/* Selected Summary */
.selected-summary {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #7dd3fc;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.selected-summary h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #0369a1;
    font-weight: 600;
}

.summary-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    font-size: 0.95rem;
}

.summary-label {
    color: #64748b;
    font-weight: 500;
}

.summary-value {
    color: #1e293b;
    font-weight: 600;
}

/* Price Display */
.result-price-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.price-range-container {
    max-width: 600px;
    margin: 0 auto;
}

.price-display {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1;
    letter-spacing: -1px;
}

.price-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
    font-weight: 500;
    font-size: 1.05rem;
}

.price-discount-note {
    color: #10b981;
    margin: 0.75rem 0 0;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

/* Price Breakdown */
.price-breakdown-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.price-breakdown-section h3 {
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breakdown-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-line {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.breakdown-line:last-child {
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.breakdown-label {
    color: var(--text-medium);
}

.breakdown-value {
    color: var(--text-dark);
    text-align: right;
    font-weight: 600;
}

.breakdown-line.discount .breakdown-value {
    color: #10b981;
}

.breakdown-line.total {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.08));
    padding: 1rem;
    margin: 0.5rem -0.5rem 0;
    border-radius: 8px;
}

.breakdown-line.total .breakdown-label,
.breakdown-line.total .breakdown-value {
    color: var(--primary-color);
}

/* Progress Bar Subtitles */
.progress-step {
    position: relative;
}

.step-subtitle {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 0.25rem;
}

.progress-step.active .step-subtitle {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quantity-method-container {
        padding: 1.5rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-wrapper label {
        min-width: auto;
    }
    
    .question-category {
        padding: 1rem;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .result-price-section {
        padding: 2rem 1rem;
    }
    
    .summary-items {
        grid-template-columns: 1fr;
    }
    
    .step-subtitle {
        display: none;
    }
}

@media (max-width: 480px) {
    .email-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .quantity-method-container {
        padding: 1rem;
    }
    
    .price-display {
        font-size: 2rem;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
}

/* ==========================================
   PRINT QUOTE DOCUMENT STYLES
   Professionelles Angebot zum Drucken
   ========================================== */

/* Hide print template on screen */
.print-quote-document {
    display: none;
}

/* Print Media Query */
@media print {
    /* Hide everything except print template */
    body * {
        visibility: hidden;
    }
    
    .print-quote-document,
    .print-quote-document * {
        visibility: visible;
    }
    
    .print-quote-document {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white;
        font-family: 'Segoe UI', Arial, sans-serif;
        font-size: 11pt;
        line-height: 1.5;
        color: #1e293b;
        padding: 0;
        margin: 0;
    }
    
    /* Page setup */
    @page {
        size: A4;
        margin: 15mm 20mm 20mm 20mm;
    }
    
    /* Header */
    .print-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 15pt;
        border-bottom: 3pt solid #2563eb;
        margin-bottom: 20pt;
    }
    
    .print-header-left {
        display: flex;
        flex-direction: column;
        gap: 2pt;
    }
    
    .print-logo {
        width: 120px;
        height: auto;
        margin-bottom: 5pt;
    }
    
    .print-company-name {
        font-size: 24pt;
        font-weight: 700;
        color: #2563eb;
        letter-spacing: -0.5pt;
    }
    
    .print-company-tagline {
        font-size: 10pt;
        color: #64748b;
        font-style: italic;
    }
    
    .print-header-right {
        text-align: right;
    }
    
    .print-document-type {
        font-size: 18pt;
        font-weight: 700;
        color: #1e293b;
        letter-spacing: 2pt;
        margin-bottom: 8pt;
    }
    
    .print-document-number {
        font-size: 11pt;
        color: #64748b;
        font-family: 'Consolas', monospace;
    }
    
    .print-document-date {
        font-size: 11pt;
        color: #64748b;
        margin-top: 4pt;
    }
    
    /* Company Details */
    .print-company-details {
        display: flex;
        justify-content: space-between;
        padding: 15pt 0;
        border-bottom: 1pt solid #e2e8f0;
        margin-bottom: 20pt;
    }
    
    .print-address-block {
        font-size: 10pt;
        line-height: 1.6;
    }
    
    .print-contact-block {
        text-align: right;
        font-size: 10pt;
    }
    
    .print-contact-block div {
        margin-bottom: 4pt;
    }
    
    .print-contact-block i {
        color: #2563eb;
        margin-right: 5pt;
        width: 14pt;
        display: inline-block;
    }
    
    /* Customer Section */
    .print-customer-section {
        margin-bottom: 20pt;
    }
    
    .print-section-title {
        font-size: 12pt;
        font-weight: 700;
        color: #2563eb;
        text-transform: uppercase;
        letter-spacing: 1pt;
        margin-bottom: 10pt;
        padding-bottom: 5pt;
        border-bottom: 1pt solid #bfdbfe;
    }
    
    .print-customer-box {
        background: #f8fafc;
        padding: 15pt;
        border: 1pt solid #e2e8f0;
        border-radius: 4pt;
    }
    
    .print-customer-placeholder {
        font-size: 10pt;
        color: #64748b;
        line-height: 2;
    }
    
    /* Summary Table */
    .print-project-summary {
        margin-bottom: 20pt;
    }
    
    .print-summary-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .print-summary-table tr {
        border-bottom: 1pt solid #e2e8f0;
    }
    
    .print-summary-table td {
        padding: 8pt 10pt;
    }
    
    .print-summary-table .print-label {
        width: 40%;
        font-weight: 600;
        color: #475569;
        background: #f8fafc;
    }
    
    .print-summary-table .print-value {
        color: #1e293b;
    }
    
    /* Pricing Table */
    .print-pricing-section {
        margin-bottom: 20pt;
    }
    
    .print-pricing-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 10pt;
    }
    
    .print-pricing-table th {
        background: #2563eb;
        color: white;
        padding: 10pt;
        text-align: left;
        font-weight: 600;
    }
    
    .print-pricing-table th.print-align-right {
        text-align: right;
    }
    
    .print-pricing-table td {
        padding: 10pt;
        border-bottom: 1pt solid #e2e8f0;
    }
    
    .print-pricing-table .print-align-right {
        text-align: right;
    }
    
    .print-pricing-table tfoot tr {
        background: #f8fafc;
    }
    
    .print-pricing-table .print-subtotal td {
        font-weight: 500;
        border-top: 2pt solid #e2e8f0;
    }
    
    .print-pricing-table .print-discount td {
        color: #10b981;
    }
    
    .print-pricing-table .print-discount-value {
        font-weight: 600;
    }
    
    .print-pricing-table .print-total td {
        background: #2563eb;
        color: white;
        font-size: 12pt;
        padding: 12pt 10pt;
    }
    
    /* Extras Section */
    .print-extras-section {
        margin-bottom: 20pt;
    }
    
    .print-extras-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8pt;
    }
    
    .print-extras-list li {
        padding: 8pt 12pt;
        background: #f0f9ff;
        border-left: 3pt solid #2563eb;
        font-size: 10pt;
    }
    
    .print-extras-list li i {
        color: #2563eb;
        margin-right: 8pt;
    }
    
    /* Terms Section */
    .print-terms-section {
        margin-bottom: 25pt;
        page-break-inside: avoid;
    }
    
    .print-terms-content {
        background: #f8fafc;
        padding: 12pt 15pt;
        border: 1pt solid #e2e8f0;
        border-radius: 4pt;
        font-size: 9pt;
    }
    
    .print-terms-content ul {
        margin: 0;
        padding-left: 15pt;
    }
    
    .print-terms-content li {
        margin-bottom: 6pt;
        line-height: 1.4;
    }
    
    /* Signature Section */
    .print-signature-section {
        display: flex;
        justify-content: space-between;
        margin-top: 30pt;
        margin-bottom: 30pt;
        page-break-inside: avoid;
    }
    
    .print-signature-box {
        width: 45%;
    }
    
    .print-signature-line {
        border-bottom: 1pt solid #1e293b;
        height: 50pt;
        margin-bottom: 8pt;
    }
    
    .print-signature-label {
        font-size: 9pt;
        color: #64748b;
        text-align: center;
    }
    
    /* Footer */
    .print-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10pt 20mm;
        border-top: 2pt solid #2563eb;
        background: white;
        font-size: 8pt;
        color: #64748b;
    }
    
    .print-footer-legal {
        text-align: center;
        line-height: 1.5;
    }
    
    .print-footer-page {
        text-align: right;
        margin-top: 5pt;
        font-size: 8pt;
    }
    
    /* Hide non-print elements */
    .navbar,
    .calculator-hero,
    .calculator-section,
    .footer,
    .whatsapp-float,
    .no-print {
        display: none !important;
    }
}

/* ==========================================
   ENHANCED CALCULATOR STYLES
   ========================================== */

/* Quick Select Buttons */
.quick-select-btn {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-select-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-select-btn:active {
    transform: translateY(0);
}

/* Page Slider Styling */
#pageSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #10b981 0%, #10b981 5%, #3b82f6 5%, #3b82f6 25%, #f59e0b 25%, #f59e0b 100%);
    border-radius: 5px;
    outline: none;
}

#pageSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

#pageSlider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#pageSlider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Live Price Preview Animation */
.live-price-preview {
    animation: slideDown 0.4s ease;
}

/* Express Card Styles */
.service-checkbox-card.express-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.service-checkbox-card.express-disabled input[type="checkbox"] {
    cursor: not-allowed;
}

/* Form input quantity styling */
.form-input-quantity {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.form-input-quantity:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .quick-select-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    #livePricePreview > div:first-child {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
