/* 基础重置（SEO友好：统一样式，避免排版混乱） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 容器：居中+适配宽度，确保排版整齐 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部导航 */
.header {
    background: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

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

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.main-nav a.active, .main-nav a:hover {
    color: #ffd700;
}

/* 面包屑导航（SEO友好，提升用户体验） */
.breadcrumb {
    padding: 10px 0;
    background: #f5f5f5;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffd700;
}

/* Hero区域（独立轮播，突出核心） */
.hero {
    background: linear-gradient(to right, #4158d0, #c850c0);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    display: inline-block;
    background: #ffd700;
    color: #333;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #ffc107;
}

/* 轮播图区域 */
.carousel {
    padding: 30px 0;
    background: #f9f9f9;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* 主内容区（丰富内容，排版整齐） */
.main-content {
    padding: 40px 0;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.content-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.content-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.content-item {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.content-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

/* 页脚区（横向排列，SEO友好） */
.footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
}

.quick-links {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.quick-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #ffd700;
}

.copyright-area {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.seo-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.seo-links a:hover {
    color: #ffd700;
}

.domain-info {
    font-size: 14px;
    color: #ccc;
}

/* 响应式适配（移动端SEO友好） */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .copyright-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* 新增：搜索框样式 */
.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    padding: 8px 15px;
    border: none;
    background: #ffd700;
    color: #333;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}

/* 新增：Hero按钮组 */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn {
    background: #ffd700;
    color: #333;
}

.secondary-btn {
    background: #fff;
    color: #333;
    border: 2px solid #ffd700;
}

/* 新增：内容网格布局 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.highlight {
    color: #ff4500;
    font-weight: bold;
}

.section-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-top: 20px;
}

/* 新增：标签页样式 */
.content-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 8px 20px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.tab-btn.active {
    background: #ffd700;
    color: #333;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.link-btn {
    display: inline-block;
    margin-top: 10px;
    color: #4158d0;
    text-decoration: none;
    font-size: 14px;
}

.link-btn:hover {
    text-decoration: underline;
}

/* 新增：内容行/列布局 */
.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.content-col {
    flex: 1;
    min-width: 300px;
}

.process-list {
    list-style: none;
    margin-bottom: 20px;
}

.process-list li {
    margin-bottom: 15px;
    padding-left: 50px;
    position: relative;
    line-height: 1.6;
}

.step {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: #ffd700;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.price-title {
    margin: 20px 0 10px;
}

.price-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    line-height: 1.8;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.case-item {
    text-align: center;
}

.case-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 5px;
}

/* 新增：技巧列表 */
.skill-list {
    list-style: none;
    line-height: 2;
}

.tool-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background: #4158d0;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.faq-preview {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item h4 {
    color: #333;
    margin-bottom: 5px;
}

/* 新增：用户案例样式 */
.case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.case-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.case-card img {
    width: 100%;
    height: auto;
}

.case-info {
    padding: 15px;
}

.case-info h4 {
    margin-bottom: 10px;
    color: #333;
}

/* 新增：最新更新样式 */
#news-date {
    color: #ff4500;
    font-size: 16px;
}

.news-list {
    margin-bottom: 20px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-time {
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.news-item h4 a {
    color: #333;
    text-decoration: none;
}

.news-item h4 a:hover {
    color: #4158d0;
    text-decoration: underline;
}

.more-btn {
    color: #4158d0;
    text-decoration: none;
    font-size: 16px;
}

/* about页新增样式 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.team-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.team-card img {
    border-radius: 50%;
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffd700;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #ffd700;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-content {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.advantage-card {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.guarantee-list {
    line-height: 2;
    list-style: none;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.partner-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.partner-item img {
    max-width: 100%;
    height: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .search-box {
        margin-top: 15px;
        width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }

    .content-row {
        flex-direction: column;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-year {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}