:root {
    --primary-color: #00c853;
    --secondary-color: #1a237e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

/* 导航栏 */
.navbar {
    background: white;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* 首屏 */
.hero {
    padding: 3rem 5% 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero p {
    color: #666;
    font-size: 1.1rem;
}

/* 快速访问 */
.quick-access {
    padding: 1.5rem 5% 2.5rem;
    background: #f8f9fa;
    margin-top: -1rem;
}

.access-grid {
    display: flex;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.access-btn {
    flex: 1;
    min-width: 180px;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.access-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.access-btn i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

/* 功能展示 */
.features {
    padding: 2rem 5% 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 客服信息 */
.customer-service {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 5%;
    margin-top: 2rem;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
}

.contact-item i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    margin: 0 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.8rem 0;
        padding: 0.8rem;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }
}

.iconify {
    width: 21px;
    height: 24px;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .access-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .social-links a {
        display: block;
        margin: 1rem 0;
    }

    .hero {
        padding: 2rem 5% 1rem;
        min-height: 30vh;
    }
}
