* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 15px;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 28px;
}

/* Upload Box */

.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 35px 20px;
    text-align: center;
    background: #f8fafc;
    transition: 0.2s ease;
}

.upload-box:hover {
    border-color: #6366f1;
    background: #f5f5ff;
}

.upload-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.upload-box h3 {
    font-size: 18px;
    margin-bottom: 7px;
}

.upload-box p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 18px;
}

.select-btn {
    border: 0;
    background: #4f46e5;
    color: #fff;
    padding: 12px 24px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.select-btn:hover {
    background: #4338ca;
}

/* File Info */

.file-info {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
}

.file-info strong {
    display: block;
    font-size: 14px;
    word-break: break-all;
}

.file-info span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

.remove-btn {
    border: 0;
    background: #fee2e2;
    color: #dc2626;
    padding: 8px 12px;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
}

/* Preview */

.preview-container {
    display: none;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.preview-container video {
    display: block;
    width: 100%;
    max-height: 450px;
    background: #000;
}

/* Process Button */

.process-btn {
    width: 100%;
    border: 0;
    margin-top: 22px;
    padding: 14px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.process-btn:hover:not(:disabled) {
    background: #15803d;
}

.process-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* Progress */

.progress-container {
    display: none;
    margin-top: 25px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #475569;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #4f46e5;
    border-radius: 20px;
    transition: width 0.2s ease;
}

/* Download */

.download-container {
    display: none;
    margin-top: 25px;
    padding: 25px 20px;
    text-align: center;
    border-radius: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.success-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
}

.download-container h3 {
    margin-bottom: 7px;
}

.download-container p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 18px;
}

.download-btn {
    display: inline-block;
    text-decoration: none;
    background: #4f46e5;
    color: #fff;
    padding: 12px 25px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
}

.download-btn:hover {
    background: #4338ca;
}

/* Privacy */

.privacy {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 25px;
}

/* Mobile */

@media (max-width: 600px) {

    .container {
        padding: 20px 10px;
    }

    .card {
        padding: 20px 15px;
        border-radius: 14px;
    }

    h1 {
        font-size: 23px;
    }

    .upload-box {
        padding: 28px 15px;
    }

    .file-info {
        align-items: flex-start;
    }

    .remove-btn {
        font-size: 12px;
        padding: 7px 9px;
    }

}