/* 
 * 音创·网络/音频技术·学员系统
 * 主样式文件
 */

/* ==================== 动画定义 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}



@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0);
    }
    50% {
        box-shadow: 0 0 20px 2px rgba(139, 0, 0, 0.15);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* 动画类 */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-down {
    opacity: 0;
    animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-up {
    opacity: 0;
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.from-left {
    transform: translateX(-40px);
}

.animate-on-scroll.from-left.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.from-right {
    transform: translateX(40px);
}

.animate-on-scroll.from-right.is-visible {
    transform: translateX(0);
}

/* 动画延迟 */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    font-size: 14px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #8b0000;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== 顶部导航 ==================== */
.header {
    background: #fff;
    border-bottom: 3px solid #e94560;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 40px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.info-item i {
    color: #e94560;
    font-size: 14px;
}

.header-main {
    padding: 22px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.25);
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-100%) rotate(45deg);
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.logo:hover .logo-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.35);
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 11px;
    color: #888;
    margin: 4px 0 0 0;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu a {
    color: #1a1a2e;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-menu a span {
    position: relative;
    z-index: 1;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #e94560;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    background: rgba(233, 69, 96, 0.08);
    color: #e94560;
}

.nav-menu a:hover i {
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: 60%;
}

.nav-menu a.active {
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
}

.nav-menu a.active::before {
    width: 60%;
}

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(233, 69, 96, 0.08);
    border-radius: 8px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 14px;
}

.user-info i {
    color: #e94560;
    font-size: 18px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.btn-outline {
    background: transparent;
    color: #e94560;
    border: 2px solid #e94560;
}

.btn-outline:hover {
    background: #e94560;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

/* ==================== 主内容区域 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* ==================== Banner ==================== */
.banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(66, 135, 245, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(66, 135, 245, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(233, 69, 96, 0.1));
    border: 1px solid rgba(233, 69, 96, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 25px;
    animation: fadeInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.banner-badge i {
    color: #e94560;
}

.banner h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.2s;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 40px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.4s;
    opacity: 0;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s;
    opacity: 0;
}

.btn-white {
    background: #fff;
    color: #1a1a2e;
    border: none;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    border-color: #fff;
}

.banner-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.8s;
    opacity: 0;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    opacity: 0.9;
}

.feature-point i {
    color: #e94560;
}

/* Banner装饰元素 */
.banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: float 10s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: 3s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-delay: 6s;
}

.floating-icon {
    position: absolute;
    font-size: 40px;
    color: rgba(233, 69, 96, 0.15);
    animation: floatIcon 12s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

.icon-3 {
    top: 60%;
    right: 25%;
    animation-delay: 8s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ==================== 课程模块区域 ====================*/
.modules-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #0f3460);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 16px;
    margin-top: 25px;
    font-weight: 400;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.module-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.module-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.03), transparent);
    transition: left 0.6s ease;
}

.module-card:hover::after {
    left: 100%;
}

.module-card:hover {
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.3);
    transform: translateY(-10px);
}

.module-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #e94560;
    font-size: 36px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.module-card:hover .module-icon {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-color: #e94560;
    color: #fff;
    transform: rotateY(360deg) scale(1.1);
}

.module-card h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.module-card:hover h3 {
    color: #e94560;
}

.module-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.module-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #888;
}

.module-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.module-meta i {
    color: #e94560;
}

.module-progress {
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: #666;
}

.module-card .btn {
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    font-size: 14px;
    border-radius: 6px;
}

.module-card .btn:hover {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    transform: scale(1.02);
}

.module-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.module-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e8e8e8;
}

.module-card.disabled::before {
    transform: scaleX(0);
}

.module-card.disabled .btn {
    background: #ccc;
}

