/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* News Banner */
.news-banner {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 0;
    position: relative;
    z-index: 1000;
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.banner-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.banner-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #ffffff;
    transition: opacity 0.3s ease;
}

.banner-link:hover {
    opacity: 0.8;
}

/* Header Navigation */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navigation {
    padding: 20px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #1a1a1a;
}

.login-btn {
    background-color: #1a1a1a;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #333333 !important;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-content {
    text-align: center;
    margin-bottom: 100px;
}

.hero-tagline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -1px;
    max-width: 900px;
    margin: 0 auto;
}

/* Split Screen Layout */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

/* Left side: Upload Section */
.upload-section {
    display: flex;
    justify-content: center;
}

.upload-container {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    border: 1px solid #e8e8e8;
}

.upload-container h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.upload-area {
    background-color: #ffffff;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 24px;
}

.upload-area:hover {
    border-color: #1a1a1a;
    background-color: #f8f8f8;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.upload-button {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-button:hover {
    background-color: #333333;
}

.upload-features {
    margin-top: 24px;
}

.upload-features ul {
    list-style: none;
}

.upload-features li {
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Right side: Paper Visual Section */
.paper-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.paper-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.paper-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.paper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-paper {
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.paper-1 {
    width: 120px;
    height: 160px;
    top: 20%;
    left: 10%;
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

.paper-2 {
    width: 100px;
    height: 140px;
    top: 50%;
    right: 15%;
    transform: rotate(10deg);
    animation: float 8s ease-in-out infinite 1s;
}

.paper-3 {
    width: 80px;
    height: 120px;
    bottom: 20%;
    left: 25%;
    transform: rotate(-5deg);
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(-15deg);
    }
    25% {
        transform: translateY(-20px) rotate(-10deg);
    }
    50% {
        transform: translateY(-10px) rotate(-20deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Footer */
.footer {
    background-color: #fafafa;
    border-top: 1px solid #e8e8e8;
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 14px;
    color: #666;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 8px;
}

.link-group a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .hero-container {
        padding: 0 30px;
    }
    
    .split-screen {
        gap: 40px;
    }
    
    .upload-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .login-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
    
    .hero-tagline {
        font-size: 42px;
    }
    
    .split-screen {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .paper-visual {
        height: 400px;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .banner-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu li:not(:last-child) {
        display: none;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-tagline {
        font-size: 36px;
    }
    
    .upload-container {
        padding: 24px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .paper-visual {
        height: 300px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    animation: fadeInUp 1s ease-out;
}

.upload-container {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.paper-visual {
    animation: fadeInUp 1s ease-out 0.4s both;
}