/*
 * 海豚善学 - AIGC教育机构官网
 * 专业、清晰、高转化设计
 */

/* ========== 基础变量 - 柔和蓝紫 ========== */
:root {
    /* 主色 - 柔和靛蓝 */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;

    /* 辅助色 - 淡紫色 */
    --accent: #8b5cf6;
    --accent-dark: #7c3aed;
    --accent-light: #a78bfa;

    /* 成功色 */
    --success: #10b981;

    /* 文字色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* 背景色 - 白/浅灰交替，节奏分明 */
    --bg-white: #ffffff;
    --bg-light: #f5f6f8;
    --bg-dark: #1e293b;
    --bg-card: #ffffff;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 4px 20px rgba(99, 102, 241, 0.12);

    /* 圆角 */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* 间距 */
    --section-padding: 100px;
    --container-width: 1200px;

    /* 动画 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-primary); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -16px; }
.row > * { padding: 0 16px; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.section-padding { padding: var(--section-padding) 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary { background: var(--gradient-primary); color: var(--text-white); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); }
.btn-secondary { background: transparent; color: var(--text-white); border: 2px solid rgba(255, 255, 255, 0.6); }
.btn-secondary:hover { background: var(--text-white); color: var(--primary); border-color: var(--text-white); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

.header { position: fixed; top: 0; left: 0; width: 100%; padding: 16px 0; z-index: 1000; transition: var(--transition); background-color: transparent; }
.header.initial-state { background-color: rgba(30, 41, 59, 0.7); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.header.sticky { padding: 12px 0; background-color: rgba(30, 41, 59, 0.98); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 70px; transition: var(--transition); }
.logo img:hover { transform: scale(1.05); }
.logo-text { font-size: 24px; font-weight: 700; color: var(--text-white); }
.main-nav ul { display: flex; gap: 4px; }
.main-nav .nav-link { color: rgba(255, 255, 255, 0.85); padding: 10px 18px; font-weight: 500; font-size: 0.95rem; border-radius: var(--radius); transition: var(--transition); }
.main-nav .nav-link:hover { color: var(--text-white); background-color: rgba(255, 255, 255, 0.1); }
.main-nav .nav-link.active { color: var(--text-white); background-color: rgba(37, 99, 235, 0.3); }
.mobile-menu-toggle { display: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-white); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

.mobile-menu { position: fixed; top: 0; right: -320px; width: 320px; height: 100%; background: var(--bg-white); z-index: 1001; padding: 80px 24px 24px; transition: var(--transition-slow); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1); overflow-y: auto; }
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 24px; right: 24px; font-size: 24px; color: var(--text-primary); cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); transition: var(--transition); }
.close-menu:hover { background-color: rgba(0, 0, 0, 0.05); }
.mobile-menu .nav-link { color: var(--text-secondary); font-size: 16px; display: block; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 4px; transition: var(--transition); }
.mobile-menu .nav-link:hover { background-color: rgba(37, 99, 235, 0.05); color: var(--primary); }

.banner-section { position: relative; height: 100vh; min-height: 700px; overflow: hidden; background: var(--bg-dark); }
.banner-slider { height: 100%; }
.banner-slide { height: 100vh; min-height: 700px; display: flex; align-items: center; background-size: cover; background-position: center; position: relative; }
.banner-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%); }
.banner-content { position: relative; max-width: 700px; z-index: 2; }
.banner-tag { display: inline-block; background: rgba(139, 92, 246, 0.15); color: var(--accent-light); padding: 8px 16px; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(139, 92, 246, 0.3); }
.banner-content h1 { font-size: 3.5rem; color: var(--text-white); margin-bottom: 20px; line-height: 1.2; }
.banner-content h1 .highlight { color: var(--accent-light); }
.banner-content .subtitle { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 36px; line-height: 1.8; }
.banner-stats { display: flex; gap: 40px; margin-bottom: 40px; }
.banner-stat { text-align: left; }
.banner-stat .number { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.banner-stat .label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }
.banner-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.banner-slide .overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; background: linear-gradient(to top, var(--bg-dark), transparent); z-index: 1; }
.particles-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator span { color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.mouse { width: 26px; height: 40px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 13px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scroll-wheel 2s infinite; }
@keyframes scroll-wheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(12px); } }

.section-heading { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; background: rgba(99, 102, 241, 0.1); color: var(--primary); padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; border: 1px solid rgba(99, 102, 241, 0.15); }
.section-heading h2 { font-size: 2.5rem; margin-bottom: 16px; color: var(--text-primary); }
.section-heading p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.heading-line { width: 80px; height: 3px; background: var(--gradient-primary); margin: 20px auto 0; border-radius: 2px; }
.section-heading.light h2, .section-heading.light p { color: var(--text-primary); }
.section-heading.light .section-tag { background: rgba(37, 99, 235, 0.1); color: var(--primary); }

.about-section { position: relative; overflow: hidden; background: var(--bg-white); }
.about-content { padding-right: 48px; }
.about-tagline { font-size: 1.1rem; color: var(--primary); font-weight: 600; margin-bottom: 16px; }
.about-text { color: var(--text-secondary); line-height: 1.9; margin-bottom: 32px; font-size: 1.05rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(37, 99, 235, 0.05); border-radius: var(--radius); border: 1px solid rgba(37, 99, 235, 0.1); }
.about-feature i { color: var(--primary); font-size: 1.2rem; }
.about-feature span { font-weight: 500; color: var(--text-primary); }
.about-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; transition: var(--transition-slow); }
.about-image:hover img { transform: scale(1.03); }
.about-image-badge { position: absolute; bottom: 24px; right: 24px; background: var(--gradient-primary); color: var(--text-white); padding: 16px 24px; border-radius: var(--radius-lg); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.about-image-badge .number { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.about-image-badge .label { font-size: 0.8rem; opacity: 0.9; }

.stats-section { background: var(--bg-light); padding: 60px 0; border-top: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; color: var(--text-primary); }
.stat-number { font-size: 2.5rem; font-weight: 700; margin-bottom: 8px; line-height: 1; color: var(--primary); }
.stat-number .suffix { font-size: 1.5rem; }
.stat-label { font-size: 0.95rem; opacity: 0.85; }

/* ===== 课程卡片 - 一体化圆角卡片 ===== */
.services-section { background: var(--bg-light); position: relative; overflow: hidden; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.course-card {
    background: var(--bg-card); border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* 封面图 */
.course-card-image { width: 100%; height: 200px; overflow: hidden; }
.course-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-card-image img { transform: scale(1.06); }
.course-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #f0f0ff 0%, #e8e0f0 100%); display: flex; align-items: center; justify-content: center; color: #c4b5d0; font-size: 2.5rem; }

/* 文字信息区 */
.course-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.course-card-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 12px; }
.course-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.course-card-price { font-size: 1.5rem; font-weight: 800; color: #f97316; white-space: nowrap; letter-spacing: -0.02em; line-height: 1.3; }
.course-card-price .price-sym { font-size: 1.1rem; font-weight: 800; margin-right: 1px; }
.course-card-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: #ef4444; background: rgba(239, 68, 68, 0.08); padding: 4px 10px; border-radius: var(--radius-full); white-space: nowrap; }

/* 底部通栏按钮 */
.course-card-btn {
    display: block; width: 100%; padding: 14px 0; text-align: center;
    background: var(--gradient-primary); color: var(--text-white);
    font-size: 0.95rem; font-weight: 700; border-radius: var(--radius);
    transition: filter 0.25s ease, transform 0.25s ease;
    margin-top: auto;
}
.course-card-btn:hover { background: var(--primary-dark); transform: translateY(-1px); color: var(--text-white); }

/* 课程响应式 */
@media (max-width: 1024px) {
    .course-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
    .course-grid { grid-template-columns: 1fr; gap: 20px; }
    .course-card-meta { flex-wrap: wrap; gap: 8px; }
    .course-card-image { height: 180px; }
}

/* ===== 团队区块 - 缩略图控制轮播 ===== */
/* ===== 团队区块 - 旋转轮盘 ===== */
.team-section { background: var(--bg-white); color: var(--text-primary); overflow: hidden; }

/* 主展示区 - 无限滚动 */
.team-stage-viewport { overflow: hidden; margin-bottom: 48px; }
.team-stage-slider { display: flex; }
.team-stage-slide {
    flex-shrink: 0; width: 100%; display: flex; align-items: center; gap: 56px; min-height: 360px;
}
.team-stage-slider.sliding { transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.team-stage-photo {
    flex-shrink: 0; width: 280px; height: 340px; border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}
.team-stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-stage-placeholder { width: 100%; height: 100%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: #d1d5db; font-size: 4rem; }
.team-stage-info { flex: 1; min-width: 0; }
.team-stage-info h3 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.team-stage-badge {
    display: inline-block;
    padding: 0 0 0 14px; margin-bottom: 22px;
    border-left: 3px solid var(--primary);
    font-size: 0.92rem; font-weight: 500; color: var(--primary); letter-spacing: 0.02em;
}
.team-stage-bio p { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.9; margin-bottom: 0; }

/* 底部固定导航 */
.team-nav { position: relative; max-width: 720px; margin: 0 auto; padding-top: 28px; }
.team-nav-track { display: flex; justify-content: center; gap: 28px; position: relative; padding-bottom: 6px; }
.team-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    cursor: pointer; padding: 6px 10px; border-radius: var(--radius-lg); transition: all 0.3s ease;
}
.team-nav-item:hover { background: rgba(99, 102, 241, 0.04); }
.team-nav-avatar {
    width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
    border: 3px solid transparent; transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.team-nav-item.active .team-nav-avatar { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); }
.team-nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-nav-placeholder { width: 100%; height: 100%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: #d1d5db; }
.team-nav-name { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; transition: all 0.3s ease; }
.team-nav-item.active .team-nav-name { color: var(--primary); font-weight: 600; }

/* 蓝色滑动指示器 */
.team-nav-indicator {
    position: absolute; bottom: 0; height: 3px; background: var(--primary);
    border-radius: 2px; transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.4s ease;
}

/* 响应式 */
@media (max-width: 900px) {
    .team-stage-slide { flex-direction: column; gap: 28px; text-align: center; min-height: auto; }
    .team-stage-photo { width: 220px; height: 260px; }
    .team-stage-info h3 { font-size: 1.5rem; }
    .team-nav-track { gap: 20px; }
    .team-nav-avatar { width: 50px; height: 50px; }
}
@media (max-width: 600px) {
    .team-stage-photo { width: 180px; height: 220px; }
    .team-stage-info h3 { font-size: 1.3rem; }
    .team-stage-bio p { font-size: 0.92rem; }
    .team-nav-track { gap: 12px; }
    .team-nav-avatar { width: 44px; height: 44px; }
    .team-nav-name { font-size: 0.7rem; }
}

.cases-section { background: var(--bg-white); }


.process-section { background: var(--bg-light); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 40px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 0; }
.process-item { text-align: center; position: relative; z-index: 1; }
.process-icon { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-white); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); position: relative; }
.process-number { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; background: var(--purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--text-white); }
.process-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); }
.process-item p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0; }

