/* CSS变量定义 */
:root {
    /* 品牌色定义 */
    --primary-color: #1677ff;    /* 蓝色 - 主品牌色 */
    --secondary-color: #722ed1;  /* 紫色 - 辅助品牌色 */
    --accent-color: #ff4d4f;     /* 红色 - 强调色 */
    
    /* 文本颜色 */
    --text-primary: #333;
    --text-secondary: #666;
    --text-placeholder: #999;
    
    /* 背景颜色 */
    --bg-primary: #fff;
    --bg-secondary: #f5f7fa;
    
    /* 边框颜色 */
    --border-color: #d9d9d9;
    --border-light: #f0f0f0;
}

/* 统一弹窗样式 */
.unified-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.unified-popup-overlay.show {
    display: flex;
}

.unified-popup-content {
    background: white;
    border-radius: 1rem;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-2rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
}

.popup-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.popup-close:hover {
    background: #f5f5f5;
    color: #666;
}

.popup-body {
    padding: 2rem;
}

.popup-body .qrcode-content {
    text-align: center;
}

.popup-body .qrcode-image {
    margin-bottom: 1rem;
}

.popup-body .qrcode-img {
    width: 150px;
    height: 150px;
    border-radius: 0.5rem;
}

.popup-body .qrcode-text {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.popup-body .qrcode-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}


/* 基础样式 - PC优先设计 */
html {
    font-size: 62.5%; /* 1rem = 10px (基于16px的62.5%) */
    /* 与JavaScript配合，确保PC端显示精确 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    margin: 0;
    padding: 0;
    font-size: 1.4rem; /* 14px */
    line-height: 1.5;
    /* PC优先的默认样式 */
}

/* PC优先的响应式布局策略 */
/* 头部和尾部 - 自适应宽度，内部内容居中 */
.header, .footer {
    width: 100%;
}

.header-inner, .footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* 中间内容区域 - 最大宽度1440px，居中显示 */
.container, .main-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.page-container {
    background: linear-gradient(129.13deg, rgba(227, 242, 250, 1) 0%, rgba(230, 236, 252, 1) 19.44%, rgba(245, 251, 255, 1) 51.38%, rgba(252, 254, 255, 1) 83%, rgba(227, 242, 250, 1) 100%);
}

/* 移动端设备适配 (<768px) - 与JS配合实现rem适配 */
@media (max-width: 767px) {
    .header-inner, .footer-inner, .container, .main-content {
        padding: 0 1rem;
    }
    
    /* 移动端通用样式调整 - 增大字体 */
    body {
        font-size: 1.4rem; /* 由于HTML font-size已增大，这里可以适当减小 */
    }
    
    /* 移动端导航链接字体 */
    .nav-link {
        font-size: 1.4rem; /* 由于HTML font-size已增大，这里可以适当减小 */
    }
    
    /* 移动端按钮字体 */
    .header-btn {
        font-size: 1.4rem; /* 由于HTML font-size已增大，这里可以适当减小 */
    }
}

/* 公共头部样式 */
.header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    height: 7.8rem;
}
.header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 导航栏布局 */
.navbar {
    display: flex;
    /* align-items: center; */
    padding: 1rem 0;
    justify-content: space-between;
    margin: 30px 90px;
}

