/* 网络安全周页面专用CSS */

/* ===== 第一个Section：活动介绍 ===== */
.cyber-week-intro-section {
    position: relative;
    padding: 120px 0;
    background: #001344; /* 使用banner的蓝色背景 */
    overflow: hidden;
    min-height: 100vh;
    z-index: 2; /* 确保在banner之上 */
}

/* 背景装饰 - 保留网格效果但降低透明度 */
.cyber-week-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%233F5AF3" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

/* 容器样式 */
.cyber-week-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== 大型英雄图片区域 ===== */
.cyber-week-hero-section {
    margin-bottom: 80px;
}

.cyber-week-hero-image {
    position: relative;
    width: 100%;
    height: 600px; /* 大型图片高度 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(63, 90, 243, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cyber-week-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #001344, #1a3a7a, #3F5AF3);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cyber-week-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 80px;
    max-width: 800px;
}

.cyber-week-hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, #3F5AF3, #00D4FF);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(63, 90, 243, 0.5);
    margin-bottom: 30px;
}

.cyber-week-hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #FF6B6B, #FFD166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
    line-height: 1.2;
}

.cyber-week-hero-subtitle {
    font-size: 1.4rem;
    color: #B0B2B7;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 活动形式功能块区域 ===== */
.cyber-week-activities-section {
    padding-top: 40px;
}

.cyber-week-activities-container {
    max-width: 1400px; /* 与hero图片宽度对齐 */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 活动项目样式 - 类似手风琴设计 */
.cyber-week-activity-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(63, 90, 243, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: fit-content; /* 让高度自适应内容 */
}

/* 不同活动类型的背景颜色 */
.cyber-week-activity-item[data-type="hack"] {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-color: rgba(255, 107, 107, 0.3);
}

.cyber-week-activity-item[data-type="quiz"] {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(78, 205, 196, 0.05) 100%);
    border-color: rgba(78, 205, 196, 0.3);
}

.cyber-week-activity-item[data-type="game"] {
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.1) 0%, rgba(255, 230, 109, 0.05) 100%);
    border-color: rgba(255, 230, 109, 0.3);
}

.cyber-week-activity-item[data-type="lecture"] {
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.1) 0%, rgba(168, 230, 207, 0.05) 100%);
    border-color: rgba(168, 230, 207, 0.3);
}

.cyber-week-activity-item[data-type="drill"] {
    background: linear-gradient(135deg, rgba(255, 139, 148, 0.1) 0%, rgba(255, 139, 148, 0.05) 100%);
    border-color: rgba(255, 139, 148, 0.3);
}

.cyber-week-activity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3F5AF3, #00D4FF, #FF6B6B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cyber-week-activity-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(63, 90, 243, 0.25);
}

.cyber-week-activity-item[data-type="hack"]:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.25);
}

.cyber-week-activity-item[data-type="quiz"]:hover {
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.25);
}

.cyber-week-activity-item[data-type="game"]:hover {
    box-shadow: 0 15px 40px rgba(255, 230, 109, 0.25);
}

.cyber-week-activity-item[data-type="lecture"]:hover {
    box-shadow: 0 15px 40px rgba(168, 230, 207, 0.25);
}

.cyber-week-activity-item[data-type="drill"]:hover {
    box-shadow: 0 15px 40px rgba(255, 139, 148, 0.25);
}

.cyber-week-activity-item:hover::before {
    transform: scaleX(1);
}

/* 活动头部区域 */
.cyber-week-activity-header {
    display: flex;
    align-items: center;
    padding: 35px 30px;
    gap: 20px;
}

