/* 奇酷教育官网样式 - 简化版 */

/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1f2545;
    margin: 0;
    padding: 140px 0 0 0;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 45%, #f2f7ff 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.badge.bg-gradient {
    background: linear-gradient(135deg, #4f8dff 0%, #2ed8ff 100%);
    color: #fff;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 12px 26px rgba(56, 163, 255, 0.3);
}

/* 炫酷背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(103, 171, 255, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 78% 18%, rgba(133, 225, 255, 0.24) 0%, transparent 60%),
        radial-gradient(circle at 45% 35%, rgba(255, 182, 128, 0.22) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
    animation: backgroundShift 22s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 顶部导航体系 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 45px rgba(24, 64, 138, 0.18);
}

.topbar {
    background: linear-gradient(90deg, rgba(33, 115, 232, 0.92), rgba(76, 201, 240, 0.88));
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.98rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-info span {
    display: inline-flex;
    align-items: center;
    margin-right: 1.25rem;
    font-weight: 500;
    gap: 0.45rem;
}

.topbar-schedule {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.topbar .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.topbar i,
.topbar-schedule i {
    color: #ffd27f;
}

.topbar .btn-light {
    border-radius: 999px;
    padding: 0.35rem 1.25rem;
    box-shadow: none;
}

.topbar .btn-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.25);
}

.navbar {
    background: rgba(28, 88, 192, 0.95) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    padding: 0.8rem 0;
}

.navbar.scrolled {
    background: rgba(25, 78, 172, 0.98) !important;
    box-shadow: 0 18px 50px rgba(25, 70, 160, 0.28);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    margin: 0 0.65rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.3rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f8dff, #2ed8ff);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

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

/* 轮播图样式 */
.hero-section {
    position: relative;
    margin-top: 0;
    min-height: 90vh;
    height: 90vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 110, 255, 0.25), rgba(255, 255, 255, 0));
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(135, 196, 255, 0.25), transparent 70%),
                radial-gradient(circle at 70% 18%, rgba(255, 194, 118, 0.18), transparent 55%),
                linear-gradient(110deg, rgba(230, 244, 255, 0.05), rgba(255, 255, 255, 0.25));
    z-index: 1;
    pointer-events: none;
}

#heroCarousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    filter: brightness(1);
    width: 100%;
    height: 100%;
}

#heroCarousel .carousel-inner {
    width: 100%;
    height: 100%;
}

#heroCarousel .carousel-item {
    width: 100%;
    height: 100%;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-panel h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-overlay-panel p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* 允许轮播控制按钮可点击：hero 内容层不拦截点击（按钮/链接除外） */
.hero-content {
    pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-content input,
.hero-content textarea,
.hero-content select,
.hero-content [role="button"] {
    pointer-events: auto;
}

.hero-content-inner {
    position: relative;
}

.hero-copy {
    color: #15305c;
}

.hero-kicker {
    letter-spacing: 4px;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #3b6fe2;
}

.hero-title {
    font-weight: 800;
    margin: 1rem 0;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.08rem;
    color: #2f3e6d;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-btn {
    border-radius: 999px;
    padding: 0.85rem 2.4rem;
    box-shadow: 0 20px 45px rgba(0, 102, 255, 0.35);
    backdrop-filter: blur(6px);
}

.hero-btn.btn-outline-light {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #1f2545;
    box-shadow: 0 14px 30px rgba(31, 61, 120, 0.25);
}

.hero-btn.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #0f1c39;
}

.hero-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    color: inherit;
}

.hero-partners-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1a73e8, #2ed8ff);
    color: #ffffff;
    padding: 0.55rem 1.3rem;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 16px 30px rgba(26, 115, 232, 0.35);
}

.hero-partners-label i {
    font-size: 1rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.partner-logos span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: transparent;
    color: #1c3c7a;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
    overflow: visible;
    min-height: auto;
}

.partner-logos span::before {
    display: none;
}

.partner-logos span::after {
    display: none;
}

