@import url('https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&display=swap');

:root {
    --primary-color: #1890ff;
    --secondary-color: #52c41a;
    --text-color: #333;
    --bg-color: #f0f2f5;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}
.logo svg {
    margin-right: 10px;
    height: 32px;
    width: 32px;
}
.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    height: 100vh; /* Force full viewport height */
    min-height: 600px; /* Minimum height for small screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-sizing: border-box;
    margin-bottom: 0; /* Remove bottom margin */
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
    max-width: 800px;
}
.hero p {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1.5px;
    line-height: 1.8;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-large-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
}
.btn-large-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Features */
.features {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
}
.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}
.feature-card p {
    color: #777;
    font-size: 15px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
}
/* Mobile Responsive for Index Page */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .nav-links {
        display: none; /* Consider implementing a hamburger menu for full mobile support */
    }
    
    .hero {
        padding: 60px 20px;
        justify-content: center; /* Keep centered */
        height: auto; /* Allow scrolling on mobile if content is tall */
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 18px;
        line-height: 1.6;
        color: #666;
    }
    
    .cta-buttons {
        flex-direction: row; /* Keep horizontal on mobile if possible, or wrap */
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .btn {
        width: auto; /* Allow auto width */
        min-width: 140px;
        box-sizing: border-box;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .features {
        padding: 40px 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.server-info {
    margin-top: 20px;
    font-size: 12px;
    color: #8c9bba;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