/* Logo样式 */
.navbar-brand {
    display: flex;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.logo-icon {
    width: 16.9rem;
    margin-right: 12px;
}
.logo-img {
    height: 3rem;
    width: auto;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-size: 1.8rem; /* 18px */
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}
.logo-domain {
    font-size: 1.2rem; /* 12px */
    color: #999;
    line-height: 1;
}

/* 导航菜单 */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* 确保PC端导航菜单正确显示 */
@media (min-width: 769px) {
    .navbar-nav {
        display: flex !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
    .nav-link {
        color: #fff;
    }
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    position: relative;
    transition: all 0.3s ease;
    padding: 18px 0;
}
.nav-link:hover {
    color: var(--primary-color);
}
.nav-link.active {
    color: var(--primary-color);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}


.header-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 1.4rem; /* 14px */
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.login-btn {
    color: var(--primary-color);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
}
.login-btn:hover {
    background-color: #f0f8ff;
    border-color: var(--primary-color);
}
.trial-btn {
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.trial-btn:hover {
    background-color: #0958d9;
    border-color: #0958d9;
}

/* 辅助品牌色按钮 */
.btn-secondary {
    color: #fff;
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}
.btn-secondary:hover {
    background-color: #5c1eb9;
    border-color: #5c1eb9;
}

/* 强调色按钮 */
.btn-accent {
    color: #fff;
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
}
.btn-accent:hover {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

/* 移动端菜单按钮 */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.navbar-toggler-icon {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #333;
    position: relative;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before {
    top: -6px;
}
.navbar-toggler-icon::after {
    top: 6px;
}

/* 公共尾部样式 */
.footer {
    background-color: #000;
    color: #a0a9be;
    padding: 40px 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Logo区域 */
.footer-logo-section {
    margin-bottom: 20px;
}
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-logo-img {
    height: 5rem;
    width: auto;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

/* 版权信息 */
.footer-copyright {
    text-align: center;
}
.copyright-text {
    font-size: 14px;
    color: #a0a9be;
    margin: 0 0 8px 0;
    line-height: 1.5;
}
.beian-info {
    font-size: 12px;
    color: #a0a9be;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.beian-icon {
    font-size: 10px;
}
.beian-info__img {
    height: 16px;
    width: auto;
}
.beian-info a {
    color: #a0a9be;
    text-decoration: none;
    transition: color 0.3s ease;
}
.beian-info a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        position: relative;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #fff;
        font-size: 1.8rem; /* 由于HTML font-size已增大，这里可以适当减小 */
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* PC端按钮隐藏 */
    .desktop-actions {
        display: none;
    }
    
    /* 移动端按钮显示 */
    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 0 20px;
        margin-top: 20px;
    }
    
    .mobile-actions .header-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .logo-title {
        font-size: 1.6rem; /* 16px */
    }
    
    .logo-domain {
        font-size: 1.1rem; /* 11px */
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-logo-text {
        font-size: 18px;
    }
    
    .copyright-text {
        font-size: 12px;
    }
    
    .beian-info {
        font-size: 11px;
    }
}

.image-section {
    width: 100%;
    margin: 0;
    position: relative;
}

.banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.top-hero {
    position: relative;
}

.top-hero-title {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    z-index: 2;
    pointer-events: none;
}

.top-hero-line1 {
    color: #fff;
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.top-hero-line2 {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1.2rem;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.5;
    max-width: 96rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.about-logo-section {
    background: #fff;
    width: 100%;
    padding: 3.2rem 0;
}

.about-logo-inner {
    background-color: #000;
    padding: 0 200px;
}

.about-logo-img {

    display: block;
    height:3rem;
    width: auto;
    background-color: #000;
}

.hero {
    position: relative;
    width: 100%;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
}
.hero-img {
    display: block;
    width: 100%;
    height: auto;
}
.hero-inner {
    max-width: none;
    margin: 0;
    width: 50%;
    padding: 4rem;
    position: absolute;
    left: 0;
    right: auto;
    top:300px;
    z-index: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    height: 700px;
    box-sizing: border-box;
}
.hero-kicker {
    color: #fff;
    font-size: 2.4rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0.95;
}
.hero-sub {
    color: #fff;
    font-size: 2.2rem;
    margin: 0;
    opacity: 0.95;
    letter-spacing: 0.02em;
}
.hero-title {
    color: #fff;
    font-size: 6.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.hero-desc {
    color: #fff;
    font-size: 2.2rem;
    max-width: 100%;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.info-band {
    background-color: #000;
    color: #fff;
    padding: 4rem 0;
}
.info-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
    align-items: start;
}
.info-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1.2rem;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
}
.info-contact .hotline {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.info-contact .contact-item {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}
.info-logos {
    margin-top: 2.4rem;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
}
.info-switch {
    margin-top: 2.4rem;
}
.switch-panels {
    position: relative;
}
.switch-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.8;
}
.switch-panel.active {
    display: block;
    opacity: 1;
}
.about-tabs .about-tabs__tab.is-active h2 {
    color: var(--accent-color);
}
@media (max-width: 768px) {
    .hero-inner {
        width: 100%;
        padding: 2rem 1rem;
    }
    .hero-title {
        font-size: 4.2rem;
    }
    .hero-desc {
        font-size: 1.8rem;
    }
    .hero-kicker {
        font-size: 1.7rem;
    }
    .hero-sub {
        font-size: 1.7rem;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    .info-contact .hotline {
        font-size: 2.6rem;
    }

    .top-hero-title {
        padding: 0 1rem;
    }

    .top-hero-line1 {
        font-size: 2.8rem;
    }

    .top-hero-line2 {
        font-size: 1.4rem;
        margin-top: 0.8rem;
    }



    .about-logo-inner {
        padding: 0 1rem;
    }

    .about-logo-img {
        height: 4.8rem;
    }
}
@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.about-tabs .about-tabs__panels {
    position: relative;
}
.about-tabs .about-tabs__panel {
    display: none;
}
.about-tabs .about-tabs__panel.is-active {
    display: block;
}
.about-tabs {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    font-family: 'Noto Sans SC', sans-serif;
}
.about-tabs * {
    box-sizing: border-box;
}
.about-tabs .container {
    margin: 0 auto;
    padding: 0 20px;
}
/* 标题部分 */
.about-tabs .about-tabs__header {
    text-align: center;
    padding: 60px 0 40px;
}
.about-tabs .about-tabs__tablist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 60px;
}
.about-tabs .about-tabs__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.about-tabs .about-tabs__tab h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}
.about-tabs .about-tabs__tab-decoration {
    width: 30px;
    height: 30px;
    border-left: 3px solid #8B0000;
    border-bottom: 3px solid #8B0000;
    transform: rotate(-45deg);
}
/* 主要内容部分 */
.about-tabs .about-tabs__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}
.about-tabs .about-tabs__image-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about-tabs .about-tabs__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-tabs .about-tabs__description p {
    font-size: 2.8rem;
    color: #333333;
    margin-bottom: 15px;
    text-align: justify;
}

.about-tabs .about-tabs__subbrand p {
    font-size: 2.8rem;
    color: #666666;
    margin-bottom: 15px;
    text-align: justify;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .about-tabs .about-tabs__body {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-tabs .about-tabs__tablist {
        gap: 40px;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .about-tabs .about-tabs__tab h2 {
        font-size: 24px;
    }
    .about-tabs .about-tabs__header {
        padding: 40px 0 20px;
    }
    .about-tabs .about-tabs__body {
        padding: 40px 0;
    }
}
/* 页脚部分（111片段专用） */
.about-tabs footer {
    text-align: center;
    padding: 30px 0;
    background-color: #f5f5f5;
    color: #666666;
    font-size: 14px;
}