.cta-section { background: var(--gradient-primary); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 50%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } }
.cta-content { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.5rem; color: var(--text-white); margin-bottom: 16px; }
.cta-section p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* 联系我们 */
.contact-section { background: var(--bg-white); }
.contact-info { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.info-item {
    display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
    padding: 18px 22px; border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.info-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07); }
.info-icon {
    width: 46px; height: 46px; border-radius: var(--radius); flex-shrink: 0;
    background: rgba(99, 102, 241, 0.08); display: flex; align-items: center; justify-content: center;
    margin-right: 14px;
}
.info-icon i { font-size: 1rem; color: var(--primary); }
.info-item h3 { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.info-item p { margin-bottom: 0; color: var(--text-primary); font-size: 0.92rem; font-weight: 500; }
.info-item.clickable { cursor: pointer; }
.info-item.clickable:hover .info-icon { background: rgba(99, 102, 241, 0.15); }
.info-copy-tip { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; opacity: 0; transition: opacity 0.2s; }
.info-item.clickable:hover .info-copy-tip { opacity: 1; }

/* 企微咨询卡片 */
.enterprise-card {
    background: var(--gradient-primary); border-radius: var(--radius-lg);
    padding: 22px; display: flex; align-items: center; gap: 18px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    transition: var(--transition); margin-top: 4px;
}
.enterprise-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99, 102, 241, 0.3); }
.enterprise-qr { width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.2); }
.enterprise-qr img { width: 100%; height: 100%; object-fit: cover; }
.enterprise-qr-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 2rem; }
.enterprise-info { flex: 1; }
.enterprise-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-white); margin-bottom: 6px; line-height: 1.4; }
.enterprise-info p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0; line-height: 1.5; }