.partner-logos span:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Logo图片样式优化 */
.partner-logos span img,
.partner-logos .partner-link img {
    max-height: 36px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15) brightness(0.98);
    transition: all 0.3s ease;
    display: block;
}

.partner-logos span:hover img,
.partner-logos .partner-link:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

/* 链接样式 */
.partner-logos .partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.partner-logos span:has(img) {
    padding: 0.4rem 0.8rem;
    min-width: auto;
}

.hero-partners span {
    background: transparent;
    color: #2350a8;
}

.hero-stats {
    display: flex;
    align-items: stretch;
}

/* 合并的统计卡片 */
.hero-stat-card-combined {
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(90, 143, 255, 0.22);
    box-shadow: 0 20px 50px rgba(31, 88, 172, 0.18);
    backdrop-filter: blur(10px);
    color: #1f2b55;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s ease;
}

.hero-stat-card-combined.animated-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-stat-card-combined:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(6, 15, 32, 0.45);
}

.hero-stat-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(90, 143, 255, 0.15);
}

.hero-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-stat-item .stat-label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(42, 103, 196, 0.72);
    margin-bottom: 0.5rem;
}

.hero-stat-item .stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a73e8;
    margin: 0.5rem 0;
    display: block;
}

.hero-stat-item p {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    color: #4a5d88;
    line-height: 1.5;
}

/* 保留原有的hero-stat-card样式，用于动态加载的数据 */
.hero-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border-radius: 22px;
    padding: 1.75rem;
    border: 1px solid rgba(90, 143, 255, 0.22);
    box-shadow: 0 20px 50px rgba(31, 88, 172, 0.18);
    backdrop-filter: blur(10px);
    color: #1f2b55;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s ease;
}

.hero-stat-card .stat-label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(42, 103, 196, 0.72);
}

.hero-stat-card .stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a73e8;
    margin: 0.75rem 0;
}

.hero-stat-card p {
    margin: 0;
    font-size: 1rem;
    color: #4a5d88;
}

.hero-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(6, 15, 32, 0.45);
}

.hero-stat-card.animated-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-stagger {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease forwards;
}

