* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
}

.logo img {
    height: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    margin-left: 2rem;
    font-size: 1rem;
}

.nav-menu a.active {
    color: #e74c3c;
}

/* 主要内容区域样式更新 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/banner.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* 改为100vh，占满整个视口高度 */
    display: flex; /* 使用flex布局 */
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    align-items: center; /* 水平居中 */
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative; /* 添加相对定位 */
}

.hero-section h1 {
    font-size: 3rem; /* 增大标题字体 */
    margin-bottom: 3rem;
    max-width: 800px; /* 限制标题最大宽度 */
    line-height: 1.2; /* 调整行高 */
    font-weight: 600; /* 稍微加粗 */
}

/* 搜索框容器样式更新 */
.search-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 4rem; /* 增加底部间距 */
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 0.8rem; /* 增加内边距 */
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* 添加阴影效果 */
}

.search-box input {
    flex: 1;
    min-width: 200px;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    outline: none;
}

.platform-icons {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem;
}

.platform-icons .icon {
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-icons .icon:hover {
    background: #e74c3c;
    color: white;
}

.search-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #d44231;
}

/* 步骤说明样式更新 */
.steps-container {
    display: flex;
    justify-content: center;
    gap: 4rem; /* 增加步骤之间的间距 */
    margin-top: 2rem;
    width: 100%;
    max-width: 1000px; /* 限制最大宽度 */
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px; /* 限制每个步骤的最大宽度 */
}

.step-number {
    background: rgba(255, 255, 255, 0.9);
    color: #e74c3c;
    width: 50px; /* 增大数字圆圈 */
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* LOGO样式 */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

/* 上传按钮样式 */
.upload-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-btn svg {
    fill: #666;
    transition: fill 0.3s ease;
}

.upload-btn:hover svg {
    fill: #e74c3c;
}

/* 添加媒体查询 */
@media screen and (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .search-box {
        padding: 0.6rem;
    }
}

/* 特性模块样式 */
.features-section {
    background: #f8f9fa;  /* 浅色背景 */
    padding: 4rem 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: white;  /* 改为白色背景 */
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* 添加阴影 */
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    background: #f0f0f0;  /* 浅灰色背景 */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    fill: #e74c3c;  /* 使用主题红色 */
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;  /* 深色文字 */
}

.feature-card p {
    color: #666;  /* 灰色文字 */
    font-size: 0.9rem;
}

/* 响应式布局保持不变 */
@media screen and (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* 服务流程样式 */
.service-section {
    padding: 4rem 0;
    background: white;
}

.service-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 4rem;
}

.service-flow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.service-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    fill: #e74c3c;
}

.service-item h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.arrow {
    position: absolute;
    right: -1rem;
    top: 2rem;
    fill: #e74c3c;
    display: flex;
    align-items: center;
}

.service-item:last-child .arrow {
    display: none;
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .service-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .arrow {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .service-flow {
        grid-template-columns: 1fr;
    }

    .service-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .service-item {
        padding: 1.5rem;
        background: #f8f9fa;
        border-radius: 10px;
    }
}

/* 优势模块样式 */
.advantages-section {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    fill: #e74c3c;
}

.advantage-content h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .advantages-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .advantages-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantage-item {
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 12px;
    }
}

/* 页脚样式 */
.footer {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    text-align: center;
}

.footer-links h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.links-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.links-group a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.links-group a:hover {
    color: #e74c3c;
}

/* 页脚响应式样式 */
@media screen and (max-width: 480px) {
    .footer {
        padding: 1.5rem 0;
    }

    .links-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 20px;
    z-index: 1000;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid #e74c3c;
    border-radius: 20px;
    cursor: pointer;
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: #e74c3c;
    color: white;
}

.language-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.language-btn:hover svg {
    transform: rotate(180deg);
    fill: white;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.language-dropdown a:hover {
    background: #f8f9fa;
    color: #e74c3c;
    border-left-color: #e74c3c;
}

.language-dropdown a.active {
    background: #fff5f5;
    color: #e74c3c;
    font-weight: 500;
    border-left-color: #e74c3c;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .language-selector {
        margin-left: 15px;
    }

    .language-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .language-dropdown {
        min-width: 160px;
    }

    .language-dropdown a {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .language-selector {
        margin-left: 10px;
    }

    .language-btn {
        padding: 5px 10px;
    }

    .language-btn span {
        display: none;
    }

    .language-dropdown {
        right: -10px;
        min-width: 140px;
    }
} 