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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
}

.logo:hover {
    opacity: 0.7;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.7;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-logo {
    display: block;
    width: min(120px, 70vw);
    height: auto;
    margin: -100px auto 30px auto;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background-color: #000000;
    color: #ffffff;
    padding: 4px 12px;
    display: inline-block;
}

.subtitle {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.info-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.info-item i {
    font-size: 20px;
    color: #666;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    max-width: 800px;
    margin: 0 auto;
}

.upload-area:hover {
    border-color: #000;
    background: #f5f5f5;
}

.upload-area.dragover {
    border-color: #000;
    background: #f0f0f0;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-icon {
    font-size: 64px;
    color: #999;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.upload-subtext {
    font-size: 16px;
    color: #666;
}

.browse-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.browse-btn:hover {
    background-color: #333;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
}

.footer-icons {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-icons i {
    font-size: 32px;
    color: #0066cc;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #000;
}

.error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.form-actions {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #333;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Progress Bar */
#upload-progress {
    margin-top: 30px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #000000;
    width: 0%;
    transition: width 0.3s ease;
}

#progress-text {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        width: min(100px, 70vw);
        margin-bottom: 30px;
    }

    h1 {
        font-size: 32px;
    }

    .info-section {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 14px;
    }

    .upload-area {
        padding: 40px 20px;
    }
}