.animate-stagger.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-stagger:nth-child(1) { animation-delay: 0.2s; }
.animate-stagger:nth-child(2) { animation-delay: 0.35s; }
.animate-stagger:nth-child(3) { animation-delay: 0.5s; }
.animate-stagger.hero-actions { animation-delay: 0.65s; }
.animate-stagger.hero-partners { animation-delay: 0.8s; }

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.65);
    border-radius: 18px;
    padding: 2.2rem;
    bottom: 3.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.carousel-caption .btn {
    background: #007bff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 课程卡片样式 */
.course-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.course-tags span {
    background: rgba(26, 115, 232, 0.12);
    color: #1a4d9f;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.18);
}

.course-card:hover .card-img-top {
    transform: scale(1.05);
}

.course-toggle {
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
}

/* 按钮样式 */
.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 标题样式 */
.section-heading {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-heading .subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: #1a73e8;
    font-weight: 600;
}

.section-heading .lead {
    color: #445680;
    font-size: 1.05rem;
}

.display-4 {
    color: #1a2e53;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(126, 175, 255, 0.16);
    box-shadow: 0 16px 40px rgba(50, 103, 188, 0.14);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(50, 103, 188, 0.22);
}

.card .card-title {
    font-size: 1.28rem;
    color: #1f2c53;
}

.card .card-text {
    color: #465b8b;
    font-size: 1rem;
    line-height: 1.7;
}

/* 表单样式 */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 页脚样式 */
footer {
    background: #343a40 !important;
    color: #fff;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

/* ============================================
   响应式设计 - 全面优化
   ============================================ */

/* 平板设备 (768px - 992px) */
@media (max-width: 992px) {
    body {
        padding-top: 160px;
    }
    
    .topbar {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .topbar-info span {
        margin-right: 0.8rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
    
    .section-heading {
        margin-bottom: 2.5rem;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}

/* 移动设备 (最大宽度 768px) */
@media (max-width: 768px) {
    /* 统一首页与二级页面宽度：锁定为视口宽，避免宽度不一致 */
    html {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    body {
        width: 100%;
        max-width: 100vw;
        padding-top: 180px;
        font-size: 15px;
    }
    
    /* 顶部栏优化 - 预约体验课按钮贴屏幕右侧 */
    .topbar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
    
    .topbar .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .topbar-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.3rem;
        flex: 1;
        min-width: 0;
    }
    
    .topbar-info span {
        margin-right: 0;
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .topbar-actions {
        width: auto;
        flex-shrink: 0;
        flex-wrap: nowrap;
        justify-content: flex-end;
        margin-top: 0 !important;
        margin-left: auto;
        padding-right: 0;
        gap: 0.35rem;
    }
    
    .topbar-schedule {
        font-size: 0.75rem;
    }
    
    .topbar .btn-light {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        min-height: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
    
    /* 导航栏优化 - 折叠按钮贴屏幕右侧 */
    .navbar {
        padding: 0.6rem 0;
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.2);
        border: none;
        box-shadow: none;
    }
    
    .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
        padding: 0.6rem 1.5rem;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    
    /* Hero Section 优化 */
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }

    /* 手机端轮播区域高度按 16:9 比例适配，减少上下留白 */
    .hero-section {
        height: 56.25vw;
        min-height: 220px;
        max-height: 58vh;
    }
    
    #heroCarousel {
        position: absolute;
        inset: 0;
    }
    
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        height: 100%;
        background: #0f1c39;
    }
    
    #heroCarousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-content {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .hero-kicker {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin: 0.8rem 0;
        line-height: 1.3;
    }
    
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .hero-btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        margin-top: 2rem;
    }
    
    .hero-stat-card-combined {
        padding: 1.25rem;
    }
    
    .hero-stat-item .stat-value {
        font-size: 1.8rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-stat-item p {
        font-size: 0.85rem;
    }

    .hero-overlay-panel {
        display: none;
    }
    
    /* 区块标题优化 */
    .section-heading {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .section-heading .subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .section-heading .lead {
        font-size: 0.95rem;
    }
    
    /* 卡片优化 */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card .card-title {
        font-size: 1.15rem;
    }
    
    .card .card-text {
        font-size: 0.9rem;
    }
    
    /* 课程卡片 */
    .course-card .card-img-top {
        height: 180px;
    }
    
    /* 新闻卡片 */
    .news-card {
        margin-bottom: 2rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-sidebar {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* 按钮优化 - 触摸友好 */
    .btn {
        min-height: 44px; /* iOS 推荐的最小触摸目标 */
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-sm {
        min-height: 36px;
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    /* 表格优化 - 横向滚动 */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 容器优化 */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* 间距优化 */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2.5rem !important;
    }
    
    .mt-5 {
        margin-top: 2.5rem !important;
    }
}

/* 加载动画 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.loading-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin: 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 统计数据样式 */
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f1f6ff 100%);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(50, 103, 188, 0.16);
    border: 1px solid rgba(126, 175, 255, 0.18);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    color: #1a73e8;
    font-size: 2.2rem;
}

.stat-item p {
    color: #435886;
    font-size: 0.98rem;
}

.number-counter {
    display: inline-block;
    transition: all 0.3s ease;
}

.number-counter.animating {
    animation: countUp 0.8s ease-out;
}

@keyframes countUp {
    from { 
        opacity: 0; 
        transform: scale(0.5); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* 核心亮点 */
#highlights {
    background: linear-gradient(135deg, rgba(245, 250, 255, 0.85), rgba(255, 255, 255, 0.95));
}

.highlight-card {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
    border-radius: 22px;
    padding: 2.25rem;
    box-shadow: 0 18px 40px rgba(31, 88, 172, 0.12);
    border: 1px solid rgba(126, 175, 255, 0.18);
    color: #1d2d53;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.12), transparent 70%);
    transform: rotate(15deg);
}

.highlight-card i {
    font-size: 2.2rem;
    color: #1a73e8;
    margin-bottom: 1rem;
}

.highlight-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.highlight-card p {
    color: #435886;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-card .feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.highlight-card .feature-tags span {
    background: rgba(26, 115, 232, 0.12);
    color: #1a4d9f;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.22);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 60px rgba(31, 88, 172, 0.2);
}

/* 企业服务解决方案 */
#solutions {
    background: #0f1c39;
    position: relative;
    overflow: hidden;
    color: #e9f1ff;
}

#solutions::before,
#solutions::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.25), transparent 70%);
    z-index: 0;
}

#solutions::before {
    top: -160px;
    left: -120px;
}

#solutions::after {
    bottom: -160px;
    right: -120px;
}

#solutions .enterprise-feature {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    position: relative;
    z-index: 1;
}

