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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    color: #334155;
    line-height: 1.6;
}

.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid #e2e8f0;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.company-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-info p {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.contact-info {
    text-align: right;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.contact-info div {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.contact-icon {
    font-size: 0.875rem;
    opacity: 0.8;
}

.main-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.card-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.02), rgba(59, 130, 246, 0.02));
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.card-content {
    padding: 2rem 3rem 3rem;
}

.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.02), rgba(59, 130, 246, 0.02));
    position: relative;
    overflow: hidden;
}

.upload-zone:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.1);
}

.upload-zone.dragover {
    border-color: #1e40af;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.1));
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.upload-zone:hover .upload-icon {
    transform: scale(1.1);
    color: #1e40af;
}

.upload-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.upload-subtext {
    color: #64748b;
    font-size: 0.95rem;
}

.file-input {
    display: none;
}

.file-list {
    margin: 1.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03), rgba(59, 130, 246, 0.03));
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    transform: translateX(4px);
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.file-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.file-icon {
    font-size: 1.75rem;
    color: #3b82f6;
}

.file-details .file-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.file-details .file-size {
    font-size: 0.875rem;
    color: #64748b;
}

.remove-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.remove-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.action-button {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.action-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.action-button.loading {
    pointer-events: none;
}

.action-button.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.status-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
}

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

.status-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
    color: #065f46;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    color: #7f1d1d;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
    color: #1e3a8a;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: none;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-fill.active {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.download-section {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    display: none;
    animation: slideIn 0.5s ease forwards;
}

.download-icon {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 1rem;
}

.download-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.download-subtitle {
    color: #047857;
    margin-bottom: 1.5rem;
}

.download-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
    background: linear-gradient(135deg, #047857, #059669);
}

.footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    color: #94a3b8;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-company {
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info div {
        justify-content: center;
    }

    .main-container {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .card-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.875rem;
    }

    .upload-zone {
        padding: 3rem 1rem;
    }

    .footer-content {
        padding: 0 1rem;
    }
}
