
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: PingFang SC;
}
/* ===== 组件样式 - 头部和尾部 ===== */
/* ===== 动画类 ===== */
.animate-fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}
.section-header {
    margin-bottom: 30px;
    /* 添加统一的入场动画初始状态 */
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 统一的入场动画触发状态 */
.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}
/* 统一的副标题动画触发状态 */
.section-header.animate-in .section-subtitle {
    opacity: 1;
    transform: translateY(0);
    
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 头部导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-link {
    /* color: white; */
}

.header.scrolled .logo-text {
    color: white;
}

.navbar {
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
    padding: 0 50px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    min-width: 160px;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin: 0 12px;
    white-space: nowrap;
    position: relative;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}



.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF4848 0%, #FF3E73 100%);
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.dropdown-link:hover::before {
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF4848 0%, #FF3E73 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link.active::after {
    width: 80%;
}

.nav-link.active {
    color: #FF4848;
    font-weight: 600;
}

.header.scrolled .nav-link.active {
    color: #FF4848;
    background:none
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #FF4848 0%, #FF3E73 50%, #FF6B94 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 72, 72, 0.4);
    position: relative;
    z-index: 1;
    animation: pulseGlow 2s infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 脉冲发光动画 */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 72, 72, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 72, 72, 0.6), 
                    0 0 30px rgba(255, 72, 72, 0.3);
    }
}

/* 按钮背景渐变动画 */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 12px;
}

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

/* 按钮背景动态渐变 */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FF6B94 0%, #FF4848 50%, #FF3E73 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 12px;
}

.btn-primary:hover::after {
    opacity: 0.8;
}

.btn-primary .fa-arrow-right {
    margin-left: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary:hover .fa-arrow-right {
    transform: translateX(5px) scale(1.1);
    animation: arrowBounce 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 箭头弹跳动画 */
@keyframes arrowBounce {
    0% { transform: translateX(5px) scale(1.1); }
    30% { transform: translateX(8px) scale(1.15); }
    60% { transform: translateX(6px) scale(1.12); }
    100% { transform: translateX(7px) scale(1.13); }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 72, 72, 0.6),
                0 5px 15px rgba(255, 72, 72, 0.4),
                0 0 20px rgba(255, 72, 72, 0.3);
    animation: none; /* 悬停时停止脉冲动画 */
}

/* 点击时的动画效果 */
.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

/* 为首页按钮添加特殊的磁性效果 */
.hero-buttons .btn-primary {
    position: relative;
    animation: pulseGlow 2s infinite, magneticFloat 4s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 磁性浮动动画 */
@keyframes magneticFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    25% { 
        transform: translateY(-2px); 
    }
    50% { 
        transform: translateY(0px); 
    }
    75% { 
        transform: translateY(-1px); 
    }
}

/* 鼠标进入时的磁性吸引效果 */
.hero-buttons .btn-primary:hover {
    animation: none;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 20px 40px rgba(255, 72, 72, 0.5),
                0 10px 20px rgba(255, 72, 72, 0.4),
                0 0 30px rgba(255, 72, 72, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* 添加粒子效果容器 */
.btn-primary .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    pointer-events: none;
}

.btn-primary .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 2s infinite ease-in-out;
}

/* 粒子浮动动画 */
@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0) rotate(0deg);
    }
    20% {
        opacity: 0.6;
        transform: translateY(5px) scale(0.8) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1) rotate(180deg);
    }
    80% {
        opacity: 0.6;
        transform: translateY(-15px) scale(0.8) rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-25px) scale(0) rotate(360deg);
    }
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1a237e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
}
.platform-tabs {
    /* margin-bottom: 10px; */
    width: 100%;
    max-width: 975px;
    margin: auto;
    display: flex
;
    justify-content: center;
}
.tab-nav a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 0.6rem;
    color: #FF6868;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FFF2F2;
}
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* 页脚样式 */
.footer {
    background-color: #242E49;
    color: #ffffffc7;
    height:525px;
    padding-top:60px;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin:40px auto;
}

.footer-section {
    /* flex: 1; */
}

.footer-logo {
    width: 120px;
    margin-bottom: 10px;
}

.footer-desc {
    max-width:845px;
    font-size: 14px;
    line-height: 1.8;
    color: #949EBB;
}
.footer-section-title{
    font-size: 20px;
    margin-bottom: 36px;
    color:#7B7F8B;
}
.footer-section h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.footer-qr-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links {
    font-size: 14px;
    line-height:38px;
    font-weight:200;
    padding: 0;
    color:#7B7F8B;
}
.footer-links a {
    color:#7B7F8B;
    text-decoration:none
}
.link-push{
      text-decoration: underline;
}
.link-push a:hover {
    color: #ff4459;
}
.footer-qr {
    width: 103px;
    height: 103px;
    background: url("../images/qr.png") no-repeat;
    margin-bottom: 10px;
}

.footer-qr-text {
    font-size: 16px;
    color: #7B7F8B;
    text-align: center;

}
.footer-copyright {
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    height:55px;
    line-height:55px;
    color:#7B7F8B;
    font-size:14px;
}
.mobile-show {
    display:none;
}
.mobile-hide{
    display:inline-block;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .footer-desc {
        max-width: 100%;
    }
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.125rem;
    height: 3.125rem;
    background: linear-gradient(45deg, #FF4848 0%, #FF3E73 50%, #FF6B94 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.25rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 0.25rem 1rem rgba(255, 72, 72, 0.2);
}

.back-to-top::before {
    content: '↑';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(255, 72, 72, 0.3);
}

.back-to-top:hover::before {
    transform: translateY(-0.125rem);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.8125rem;
        height: 2.8125rem;
    }
    
    .back-to-top::before {
        font-size: 1.25rem;
    }
}

/* ===== 滚动进度条 ===== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #FF4848 0%, #FF3E73 100%);
    width: 0;
    transition: width 0.3s ease;
}


/* 移动端适配 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-container {
        height: 70px;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .loaded.active {
       overflow:hidden; 
    }
    #header-container {
        height:4.37rem !important;
    }
    .header {
        background:#fff;
        padding:0;
    }
    .nav-container {
        padding: 0 15px;
        justify-content: space-between;
    }
    .nav-menu {
      height: 100vh;
    }
     .nav-menu.active {
        left: 0;
        top:70px;
        justify-content: center;
    }
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 6px);
    }
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .logo-img {
        height: 35px;
    }
    .platform-tabs {
      padding: 0;
    }
    .tab-nav {
        gap: 0.4rem;
    }
    .tab-nav a {
        padding: 0.5rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 0.4rem;
    }
    .footer {
        height:auto;
        padding-top: 20px;
    }

    .footer .container {
        padding: 0 15px;
    }
    .footer-content {
        gap:0;
        margin:10px auto;
    }
    .footer-section {
        margin-bottom:35px;
    }
    .footer-links {
        color:#7B7F8B;
        line-height:30px;
    }
    
    .footer-qr-text {

    }
    .footer-section p {
        color:#949EBB;
        margin-bottom:12px !important;
    }
    .footer-section-title {
        font-size:1.13rem;
        color:#7B7F8B;
    }
    .footer-copyright {
        font-size:12px;
        padding:0 1rem;
        line-height: 25px;
    }
    .mobile-show {
        display:block;
    }
    .mobile-hide {
        display:none;
    }
}

/* ===== Hero 区域视频播放样式 ===== */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