/* 活动图标 */
.cyber-week-activity-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    background: linear-gradient(45deg, #3F5AF3, #00D4FF);
    box-shadow: 0 6px 20px rgba(63, 90, 243, 0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cyber-week-activity-item:hover .cyber-week-activity-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 活动信息区域 */
.cyber-week-activity-info {
    flex: 1;
}

.cyber-week-activity-category {
    display: block;
    font-size: 1rem;
    color: #3F5AF3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cyber-week-activity-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* 不同活动类型的颜色主题 */
.cyber-week-activity-item[data-type="hack"] .cyber-week-activity-title {
    color: #FF6B6B;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.cyber-week-activity-item[data-type="quiz"] .cyber-week-activity-title {
    color: #4ECDC4;
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.4);
}

.cyber-week-activity-item[data-type="game"] .cyber-week-activity-title {
    color: #FFE66D;
    text-shadow: 0 0 20px rgba(255, 230, 109, 0.4);
}

.cyber-week-activity-item[data-type="lecture"] .cyber-week-activity-title {
    color: #A8E6CF;
    text-shadow: 0 0 20px rgba(168, 230, 207, 0.4);
}

.cyber-week-activity-item[data-type="drill"] .cyber-week-activity-title {
    color: #FF8B94;
    text-shadow: 0 0 20px rgba(255, 139, 148, 0.4);
}

/* 活动内容区域 - 单栏布局 */
.cyber-week-activity-content-wrapper {
    padding: 0 30px 30px 30px;
}

.cyber-week-activity-content {
    padding-left: 80px; /* 为左侧图标留出空间 */
}

.cyber-week-activity-desc {
    color: #B0B2B7;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* 活动详情列表 */
.cyber-week-activity-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cyber-week-activity-details li {
    position: relative;
    padding: 10px 0 10px 25px;
    color: #B0B2B7;
    font-size: 1rem;
    line-height: 1.6;
}

.cyber-week-activity-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 8px;
    color: #3F5AF3;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}



/* 响应式设计 */
@media (max-width: 1200px) {
    .cyber-week-hero-title {
        font-size: 3.8rem;
    }
    
    .cyber-week-hero-image {
        height: 500px;
    }
    
    .cyber-week-hero-content {
        padding: 60px;
    }
}

@media (max-width: 992px) {
    .cyber-week-intro-section {
        padding: 80px 0;
    }
    
    .cyber-week-hero-section {
        margin-bottom: 60px;
    }
    
    .cyber-week-hero-image {
        height: 450px;
    }
    
    .cyber-week-hero-content {
        padding: 50px;
    }
    
    .cyber-week-hero-title {
        font-size: 3.2rem;
    }
    
    .cyber-week-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cyber-week-activities-container {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .cyber-week-intro-section {
        padding: 60px 0;
    }
    
    .cyber-week-hero-image {
        height: 400px;
    }
    
    .cyber-week-hero-content {
        padding: 40px 30px;
    }
    
    .cyber-week-hero-title {
        font-size: 2.8rem;
    }
    
    .cyber-week-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cyber-week-activity-header {
        padding: 25px;
        gap: 15px;
    }
    
    .cyber-week-activity-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .cyber-week-activity-title {
        font-size: 1.6rem;
    }
    
    .cyber-week-activity-content-wrapper {
        padding: 0 25px 25px 25px;
    }
    
    .cyber-week-activity-content {
        padding-left: 0;
    }
    
    .cyber-week-activity-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cyber-week-hero-image {
        height: 350px;
    }
    
    .cyber-week-hero-content {
        padding: 30px 20px;
    }
    
    .cyber-week-hero-title {
        font-size: 2.2rem;
    }
    
    .cyber-week-hero-badge {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .cyber-week-activity-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cyber-week-activity-content-wrapper {
        padding: 0 20px 20px 20px;
    }
    
    .cyber-week-activity-content {
        padding-left: 0;
    }
    
    .cyber-week-activity-title {
        font-size: 1.4rem;
    }
}

/* ===== 第二个Section：成功案例展示 ===== */
.success-cases-section {
    position: relative;
    padding: 120px 0;
    background: #001344; /* 使用默认背景 */
    overflow: hidden;
    min-height: 100vh;
}

.success-cases-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.success-cases-header {
    text-align: center;
    margin-bottom: 80px;
}

.success-cases-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FF6B6B, #FFD166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-cases-subtitle {
    font-size: 1.2rem;
    color: #B0B2B7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.success-cases-shell {
    display: flex;
    height: 600px;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.success-case-box {
    flex: 1;
    min-width: 0;
    position: relative;
    transition: flex 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.success-case-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%);
    transition: opacity 0.3s ease;
}

.success-case-box:hover {
    flex: 2;
}

.success-case-box:hover::before {
    opacity: 0.3;
}

.case-1 {
    background-image: url('../img/service/service-1.jpg');
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.case-2 {
    background-image: url('../img/service/service-2.jpg');
}

.case-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    opacity: 0;
    color: white;
    height: 500px;
    width: 500px;
    background-color: transparent;
    border-radius: 15px;
    backdrop-filter: none;
    border: none;
    overflow-y: auto;
}

.success-case-box:hover .case-content {
    animation: appear 0.8s forwards 0.3s;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.case-header {
    height: 60px;
    font-size: 2.5rem;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    position: relative;
}

.case-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3F5AF3, #FF6B6B);
    border-radius: 1px;
}

.case-title {
    color: #3F5AF3;
    text-decoration: none;
    position: relative;
    font-weight: 700;
}

.case-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3F5AF3, transparent);
    border-radius: 1px;
}

.case-number {
    margin-left: 0px;
    color: #FF6B6B;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.case-info {
    margin-bottom: 25px;
}

.case-company {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFD166;
    text-shadow: 0 0 15px rgba(255, 209, 102, 0.3);
    letter-spacing: 0.5px;
}

.case-scale {
    font-size: 1rem;
    color: #B0B2B7;
    font-style: italic;
    opacity: 0.9;
    font-weight: 400;
}

.case-details {
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3F5AF3;
    margin: 20px 0 12px 0;
    border-left: 3px solid #3F5AF3;
    padding-left: 12px;
    position: relative;
    text-shadow: 0 0 8px rgba(63, 90, 243, 0.2);
}

.case-details h4::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3F5AF3, #00D4FF);
    border-radius: 2px;
}

.case-details p {
    margin-bottom: 15px;
    color: #E0E0E0;
}

.case-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-details li {
    position: relative;
    padding: 8px 0 8px 20px;
    color: #B0B2B7;
    margin-bottom: 8px;
}

.case-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 8px;
    color: #3F5AF3;
    font-size: 0.8rem;
}

.highlight {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #FF6B6B, transparent);
    border-radius: 0.5px;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .success-cases-shell {
        height: auto;
        flex-direction: column;
        gap: 30px;
    }
    
    .success-case-box {
        height: 500px;
    }
    
    .success-case-box:hover {
        flex: none;
    }
    
    .case-content {
        width: 100%;
        height: 100%;
        opacity: 1;
        animation: none;
    }
}

@media (max-width: 768px) {
    .success-cases-title {
        font-size: 2rem;
    }
    
    .success-case-box {
        height: 450px;
    }
    
    .case-content {
        padding: 25px;
    }
 