/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffd700;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo .tagline {
    color: #e0e0e0;
    font-size: 12px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover {
    color: #ffd700;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

/* 主要内容区域 */
.main-content {
    padding-top: 20px;
}

/* 内页标题区域 */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-desc {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 轮播推荐区 */
.hero-section {
    margin-bottom: 50px;
}

.hero-section h2 {
    color: #fff;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hero-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    color: #fff;
}

.hero-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 14px;
    color: #e0e0e0;
}

/* 内容区块 */
.content-section {
    margin-bottom: 60px;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(42, 82, 152, 0.3) 100%);
    padding: 40px 0;
    border-radius: 10px;
}

.section-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.section-desc {
    color: #e0e0e0;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于内容区域 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* 视频网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-grid > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 500;
}

.video-meta {
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
}

.video-desc {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.service-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #ffd700;
}

.service-item h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-item p {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

/* 流程内容 */
.process-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-item {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #ffd700;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-item h3 {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 10px;
}

.process-item p {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

/* 特色介绍 */
.features-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 0;
    margin-top: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #ffd700;
}

.feature-item h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

/* 内容说明区域 */
.info-section {
    background: #1a1a1a;
    padding: 50px 0;
    margin-top: 50px;
    border-radius: 10px;
}

.info-section h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.info-section p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom p {
    color: #888;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #1e3c72;
        transition: left 0.3s;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav ul li {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #2a5298;
    }

    .nav ul li a {
        display: block;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo h1 {
        font-size: 24px;
    }

    .hero-section h2 {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .hero-carousel {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-desc {
        font-size: 14px;
        padding: 0 10px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-desc {
        font-size: 14px;
    }

    .info-section h2 {
        font-size: 24px;
    }

    .info-section p {
        font-size: 14px;
    }

    .about-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero-section h2 {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-info h3 {
        font-size: 16px;
    }

    .video-desc {
        font-size: 12px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card,
.feature-item,
.hero-item,
.service-item {
    animation: fadeIn 0.6s ease-out;
}
