/* 钓鱼邮件模拟测试页面专属样式 */

/* ===== 钓鱼危害展示区域 ===== */
.phishing-risks-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.phishing-risks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.risks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.risks-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.risks-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fca5a5, #fdba74, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.risks-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
    color: #cbd5e1;
}

/* ===== 抽屉式滑动展示区域 ===== */
#main {
    height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
}

#main::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 30% 70%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.08) 0%, transparent 40%);
    border-radius: 30px;
    z-index: -1;
}

#click-section {
    width: 35%;
    height: 100%;
    padding: 20px 0;
    position: relative;
}

#drawerboxes {
    margin-left: 10%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#drawerboxes::before {
    content: "";
    width: 8px;
    height: 94%;
    position: absolute;
    left: -10px;
    top: 3%;
    z-index: 120;
    background: linear-gradient(180deg, #ef4444, #f97316, #ef4444);
    border-radius: 4px;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.8); }
}

.drawerbox {
    height: calc(100% / 5.5);
    width: 70%;
    position: relative;
    z-index: 100;
    transform: translateX(-30%);
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawerbox.active {
    transform: translateX(0);
}

.drawer-btn {
    width: 100%;
    height: 100%;
    font: 800 20px 'MiSans', sans-serif;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(249, 115, 22, 0.9));
    border: none;
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    padding: 0 15px;
    text-align: left;
}

.drawer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.drawer-btn:hover::before {
    left: 100%;
}

.drawer-btn.active {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5), 0 0 20px rgba(239, 68, 68, 0.3);
    transform: scale(1.02);
}

.drawer-btn:hover {
    cursor: pointer;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.drawer-head {
    position: absolute;
    color: rgba(255, 255, 255, 0.95);
    font-size: 120px;
    font-weight: 700;
    right: -10px;
    top: calc(50% - 80px);
    text-shadow: 2px -1px 8px rgba(239, 68, 68, 0.6);
    transition: all 0.3s ease;
    z-index: 110;
}

.drawer-btn.active .drawer-head {
    text-shadow: 2px -1px 12px rgba(239, 68, 68, 0.8);
    transform: scale(1.1);
}

/* ===== 右侧滑动区域 ===== */
#slide-section {
    position: relative;
    height: 100%;
    width: 65%;
    display: flex;
    justify-content: center;
    padding: 0 40px;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8),
        rgba(15, 23, 42, 0.9),
        rgba(30, 41, 59, 0.8)) !important;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(239, 68, 68, 0.2);
}

#slide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

/* 强制覆盖任何可能的白色背景 */
#slide-section,
#slide-section * {
    background-color: transparent !important;
}

#slide-section {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.9),
        rgba(15, 23, 42, 0.95),
        rgba(30, 41, 59, 0.9)) !important;
}

/* 增强卡片内容的视觉效果 */
.card {
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.05) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(249, 115, 22, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}

#slide-bar {
    position: absolute;
    top: 10%;
    left: 40px;
    height: 80%;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 1px;
}

#bar {
    position: absolute;
    height: calc(100% / 4);
    width: 6px;
    top: 0;
    left: -2px;
    background: linear-gradient(180deg, #ef4444, #f97316);
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

#card-section {
    height: 100%;
    width: 80%;
    overflow: hidden;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 5% 0;
    color: white;
    font-size: 30px;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    justify-content: space-between;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.02), rgba(249, 115, 22, 0.02));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-small-title {
    font-size: 26px;
    font-weight: 600;
    padding-bottom: min(2%, 6px);
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
}

.card-small-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
        opacity: 0.8;
    }
    50% { 
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.6);
        opacity: 1;
    }
}

.card-title {
    font-size: 58px;
    font-weight: 700;
    padding-bottom: min(12%, 25px);
    color: white;
    background: linear-gradient(45deg, #ef4444, #f97316, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
    margin-bottom: 20px;
}

.card-content {
    font-size: 19px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 20px;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-impact {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(249, 115, 22, 0.25));
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 16px;
    padding: 28px;
    margin-top: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.card-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.card-impact h4 {
    font-size: 18px;
    color: #fca5a5;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    position: relative;
}

.card-impact p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
    line-height: 1.7;
}

.risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.risk-card:hover::before {
    transform: scaleX(1);
}

.risk-card.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
}