/* 社交媒体二维码 */
.social-qrcodes { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.social-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
    border-radius: var(--radius-lg); padding: 20px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04); cursor: pointer;
}
.social-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07); background: rgba(255, 255, 255, 0.9); }
.social-qr { width: 110px; height: 110px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.06); }
.social-qr img { width: 100%; height: 100%; object-fit: cover; }
.social-qr-placeholder {
    width: 100%; height: 100%; background: rgba(99, 102, 241, 0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: var(--text-muted);
}
.social-name { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* 页脚 */
.footer {
    background: var(--bg-dark); padding: 48px 0 32px; color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 36px; }
.footer-brand-name { font-size: 1.1rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--text-white); }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: center; }
.copyright { font-size: 0.82rem; color: rgba(255, 255, 255, 0.35); }
.copyright a { color: rgba(255, 255, 255, 0.35); }
.copyright a:hover { color: rgba(255, 255, 255, 0.7); }

.back-to-top-button {
    position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
    background: var(--gradient-primary); color: var(--text-white); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; cursor: pointer;
    z-index: 999; box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.back-to-top-button.active { opacity: 1; transform: translateY(0); }
.back-to-top-button:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4); }
.back-to-top-button a { color: var(--text-white); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

.scroll-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000; }
.scroll-progress-bar { height: 100%; background: var(--gradient-primary); transform-origin: left; transform: scaleX(0); }

