/* 技术原理页面专属样式 */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #ffd700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, #0d47a1, #1565c0);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.section h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

/* 特性网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 10px;
    color: white;
}

.feature-item h3 {
    color: white;
    margin-top: 0;
}

/* 问答区块样式 */
.qa-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.qa-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.qa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qa-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.2rem;
}

.qa-item p {
    margin: 0.5rem 0 0;
    color: var(--text-dark);
}

/* 用户评价区块样式 */
.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 1rem;
}

.reviewer-name {
    font-weight: 500;
    color: var(--primary-color);
}

/* 内容块样式 */
.content-block {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.content-block ul {
    list-style: none;
    padding: 0;
}

.content-block li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-block li:before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* 内容板块样式 */
.content-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* 算法解析样式 */
.algorithm-analysis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.algorithm-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.algorithm-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.algorithm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.algorithm-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 检测流程样式 */
.detection-process {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
}

.process-step i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 技术优势样式 */
.tech-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.advantage-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.advantage-content p {
    color: var(--text-muted);
    line-height: 1.6;
}



/* Banner区域样式 */
.hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 特性标签 */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-features span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features i {
    color: var(--accent-color);
}

/* 统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 10px;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 适用人群 */
.hero-trust {
    margin: 2rem 0;
    text-align: center;
}

.trust-label {
    font-size: 1.1rem;
    margin-right: 1rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.trust-logos span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-logos i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* 按钮样式 */
.hero-buttons {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

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

/* 响应式调整 */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .feature-grid,
    .qa-list,
    .review-list {
        grid-template-columns: 1fr;
    }

    .qa-item,
    .review-item {
        padding: 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

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

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

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-logos {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .algorithm-analysis {
        grid-template-columns: repeat(2, 1fr);
    }

    .detection-process {
        flex-direction: column;
        align-items: center;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .tech-advantages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .algorithm-analysis {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .advantage-item i {
        margin: 0 auto;
    }
}
