/* Video Merge & Picture-in-Picture Specific Styles */

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.supported-formats {
    font-size: 14px !important;
    color: #9ca3af !important;
    font-style: italic;
}

/* Video Info Panel */
.video-info {
    flex: 1;
    min-width: 320px;
    background: #000000;
    border: 2px solid #333333;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(42, 219, 92, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.03), transparent);
    transition: left 0.5s ease;
}

.video-info:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.video-info:hover::before {
    left: 100%;
}

.video-info h4 {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.video-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #000000;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.video-item:hover {
    background: #111111;
    transform: translateX(4px);
}

.video-item .video-icon {
    color: #2adb5c;
    font-size: 18px;
}

.video-item .video-name {
    flex: 1;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

.video-item .video-size {
    color: #cccccc;
    font-size: 12px;
}

.video-item .remove-btn {
    color: #ef4444;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
}

.video-item .remove-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

.upload-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #333333;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: #e2e8f0;
    font-weight: 500;
}

.stat-value {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

/* Layout Selection */
.layout-section {
    margin-bottom: 48px;
}

.layout-section h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
}

.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.layout-option {
    background: #000000;
    border: 1px solid #333333;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.layout-option:hover {
    background: #111111;
    border-color: #2adb5c;
    color: #2adb5c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(42, 219, 92, 0.2);
}

.layout-option.selected {
    background: #2adb5c;
    border-color: #2adb5c;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.layout-preview {
    width: 120px;
    height: 80px;
    margin: 0 auto 12px;
    position: relative;
    background: #111111;
    overflow: hidden;
    z-index: 1;
}

