/* 页面容器样式,三页  start*/
.page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.page.active {
    opacity: 1;
    transform: translateY(0);
}

/* 页面容器样式,三页  end*/

/* 页面标题区域样式  start*/
.hero {
    text-align: center;
    margin-bottom: 5rem;
    padding: 3rem 0;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.0rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* 页面标题区域样式  end*/

/* 页面按钮样式  start*/

.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* 页面按钮样式  end*/

/* 第一页内容区样式  start*/
.content-section {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.content-section:nth-child(2) {
    animation-delay: 0.1s;
}

.content-section:nth-child(3) {
    animation-delay: 0.2s;
}

.content-section:nth-child(4) {
    animation-delay: 0.3s;
}

.content-section:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-content {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.section-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.section-content ul li {
    padding: 0.8rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.section-content ul li i {
    color: var(--warning-color);
    margin-right: 1rem;
}

.section-content p {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.6;
}

.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 2.5rem;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow-sm);
}

/* 第一页内容区样式 end*/

/* 企业级 AI 知识库如何建设？（流程说明） start*/
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.step-card p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    text-align: center;
    margin: 1.5rem 0;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    margin-top: 1rem;
}

.step-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* 企业级 AI 知识库如何建设？（流程说明） end*/

/* 企业级 AI 知识库的关键能力 start*/
.key-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.capability-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.capability-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.capability-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* 企业级 AI 知识库的关键能力 end*/

/* 为什么不能用公共 AI？ start*/
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 700;
    color: var(--text-dark);
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5);
}

.comparison-table tr:hover {
    background-color: rgba(219, 234, 254, 0.2);
}

/* 为什么不能用公共 AI？ end*/

/* 典型企业级 AI 智能体示例 start*/
.agent-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.agent-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.agent-card p {
    margin-bottom: 1.2rem;
    font-style: italic;
    color: var(--text-light);
}

.agent-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-title::before {
    content: '🤖';
    font-size: 1.2rem;
}

.agent-features {
    list-style: none;
}

.agent-features li {
    color: var(--text-light);
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.agent-features li:last-child {
    border-bottom: none;
}

.agent-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.agent-features li:hover {
    transform: translateY(2px);
}

/* 典型企业级 AI 智能体示例 end*/

/* 企业级 AI 的完整形态（三层总结） start*/
.three-layer-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid var(--border-color);
}

.three-layer-summary h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.layer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.layer-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.layer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.layer-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.5s ease;
}

.layer-card:hover .layer-icon {
    background: linear-gradient(135deg, #2e77c7 0%, #4a90e2 100%);
    color: #fff;
    transform: scale(1.1);
}

.layer-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.layer-desc {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 企业级 AI 的完整形态（三层总结） end*/

/* 最终收口样式 start*/
.final-cta {
    background: var(--gradient-dark);
    color: white;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    margin: 5rem 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.final-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 最终收口样式 end*/

