/* ===== 页面导航卡片样式 - 适配CPS页面主题色 ===== */
.page-navigation-section {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 30px;
    padding: 0 15px;
}

.navigation-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(74, 107, 255, 0.2); /* 使用CPS页面主色的透明版本 */
}

.navigation-header i {
    font-size: 2.5rem;
    color: #4a6bff; /* CPS页面主色 */
    margin-bottom: 15px;
    display: inline-block;
}

.navigation-header h2 {
    color: #4a6bff; /* CPS页面主色 */
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.navigation-header p {
    color: #a0aec0; /* CPS页面次要文本色 */
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.navigation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.nav-card {
    background: linear-gradient(145deg, #1a2236, #222d44); /* CPS页面背景色 */
    border-radius: 16px;
    padding: 30px;
    text-decoration: none;
    color: #ffffff; /* CPS页面主文本色 */
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #2d3748; /* CPS页面边框色 */
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #4a6bff; /* CPS页面主色 */
}

.nav-card:first-child {
    border-top: 4px solid #4a6bff; /* CPS页面主色 */
}

.nav-card:first-child:hover {
    border-color: #6d85ff; /* CPS页面浅主色 */
}

.nav-card:last-child {
    border-top: 4px solid #00d4aa; /* CPS页面次色 */
}

.nav-card:last-child:hover {
    border-color: #33ffd6; /* CPS页面浅次色 */
}

.nav-card-icon {
    font-size: 2.2rem;
    color: #4a6bff; /* CPS页面主色 */
    background: rgba(74, 107, 255, 0.1); /* 主色透明背景 */
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.nav-card:last-child .nav-card-icon {
    color: #00d4aa; /* CPS页面次色 */
    background: rgba(0, 212, 170, 0.1); /* 次色透明背景 */
}

.nav-card:hover .nav-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.nav-card-content {
    flex: 1;
}

.nav-card-content h3 {
    margin: 0 0 15px 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-card-content p {
    margin: 0 0 20px 0;
    color: #a0aec0; /* CPS页面次要文本色 */
    font-size: 1rem;
    line-height: 1.6;
}

.nav-card-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #4a6bff; /* CPS页面主色 */
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(74, 107, 255, 0.1); /* 主色透明背景 */
    border: 1px solid rgba(74, 107, 255, 0.3); /* 主色边框 */
}

.nav-card:last-child .nav-card-action {
    color: #00d4aa; /* CPS页面次色 */
    background: rgba(0, 212, 170, 0.1); /* 次色透明背景 */
    border: 1px solid rgba(0, 212, 170, 0.3); /* 次色边框 */
}

.nav-card:hover .nav-card-action {
    gap: 15px;
    padding: 8px 20px;
    background: rgba(74, 107, 255, 0.2); /* 悬停时加深 */
    border-color: rgba(74, 107, 255, 0.6); /* 悬停时加深 */
}

.nav-card:last-child:hover .nav-card-action {
    background: rgba(0, 212, 170, 0.2); /* 悬停时加深 */
    border-color: rgba(0, 212, 170, 0.6); /* 悬停时加深 */
}

.nav-card-action i {
    transition: transform 0.3s ease;
}

.nav-card:hover .nav-card-action i {
    transform: translateX(8px);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .navigation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-card {
        padding: 25px;
    }
    
    .nav-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .page-navigation-section {
        margin: 30px auto 20px;
    }
    
    .navigation-header h2 {
        font-size: 1.5rem;
    }
    
    .navigation-header p {
        font-size: 0.95rem;
    }
    
    .nav-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .nav-card-content h3 {
        font-size: 1.3rem;
    }
    
    .nav-card-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navigation-header i {
        font-size: 2rem;
    }
    
    .navigation-header h2 {
        font-size: 1.3rem;
    }
    
    .nav-card-action {
        width: 100%;
        justify-content: center;
    }
}