/* Import base styles from original CSS */
@import url('styles.css');

/* Multi-Step Form Styles */
.multi-step-form {
    max-width: 100%;
}

.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-gradient);
    border-color: transparent;
}

.step span {
    font-size: 12px;
    color: var(--text-gray);
    white-space: nowrap;
}

.step.active span {
    color: var(--text-white);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.form-step h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-white);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.form-navigation .btn {
    flex: 1;
}

.form-navigation .prev-btn {
    max-width: 160px;
}

.form-navigation .next-btn {
    margin-left: auto;
}

/* Form Elements Enhancement */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray-light);
}

.radio-group, .checkbox-group {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-lighter);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover, .checkbox-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-blue);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

/* Review Summary */
.review-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-lighter);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.summary-section {
    margin-bottom: 24px;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.summary-section p {
    margin: 4px 0;
    color: var(--text-gray-light);
}

/* Error state for form fields */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger-red);
}

@media (max-width: 768px) {
    .progress-steps {
        display: none;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .form-navigation .prev-btn {
        max-width: none;
    }
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.success-modal.show {
    display: flex;
}

.success-modal-content {
    background: var(--dark-bg-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    margin-bottom: 24px;
    color: var(--success-green);
}

.success-modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-modal-content p {
    color: var(--text-gray-light);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.success-modal-content .btn {
    margin-top: 24px;
    min-width: 150px;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(10, 15, 28, 0.7) 0%, rgba(10, 15, 28, 0.85) 50%, rgba(10, 15, 28, 0.95) 100%);
    z-index: -1;
}

/* Ensure content is above video */
.hero .container {
    position: relative;
    z-index: 1;
}

/* Top Video Section Styles */
.top-video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.top-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
    pointer-events: none;
}


.video-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 20px;
    align-items: center;
}

.mute-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

.scroll-down-btn {
    background: var(--primary-gradient);
    border: 2px solid white;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-down-btn:hover {
    background: linear-gradient(135deg, #0066ff 0%, #8b5cf6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
    animation: none;
}

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

/* Adjust navbar for video section */
.navbar {
    position: fixed;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
}

/* Adjust hero section to come after video */
.hero {
    margin-top: 0;
    padding-top: 60px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-controls {
        bottom: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .scroll-down-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .mute-btn {
        width: 45px;
        height: 45px;
    }
}