* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 66, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 26, 0.7) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(236, 72, 153, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(217, 70, 239, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(255, 140, 66, 0.3) 0%, 
            rgba(255, 107, 26, 0.4) 25%, 
            rgba(236, 72, 153, 0.3) 50%, 
            rgba(168, 85, 247, 0.3) 75%, 
            rgba(217, 70, 239, 0.3) 100%
        );
    background-attachment: fixed;
    min-height: 100vh;
}

.orange {
    color: #ff8c42;
}

.white {
    color: #ffffff;
}

/* Navigation */
.navbar {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.nav-brand h1 {
    color: #ff8c42;
    font-weight: 700;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffb366;
}

/* Main Content */
.demo-main {
    padding-top: 100px;
    min-height: 100vh;
}

.demo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.demo-header {
    text-align: center;
    margin-bottom: 60px;
}

.demo-header h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.clickable {
    cursor: pointer;
}

.progress-step.clickable:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.8;
}

.progress-step.completed.clickable:hover {
    opacity: 1;
}

.progress-step.disabled {
    pointer-events: none;
}

.progress-step.disabled .step-number {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.progress-step.disabled .step-label {
    color: rgba(255, 255, 255, 0.5) !important;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #ff8c42;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: #4CAF50;
}

.step-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Step Sections */
.step-section {
    animation: fadeIn 0.5s ease;
}

.step-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-container h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

/* Calendar Styles */
.calendar-container {
    max-width: 500px;
    margin: 0 auto 40px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.calendar-nav {
    background: #ff8c42;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #ff6b1a;
    transform: scale(1.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    background: white;
    border: 2px solid transparent;
}

.calendar-day:hover {
    background: rgba(255, 140, 66, 0.1);
    border-color: #ff8c42;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
}

.calendar-day.disabled:hover {
    background: #f5f5f5;
    border-color: transparent;
}

.calendar-day.selected {
    background: #ff8c42;
    color: white;
    border-color: #ff6b1a;
}

.calendar-day.other-month {
    color: #ccc;
}

/* Time Selection Styles */
.selected-date-display {
    text-align: center;
    background: rgba(255, 140, 66, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.time-period {
    margin-bottom: 30px;
}

.time-period h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.time-slot {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: #ff8c42;
    background: rgba(255, 140, 66, 0.1);
}

.time-slot.selected {
    background: #ff8c42;
    border-color: #ff6b1a;
    color: white;
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.time-slot.unavailable:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

/* Booking Summary */
.booking-summary {
    background: rgba(255, 140, 66, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.booking-summary h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.booking-summary p {
    color: #666;
    font-size: 1rem;
    margin: 5px 0;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.step-navigation-center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.step-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 300px;
    min-width: 250px;
}

.step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-btn:not(.secondary) {
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    color: white;
}

.step-btn:not(.secondary):hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.step-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 2px solid #e0e0e0;
}

.step-btn.secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #ff8c42;
}

/* Form Section (Step 3) */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

/* Form Styles */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio Group */
.user-type-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 30px;
}

.user-type-group .form-label {
    margin-bottom: 0;
    flex-shrink: 0;
}

.radio-group {
    display: flex;
    gap: 30px;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #ff8c42;
    background: #ff8c42;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    border: none;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-footer {
    margin-top: 30px;
}

.modal-btn {
    background: #ff8c42;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #ff6b1a;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-header h1 {
        font-size: 2.5rem;
    }
    
    .progress-indicator {
        gap: 20px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .step-container,
    .form-container {
        padding: 30px;
    }
    
    .calendar-grid {
        padding: 15px;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .step-navigation-center {
        margin-top: 20px;
    }
    
    .step-btn {
        max-width: none;
        min-width: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .demo-container {
        padding: 20px 10px;
    }
    
    .demo-header h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .modal-content {
        padding: 25px;
        margin: 20px;
    }
}

/* Animation for form fields */
.form-group {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state */
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}