/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #165DFF;
    --secondary: #36CFC9;
    --accent1: #722ED1;
    --accent2: #F53F3F;
    --accent3: #FF7D00;
    --accent4: #14C9C9;
    --light: #F5F7FA;
    --dark: #1D2129;
    --gray: #86909C;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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



/* 导航栏 */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, #E8F4FF 0%, #F0F8FF 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.banner-left {
    flex: 1;
}

.banner-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-title span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.banner-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

/* 优化Banner按钮布局 - 横向排列 */
.banner-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center; /* 居中显示 */
}

.main-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    /* 缩短按钮长度 - 关键修改 */
    flex: none; /* 取消自动拉伸 */
    width: auto; /* 宽度由内容决定 */
    min-width: 180px; /* 最小宽度调整 */
}

.primary-btn {
    background: linear-gradient(90deg, var(--primary), #0F52BA);
    color: white;
}

.secondary-btn {
    background: linear-gradient(90deg, var(--secondary), #0FB8B8);
    color: white;
}

.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 93, 255, 0.3);
}

.banner-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(22, 93, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
}

.authoritative-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.authoritative-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.authoritative-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.weipu {
    background: linear-gradient(135deg, var(--accent1), #5A23A6);
}

.wanfang {
    background: linear-gradient(135deg, var(--accent2), #D93636);
}

.daya {
    background: linear-gradient(135deg, var(--accent3), #E07000);
}

.yingwen {
    background: linear-gradient(135deg, var(--accent4), #0EA8A8);
}

.zh知网 {
    background: linear-gradient(135deg, var(--primary), #0F52BA);
}

.tongyong {
    background: linear-gradient(135deg, #7B61FF, #5D47E2);
}

.authoritative-label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

.banner-right {
    flex: 1;
    position: relative;
    min-height: 400px;
}

/* 修复统计卡片动画显示异常问题 */
.stat-card {
    position: absolute;
    background: transparent; /* 移除底色 */
    border: 1px solid rgba(22, 93, 255, 0.1); /* 仅保留边框 */
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    width: 180px;
    z-index: 10;
    /* 优化动画效果 */
    animation: float 6s ease-in-out infinite;
    opacity: 1;
}

.stat-card:nth-child(1) {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.stat-card:nth-child(2) {
    top: 100px;
    right: 20px;
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    bottom: 80px;
    left: 60px;
    animation-delay: 2s;
}

.stat-card:nth-child(4) {
    bottom: 20px;
    right: 60px;
    animation-delay: 3s;
}

.stat-icon {
    font-size: 25px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 移除flash动画避免闪烁异常 */
.banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f5f7fa' fill-opacity='1' d='M0,192L48,176C96,160,192,128,288,128C384,128,480,160,576,181.3C672,203,768,213,864,202.7C960,192,1056,160,1152,149.3C1248,139,1344,149,1392,154.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

/* 内容板块通用样式 - 优化视觉效果 */
.section {
    padding: 80px 0;
    position: relative;
}

/* 所有标题移除下划线，优化标题样式 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark);
}

/* 标题装饰效果 */
.section-title span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

/* 通用卡片容器 - 移除底色和边框（从指定板块开始） */
.section-content {
    display: grid;
    gap: 30px;
}

/* 1. 小标题和图标放在一起的样式 */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(22, 93, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.card-title::before {
    display: none;
}

/* AIGC检测是什么 - 网格布局 + 渐变卡片 */
.tool-section .section-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tool-section .card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(240,248,255,0.8)) !important;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(22,93,255,0.05), 0 2px 8px rgba(0,0,0,0.03) !important;
    border: none !important;
    transition: all 0.3s ease;
}

.tool-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(22, 93, 255, 0.15);
}



/* 检测流程板块 - 横向一排布局 */
.process-section {
    background: linear-gradient(180deg, #F8F9FA 0%, #E8F4FF 100%);
    overflow-x: hidden;
}

.process-section .section-content {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
}

.process-step {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(22,93,255,0.3);
}

.process-step .card-icon {
    background-color: rgba(54, 207, 201, 0.1);
    color: var(--secondary);
    margin: 0 auto 15px;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.process-step .card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}


/* 服务卡片样式 */
.service-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
}

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

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* 图标方块样式 */
.icon-square {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-square i {
    font-size: 1.5rem;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 比较表格样式 */
.comparison-table th, .comparison-table td {
    vertical-align: middle;
    padding: 1rem;
}

/* 技术架构图样式 */
.tech-image {
    background-color: #f8f9fa;
    border-radius: 1rem;
}

.tech-node {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.tech-node-large {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1rem;
}

.tech-arrow {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* 评分徽章样式 */
.score-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}



/* 新增用户评价板块样式 - 2排8个图文评价 */
.user-reviews-section {
    background: white;
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.review-card {
    background: linear-gradient(145deg, #F8F9FF, #E8F4FF);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(22,93,255,0.05);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(22,93,255,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* 用户头像修改为图片 - 关键修改 */
.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover; /* 保持图片比例 */
    border: 2px solid rgba(22, 93, 255, 0.2);
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 3px;
}

.user-type {
    font-size: 12px;
    color: var(--gray);
}

.review-rating {
    color: #FFD700;
    margin: 10px 0;
    font-size: 14px;
}

.review-content {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.review-tag {
    font-size: 12px;
    padding: 3px 10px;
    background: rgba(22,93,255,0.1);
    color: var(--primary);
    border-radius: 12px;
}







/* 常见问题样式 */
.accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}




/* 常见问题板块 - 2排8个问题 */
.faq-section {
    background: #F8F9FA;
    padding: 80px 0;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-question::before {
    content: "Q";
    background: rgba(22,93,255,0.1);
    color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    padding-left: 34px;
}






/* 页脚样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    color: white;
}

/* 新增页脚标题装饰 */
.footer-col h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: "→";
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}


/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s;
    color: #fff;
    text-decoration: none;
}

.back-to-top:hover {
    background: #0a58ca;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.back-to-top i {
    font-size: 24px;
    line-height: 0;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .banner {
        padding: 3rem 0;
    }
    
    .stats {
        flex-wrap: wrap;
    }
    
    .stats > div {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    .banner {
        padding: 2rem 0;
    }
    
    .detection-btn, .reduction-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* 动画效果 */
.service-card, .icon-square, .tech-image, .accordion-item {
    transition: all 0.3s ease;
}

/* 段落增强 */
p {
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* 标题样式 */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 评级星星 */
.rating i {
    font-size: 1rem;
} 





/* ========== 下拉菜单样式（适配原有CSS变量） ========== */
/* 下拉菜单父容器定位 */
.nav-item {
    position: relative;
}

/* 下拉菜单核心样式（默认隐藏） */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

/* 桌面端hover展开下拉菜单 */
.nav-item.has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 下拉菜单项样式（适配原有导航交互） */
.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

/* 下拉菜单项hover效果（匹配原有nav-link） */
.dropdown-link:hover {
    color: var(--primary);
    background-color: var(--light);
}

/* 下拉菜单项下划线（适配原有nav-link::after逻辑） */
.dropdown-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.dropdown-link:hover::after {
    width: calc(100% - 40px); /* 适配内边距，不超出 */
}

/* ========== 移动端汉堡菜单样式（适配原有响应式） ========== */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========== 响应式适配（补充原有@media） ========== */
/* 平板/移动端适配（匹配原有991.98px断点） */
@media (max-width: 991.98px) {
    /* 汉堡菜单显示 */
    .menu-toggle {
        display: block;
    }

    /* 移动端导航菜单折叠 */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* 初始隐藏 */
        height: 100vh;
        width: 280px;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 9999;
    }

    /* 导航菜单激活展开 */
    .nav-menu.active {
        right: 0;
    }

    /* 移动端导航项样式调整 */
    .nav-menu li {
        padding: 10px 0;
        border-bottom: 1px solid var(--light);
    }

    .nav-link {
        padding: 8px 0;
        display: block;
    }

    /* 移动端下拉菜单适配（取消绝对定位） */
    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        padding-left: 15px;
        background-color: var(--light);
        border-radius: 4px;
        margin-top: 5px;
    }

    .dropdown-link {
        padding: 8px 15px;
    }

    .dropdown-link::after {
        bottom: 3px;
        left: 15px;
    }

    .dropdown-link:hover::after {
        width: calc(100% - 30px);
    }

    /* 汉堡菜单点击后变叉 */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* 小屏手机适配（匹配原有767.98px断点） */
@media (max-width: 767.98px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
}