:root {
    --primary-color: #e9168c;
    --secondary-color: #111111;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --progress-color: #6ee7b7; /* Green progress bar from screenshots */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.inquiry-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.inquiry-header {
    padding: 1.5rem 2rem;
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-image {
    height: 40px;
    width: auto;
}

/* Main Content */
.inquiry-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Progress Indicator */
.progress-container {
    width: 100%;
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--progress-color), #34d399);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 16.66%; /* Start at 1/6 */
}

.progress-text {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Form Steps */
.form-step {
    display: none;
    width: 100%;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.step-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.step-info {
    color: var(--text-light);
    text-align: center;
    margin-top: 2rem;
    line-height: 1.8;
}

/* Product Options (Step 1) */
.product-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.product-option {
    cursor: pointer;
}

.product-option input[type="checkbox"] {
    display: none;
}

.option-card {
    background: white;
    border: 3px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.product-option input[type="checkbox"]:checked + .option-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(233, 22, 140, 0.05), rgba(255, 77, 148, 0.05));
    box-shadow: 0 4px 16px rgba(233, 22, 140, 0.2);
}

.option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.option-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d94);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.option-icon i {
    font-size: 2rem;
    color: white;
}

.option-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 22, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.upload-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    background: white;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(233, 22, 140, 0.02);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    width: 100%;
}

.upload-content i {
    font-size: 2rem;
    color: #999;
}

.btn-upload {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), #ff4d94);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-upload i {
    font-size: 0.875rem;
    color: white;
}

.btn-upload:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 22, 140, 0.3);
}

.upload-status {
    color: var(--text-light);
    font-size: 0.8125rem;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    margin-top: 1rem;
}

.file-preview i {
    font-size: 1.25rem;
    color: #16a34a;
}

.file-preview span {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-align: left;
}

.btn-remove {
    margin-left: auto;
    padding: 0.375rem 0.375rem;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.btn-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.btn-remove i {
    font-size: 0.875rem;
}

/* Multi-File Preview List */
.file-preview-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
}

.file-preview-item i.file-icon {
    font-size: 1rem;
    color: #16a34a;
}

.file-preview-item .file-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-preview-item .file-size {
    font-size: 0.75rem;
    color: #6b7280;
}

.file-preview-item .btn-remove-file {
    padding: 0.25rem;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-preview-item .btn-remove-file:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Slider Container (Steps 3 & 4) */
.slider-container {
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    position: relative;
}

.slider-value-display {
    text-align: center;
    margin-bottom: 2rem;
}

.slider-value-display span {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.slider-value-display span::after {
    content: ' cm';
    font-size: 2rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

/* Slider Input Row */
.slider-input-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Slider Track Wrapper */
.slider-track-wrapper {
    position: relative;
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
}

/* Manual Input Wrapper */
.manual-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.manual-input {
    width: 120px;
    padding: 0.875rem 3rem 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    background: white;
    color: var(--secondary-color);
}

.manual-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 22, 140, 0.1);
}

.manual-input::-webkit-inner-spin-button,
.manual-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-unit {
    position: absolute;
    right: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
}

.slider-track-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background: #cbd5e1;
    border-radius: 10px;
    z-index: 0;
    pointer-events: none;
}

.dimension-slider {
    width: 100%;
    height: 60px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* Background track that's always visible */
.dimension-slider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background: #cbd5e1;
    border-radius: 10px;
    pointer-events: none;
    z-index: -1;
}

.dimension-slider::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dimension-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d94);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(233, 22, 140, 0.5);
    transition: var(--transition);
    margin-top: -18px;
    border: 3px solid white;
}

.dimension-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.dimension-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dimension-slider::-moz-range-thumb {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d94);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(233, 22, 140, 0.5);
    transition: var(--transition);
}

.dimension-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 160px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff4d94);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 22, 140, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-submit {
    min-width: 200px;
}

/* Summary Container (Step 6) */
.summary-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.summary-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-section h3 i {
    color: var(--primary-color);
}

.summary-section p {
    color: var(--text-color);
    line-height: 1.8;
}

.summary-section strong {
    color: var(--secondary-color);
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-color), #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.modal-icon i {
    font-size: 3rem;
    color: white;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .inquiry-main {
        padding: 1rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-subtitle {
        font-size: 1rem;
    }
    
    .product-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .option-card {
        min-height: 140px;
        padding: 1.5rem;
    }
    
    .option-icon {
        width: 56px;
        height: 56px;
    }
    
    .option-icon i {
        font-size: 1.75rem;
    }
    
    .option-name {
        font-size: 1.125rem;
    }
    
    .slider-value-display span {
        font-size: 3rem;
    }
    
    .slider-container {
        padding: 2rem 1.5rem;
    }
    
    .slider-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .manual-input-wrapper {
        width: 100%;
    }
    
    .manual-input {
        width: 100%;
    }
    
    .step-actions {
        flex-direction: column-reverse;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .modal-content {
        padding: 2rem;
    }
    
    .modal-icon {
        width: 80px;
        height: 80px;
    }
    
    .modal-icon i {
        font-size: 2.5rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .step-title {
        font-size: 1.25rem;
    }
    
    .slider-value-display span {
        font-size: 2.5rem;
    }
}

