/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #0a0a1a;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1a1a2e;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 背景图片层 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 背景遮罩 - 让文字可读 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 75% 60% at center,
        rgba(202, 238, 251, 0.97) 0%,
        rgba(202, 238, 251, 0.55) 50%,
        rgba(202, 238, 251, 0) 100%
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
    pointer-events: none;
}

/* ===== 顶部导航 ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 56px;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.school-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 14px;
}

.platform-name {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

/* ===== 主内容区 ===== */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 56px 80px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
}

.section-title .ai-icon {
    width: 42px;
    height: 42px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #1a56db 20%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(26, 86, 219, 0.15));
}

/* ===== 智能体卡片网格 - 1×3 扑克牌布局 ===== */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 960px;
    width: 100%;
}

.agent-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 48px 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #1a1a2e;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.04);
}

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

/* 卡片底部氛围光晕 */
.agent-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.15), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.agent-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.08),
        0 40px 100px rgba(0, 0, 0, 0.10);
}

.agent-card:hover::after {
    opacity: 1;
}

.agent-card:active {
    transform: translateY(-3px) scale(0.98);
}

.agent-icon {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.10));
}

.agent-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.agent-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.agent-name {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a2e;
}

.agent-desc {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.4);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.agent-arrow {
    display: none;
}

/* ===== 底部信息 ===== */
.footer {
    text-align: center;
    padding: 32px 48px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    position: relative;
    z-index: 2;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .header {
        padding: 16px 24px;
    }
    .main-content {
        padding: 32px 24px 48px;
    }
    .agents-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 700px;
    }
}

@media (max-width: 640px) {
    .agents-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .header {
        flex-wrap: wrap;
        gap: 12px;
    }
    .platform-name {
        width: 100%;
    }
}
