:root {
    --primary: #1351F5;
    --primary-light: #e8f4ff;
    --text-dark: #041427;
    --text-gray-blue: #5F80A8;
    --text-secondary: #666;
    --text-light: #999;
    --bg-light: #f8fafd;
    --bg-blue: #eef4fd;
    --bg-dark: #151F2C;
    --radius-8: 8px;
    --radius: 12px;
    --radius-16: 16px;
    --max-width: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #fff;
}

.container {
    max-width: var(--max-width);
    margin:  0 auto;

}

/* ========== 显隐控制 ========== */
.pc-only { display: block; }
.mobile-only { display: none; }

/* ========== Header ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-gray-blue);
    font-size: 14px;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--primary);
}

/* ========== Banner Section ========== */
.banner-section {
    margin-top: 65px;
    height: 513px;
    background: url('../img/pc-bg.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

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

.banner-content {
    height: 420px;
    max-width: 470px;
}

.banner-empty {
    height: 513px;
    width: 770px;
}   
.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.banner-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.banner-title .highlight {
    color: var(--primary);
}

.banner-summary {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.banner-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    height: 3rem;
    padding: 0 2rem;
    border-radius: 1.5rem;
    background: var(--primary);
    background-size: 400%;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.banner-btn:hover::before {
    transform: scaleX(1);
}

.banner-btn .button-content {
    position: relative;
    z-index: 1;
}

.banner-btn .button-content::after {
    content: " →";
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.25s ease-in-out;
}

.banner-btn:hover .button-content::after {
    transform: translateX(20px);
}

.banner-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(
        82.3deg,
        rgba(22, 119, 255, 0.9) 10.8%,
        rgba(60, 140, 255, 1) 94.3%
    );
    transition: all 0.475s;
}

.banner-counter {
    display: flex;
    gap: 48px;
    margin-top: 20px;
}

.counter-item .counter-number {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    height: 30px;
}

.counter-item .counter-label {
    font-size: 14px;
    color: var(--text-gray-blue);
    margin-top: 4px;
}

/* ========== Section Common ========== */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-animate.no-animate {
    opacity: 1;
    transform: none;
    transition: none;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 25px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

/* ========== Introduce Section ========== */
.introduce-section {
    padding: 25px 0;
    background: #f8f9fe;
    scroll-margin-top: 65px;
}

.introduce-cards {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.introduce-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 180px;
    max-width: 230px;
    height: 196px;
    padding: 0 25px;
    background: #fff;
    border-radius: var(--radius-16);
    text-align: center;
    border: 1px solid #007AFF1A;
    transition: transform 0.3s, box-shadow 0.3s;
}

.introduce-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.introduce-card .card-icon {
    font-size: 56px;
    margin-bottom: 12px;
    display: block;
}

.introduce-card .card-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.introduce-card .card-desc {
    font-size: 12px;
    color: var(--text-gray-blue);
    line-height: 1.6;
}

/* ========== Modules Section ========== */
.modules-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.modules-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.modules-left {
    /* flex: 1; */
}
.modules-left .modules-subtitle {
    font-size: 20px;
    color: #828282;
    text-align: left;
    margin-bottom: 20px;
}

.modules-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.modules-right img {
    width: 100%;
    max-width: 772px;
    height: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.module-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
}

.module-item .module-icon i.iconfont{
    font-size: 24px;
    flex-shrink: 0;
    text-align: center;
}

.module-item .module-text .module-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.module-item .module-text .module-desc {
    font-size: 14px;
    color: #828282;
}

/* ========== Download Section ========== */
.download-section {
    padding: 30px 0;
    scroll-margin-top: 65px;
}
.download-container {
    max-width: var(--max-width);
    margin:  0 auto;
    padding: 40px 50px;
    background: var(--bg-blue);
    border-radius: var(--radius-16);
}

.download-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.download-left {
    flex-shrink: 0;
}

.download-left .download-title {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 4px;
}

.download-left .download-title .highlight {
    color: var(--primary);
}

.download-left .download-subtitle {
    font-size: 16px;
    color: var(--text-gray-blue);
    text-align: left;
}

.platform-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex: 1;
}

.platform-card {
    width: 129px;
    height: 62px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 8px;
    border-radius: var(--radius-8);
    background: #FEFEFE;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.platform-card .platform-icon {
    font-size: 24px;
}

.platform-card .platform-info .platform-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.platform-card .platform-info .platform-sub {
    font-size: 10px;
    color: var(--text-gray-blue);
}

.platform-qr-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-align: center;
}

.platform-qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

.platform-qr-popup .qr-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 8px;
}

.platform-qr-popup .qr-container img {
    width: 100%;
    height: 100%;
}

.platform-qr-popup .qr-tip {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.platform-card.has-qr:hover .platform-qr-popup {
    display: block;
}

/* ========== Footer ========== */
.site-footer {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-text span {
    display: inline-flex;
    align-items: center;
}

.footer-divider {
    width: 1px;
    height: 12px;
    background: #FFFFFF;
}
.mobile-footer .footer-divider {
    width: 0.5px;
    height: 8px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.5);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Mobile H5 Banner ========== */
.mobile-banner {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 100px);
    background: url('../img/phone-bg.webp') no-repeat center center;
    background-size: cover;
}

.mobile-top {
    padding: 28px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-bottom {
    margin-top: 94%;
    padding: 24px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-banner .mobile-logo {
    height: 45px;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.mobile-banner .mobile-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 16px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.15s forwards;
}

.mobile-banner .mobile-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.mobile-banner .mobile-title .highlight {
    color: var(--primary);
}

.mobile-banner .mobile-summary {
    font-size: 12px;
    color: #828282;
    line-height: 1.7;
    max-width: 320px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.45s forwards;
}

.mobile-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    margin-bottom: 32px;
    transition: transform 0.2s;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.mobile-download-btn:active {
    transform: scale(0.93);
}

.mobile-download-btn .iconfont {
    font-size: 22px;
}

.mobile-counter {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.mobile-counter .counter-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mobile-counter .counter-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    height: 24px;
}

.mobile-counter .counter-label {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ========== Mobile Footer ========== */
.mobile-footer {
    display: none;
    padding: 16px 10px;
    text-align: center;
    background: var(--bg-dark);
}

.mobile-footer .footer-text {
    font-size: 12px;
    flex-direction: column;
    gap: 4px;
}

/* ========== Responsive: H5 ========== */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
    .mobile-footer {
        display: block !important;
    }
    .site-header {
        display: none;
    }
    .banner-section {
        display: none;
    }
    .introduce-section {
        display: none;
    }
    .modules-section {
        display: none;
    }
    .download-section {
        display: none;
    }
    .site-footer {
        display: none;
    }
    .mobile-banner {
        display: flex;
    }
}

/* ========== PC Medium Screen ========== */
@media (max-width: 1024px) and (min-width: 769px) {
    .banner-title {
        font-size: 36px;
    }
    .banner-content {
        max-width: 420px;
    }
    .introduce-cards {
        gap: 16px;
    }
    .introduce-card {
        min-width: 150px;
        padding: 24px 16px;
    }
    .modules-inner {
        gap: 32px;
    }
    .container {
        padding: 0 24px;
    }
    .header-inner {
        padding: 0 24px;
    }
}
