/* ===== 全局样式 - 修复字体乱码问题 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 简化字体设置，强制使用系统默认中文字体 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f8fafd;
    color: #0b1a33;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 头部导航 ===== */
.header {
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eef2f6;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #2b5ff0, #8a3ff0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(to right, #1a3e8c, #4a2fbc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.logo-text span {
    font-weight: 300;
    font-size: 1rem;
    color: #4f5b68;
    background: none;
    -webkit-text-fill-color: #4f5b68;
    margin-left: 5px;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1.05rem;
}

.nav a:hover {
    color: #2b5ff0;
}

.download-btn {
    background: #2b5ff0;
    color: white !important;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(43,95,240,0.2);
}

.download-btn:hover {
    background: #1a45c0;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== Hero 区域 ===== */
.hero {
    padding: 60px 0 40px;
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 400px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title strong {
    background: linear-gradient(135deg, #1446b8, #8c46ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.2rem;
    color: #2d3a4e;
    max-width: 600px;
    margin: 25px 0 30px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2b5ff0;
    border: none;
    padding: 15px 38px;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(43,95,240,0.3);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary:hover {
    background: #1949c9;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 2px solid #2b5ff0;
    padding: 13px 30px;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2b5ff0;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: #eef4ff;
}

/* Hero图片容器 */
.hero-image-container {
    flex: 1 1 400px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 40px -15px rgba(0,35,120,0.25);
    background-color: #d9e4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    aspect-ratio: 975/663;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #d9e4ff;
}

/* 图片加载失败时的占位符样式 */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-color: #e2ebff;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2b5ff0;
    font-weight: 500;
    border: 2px dashed #9bb1da;
    padding: 30px 20px;
    text-align: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="%23365ebf" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21 15 16 10 5 21"/></svg>');
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: 48px 48px;
}

.image-placeholder::after {
    content: "图片加载失败，请检查路径";
    margin-top: 60px;
    font-size: 14px;
}

/* 图片标题文字样式 */
.image-caption {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    z-index: 2;
    backdrop-filter: blur(2px);
}

/* ===== 通用区块样式 ===== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-sub {
    text-align: center;
    color: #4b5a6e;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 30px;
    padding: 30px 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.02);
    border: 1px solid #edf2f9;
    transition: 0.2s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(43,95,240,0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #ecf2ff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    font-weight: 700;
    color: #2b5ff0;
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #3b4b62;
}

/* ===== 多链区块 ===== */
.multichain-show {
    background: #0b1427;
    color: white;
    border-radius: 50px;
    padding: 50px 40px;
    margin: 40px 0;
    background-image: radial-gradient(circle at 20% 30%, #1a3185, #030614);
}

.multichain-show h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.multichain-show h2 span {
    color: #a8c0ff;
}

.chain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.chain-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    padding: 10px 24px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.2s;
}

.chain-item:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

.multichain-image-container {
    margin-top: 40px;
    background: #101b33;
    border-radius: 30px;
    padding: 20px;
    border: 2px solid #2a3a6a;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 975/663;
    width: 100%;
}

.multichain-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    background-color: #1a2a4a;
}

.multichain-image-container p {
    text-align: center;
    color: #a2b9f0;
    margin-top: 15px;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 30px;
}

/* ===== 新闻&帮助区块 ===== */
.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.help-box, .news-box {
    background: white;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.02);
    border: 1px solid #eaeef5;
    transition: 0.2s;
}

.help-box:hover, .news-box:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
}

.help-box h3, .news-box h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-list, .news-list {
    list-style: none;
}

.help-list li, .news-list li {
    margin-bottom: 18px;
}

.help-list a, .news-list a {
    text-decoration: none;
    color: #1f2a41;
    font-size: 1.15rem;
    display: block;
    padding: 8px 0;
    border-bottom: 1px dashed #dbe4f0;
    transition: 0.1s;
}

.help-list a:hover {
    color: #2b5ff0;
    padding-left: 6px;
}

.news-list .news-date {
    font-size: 0.9rem;
    color: #6f7d95;
    margin-right: 12px;
}

.image-container {
    background: #f0f5ff;
    border-radius: 20px;
    padding: 15px;
    margin-top: 20px;
    border: 2px solid #d0dfff;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 975/663;
    width: 100%;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    background-color: #ffffff;
}

.image-container p {
    text-align: center;
    margin-top: 15px;
    color: #2b5ff0;
    font-size: 0.9rem;
}

/* ===== 大型品牌广告预留区 ===== */
.media-reserve {
    margin: 60px 0 20px;
    background: #dce5f5;
    border-radius: 60px;
    padding: 30px;
    border: 3px dashed #9bb1da;
    background-image: repeating-linear-gradient(45deg, #c7d6ff 0px, #c7d6ff 20px, #dbe6ff 20px, #dbe6ff 40px);
}

.media-reserve video {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 40px;
    display: block;
    margin: 0 auto;
    background-color: #0b1427;
}

.media-reserve p {
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
    background: rgba(255,255,255,0.8);
    display: inline-block;
    padding: 8px 30px;
    border-radius: 60px;
}

/* ===== 下载区块 ===== */
.download-block {
    background: linear-gradient(120deg, #e6edff, #ffffff);
    border-radius: 70px;
    padding: 40px;
}

.download-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.download-flex h2 {
    font-size: 2.3rem;
    background: linear-gradient(135deg, #1a3e8c, #4a2fbc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-flex p {
    font-size: 1.2rem;
    max-width: 500px;
    color: #2d3a4e;
}

.download-image-container {
    margin-top: 30px;
    background: #b3cbff;
    border-radius: 30px;
    padding: 20px;
    border: 2px solid #2b5ff0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 975/663;
    width: 100%;
}

.download-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    display: block;
    background-color: #ffffff;
}

.download-image-container p {
    text-align: center;
    margin-top: 15px;
    color: #1a3e8c;
    font-weight: 500;
}

/* ===== 底部样式 ===== */
.footer {
    background: #0a142e;
    color: #acbbda;
    padding: 60px 0 30px;
    border-radius: 50px 50px 0 0;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
}

.footer-col h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-col p {
    margin: 10px 0;
}

.footer-col a {
    color: #acbbda;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #253152;
    padding-top: 30px;
}

.footer-copyright a {
    color: #6078b0;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #8ba3ff;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
        border-bottom: 1px solid #eef2f6;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav a {
        padding: 16px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f4fa;
    }
    
    .download-btn {
        background: transparent;
        color: #2b5ff0 !important;
        box-shadow: none;
        width: auto;
        margin: 10px 20px;
        border: 2px solid #2b5ff0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-inner {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .hero-image-container,
    .multichain-image-container,
    .image-container,
    .download-image-container {
        aspect-ratio: 975/663;
    }
    
    .media-reserve video {
        max-height: 300px;
    }
    
    .chain-list {
        gap: 10px;
    }
    
    .chain-item {
        padding: 8px 18px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-height: 200px;
    }
    
    .multichain-show {
        padding: 30px 15px;
        border-radius: 30px;
    }
    
    .download-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}