/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-logo h2 {
    color: #0088cc;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0088cc;
}

/* 英雄展示区 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: #0088cc;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 服务部分 */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #0088cc;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    color: #0088cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 联系方式部分 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-info > p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* 客服列表样式 */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #0088cc;
    background: #f8f9fa;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-avatar i {
    color: white;
    font-size: 1.5rem;
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.telegram-link {
    color: #0088cc;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-action {
    color: #0088cc;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-action {
    opacity: 1;
    transform: scale(1.1);
}

.contact-meta {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
}

.contact-meta p {
    margin-bottom: 10px;
    color: #555;
}

.contact-meta p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #888;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
    }

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

    .nav-item {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    /* 移动端客服列表适配 */
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .contact-details {
        text-align: center;
        margin-bottom: 15px;
    }

    .contact-action {
        align-self: center;
    }
}