.layout-preview .main-video,
.layout-preview .split-video,
.layout-preview .grid-video,
.layout-preview .pip-video,
.layout-preview .small-video {
    position: absolute;
    background: linear-gradient(135deg, #2adb5c 0%, #2adb5c 100%);
}

/* PiP Corner Layout */
.layout-preview .main-video {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.layout-preview .pip-video.corner {
    width: 30px;
    height: 20px;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* Split Layouts */
.layout-preview .split-video.left {
    top: 0;
    left: 0;
    width: 50%;
    bottom: 0;
}

.layout-preview .split-video.right {
    top: 0;
    right: 0;
    width: 50%;
    bottom: 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.layout-preview .split-video.top {
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
}

.layout-preview .split-video.bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

/* Grid Layout */
.layout-preview .grid-video {
    width: 50%;
    height: 50%;
}

.layout-preview .grid-video.tl {
    top: 0;
    left: 0;
}

.layout-preview .grid-video.tr {
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.layout-preview .grid-video.bl {
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #ffa726 0%, #ff8f00 100%);
}

.layout-preview .grid-video.br {
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
}

/* Triple Main Layout */
.layout-preview .main-video.large {
    top: 0;
    left: 0;
    right: 25%;
    bottom: 0;
}

.layout-preview .small-video.top {
    top: 0;
    right: 0;
    width: 25%;
    height: 50%;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.layout-preview .small-video.bottom {
    bottom: 0;
    right: 0;
    width: 25%;
    height: 50%;
    background: linear-gradient(135deg, #ffa726 0%, #ff8f00 100%);
}

/* Custom Layout */
.custom-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #6b7280;
    font-size: 24px;
}

.layout-name {
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
    z-index: 1;
    position: relative;
}

/* Configuration Section */
.config-section {
    margin-bottom: 48px;
}

.config-section h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
}

.config-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.config-panel {
    background: #000000;
    border: 1px solid #333333;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.config-panel:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.config-panel h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #333333;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #000000;
    color: #ffffff;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #2adb5c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #22c55e;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-group input[type="color"] {
    width: 60px;
    height: 40px;
    padding: 2px;
    cursor: pointer;
}

/* Process Section */
.process-section {
    margin-bottom: 48px;
}

.process-section h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
}

.process-container {
    background: #000;
    border: 1px solid #333333;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.process-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.process-description {
    margin: 0;
    color: #ccc;
    font-size: 14px;
    max-width: 400px;
}

/* Messages and Progress */
.error-message,
.success-message {
    padding: 16px 20px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-message {
    color: #fff;
    border: 1px solid #333333;
}

.success-message {
    color: #16a34a;
    border: 1px solid #333333;
}

.progress-container {
    background: #000000;
    border: 1px solid #333333;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #111111;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2adb5c 0%, #16a34a 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: #ffffff;
    font-weight: 500;
}

/* About Section */
.about-section {
    background: #000000;
    /* padding: 4rem 0; */
    /* margin-top: 3rem; */
}

.about-section h2 {
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2adb5c 0%, #2adb5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section h3 {
    color: #ffffff;
    margin: 3rem 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-section h3 i {
    color: #2adb5c;
    font-size: 1.5rem;
}

.about-section p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}


/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: #1a1a1a;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #333333;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-item i {
    font-size: 2.5rem;
    color: #2adb5c;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 1rem 0;
    font-weight: 600;
}

.feature-item p {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Use Cases Grid */
.use-cases {
    display: initial;
    margin: 4rem 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case {
    background: #1a1a1a;
    padding: 1.5rem;
    border-left: 4px solid #2adb5c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.use-case i {
    font-size: 1.5rem;
    color: #2adb5c;
    margin-bottom: 0.5rem;
}

.use-case h4 {
    color: #2adb5c;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.use-case p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Technical Specs */
.technical-specs {
    margin: 4rem 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.spec-item {
    background: #000000;
    padding: 1rem 1.5rem;
    border: 1px solid #333333;
    font-size: 0.95rem;
    color: #ffffff;
}

.spec-item strong {
    color: #2adb5c;
    display: block;
    margin-bottom: 0.25rem;
}

/* How-to Guide */
.how-to-guide {
    margin: 4rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #000000;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.step-number {
    background: linear-gradient(135deg, #2adb5c 0%, #22c55e 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.step-content p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Section */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: #000000;
    padding: 1.5rem;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #2adb5c;
    box-shadow: 0 4px 15px rgba(42, 219, 92, 0.2);
}

.faq-item h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.faq-item p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-section ul,
.about-section ol {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.about-section li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #cccccc;
}

.about-section li strong {
    color: #2adb5c;
    font-weight: 600;
}

/* Hide upload section when videos are uploaded */
.has-videos .upload-section {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .upload-section {
        flex-direction: column;
    }
    
    .layout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .config-panels {
        grid-template-columns: 1fr;
    }
    
    .upload-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .preview-controls {
        flex-direction: column;
    }
    
    .about-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Enhancements */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: scale(0.95);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes dragPulse {
    0% { 
        box-shadow: 0 15px 50px rgba(34, 197, 94, 0.4);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 20px 60px rgba(34, 197, 94, 0.6);
        transform: scale(1.03);
    }
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

@keyframes selectedPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.2);
        transform: scale(1.01);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        transform: scale(1);
    }
}

.layout-section {
    animation: slideInUp 0.6s ease-out;
}

.config-section {
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

.preview-section {
    animation: slideInRight 0.6s ease-out 0.4s both;
}

.video-item {
    animation: bounceIn 0.5s ease-out;
}

.layout-option {
    animation: fadeIn 0.4s ease-out;
}

.config-panel {
    animation: slideInUp 0.5s ease-out;
}

/* Enhanced Layout Selection Animations */
.layout-option.selected {
    animation: selectedPulse 2s ease-in-out infinite;
}

/* Shimmer Effect for Loading States */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Enhanced Layout Options */
.layout-option {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

.layout-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.layout-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.layout-option:hover::before {
    opacity: 1;
}

.layout-option:hover::after {
    width: 100%;
    height: 100%;
}

.layout-option:hover {
    transform: translateY(-5px) scale(1.02) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.layout-option.selected {
    animation: selectedPulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: scale(1.02);
}

/* Enhanced Button System */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 219, 92, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 219, 92, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02) rotateX(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn:active {
    transform: translateY(-1px) scale(0.98) rotateX(2deg);
    transition: all 0.1s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    box-shadow: 0 10px 30px rgba(74, 85, 104, 0.4);
}

/* Video Item Enhanced Animations */
.video-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.video-item:hover::before {
    left: 100%;
}

.video-item:hover {
    transform: translateX(5px) scale(1.01);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
}

.video-item .remove-btn {
    transition: all 0.3s ease;
    transform: scale(0.8);
    opacity: 0.6;
}

.video-item:hover .remove-btn {
    transform: scale(1) rotate(90deg);
    opacity: 1;
    color: #ef4444;
}

/* Preview Area Enhancements */
.preview-canvas {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.preview-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 25%, transparent 25%, transparent 75%, rgba(102, 126, 234, 0.05) 75%);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.preview-canvas:hover::before {
    opacity: 1;
}

.preview-result {
    animation: slideInUp 0.6s ease-out;
}

.preview-video {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preview-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-video:hover::before {
    opacity: 1;
}

.preview-video:hover {
    transform: scale(1.02);
    z-index: 2;
}

/* Form Input Enhancements */
.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-group input:focus,
.form-group select:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group label {
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group select:focus + label {
    color: #667eea;
    transform: translateY(-2px);
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333333;
    border-top: 3px solid #2adb5c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Form Interactions */
.form-group input:focus,
.form-group select:focus {
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Progress Bar Animations */
.progress-fill {
    background: linear-gradient(90deg, #2adb5c 0%, #16a34a 50%, #2adb5c 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid #2adb5c;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Process Button Styling */
.btn {
    padding: 10px 12px;
    background: #1a1a1a;
    border: 1px solid #333333;
    font-size: 0.875rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn:hover {
    background: #2a2a2a;
    border-color: #2adb5c;
    color: #2adb5c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.btn-primary {
    background: #2adb5c;
    border-color: #2adb5c;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.btn:disabled {
    background: #2a2a2a;
    border-color: #444444;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn:disabled:hover {
    background: #2a2a2a;
    border-color: #444444;
    color: #666666;
    transform: none;
    box-shadow: none;
}