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

html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    background-color: #000000;
    background-image: url('nteam_img/bg.jpg');
    background-size: cover;
    background-position: center 64px;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
body::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

header {
    background-color: #000000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    width: 100%;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.9rem;
    font-weight: normal;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: normal;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #FF2E4D;
}

main {
    margin-top: 0;
    padding-top: 20px;
    flex: 1 0 auto;
}

#hero {
    color: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-container {
    min-height: calc(100vh - 130px); /* 保证内容区高度减去顶部margin */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
}

.left-section {
    flex: 0 1 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.banner-content {
    flex: 1;
    text-align: left;
    z-index: 2;
}

.logo-img {
    margin-bottom: 2rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img img {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    margin-bottom: 4rem;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.banner-content h1 {
    font-size: 4rem;
    margin-bottom: 3rem;
    line-height: 1.2;
    color: #000000;
}

.banner-content p {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
}

.banner-img {
    width: 280px;
    height: auto;
    border-radius: 30px;
    border: 2px solid #FF2E4D;
    background-color: #fff;
    margin-bottom: 5rem;
}

#apps {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

#apps h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.app-card {
    background: transparent;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card img {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    margin-bottom: 4rem;
}

.app-card h3 {
    margin-bottom: 0.5rem;
}

.app-card p {
    color: #666;
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

.download-wrapper {
    position: relative;
    width: 200px;
}

.apple-icon, .android-icon, .harmony-icon {
    width: 22px;
    height: 22px;
    margin-right: 4px;
}

.download-btn {
    flex: 1;
    width: 180px;
    max-width: 180px;
    min-width: 180px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
}

.download-btn:hover {
    background-color: #FF2E4D;
    color: #ffffff;
}

.download-btn i {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.download-btn:hover i {
    color: #ffffff;
}

.download-btn:hover svg path {
    fill: #ffffff !important;
}

.download-btn span {
    font-size: 1rem;
    line-height: 1;
}

.qr-code {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    z-index: 10;
}

.download-btn:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.qr-code img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.qr-code p {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #666;
}

footer {
    background-color: #000000;
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 0;
    text-align: center;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.8;
    word-wrap: break-word;
    color: #969696;
}

.footer-content p:last-child {
    margin-top: 12px;
}

.footer-content a {
    color: #969696;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #FF2E4D;
}

.footer-content p .footer-divider {
    opacity: 0.5;
}

.right-section {
    flex: 0 1 400px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 2rem;
    height: 100%;
}

.phone-container {
    width: 260px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
}

.phone-mockup {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-bottom: 0;
    border-radius: 20px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 1rem;
    }
    .logo {
        margin-right: auto;
    }
    nav ul {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
        margin-left: 0;
        justify-content: flex-start;
        align-items: center;
    }

    .banner-container {
        min-height: calc(100vh - 70px);
        flex-direction: column;
        gap: 0;
        padding: 0 1rem 4rem;
        justify-content: center;
        align-items: center;
    }

    .left-section,
    .right-section {
        max-width: 100%;
        padding: 0;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    .banner-content {
        text-align: center;
        width: 100%;
        padding: 0 1rem;
    }

    .banner-content h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .banner-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
        min-width: 280px;
        margin: 0 auto;
    }
    
    .qr-code {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .download-btn:hover .qr-code {
        transform: translateX(-50%) translateY(-10px);
    }

    .right-section {
        margin-top: 1.6rem;
        justify-content: center;
    }
    
    .phone-container {
        margin-top: 2rem;
        margin-right: 0;
        width: 220px;
        justify-content: center;
        align-items: center;
    }

    .download-title {
        margin-top: 0;
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .download-title br {
        margin-top: 0.5rem;
    }
    main {
        padding-top: 70px;
    }
    main {
        padding-bottom: 16px;
    }
    footer {
        position: static;
    }
}

/* iPad 适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-container {
        gap: 2rem;
        padding: 6rem 2rem 2rem;
    }

    .left-section {
        flex: 0 1 350px;
    }

    .right-section {
        flex: 0 1 350px;
    }

    .download-title {
        font-size: 4rem;
        margin-bottom: 2.5rem;
    }

    .download-buttons {
        gap: 1.5rem;
    }

    .download-btn {
        width: 180px;
        max-width: 180px;
        min-width: 180px;
    }

    .phone-container {
        width: 240px;
    }
}

/* 删除所有轮播相关的样式 */
.slider {
    position: relative;
    width: 280px;
    height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s, transform 0.9s cubic-bezier(0.4,0,0.2,1);
    transform: translateX(-100%) scale(0.8);
}
.slider .slide.active {
    opacity: 1;
    z-index: 2;
    transform: translateX(0) scale(1);
}
.slider .slide.prev {
    opacity: 0;
    z-index: 1;
    transform: translateX(100%) scale(0.8);
}
.slider .slide.next {
    opacity: 0;
    z-index: 1;
    transform: translateX(-100%) scale(0.8);
}

.slider-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 16px;
    user-select: none;
}
.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
    margin: 0 3px;
    transition: background 0.3s;
}
.indicator-dot.active {
    background: #FF2E4D;
}
.indicator-text {
    margin-left: 10px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
}

.download-section {
    width: 100%;
    background: transparent;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
}

.download-title {
    font-size: 5.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2.5rem;
    text-align: left;
    line-height: 1.4;
    white-space: normal;
}

.download-title br {
    display: block;
    content: "";
    margin-top: 1.5rem;
}

.slogan-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2.4rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 400;
    width: 100%;
    max-width: 100%;
}

.slogan-text .divider {
    color: #fff;
    font-weight: 100;
    font-size: 0.6em;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .download-title {
        font-size: 3.5rem;
        text-align: center;
    }
    
    .slogan-text {
        font-size: 1rem;
        gap: 1.5rem;
        margin-top: -0.6rem;
        margin-bottom: 2.2rem;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

/* 弹窗样式 */
.popup-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.popup-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2rem 2.5rem;
    min-width: 260px;
    max-width: 90vw;
    text-align: center;
    position: relative;
    font-size: 1.1rem;
    color: #222;
    width: 260px;
    height: 260px;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover {
    color: #FF2E4D;
}
@media (max-width: 500px) {
    .popup-content {
        width: 180px;
        height: 180px;
        padding: 0.5rem;
    }
}

.popup-modal[style*="position: absolute"] {
    position: absolute !important;
    background: none !important;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
    width: auto;
    height: auto;
    display: block !important;
    z-index: 3000;
}

.license-card-container {
    display: block;
    margin: 60px auto 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
    width: fit-content;
}

.license-img {
    max-width: 90vw;
    max-height: 80vh;
    margin: 0;
    display: block;
    border-radius: 0;
}

.back-link {
    margin-top: 24px;
    color: #0078ff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.back-link:hover {
    text-decoration: underline;
    color: #FF2E4D;
}

.about-section {
    width: 100%;
    margin: 0;
    padding: 0;
    /* margin-top: 64px;  移除上边距 */
}

.about-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 40px;
}

.about-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-text p:last-child {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 4rem;
    font-weight: 400;
}

.about-image {
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    top: 0; /* Remove any offset */
}

.about-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 0; /* Remove any margin above the banner */
}

.free-text {
    color: #FF2E4D;
}

.company-english {
    font-size: 0.85rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.6;
}

.contact-email {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-email:last-child {
    margin-bottom: 4rem;
}

.contact-email a {
    color: #FF2E4D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #a61d33;
}

.wechat-entries {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.wechat-entry {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-entry:hover {
    color: rgba(255, 255, 255, 0.8);
}

.icon-container {
    width: 48px;
    height: 48px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.wechat-entry:hover .icon-container {
    background-color: #444444;
}

.wechat-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(0.6);
    transition: filter 0.3s ease;
}

.wechat-entry:hover .wechat-icon {
    filter: brightness(0) invert(0.7);
}

.wechat-entry .qr-code {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    z-index: 10;
}

.wechat-entry:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.wechat-entry .qr-code img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.wechat-entry .qr-code p {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.download-btn .qr-code p {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.enterprise-login-btn {
    display: inline-block;
    margin-left: 4rem;
    padding: 0.5rem 1.5rem;
    background: #FF2E4D;
    color: #fff;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,46,77,0.08);
    vertical-align: middle;
}
.enterprise-login-btn:hover {
    background: #a61d33;
    color: #fff;
} 

@media (max-width: 768px) {
    .phone-container {
        width: 256px;
        max-width: 72vw;
        margin: 0.5rem auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .download-section {
        margin-top: 40px;
    }
} 

@media (min-width: 769px) {
    main {
        margin-top: 51px;
    }
    footer {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .banner-container,
    .phone-container,
    .slider,
    .slider .slide,
    .phone-mockup {
        max-width: 100vw !important;
        box-sizing: border-box;
    }
} 

@media (max-width: 768px) {
    .download-title {
        text-align: center;
    }
    .wechat-entries {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 2rem;
    }
} 

/* 移动端微信公众号交互样式 */
@media (max-width: 768px) {
    .wechat-entry.official-account {
        /* 确保在移动端有足够的点击区域 */
        min-height: 60px;
        min-width: 60px;
        padding: 8px;
    }
    
    .wechat-entry.official-account .icon-container {
        /* 与小程序保持一致 */
        width: 48px;
        height: 48px;
    }
    
    .wechat-entry.official-account .wechat-icon {
        /* 与小程序保持一致 */
        width: 28px;
        height: 28px;
    }
    
    /* 移动端禁用hover效果，改为点击显示二维码 */
    .wechat-entry.official-account:hover .qr-code {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%);
    }
    
    /* 移动端点击时显示二维码的样式 */
    .wechat-entry.official-account.show-qr .qr-code {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-10px);
    }
    
    /* 移动端二维码样式调整 */
    .wechat-entry.official-account .qr-code {
        /* 移动端二维码稍小一些 */
        padding: 8px;
    }
    
    .wechat-entry.official-account .qr-code img {
        width: 120px;
        height: 120px;
    }
    
    .wechat-entry.official-account .qr-code p {
        font-size: 10px;
        margin: 4px 0 0 0;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .wechat-entry.official-account {
        /* 触摸设备增加点击反馈 */
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .wechat-entry.official-account:active {
        /* 触摸时的视觉反馈 */
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
} 