/* ==================== 数据统计区域 ==================== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #e94560;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(233, 69, 96, 0.3);
    transform: scale(1.1);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.stat-number span {
    font-size: 26px;
    font-weight: 400;
    opacity: 0.8;
}

.stat-label {
    font-size: 16px;
    opacity: 0.95;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 300;
}

/* ==================== 特性展示 ==================== */
.features-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-item {
    background: #fff;
    padding: 45px 35px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #0f3460);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    box-shadow: 0 15px 45px rgba(233, 69, 96, 0.12);
    transform: translateY(-8px);
    border-color: rgba(233, 69, 96, 0.2);
}

.feature-icon-wrapper {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: #e94560;
    transition: all 0.4s ease;
    border: 2px solid #dee2e6;
}

.feature-item:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    transform: rotateY(360deg) scale(1.1);
    border-color: #e94560;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: #e94560;
}

.feature-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* ==================== 学员评价区域 ==================== */
.testimonials-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px 35px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #e8e8e8;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    color: rgba(233, 69, 96, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #dee2e6;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ==================== 登录页面 ==================== */
.login-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.04) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: pulse 6s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: pulse 6s ease-in-out infinite 3s;
}

.login-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s linear infinite;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 34px;
    position: relative;
    z-index: 1;
}

.login-header h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.login-header p {
    opacity: 0.95;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.login-form {
    padding: 45px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #1a1a2e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #e94560;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid #dee2e6;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 6px;
}

.form-control:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
    transform: translateY(-2px);
}

.form-control.error {
    border-color: #c41e3a;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-message {
    color: #c41e3a;
    font-size: 12px;
    margin-top: 6px;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.35);
}

.login-btn:active {
    transform: translateY(0);
}

.login-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.login-links a {
    color: #666;
    font-size: 13px;
}

.login-links a:hover {
    color: #e94560;
}

/* ==================== 教学模块页面 ==================== */
.module-page {
    padding: 30px 0;
}

.module-header {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 50px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.module-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse 5s ease-in-out infinite;
}

.module-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.module-header h2 i {
    margin-right: 15px;
    opacity: 0.95;
}

.module-header p {
    font-size: 16px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.content-list {
    display: grid;
    gap: 30px;
}

.content-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.content-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e94560, #ff6b6b);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.content-item:hover::before {
    transform: scaleY(1);
}

.content-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.03), transparent);
    transition: left 0.6s ease;
}

.content-item:hover::after {
    left: 100%;
}

.content-item:hover {
    box-shadow: 0 15px 45px rgba(233, 69, 96, 0.12);
    transform: translateX(8px);
    border-color: rgba(233, 69, 96, 0.2);
}

.content-item h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid #e94560;
    font-weight: 700;
    transition: color 0.3s ease;
}

.content-item h3 i {
    color: #e94560;
    margin-right: 12px;
    opacity: 0.85;
}

.content-item:hover h3 {
    color: #e94560;
}

.content-item .content-text {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 15px;
}

.video-container {
    background: #000;
    border: 1px solid #e8e8e8;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.video-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==================== 底部 ==================== */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 25px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e94560;
    font-weight: 700;
}

.footer-section ul li {
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-section ul li a {
    color: #aaa;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #e94560;
    padding-left: 8px;
}

.footer-section p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
}

/* ==================== 消息提示 ==================== */
.alert {
    padding: 16px 22px;
    border: 1px solid;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    border-radius: 6px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 8px;
    }

    .top-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .user-actions {
        width: 100%;
        justify-content: center;
    }

    .user-info {
        flex: 1;
        justify-content: center;
    }
    
    .banner h2 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 16px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .banner-features {
        gap: 20px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 42px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .login-box {
        margin: 20px;
    }
    
    .decoration-circle {
        display: none;
    }

    .floating-icon {
        display: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 22px;
    }
    
    .logo-text p {
        font-size: 10px;
    }

    .nav-menu a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .nav-menu a span {
        font-size: 13px;
    }
    
    .user-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .banner {
        padding: 60px 0 50px;
    }
    
    .banner h2 {
        font-size: 30px;
    }

    .banner p {
        font-size: 14px;
    }

    .banner-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 28px;
    }
}