.animated-element { opacity: 0; }
.force-visible { opacity: 1 !important; transform: none !important; visibility: visible !important; transition: none !important; }
.placeholder-image { background: var(--bg-light); width: 100%; height: 300px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-lg); }
.placeholder-image i { font-size: 48px; color: #d1d5db; }
.placeholder-logo { height: 80px; display: flex; align-items: center; justify-content: center; background: var(--bg-light); border-radius: var(--radius); color: var(--text-muted); font-weight: 500; }

@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    .banner-content h1 { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .process-grid::before { display: none; }
    .col-lg-4 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }
    .banner-section, .banner-slide { min-height: 600px; }
    .banner-content h1 { font-size: 2.2rem; }
    .banner-content .subtitle { font-size: 1rem; }
    .banner-stats { gap: 24px; }
    .banner-stat .number { font-size: 1.5rem; }
    .section-heading h2 { font-size: 1.8rem; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    .col-lg-4, .col-lg-3 { flex: 0 0 100%; max-width: 100%; margin-bottom: 16px; }
    .about-content { padding-right: 0; margin-bottom: 32px; }
    .about-features { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2rem; }
    .process-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-info { margin-bottom: 24px; }
    .social-grid { gap: 14px; }
    .social-qr { width: 90px; height: 90px; }
    .enterprise-card { padding: 18px; }
    .enterprise-qr { width: 64px; height: 64px; }
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .footer-brand { justify-content: center; }
    .cta-section h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .banner-content h1 { font-size: 1.8rem; }
    .banner-buttons { flex-direction: column; }
    .banner-buttons .btn { width: 100%; }
    .banner-stats { flex-wrap: wrap; gap: 16px; }
    .banner-stat { flex: 0 0 calc(50% - 8px); }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }
}

