/* Landing Page Styles */
.landing-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    animation: fadeInUp 1s ease;
}

.hero-logo h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-logo p {
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.feature-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.hero-cta {
    margin-top: 40px;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 15px;
}

.cta-subtitle {
    margin: 15px 0 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.login-notice {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid rgba(255, 193, 7, 0.4);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.login-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff3cd;
}

/* Content Sections */
.about-section,
.materials-preview,
.stats-section,
.final-cta {
    padding: 80px 20px;
    background: white;
    color: #333;
}

.about-section {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2,
.materials-preview h2,
.stats-section h2,
.final-cta h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2196F3;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: #2196F3;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-card p {
    line-height: 1.6;
    color: #666;
}

/* Materials Preview */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.material-preview {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #2196F3;
    transition: all 0.3s ease;
}

.material-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.2);
}

.material-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.material-preview h4 {
    color: #1565c0;
    margin: 15px 0 10px 0;
    font-size: 1.1rem;
}

.material-preview p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.preview-cta {
    text-align: center;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    color: white;
}

.stats-section h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: #f8f9fa;
}

.final-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* Footer */
.landing-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.landing-footer p {
    margin: 10px 0;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-logo h1 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .about-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .about-section h2,
    .materials-preview h2,
    .stats-section h2,
    .final-cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-logo h1 {
        font-size: 1.8rem;
    }
    
    .about-section,
    .materials-preview,
    .stats-section,
    .final-cta {
        padding: 60px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .material-preview {
        padding: 20px;
    }
}

/* Scroll animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}