.risk-card.active::before {
    transform: scaleX(1);
}

.risk-card.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* 风险图标 */
.risk-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    position: relative;
    margin: 0 auto 2rem;
}

.risk-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 19px;
    z-index: -1;
    opacity: 0.3;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

/* 风险内容 */
.risk-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.risk-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
}

.risk-impact {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.risk-impact h4 {
    font-size: 1rem;
    color: #fca5a5;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.risk-impact p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* ===== 自动播放指示器 ===== */
.auto-play-indicator {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.auto-play-indicator i {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== 滑动指示器 ===== */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ef4444;
    transform: scale(1.2);
}

/* ===== 增强视觉效果 ===== */
.card-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
    border-radius: 2px;
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
    animation: titleLineSlide 1.2s ease-out;
}

@keyframes titleLineSlide {
    from { 
        width: 0; 
        opacity: 0; 
        transform: translateX(-20px);
    }
    to { 
        width: 100%; 
        opacity: 1; 
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from { width: 0; opacity: 0; }
    to { width: 60px; opacity: 1; }
}

.card-impact {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 添加浮动动画效果 */
.drawer-btn {
    animation: float 3s ease-in-out infinite;
}

.drawer-btn:nth-child(2) {
    animation-delay: 0.5s;
}

.drawer-btn:nth-child(3) {
    animation-delay: 1s;
}

.drawer-btn:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* 增强背景光效 */
.phishing-risks-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .risks-intro h2 {
        font-size: 2rem;
    }
    
    .risks-intro p {
        font-size: 1.1rem;
    }
    
    #main {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    #click-section {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    #drawerboxes {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-left: 0;
    }
    
    .drawerbox {
        width: 200px;
        height: 80px;
        transform: translateY(60%);
    }
    
    .drawerbox.active {
        transform: translateY(0);
    }
    
    .drawer-btn {
        font-size: 16px;
    }
    
    .drawer-head {
        font-size: 60px;
        right: -5px;
        top: calc(50% - 40px);
        z-index: 110;
    }
    
    #slide-section {
        width: 100%;
        height: 60vh;
        margin-top: 2rem;
    }
    
        .card-title {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .card-small-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .card-content {
        font-size: 17px;
        margin-bottom: 15px;
        line-height: 1.7;
    }
    
    .card-impact {
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .risks-intro h2 {
        font-size: 1.8rem;
    }
    
    .drawerbox {
        width: 150px;
        height: 60px;
    }
    
    .drawer-btn {
        font-size: 12px;
    }
    
    .drawer-head {
        font-size: 40px;
        right: -3px;
        top: calc(50% - 25px);
        z-index: 110;
    }
    
        .card-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .card-small-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .card-content {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .card-impact {
        padding: 20px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    
    .card-impact h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .card-impact p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* ===== 大信封解决方案展示区域 ===== */
.big-envelope-section {
    padding: 120px 0;
    background: #001344; /* 修改为默认深蓝色背景 */
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.big-envelope-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.big-envelope {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 800px;
    background-color: #f5f5dc;
    border: 2px solid #d4a574;
    border-radius: 4px;
    transform-origin: bottom;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 添加信封纹理效果 - 使用温暖的米色到浅棕色渐变 */
    background-image: 
        linear-gradient(135deg, #f5f5dc 0%, #f0e68c 50%, #daa520 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.2) 3px,
            rgba(255, 255, 255, 0.2) 6px
        );
}

/* 添加信封折角效果 */
.big-envelope::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent #cd853f transparent transparent;
    z-index: 3;
}

.big-envelope::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 25px 0;
    border-color: transparent #deb887 transparent transparent;
    z-index: 4;
}

.big-envelope:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.big-envelope__flap {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, #dc2626, #ea580c);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: bottom;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    /* 添加信封盖子的纹理 */
    background-image: 
        linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f97316 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.2) 3px,
            rgba(255, 255, 255, 0.2) 6px
        );
}

/* 添加信封盖子的折痕效果 */
.big-envelope__flap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
    transform: translateX(-50%);
}

.big-envelope__body {
    display: none;
    padding: 40px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: 10px;
    border: 2px solid #64748b;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    overflow-y: auto;
    color: white;
}

.big-envelope__title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* 大信封关闭状态下的标题 */
.big-envelope__closed-title {
    text-align: center;
    color: #495057;
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 添加信封地址栏 */
.big-envelope__closed-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80px;
    border: 1px solid #dee2e6;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.8);
    z-index: -2;
}

/* 添加地址栏内的线条 */
.big-envelope__closed-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: 70px;
    background: 
        linear-gradient(to bottom, transparent 0%, transparent 20%, #dee2e6 20%, #dee2e6 22%, transparent 22%, transparent 40%, #dee2e6 40%, #dee2e6 42%, transparent 42%, transparent 60%, #dee2e6 60%, #dee2e6 62%, transparent 62%);
    z-index: -1;
}

/* 删除邮戳效果，不再需要 */

.big-envelope__closed-title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #495057;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* 添加信封地址栏效果 */
.big-envelope__closed-title h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6c757d, transparent);
}

