/* 全局样式与重置 */
:root {
    --bg-main: #0A0A0A;
    --bg-secondary: #121212;
    --color-gold: #D4AF37;
    --color-gold-bright: #FFD700;
    --color-red: #DC143C;
    --text-main: #FFFFFF;
    --text-secondary: #888888;
    
    --font-heading: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    --font-body: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 公共类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.highlight-gold {
    color: var(--color-gold);
    font-weight: 700;
}

.highlight-red {
    color: var(--color-red);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 50px;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.title-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-bright));
    color: var(--bg-main);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* 1. 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo span {
    font-size: 14px;
    color: var(--color-gold);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--color-gold);
    cursor: pointer;
}

/* 2. 首屏 Banner 区 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-main) 0%, rgba(10,10,10,0.4) 20%, rgba(10,10,10,0.4) 80%, var(--bg-main) 100%),
                url('bg1.png') center/cover no-repeat;
    padding-top: 70px; /* 补偿导航栏高度 */
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* 3. 团队介绍板块 */
.team {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-main) 0%, rgba(10,10,10,0.6) 20%, rgba(10,10,10,0.6) 80%, var(--bg-main) 100%),
                url('bg2.png') center/cover no-repeat;
}
.team-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.team-text {
    flex: 0 0 60%;
}

.team-text .section-title {
    margin-bottom: 30px;
    text-align: left;
}

.team-desc {
    font-size: 17px;
    line-height: 2;
    color: var(--text-main);
}

.team-image {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 第一层震动波 */
.team-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    animation: shockwave 2.5s infinite ease-out;
    z-index: 0;
}

/* 第二层震动波，带延迟 */
.team-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    animation: shockwave 2.5s infinite ease-out 0.4s;
    z-index: 0;
}

/* 图片容器包装，用于添加光晕和第三层波 */
.team-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    z-index: 1;
}

/* 第三层震动波和粒子光晕效果 */
.team-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0) 70%);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    animation: shockwave-glow 2.5s infinite ease-out 0.8s;
    z-index: -1;
}

.team-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    animation: heartbeat 2.5s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

@keyframes heartbeat {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
    15% { transform: scale(1.03); box-shadow: 0 0 50px rgba(255, 215, 0, 0.6); }
    30% { transform: scale(1); box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
    45% { transform: scale(1.03); box-shadow: 0 0 50px rgba(255, 215, 0, 0.6); }
    60% { transform: scale(1); box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
}

@keyframes shockwave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px 0 rgba(212, 175, 55, 0.6);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow: 0 0 30px 20px rgba(212, 175, 55, 0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow: 0 0 30px 20px rgba(212, 175, 55, 0);
        opacity: 0;
    }
}

@keyframes shockwave-glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px 10px rgba(255, 215, 0, 0.5);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.25);
        box-shadow: 0 0 60px 30px rgba(255, 215, 0, 0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.25);
        box-shadow: 0 0 60px 30px rgba(255, 215, 0, 0);
        opacity: 0;
    }
}

/* 4. 课程介绍板块 */
.courses {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-main) 0%, rgba(10,10,10,0.6) 20%, rgba(10,10,10,0.6) 80%, var(--bg-main) 100%),
                url('bg3.png') center/cover no-repeat;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-features {
    text-align: left;
    flex-grow: 1;
}

.course-card:hover, .course-card.active {
    transform: translateY(-10px);
    background-color: var(--bg-main);
    border-color: var(--color-gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.25);
}

.level-advanced {
    background-color: var(--bg-secondary); /* 统一底色 */
    border: 1px solid rgba(255,255,255,0.05); /* 统一边框 */
    position: relative;
    /* 移除默认放大的 transform: scale(1.05); */
}

.course-level {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.course-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.advanced-price {
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.course-target {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.course-features li {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--text-main);
    position: relative;
    padding-left: 20px;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

/* 5. EA / 策略资源展示板块 */
.strategies {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-main) 0%, rgba(10,10,10,0.6) 20%, rgba(10,10,10,0.6) 80%, var(--bg-main) 100%),
                url('bg4.png') center/cover no-repeat;
}
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.strategy-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 封面容器：固定高度，毛玻璃背景填充 */
.strategy-cover {
    position: relative;
    height: 160px;
    overflow: hidden;
    isolation: isolate; /* 避免滤镜影响到外部 */
}
.strategy-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cover);
    background-size: cover;
    background-position: center;
    filter: blur(12px) saturate(120%);
    transform: scale(1.1); /* 放大以避免边缘露底 */
    z-index: 0;
}
.strategy-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25); /* 轻微遮罩，保证前景图清晰可读 */
    z-index: 0;
}
.strategy-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 等比缩放，完整展示 */
    display: block;
    /* 边缘渐隐：在前景图周围做柔和过渡，减弱与毛玻璃背景的边界感 */
    --fade-inner: 85%; /* 渐隐起始（越大越靠近边缘） */
    --fade-outer: 100%; /* 渐隐结束 */
    -webkit-mask-image: radial-gradient(ellipse var(--fade-outer) var(--fade-outer) at 50% 50%, rgba(0,0,0,1) var(--fade-inner), rgba(0,0,0,0) var(--fade-outer));
    mask-image: radial-gradient(ellipse var(--fade-outer) var(--fade-outer) at 50% 50%, rgba(0,0,0,1) var(--fade-inner), rgba(0,0,0,0) var(--fade-outer));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.strategy-info {
    padding: 15px;
}

.strategy-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strategy-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 浮窗 (Modal) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    width: 80%;
    max-width: 900px;
    height: 70vh;
    border-radius: 12px;
    border: 1px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-red);
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-tabs {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 25px;
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--color-gold);
    font-weight: 700;
    border-bottom: 2px solid var(--color-gold);
}

.tab-content {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 20px;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table th, .data-table td {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    text-align: left;
}

.data-table th {
    background-color: rgba(255,255,255,0.05);
    width: 30%;
    color: var(--text-secondary);
}

.account-info p {
    margin-bottom: 10px;
    padding: 10px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 4px;
}

/* 6. 底部 Footer */
.footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--color-gold);
    padding: 30px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.risk-warning {
    color: var(--color-red);
    font-size: 12px;
    margin-left: 10px;
}

.footer-right i {
    color: #07c160; /* 微信绿 */
    margin-right: 5px;
    font-size: 16px;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* 响应式适配 */
@media screen and (max-width: 992px) {
    .team-container {
        flex-direction: column;
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .level-advanced {
        grid-column: span 2;
        transform: none;
    }
    .level-advanced:hover {
        transform: translateY(-10px);
    }
    .strategies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 24px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .level-advanced {
        grid-column: span 1;
    }
    
    .strategies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .risk-warning {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 90%; /* 字体缩小10% */
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .btn-primary {
        width: 100%;
    }
    .strategies-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}
