* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.body-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: white;
    display: inline;
    margin: 0;
}

/* 头部样式 */
.header {
    position: absolute;
    top: 0;
    height: 60px;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: auto;
    height: 40px;
}

.contact-btn {
    background: linear-gradient(45deg, #2852ff, #2852ff);
    color: white;
    border: none;
    padding: 12px 24px;
    margin-top: 6px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

/* 主体区域1 */
.hero-section {
    height: 600px;
    position: relative;
    margin-top: 0px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保视频填充并裁剪 */
    display: block; /* 移除默认内联间距 */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-section .container {
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center; /* 水平居中 */
    height: 100%;
    color: white;
    max-width: 1200px; /* 可选：限制最大宽度 */
    margin: 0 auto; /* 居中容器 */
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center; /* 确保图片整体居中 */
}

.platform-icons {
    display: flex;
    flex-direction: column; /* 上下排列 */
    gap: 20px; /* 控制图片间距 */
}

.platform-icons img {
    width: 120px;
    height: auto;
    padding: 8px;
}

.hero-right {
    flex: 2;
    text-align: left; /* 确保文字左对齐 */
}

.hero-right h1 {
    font-size: 18px;
    margin-bottom: 10px;
}

.hero-right h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero-right p {
    font-size: 32px;
    opacity: 0.9;
}

/* 服务流程 */
.service-process {
    padding: 80px 0;
    background-image: url('../images/process/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex; /* 启用 Flexbox */
    align-items: center; /* 垂直居中 */
    gap: 20px; /* 图片和文字之间的间距 */
}

.step-text { /* 新增样式，控制文字上下布局 */
    display: flex;
    flex-direction: column; /* 确保文字上下排列 */
    align-items: center; /* 文字居中 */
}

.step-icon {
    flex-shrink: 0; /* 防止图片缩放 */
}

.step-icon img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.step p {
    font-size: 12px; /* 调小文字大小 */
    color: white;
    margin-bottom: 8px;
}


/* 功能区域 */
.features-section {
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.3) 0%, rgba(255, 255, 255, 0.8) 15%, rgba(255, 255, 255, 0.8) 100%);
    width: 100%;
    height: 1000px;
}

.features-body {
    margin-top: -40px;
    left: 40px;
    right: 40px;
    width: 100%-80px;
    height: 1080px;
    background-image: url('../images/features/background.png');
    background-repeat: no-repeat; /* 防止图片重复 */
    background-size: cover; /* 让图片覆盖整个区域 */
    background-position: center; /* 图片居中 */
    position: absolute;
    z-index: 2000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    opacity: 0.9;
}

.more-services {
    text-align: center;
}

.more-btn {
    background: linear-gradient(45deg, #2852ff, #2852ff);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.more-btn:hover {
    transform: translateY(-2px);
}

/* 其他服务区域 */
.other-services {
    padding: 80px 0;
    background-image: url('../images/other/background.png'), linear-gradient(135deg, rgba(0, 102, 204, 0.3) 0%, rgba(255, 255, 255, 0.8) 15%, rgba(255, 255, 255, 0.8) 85%, rgba(0, 102, 204, 0.3) 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center;
}

.other-services-title {
    color: #101013 !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    /*border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);*/
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #242424;
}

.service-item p {
    font-size: 16px;
    color: #242424;
    margin-bottom: 20px;
}

.service-btn {
    background: linear-gradient(45deg, #2852ff, #2852ff);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 14px;
}

/* 底部区域 */
.footer {
    background: #1a1a2e; /* Dark background consistent with site theme */
    color: white;
    padding: 50px 0;
    font-family: Arial, sans-serif; /* Consistent typography */
}

.container {
    max-width: 1200px; /* Matches typical container width */
    margin: 0 auto;
    padding: 0 20px; /* Adds horizontal padding */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 20px; /* Adds spacing between columns */
}

.footer-left {
    flex: 1;
    min-width: 200px; /* Ensures logo and button don’t get too cramped */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: auto;
    height: 40px;
    filter: brightness(1.2); /* Slightly brightens logo for contrast */
}

.footer-contact-btn {
    background: linear-gradient(45deg, #2852ff, #4a7bff); /* Gradient for visual appeal */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

    .footer-contact-btn:hover {
        transform: translateY(-2px); /* Slight lift on hover */
        box-shadow: 0 4px 12px rgba(40, 82, 255, 0.4); /* Subtle shadow */
    }

.footer-column {
    flex: 1;
    min-width: 150px; /* Prevents columns from shrinking too much */
    margin: 0 10px; /* Horizontal spacing */
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #64b5f6; /* Light blue for headers, matching site accents */
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li,.footer-column li a {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
    transition: color 0.2s ease; /* Smooth color transition */
}

.footer-column li:hover {
    color: #fff; /* Brightens on hover for interactivity */
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #aaa; /* Lighter gray for less emphasis */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
    padding-top: 20px;
}

/* 在线客服样式 */
.online-support {
    position: fixed;
    bottom: 50px; /* 距离底部50px */
    right: 25px; /* 距离右侧25px */
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center;
    background-color: rgba(26, 26, 46, 0.3);
    padding: 15px; /* 增加内边距 */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* 阴影效果 */
    z-index: 3000; /* 确保在最上层 */
}

.icons {
    display: flex;
    flex-direction: column; /* 垂直排列图标 */
    gap: 15px; /* 图标之间的垂直间距 */
}

.telegram-icon1, .telegram-icon2 {
    width: 64px; /* 图标宽度 */
    height: 64px; /* 图标高度 */
    background-image: url('../images/tg.png'); /* Telegram图标 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer; /* 鼠标悬停时显示手型 */
    transition: transform 0.3s ease; /* 悬停效果过渡 */
}

.support-text {
    margin-top: 15px; /* 与图标的间距 */
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center; /* 文字居中 */
}

/* 悬停效果 */
.telegram-icon1:hover, .telegram-icon2:hover {
    transform: scale(1.1); /* 悬停时放大 */
}



/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 15px; /* 减少间距 */
        align-items: center; /* 强制垂直居中 */
        justify-content: center; /* 强制水平居中 */
        width: 100%; /* 确保占满宽度 */
        height: 100% !important;
        padding: 10px 0; /* 添加上下 padding 避免贴边 */
    }

    .service-process {
    }

    .process-steps {
        flex-direction: column;
        align-items: center; /* 水平居中 */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /*底部区域*/
    .footer-content {
        flex-direction: column;
        align-items: center; /* Centers content on mobile */
        text-align: center;
        gap: 30px;
    }

    .footer-left {
        margin-bottom: 30px; /* Adds spacing between sections */
    }

    .footer-column {
        margin: 15px 0; /* Vertical spacing for columns */
    }

    .footer-logo {
        justify-content: center; /* Centers logo on mobile */
    }

    .footer-contact-btn {
        width: 100%; /* Full width for better tap target */
        max-width: 200px; /* Limits button width */
    }

    .features-section {
        height: 2000px !important;
    }

    .features-body {
        height: 2080px !important;
        margin-top: 0 auto;
        left: 0px;
        right: 0px;
        width: 100%;
    }

    /* 调整 hero-content 内的顺序 */
    .hero-left {
        order: 2;
        flex: 0 0 auto;
    }

    .hero-right {
        order: 1;
        width: 100%;
        text-align: center;
        height: auto;
        flex: 0 0 auto;
    }

    .platform-icons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