.preloader { position: fixed; width: 100%; height: 100%; background: var(--bg-dark); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.loader { position: relative; width: 60px; height: 60px; }
.spinner { width: 100%; height: 100%; position: relative; }
.double-bounce1, .double-bounce2 { width: 100%; height: 100%; border-radius: 50%; background-color: var(--primary); opacity: 0.6; position: absolute; top: 0; left: 0; animation: sk-bounce 2.0s infinite ease-in-out; }
.double-bounce2 { background-color: var(--accent); animation-delay: -1.0s; }
@keyframes sk-bounce { 0%, 100% { transform: scale(0.0); } 50% { transform: scale(1.0); } }

/* ===== 学员案例 - 无限滚动 ===== */
.clients-section { background: var(--bg-light); }

/* 分类标签 */
.case-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.case-tab {
    padding: 8px 22px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500;
    border: 1.5px solid rgba(0, 0, 0, 0.1); background: transparent; color: var(--text-secondary);
    cursor: pointer; transition: var(--transition);
}
.case-tab:hover { border-color: var(--primary); color: var(--primary); }
.case-tab.active { background: var(--gradient-primary); color: var(--text-white); border-color: transparent; }

/* 无限滚动容器 - 一屏3张 + 中间停留 */
.case-scroll-viewport { overflow: hidden; }
.case-scroll-track {
    display: flex; gap: 24px; padding: 16px 0;
    will-change: transform;
}
.case-scroll-item {
    flex-shrink: 0;
    flex-basis: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    transition: transform 0.4s ease;
}
.case-scroll-item.cat-hidden { display: none; }

/* 卡片 - 加大 */
.case-card {
    background: var(--bg-card); border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1); }

.case-media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-light); }
.case-media img, .case-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-card:hover .case-media img, .case-card:hover .case-media video { transform: scale(1.05); }
.case-media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #d1d5db; font-size: 2.5rem; }
.case-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(99, 102, 241, 0.9); color: var(--text-white);
    padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
}

.case-info { padding: 20px 22px 24px; }
.case-name { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.case-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--primary); transition: gap 0.2s ease; }
.case-link:hover { gap: 10px; }
.case-link i { font-size: 0.75rem; }

@media (max-width: 768px) {
    .case-scroll-item { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
    .case-tabs { gap: 8px; }
    .case-tab { padding: 6px 16px; font-size: 0.82rem; }
}
@media (max-width: 480px) {
    .case-scroll-item { flex-basis: 100%; max-width: 100%; }
}

/* 案例浮层 */
.case-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000; display: none; align-items: center; justify-content: center;
}
.case-modal.active { display: flex; }
.case-modal-mask {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(4px);
}
.case-modal-body {
    position: relative; max-width: 900px; width: 90%; max-height: 90vh;
    background: var(--bg-white); border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); z-index: 1;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.case-modal-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
    border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.5); color: #fff;
    font-size: 1rem; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.case-modal-close:hover { background: rgba(0, 0, 0, 0.8); }
.case-modal-content { width: 100%; }
.case-modal-content video { width: 100%; display: block; max-height: 75vh; object-fit: contain; background: #000; }
.case-modal-content img { width: 100%; display: block; max-height: 75vh; object-fit: contain; background: #000; }
.case-modal-title { padding: 16px 24px; font-size: 1.1rem; font-weight: 600; color: var(--text-primary); text-align: center; }