.big-envelope__closed-title h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #adb5bd, transparent);
}

.big-envelope__closed-title p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #6c757d;
    font-weight: 400;
    max-width: 80%;
    text-align: center;
}

.big-envelope__title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fca5a5, #fdba74, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.big-envelope__title p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #cbd5e1;
    opacity: 0.9;
}

/* 大信封打开状态 */
.big-envelope.open {
    transform: rotateX(180deg);
}

.big-envelope.open .big-envelope__flap {
    transform: rotateX(-180deg);
    background: linear-gradient(135deg, #dc2626, #ea580c);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.big-envelope.open .big-envelope__body {
    display: block;
}

.big-envelope.open .big-envelope__closed-title {
    display: none;
}

/* ===== 信封样式解决方案展示区域 ===== */
.envelope-solutions-section {
    padding: 60px 0;
    background: transparent;
    color: white;
    position: relative;
    overflow: hidden;
}

.envelope-solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.solutions-intro {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.solutions-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fca5a5, #fdba74, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.solutions-desc {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    color: #cbd5e1;
}

.envelope-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.envelope-card {
    width: 320px;
    height: 420px;
    position: relative;
    perspective: 1000px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: envelopeFloat 6s ease-in-out infinite;
}

.envelope-card:nth-child(2) {
    animation-delay: 2s;
}

.envelope-card:nth-child(3) {
    animation-delay: 4s;
}

@keyframes envelopeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.envelope-front,
.envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    overflow: hidden;
}

.envelope-front {
    background: linear-gradient(135deg, #ef4444, #f97316);
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.envelope-back {
    background: linear-gradient(135deg, #1e293b, #334155);
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(239, 68, 68, 0.2);
}

.envelope-card:hover .envelope-front {
    transform: rotateY(-180deg);
}

.envelope-card:hover .envelope-back {
    transform: rotateY(0deg);
}

.envelope-seal {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: sealPulse 3s ease-in-out infinite;
    position: relative;
}

.envelope-seal::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: sealRing 2s ease-in-out infinite;
}

@keyframes sealPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sealRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.envelope-seal i {
    font-size: 2rem;
    color: white;
}

.envelope-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
    color: white;
}

.envelope-content p {
    font-size: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #ea580c);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.envelope-card:hover .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fca5a5;
    text-align: center;
}

.envelope-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.envelope-details li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.envelope-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fca5a5;
    font-weight: bold;
}

.envelope-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.2));
    border-radius: 25px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.envelope-action:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(249, 115, 22, 0.3));
    transform: translateY(-2px);
}