#solutions .enterprise-feature h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

#solutions .enterprise-feature p {
    color: rgba(233, 241, 255, 0.85);
}

#solutions .enterprise-feature ul {
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(233, 241, 255, 0.85);
}

#solutions .enterprise-feature ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

#solutions .enterprise-feature ul li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: #58d4ff;
    font-size: 0.75rem;
}

/* 项目流程 */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
}

.process-step {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    position: relative;
    box-shadow: 0 15px 35px rgba(12, 38, 76, 0.08);
    transition: all 0.3s ease;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -18px;
    left: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #20c997);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.process-step h5 {
    margin-top: 1.5rem;
    font-weight: 600;
    color: #0f1c39;
}

.process-step p {
    color: #5b6b8c;
    margin-bottom: 0;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(12, 38, 76, 0.12);
}

/* 学员就业表格滚动样式 */
.employment-table-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.employment-table-header {
    display: grid;
    /* 列顺序：姓名 / 入职单位 / 月薪 / 地点 / 专业 / 学历 / 状态 / 时间 */
    grid-template-columns: 0.9fr 2.4fr 0.9fr 0.9fr 1.1fr 0.9fr 0.8fr 0.8fr;
    background: #007bff;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-cell {
    padding: 1rem 0.75rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cell:last-child {
    border-right: none;
}

.employment-table-body {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.employment-table-content {
    animation: scrollDown 70s linear infinite;
}

.table-row {
    display: grid;
    /* 与表头保持一致 */
    grid-template-columns: 0.9fr 2.4fr 0.9fr 0.9fr 1.1fr 0.9fr 0.8fr 0.8fr;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background-color: #f8f9fa;
}

.table-row:nth-child(even) {
    background-color: #f8f9fa;
}

.table-row:nth-child(even):hover {
    background-color: #e9ecef;
}

.table-cell {
    padding: 1rem 0.75rem;
    text-align: center;
    border-right: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #333;
}

.table-cell:last-child {
    border-right: none;
}

.table-cell.name {
    font-weight: 600;
    color: #007bff;
}

.table-cell.education {
    color: #6c757d;
}

.table-cell.status {
    color: #28a745;
    font-weight: 500;
}

.table-cell.major {
    color: #6c757d;
    text-align: left;
    justify-content: flex-start;
}

.table-cell.company {
    color: #495057;
    text-align: left;
    justify-content: flex-start;
    white-space: nowrap;          /* 公司名称尽量单行展示 */
    overflow: hidden;
    text-overflow: ellipsis;      /* 超出时显示省略号，避免挤压其他列 */
}

.table-cell.salary {
    color: #28a745;
    font-weight: 700;
    font-size: 1rem;
}

.table-cell.location {
    color: #6c757d;
}

.table-cell.date {
    color: #6c757d;
    font-size: 0.85rem;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 暂停滚动效果 */
.employment-table-body:hover .employment-table-content {
    animation-play-state: paused;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .employment-table-header,
    .table-row {
        /* 略缩窄其他列，仍保证入职单位更宽 */
        grid-template-columns: 0.9fr 2.2fr 0.8fr 0.8fr 1fr 0.8fr 0.7fr 0.7fr;
    }
    
    .header-cell,
    .table-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .employment-table-header,
    .table-row {
        grid-template-columns: 0.9fr 2fr 0.8fr 0.8fr 0.9fr 0.7fr 0.7fr 0.7fr;
    }
    
    .header-cell,
    .table-cell {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .employment-table-container {
        overflow-x: auto;
    }
    
    .employment-table-header,
    .table-row {
        /* 第二列入职单位加宽，配合横向滚动 */
        grid-template-columns: 80px 140px 60px 80px 100px 70px 60px 80px;
        min-width: 680px;
    }
    
    .header-cell,
    .table-cell {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }
    
    .employment-table-body {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .employment-table-header,
    .table-row {
        grid-template-columns: 60px 120px 50px 70px 90px 60px 50px 70px;
        min-width: 560px;
    }
    
    .header-cell,
    .table-cell {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .employment-table-body {
        height: 300px;
    }
}

/* 客户评价 */
#testimonials {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 246, 251, 0.9) 100%);
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 18px 40px rgba(12, 38, 76, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: rgba(13, 110, 253, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(13, 110, 253, 0.35);
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #0f1c39;
}

.testimonial-title {
    font-size: 0.9rem;
    color: #5b6b8c;
}

.testimonial-content {
    color: #445372;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-right: 1rem;
    gap: 0.35rem;
}

/* 资讯中心样式 */
.news-featured {
    position: relative;
}

.news-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(50, 103, 188, 0.16);
    border: 1px solid rgba(126, 175, 255, 0.18);
    color: #1f2c53;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(40, 167, 69, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.news-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    color: #1f2c53;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-category {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #173468;
}

.news-excerpt {
    color: #4a5f8d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4b6396;
}

.news-stats {
    display: flex;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-cta {
    margin-top: 1.5rem;
}

.news-cta .badge {
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.news-stats i {
    color: #007bff;
}

/* 资讯侧边栏 */
.news-sidebar {
   /*  background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
    border: 1px solid rgba(126, 175, 255, 0.2);
    box-shadow: 0 18px 42px rgba(50, 103, 188, 0.12); */
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #007bff;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    background: rgba(26, 115, 232, 0.08);
    border: 1px solid transparent;
}

.news-item:hover {
    background: rgba(26, 115, 232, 0.16);
    border-color: rgba(26, 115, 232, 0.24);
    transform: translateX(5px);
}

.news-thumb {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.1);
}

.news-info {
    flex: 1;
}

.news-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #173468;
    margin-bottom: 0.25rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(66, 99, 150, 0.75);
}

/* 资讯分类卡片 */
.news-categories {
    margin-top: 3rem;
}

.category-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.9rem;
    border: 1px solid rgba(26, 115, 232, 0.18);
    box-shadow: 0 16px 38px rgba(26, 72, 160, 0.14);
    color: #1f2c53;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% -10%, rgba(104, 181, 255, 0.25), transparent 55%);
    z-index: -1;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(26, 72, 160, 0.2);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.16), rgba(94, 202, 255, 0.18));
    color: #1a73e8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 12px 24px rgba(26, 115, 232, 0.16);
}

.category-card h5 {
    color: #1f2c53;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.category-card p {
    color: #4a5f8d;
    font-size: 0.98rem;
    margin: 0;
}

.category-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
}

.category-count {
    background: linear-gradient(135deg, #1a73e8, #2ed8ff);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 1.05rem;
    border-radius: 999px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.category-more {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.category-more i {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-more i {
    transform: translateX(4px);
}

.category-count i {
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 180px;
    }

    .topbar {
        font-size: 0.8rem;
    }

    .hero-overlay-panel {
        display: none;
    }
    
    .news-card {
        margin-bottom: 2rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-sidebar {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* 关于我们 */
.about-intro h3 {
    font-size: 1.8rem;
    color: #0f1c39;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 1rem;
}

.about-stat {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(12, 38, 76, 0.08);
    text-align: left;
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.about-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d6efd;
}

.about-stat-label {
    display: block;
    font-size: 0.85rem;
    color: #5b6b8c;
    margin-top: 0.35rem;
}

/* 合并的统计卡片样式 */
.about-stats-single {
    margin: 1.5rem 0;
}

.about-stat-combined {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(12, 38, 76, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.08);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-stat-combined .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.about-stat-combined .stat-item .about-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.5rem;
}

.about-stat-combined .stat-item .about-stat-label {
    font-size: 0.95rem;
    color: #5b6b8c;
    margin-top: 0;
}

@media (max-width: 768px) {
    .about-stat-combined {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .about-stat-combined .stat-item {
        width: 100%;
        border-bottom: 1px solid rgba(13, 110, 253, 0.1);
        padding-bottom: 1rem;
    }
    
    .about-stat-combined .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.about-visual {
    position: relative;
}

.about-visual img {
    border-radius: 24px;
}

.about-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 28, 57, 0.9);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    max-width: 320px;
    box-shadow: 0 12px 30px rgba(15, 28, 57, 0.4);
}

.about-overlay-card p {
    font-size: 0.9rem;
    color: rgba(233, 241, 255, 0.85);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 576px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .about-overlay-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
}

/* 高级动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 123, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 123, 255, 0.6); }
}

/* 滚动动画类 */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* 浮动效果 */
.float {
    animation: float 3s ease-in-out infinite;
}

/* 发光效果 */
.glow {
    animation: glow 2s ease-in-out infinite;
}

/* 卡片悬停效果增强 */
.card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card::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;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 按钮炫酷效果 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 数字计数动画 */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.number-counter {
    animation: countUp 0.8s ease-out;
}

/* 粒子效果背景 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 鼠标跟随效果 */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 企业级特性 */
.enterprise-feature {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.enterprise-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(40, 167, 69, 0.05));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enterprise-feature:hover::before {
    opacity: 1;
}

.enterprise-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
}

/* 数据可视化效果 */
.data-visualization {
    position: relative;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
}

.data-visualization::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 鼠标跟随效果增强 */
.cursor-follower.active {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(0, 123, 255, 0.6), transparent);
}

/* 加载动画增强 */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .enterprise-feature:hover {
        transform: translateY(-3px);
    }
    
    .cursor-follower {
        display: none;
    }
    
    .particles {
        display: none;
    }
}

.hero-stat-card.animated-in {
    opacity: 1;
    transform: translateY(0);
}

.highlight-card,
.news-card,
.news-item {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

.highlight-card.animated-in,
.news-card.animated-in,
.news-item.animated-in {
    opacity: 1;
    transform: translateY(0);
}

/* 讲师轮播样式 */
.teacher-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.teacher-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.teacher-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.teacher-carousel-item {
    flex: 0 0 33.333333%; /* 每行显示3个 */
    padding: 0 15px;
    box-sizing: border-box;
    min-width: 0; /* 防止flex项目溢出 */
}

.teacher-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.teacher-carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    z-index: 11;
}

.teacher-carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.teacher-carousel-btn i {
    font-size: 1.2rem;
    color: #333;
}

.teacher-carousel-btn.prev-btn {
    left: -25px;
}

.teacher-carousel-btn.next-btn {
    right: -25px;
}

.teacher-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.teacher-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.teacher-indicator.active {
    background: #007bff;
    transform: scale(1.2);
}

.teacher-indicator:hover {
    background: rgba(0, 123, 255, 0.7);
    transform: scale(1.1);
}

/* 讲师卡片样式优化 */
.teacher-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.teacher-card[style*="cursor: pointer"] {
    transition: all 0.3s ease;
}

.teacher-card[style*="cursor: pointer"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.teacher-card img {
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.teacher-card .card-img-top {
    transition: transform 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.teacher-card:hover .card-img-top {
    transform: scale(1.05);
}

.teacher-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.teacher-card .text-muted {
    color: #6c757d !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.teacher-card .card-text {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25) !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .teacher-carousel-item {
        flex: 0 0 50%; /* 中等屏幕显示2个 */
    }
    
    .teacher-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .teacher-carousel-btn.prev-btn {
        left: -20px;
    }
    
    .teacher-carousel-btn.next-btn {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .teacher-carousel-item {
        flex: 0 0 100%; /* 小屏幕显示1个 */
    }
    
    .teacher-carousel-controls {
        display: none; /* 小屏幕隐藏控制按钮 */
    }
    
    .teacher-carousel-indicators {
        margin-top: 1rem;
    }
    
    .teacher-card .card-img-top {
        width: 100px !important;
        height: 100px !important;
    }
}

/* 因材施教、分级教学 - 班级信息样式 */
.class-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.class-card:hover {
    transform: translateY(-4px);
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.class-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 1rem;
}

.class-status.status-full {
    background: #ff6b6b;
    color: #fff;
}

.class-status.status-available {
    background: #51cf66;
    color: #fff;
}

.class-info {
    flex: 1;
}

.class-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.class-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* 学习资源列表样式 */
.resource-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.resource-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.resource-item i {
    font-size: 1.5rem;
    min-width: 30px;
}

.resource-item span {
    color: #2c3e50;
    font-weight: 500;
}

/* 学员作品展示样式 */
.work-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.work-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-card:hover .work-overlay {
    transform: translateY(0);
}

.work-category {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.work-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* QQ群展示样式 */
.qq-group-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qq-group-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.qq-icon {
    margin-bottom: 1rem;
}

.group-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.group-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
}

.qq-group-card .btn {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

/* 合作企业展示样式 */
.partner-company {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.partner-company:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.company-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.company-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* 友情链接样式 */
.friend-links-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.friend-links-title {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.friend-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.friend-link:hover {
    color: #007bff;
    border-color: #007bff;
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* 响应式优化 - 补充 */
@media (max-width: 768px) {
    .class-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .class-status {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .resource-item {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .work-image {
        height: 150px;
    }
    
    .qq-group-card {
        padding: 1rem;
    }
    
    .partner-company {
        padding: 0.75rem;
    }
    
    .friend-links-list {
        gap: 0.5rem;
    }
    
    .friend-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }
    
    /* 合作企业logo响应式优化 */
    .partner-logos {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .partner-logos span {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .partner-logos span img,
    .partner-logos .partner-link img {
        max-height: 30px;
        max-width: 110px;
    }
    
    .hero-partners-label {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    /* 关于我们区块 */
    .about-intro h3 {
        font-size: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-stat {
        padding: 1rem;
    }
    
    .about-stat-number {
        font-size: 1.5rem;
    }
    
    /* 客户评价 */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-header img {
        width: 50px;
        height: 50px;
    }
    
    /* 轮播控制按钮 */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;                 /* 垂直居中到轮播图中间 */
        bottom: auto;
        transform: translateY(-50%);
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    /* 子页面顶部间距与 body 同步 */
    [style*="padding-top: 140px"] {
        padding-top: 180px !important;
    }
    
    /* 企业服务流程 - 移动端竖排 */
    .process-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    .process-step {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 1.25rem 1rem;
    }
    .process-step::before {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .process-step h5 {
        font-size: 1.1rem;
    }
    .process-step p {
        font-size: 0.9rem;
    }
    
    /* 联系我们表单 - 移动端全宽 */
    .contact-wrapper .row {
        flex-direction: column;
    }
    .contact-info,
    .contact-form-card {
        max-width: 100%;
        width: 100%;
    }
    #contact .form-control {
        font-size: 16px; /* 防止 iOS 缩放 */
    }
    #contact .btn-primary,
    #contact .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }
    #contact .row.g-3 .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* 页脚移动端 */
    .footer-column {
        margin-bottom: 1.25rem;
        text-align: center;
    }
    .footer-column h5,
    .footer-column h6 {
        font-size: 1.1rem;
    }
    .footer-column ul {
        padding-left: 0;
    }
    .footer-bottom p {
        font-size: 0.8rem;
        text-align: center;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    .footer-social a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 企业服务区块卡片 */
    #solutions .enterprise-feature {
        padding: 1.25rem;
    }
    #solutions .enterprise-feature h5 {
        font-size: 1.1rem;
    }
    #solutions .enterprise-feature p,
    #solutions .enterprise-feature ul {
        font-size: 0.9rem;
    }
    
    /* 核心亮点卡片 */
    .highlight-card {
        padding: 1.5rem;
    }
    .highlight-card h4 {
        font-size: 1.15rem;
    }
    .highlight-card p {
        font-size: 0.9rem;
    }
    
    /* 面包屑 */
    .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.35rem;
    }
    
    /* 表单标签与输入 - 防缩放、易点击 */
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important; /* 防止 iOS 输入时页面放大 */
        min-height: 44px;
    }
    textarea.form-control {
        min-height: 100px;
    }
    
    /* 通用表格横向滚动提示 */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        margin-bottom: 1rem;
    }
    .table {
        font-size: 0.9rem;
    }
    
    /* 代码块 / 面试题库 - 移动端横向滚动 */
    pre, code, .prism-tomorrow, [class*="language-"] {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    pre {
        padding: 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

/* 小屏手机 (最大宽度 576px) */
@media (max-width: 576px) {
    html {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    body {
        width: 100%;
        max-width: 100vw;
        padding-top: 200px;
        font-size: 14px;
    }
    
    /* 子页面顶部间距 */
    [style*="padding-top: 140px"] {
        padding-top: 200px !important;
    }
    
    .topbar {
        font-size: 0.7rem;
        padding: 0.35rem 0;
    }
    
    .topbar-info span {
        font-size: 0.7rem;
    }
    
    .topbar-schedule {
        font-size: 0.7rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        height: 56.25vw;
        min-height: 200px;
        max-height: 55vh;
    }
    
    .hero-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-desc {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    .display-5 {
        font-size: 1.3rem;
    }
    
    .section-heading {
        margin-bottom: 1.5rem;
    }
    
    .section-heading .subtitle {
        font-size: 0.7rem;
    }
    
    .section-heading .lead {
        font-size: 0.9rem;
    }
    
    .card .card-title {
        font-size: 1.05rem;
    }
    
    .card .card-text {
        font-size: 0.85rem;
    }
    
    .course-card .card-img-top {
        height: 160px;
    }
    
    .partner-logos {
        gap: 0.6rem;
    }
    
    .partner-logos span {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .partner-logos span img,
    .partner-logos .partner-link img {
        max-height: 26px;
        max-width: 90px;
    }
    
    .hero-partners {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-partners-label {
        margin-bottom: 0.75rem;
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem;
    }
    
    .hero-stat-card-combined {
        padding: 1rem;
    }
    
    .hero-stat-item .stat-value {
        font-size: 1.6rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-stat-item p {
        font-size: 0.8rem;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .btn {
        min-height: 44px;
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   触摸设备优化
   ============================================ */

/* 触摸设备优化 - 提高点击目标大小 */
@media (hover: none) and (pointer: coarse) {
    /* 触摸设备 */
    .btn,
    .nav-link,
    .dropdown-item,
    .course-toggle,
    a {
        -webkit-tap-highlight-color: rgba(26, 115, 232, 0.2);
        tap-highlight-color: rgba(26, 115, 232, 0.2);
    }
    
    /* 确保所有可点击元素有足够大的触摸目标 */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* 优化卡片点击区域 */
    .course-card,
    .news-card,
    .card {
        cursor: pointer;
    }
    
    /* 禁用hover效果在触摸设备上 */
    .course-card:hover,
    .news-card:hover,
    .card:hover {
        transform: none;
    }
}

/* 横屏优化 */
@media (max-width: 992px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .hero-btn {
        flex: 1;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-stat-card-combined,
    .course-card,
    .card {
        border-width: 0.5px;
    }
}

/* 打印样式 */
@media print {
    .main-header,
    .topbar,
    .hero-section,
    .btn,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .container {
        max-width: 100%;
    }
}
