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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 520px;
    width: 100%;
    padding: 40px 24px;
    text-align: center;
}

h1 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 32px;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed #c0c4cc;
    border-radius: 16px;
    padding: 48px 24px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fff;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: #4a6cf7;
    background: #f0f4ff;
}

.drop-zone-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.drop-zone-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 4px;
}

.drop-zone-hint {
    font-size: 0.85rem;
    color: #888;
}

/* Progress */
.progress-container {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e8eaed;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: #4a6cf7;
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #555;
    font-size: 0.95rem;
}

/* Complete */
.complete-container {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px;
}

.checkmark {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 12px;
}

.complete-container p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    background: #4a6cf7;
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
}

.download-btn:hover {
    background: #3b5de7;
}

.reset-btn {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: #4a6cf7;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px;
}

.reset-btn:hover {
    text-decoration: underline;
}

/* Error */
.error-container {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px;
}

.error-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 12px;
}

#error-text {
    color: #555;
    margin-bottom: 20px;
}