.action-text {
    font-size: 0.9rem;
    color: #fca5a5;
    font-weight: 500;
}

.envelope-action i {
    color: #fca5a5;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.envelope-action:hover i {
    transform: translateX(3px);
}

.solutions-connection {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.connection-line {
    position: absolute;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), transparent);
    z-index: 0;
}

.connection-dots {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active,
.dot:hover {
    background: #ef4444;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .big-envelope {
        width: 95%;
        height: 700px;
    }
    
    .big-envelope__closed-title h2 {
        font-size: 3.5rem;
    }
    
    .big-envelope__closed-title p {
        font-size: 1.4rem;
    }
    
    .big-envelope__title h2 {
        font-size: 3rem;
    }
    
    .envelope-container {
        gap: 2rem;
    }
    
    .envelope-card {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .big-envelope-section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .big-envelope {
        width: 95%;
        height: 600px;
    }
    
    .big-envelope__closed-title h2 {
        font-size: 3rem;
    }
    
    .big-envelope__closed-title p {
        font-size: 1.3rem;
    }
    
    .big-envelope__title h2 {
        font-size: 2.5rem;
    }
    
    .big-envelope__title p {
        font-size: 1.2rem;
    }
    
    .big-envelope__body {
        padding: 30px 20px;
    }
    
    .envelope-solutions-section {
        padding: 40px 0;
    }
    
    .solutions-title {
        font-size: 2.2rem;
    }
    
    .solutions-desc {
        font-size: 1.1rem;
    }
    
    .envelope-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .envelope-card {
        width: 300px;
        height: 400px;
    }
    
    .connection-line {
        width: 80%;
    }
    
    .connection-dots {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .big-envelope-section {
        padding: 60px 0;
    }
    
    .big-envelope {
        width: 98%;
        height: 500px;
    }
    
    .big-envelope__closed-title h2 {
        font-size: 2.5rem;
    }
    
    .big-envelope__closed-title p {
        font-size: 1.1rem;
    }
    
    .big-envelope__title h2 {
        font-size: 2rem;
    }
    
    .big-envelope__title p {
        font-size: 1rem;
    }
    
    .big-envelope__body {
        padding: 20px 15px;
    }
    
    .solutions-title {
        font-size: 1.8rem;
    }
    
    .solutions-desc {
        font-size: 1rem;
    }
    
    .envelope-card {
        width: 280px;
        height: 380px;
    }
    
    .envelope-content h3 {
        font-size: 1.2rem;
    }
    
    .envelope-content p {
        font-size: 0.9rem;
    }
    
    .envelope-details h4 {
        font-size: 1.1rem;
    }
    
    .envelope-details li {
        font-size: 0.9rem;
    }
}

/* ===== 钓鱼邮件模拟测试section ===== */
.phishing-simulation-section {
    padding: 120px 0;
    background: #001344;
    color: white;
    position: relative;
    overflow: hidden;
}

.phishing-simulation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.simulation-content {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* 左右布局：左边文字描述，右边图片 */
.simulation-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.simulation-text {
    flex: 1;
    max-width: 600px;
}

.feature-group {
    margin-bottom: 2.5rem;
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-group h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.feature-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.simulation-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.simulation-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.simulation-image img:hover {
    transform: scale(1.05);
}

/* 浮动装饰元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-icon-1 {
    top: 20%;
    right: -25px;
    animation-delay: 0s;
}

.floating-icon-2 {
    bottom: 30%;
    left: -25px;
    animation-delay: 1s;
}

.floating-icon-3 {
    top: 60%;
    right: -15px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .phishing-simulation-section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .simulation-layout {
        gap: 3rem;
    }
    
    .feature-group h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .phishing-simulation-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .simulation-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .simulation-text {
        max-width: 100%;
    }
    
    .feature-group h3 {
        font-size: 1.4rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.95rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .phishing-simulation-section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .feature-group {
        margin-bottom: 2rem;
    }
    
    .feature-group h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        margin-bottom: 1rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
