* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.upload-area {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    border: 3px dashed #667eea;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    background: #f0f4ff;
    border-color: #764ba2;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.upload-area h2 {
    color: #667eea;
    margin-bottom: 10px;
}

.upload-area p {
    color: #666;
    margin-bottom: 5px;
}

.or {
    margin: 20px 0;
    color: #999;
    font-weight: bold;
}

.file-input-label {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.file-input-label:hover {
    background: #764ba2;
}

.file-input-label input {
    display: none;
}

.note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.progress-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

.results {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.results h3 {
    color: #667eea;
    margin-bottom: 20px;
}

.file-item {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-item.success {
    border-left: 5px solid #4CAF50;
}

.file-item.error {
    border-left: 5px solid #f44336;
}

.download-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

.download-btn:hover {
    background: #45a049;
}

.info-box, .features {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-box h3, .features h3 {
    color: #667eea;
    margin-bottom: 20px;
}

.info-box ul {
    list-style: none;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.info-box li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #e91e63;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

footer {
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: 40px;
}

footer .links {
    margin-top: 10px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}