/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* 通用图片样式 - 确保所有图片都有尺寸约束 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #16191b;
    color: white;
    width: 100%;
    overflow-x: hidden;
}

@media (min-width: 1920px) {
    body {
        min-width: 1920px;
    }
}

.page-container {
    position: relative;
    width: 100%;
    background-color: #16191b;
    min-height: 100vh;
}

/* Header Styles */
.header {
    position: relative;
    width: 100%;
    height: 600px;
}

.header-overlay {
    position: absolute;
    background-color: black;
    height: 124px;
    left: 0;
    opacity: 0.5;
    top: 0;
    width: 100%;
    z-index: 1;
}

.header-logo-top {
    position: absolute;
    height: 20.743px;
    left: 348.92px;
    top: 54.97px;
    width: 118.077px;
    z-index: 10;
}

.header-logo-top img {
    display: block;
    max-width: 100%;
    width: 118.077px;
    height: 20.743px;
    object-fit: contain;
}

.header-logo-center {
    position: absolute;
    left: 46.56%;
    right: 46.61%;
    top: 237px;
    z-index: 10;
}

.logo-bg {
    position: absolute;
    height: 131px;
    left: 0;
    right: 0;
    top: 0;
}

.logo-bg img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 131px;
    object-fit: contain;
}

.logo-icon {
    position: absolute;
    height: 63.11px;
    left: 5%;
    right: 5%;
    /* top: 35.44px; */
}

.logo-icon img {
    display: block;
    max-width: 100%;
    width: 100%;
    /* height: 63.11px; */
    object-fit: contain;
}

.header-logo-bottom {
    position: absolute;
    height: 47px;
    left: 824px;
    top: 414.69px;
    width: 271px;
    z-index: 10;
}

.header-logo-bottom img {
    display: block;
    max-width: 100%;
    width: 271px;
    height: 47px;
    object-fit: contain;
}

.header-description {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 965px;
    top: 540px;
    z-index: 10;
    width: 860px;
}

.header-description p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32.004px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-wrap;
}

.header-nav {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 40px;
    left: 480px;
    top: 65.84px;
    z-index: 10;
    height: 31.689px;
}

.header-nav .nav-tab {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 21px;
    line-height: 32.004px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.header-nav .nav-tab:hover {
    opacity: 0.8;
}

.header-nav .nav-tab-active {
    opacity: 1;
}

.header-nav .nav-tab:not(.nav-tab-active) {
    opacity: 0.7;
}

.header-nav .nav-tab:not(.nav-tab-active):hover {
    opacity: 1;
}

/* Device Selection Section */
.device-selection {
    position: relative;
    backdrop-filter: blur(80px);
    background-color: rgba(4, 4, 4, 0.61);
    height: 400px;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 100px;
    overflow: hidden;
    border-radius: 40px;
    width: 1200px;
    max-width: calc(100% - 720px);
}

.device-selection-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.device-selection-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    left: 80px;
    top: 128px;
    width: 480px;
    white-space: pre-wrap;
}

.device-selection-text h2 {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: white;
    width: 100%;
    margin: 0;
}

.device-selection-text p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #6c7478;
    letter-spacing: -0.5895px;
    width: 100%;
    margin: 0;
}

.device-selection-images {
    position: absolute;
    height: 429px;
    left: 714px;
    top: -15px;
    width: 289px;
}

.device-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Trainers Section */
.device-trainers {
    position: absolute;
    left: 0;
    top: 0;
    width: 288.15px;
    height: 267.229px;
}

.trainers-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.trainers-bg img {
    display: block;
    max-width: 100%;
    width: 288.15px;
    height: 267.229px;
    object-fit: contain;
}

.trainers-title {
    position: absolute;
    left: 18.86px;
    top: 9.6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.title-icon {
    width: 1.674px;
    height: 10.6px;
    background-color: white;
}

.trainers-title span {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 12.872px;
    color: white;
    margin-left: 4px;
}

.trainer-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trainer-item img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trainer-item span {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 8.926px;
    color: #dbdbdb;
    margin-top: 4px;
}

.trainer-t1 {
    left: 36.58px;
    top: 41.31px;
    width: 41.028px;
    height: 70.083px;
}

.trainer-t2 {
    left: 124.85px;
    top: 44.34px;
    width: 40.543px;
    height: 67.844px;
}

.trainer-t3 {
    left: 192.57px;
    top: 38.19px;
    width: 78.843px;
    height: 96.543px;
}

.trainer-t7 {
    left: 21.57px;
    top: 157.86px;
    width: 71.577px;
    height: 71.577px;
}

.trainer-t20 {
    left: 104.63px;
    top: 150.82px;
    width: 78.843px;
    height: 96.543px;
}

/* Other Section */
.device-other {
    position: absolute;
    left: 0.98px;
    top: 283.67px;
    width: 288.02px;
    height: 369.276px;
}

.other-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.other-bg img {
    display: block;
    max-width: 100%;
    width: 288.02px;
    height: 369.276px;
    object-fit: contain;
}

.other-title {
    position: absolute;
    left: 19.8px;
    /* top: 293.89px; */
    display: flex;
    align-items: center;
    gap: 4px;
}

.other-title span {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 12.872px;
    color: white;
    margin-left: 4px;
}

.other-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.other-item img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.other-item span {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 8.926px;
    color: #dbdbdb;
    margin-top: 4px;
}

.other-m1 {
    left: 40.07px;
    /* top: 333.69px; */
    top: 40.69px;
    width: 34.973px;
    height: 56.512px;
}

.other-m2 {
    left: 121.66px;
    /* top: 339.18px; */
    top: 46.18px;
    width: 46.127px;
    height: 45.912px;
}

.other-f1 {
    left: 193.26px;
    /* top: 323.09px; */
    top: 30.09px;
    width: 59.132px;
    height: 71.201px;
}

.other-h1 {
    left: 17.88px;
    top: 140.9px;
    /* top: 430.9px; */
    width: 78.843px;
    height: 94.934px;
}

.other-h2 {
    left: 105.57px;
    top: 430.9px;
    width: 78.843px;
    height: 94.934px;
}

.other-h100 {
    left: 193.26px;
    top: 430.9px;
    width: 78.843px;
    height: 94.934px;
}

.other-l7 {
    left: 45.23px;
    top: 553.19px;
    width: 24.163px;
    height: 50.264px;
}

.other-bc2 {
    left: 122.49px;
    top: 565.66px;
    width: 44.999px;
    height: 32.985px;
}

/* Training Section */
.training {
    position: relative;
    backdrop-filter: blur(80px);
    background-color: rgba(4, 4, 4, 0.61);
    height: 442px;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 100px;
    overflow: hidden;
    border-radius: 40px;
    width: 1200px;
    max-width: calc(100% - 720px);
}

.training-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.training-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    left: 491px;
    top: 117px;
    width: 629px;
    white-space: pre-wrap;
}

.training-text h2 {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 55.02px;
    color: white;
    width: 100%;
    margin: 0;
}

.training-text p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #6c7478;
    letter-spacing: -0.5895px;
    width: 100%;
    margin: 0;
}

.training-phone {
    position: absolute;
    transform: translateX(-50%);
    background-color: #051419;
    height: 546.015px;
    left: calc(50% - 342px);
    overflow: hidden;
    border-radius: 20px;
    top: 47px;
    width: 252.007px;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 8.51px 10.34px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.phone-time {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 9.545px;
    color: white;
    letter-spacing: 0.009px;
}

.phone-battery {
    width: 44.403px;
    height: 7.837px;
    background-image: url('images/phone-battery.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-size: contain;
    background-repeat: no-repeat;
}

.phone-tabs {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.tab-active {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 10.985px;
    color: white;
}

.tab-inactive {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 10.985px;
    color: white;
    opacity: 0.3;
}

.tab-indicator {
    position: absolute;
    background-color: #488987;
    height: 1.939px;
    left: 77.43px;
    border-radius: 1.292px;
    bottom: 0;
    width: 20.677px;
}

.phone-power-circle {
    position: relative;
    width: 79.479px;
    height: 79.479px;
    margin: 25.847px auto;
}

.phone-power-circle img {
    display: block;
    max-width: 100%;
    width: 79.479px;
    height: 79.479px;
    object-fit: contain;
}

.power-icon {
    position: absolute;
    font-family: 'SF Pro', sans-serif;
    font-size: 37.478px;
    color: #0cc1a6;
    right: -27.89px;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: -0.7496px;
}

.phone-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 25.847px;
    padding: 8.4px;
    background-image: url('images/phone-stats-bg.svg');
    background-size: cover;
    background-position: center;
    background-size: cover;
    background-position: center;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 600;
    font-size: 7.042px;
    color: white;
    letter-spacing: 0.4426px;
    margin-bottom: 4px;
}

.stat-value {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 20.164px;
    color: white;
    margin-bottom: 2px;
}

.stat-unit {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 8.962px;
    color: #8e8e8e;
}

.phone-power-control {
    position: relative;
    height: 19.385px;
    margin-bottom: 8px;
}

.power-slider {
    position: absolute;
    left: 0;
    top: 7.03px;
    width: 148.619px;
    height: 2.688px;
    background-image: url('images/slider-track.svg');
    background-size: cover;
    background-size: cover;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 7.03px;
    width: 85.941px;
    height: 2.688px;
    background-image: url('images/slider-fill.svg');
    background-size: cover;
    background-size: cover;
}

.slider-thumb {
    position: absolute;
    left: 81.09px;
    top: 2.58px;
    width: 11.2px;
    height: 11.2px;
    background-image: url('images/slider-thumb.svg');
    background-size: cover;
    background-size: cover;
}

.power-value {
    position: absolute;
    background-color: #488d8b;
    height: 19.385px;
    right: 0;
    top: 0;
    border-radius: 2.515px;
    width: 56.217px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2.58px 4px;
}

.power-value span {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 10.339px;
    color: white;
}

.power-value img {
    width: 12px;
    height: 12px;
    max-width: 100%;
    object-fit: contain;
}

.phone-buttons {
    display: flex;
    gap: 14.11px;
    margin-bottom: 8px;
}

.btn-primary {
    background-color: #488987;
    height: 29.724px;
    border: none;
    border-radius: 5.169px;
    width: 108.557px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 9.693px;
    color: white;
    cursor: pointer;
}

.btn-secondary {
    background-color: transparent;
    border: 0.503px solid #488d8b;
    height: 29.724px;
    border-radius: 5.169px;
    width: 108.557px;
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 9.693px;
    color: #0cc1a6;
    cursor: pointer;
}

.phone-note {
    font-family: 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 7.754px;
    color: #488d8b;
    text-align: center;
}

/* Download Section */
.download {
    position: relative;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 100px;
    width: 276px;
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: center;
    text-align: center;
    color: white;
}

.footer-spacer {
    height: 100px;
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: center;
}

.download-icon {
    font-family: 'SF Pro', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 1.6px;
}

.download h2 {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 55.02px;
    margin: 0;
    white-space: pre-wrap;
}

.download p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32.004px;
    opacity: 0.8;
    white-space: nowrap;
    margin: 0;
}

/* Footer Section */
.footer {
    position: relative;
    width: 100%;
    height: 684px;
    margin-top: 100px;
}

.footer-container {
    position: relative;
    margin: 0 auto;
    background-color: #0c0d0d;
    height: 684px;
    width: 100%;
    max-width: 2046px;
}

.footer-logo {
    position: absolute;
    height: 17px;
    left: 425px;
    top: 66px;
    width: 96.769px;
}

@media (max-width: 2046px) {
    .footer-logo {
        left: calc((100% - 1246px) / 2 + 25px);
    }
}

.footer-logo img {
    display: block;
    max-width: 100%;
    width: 96.769px;
    height: 17px;
    object-fit: contain;
}

.footer-content {
    position: relative;
    height: 596px;
    margin: 0 auto;
    margin-top: 56px;
    width: 1246px;
    max-width: calc(100% - 800px);
}

.footer-left {
    position: absolute;
    transform: translateY(-50%);
    left: 24px;
    top: 50%;
    width: 509px;
}

.footer-menu {
    border-bottom: 1px solid white;
    height: 56px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
}

.footer-menu h3 {
    font-family: 'MiSans', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: white;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: white;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    line-height: 16.002px;
    margin: 0;
}

.footer-right {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
    left: 747px;
    top: 270px;
    width: 466px;
    text-align: right;
}

.footer-right p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: white;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    line-height: 16.002px;
    white-space: pre-wrap;
    margin: 0;
}

.footer-divider {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    height: 1px;
    left: 24px;
    right: 24px;
    top: 537px;
}

.footer-updated {
    position: absolute;
    transform: translateY(-50%);
    left: calc(50% - 605px);
    top: 582px;
    width: 100%;
    text-align: center;
}

@media (max-width: 2046px) {
    .footer-updated {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.footer-updated p {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    line-height: 26px;
    white-space: nowrap;
    margin: 0;
}

/* Privacy Policy Page */
.header-privacy {
    height: 180px;
}

.privacy-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.privacy-content-inner h1 {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: 42px;
    color: white;
    margin-bottom: 16px;
}

.privacy-updated {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-family: 'MiSans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: white;
    margin-bottom: 16px;
}

.privacy-section p,
.privacy-section li {
    font-family: 'MiSans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.privacy-section ul {
    margin: 12px 0;
    padding-left: 24px;
}

.privacy-section li {
    margin-bottom: 8px;
}

/* 移动端响应式 - 宽度自适应 */
@media (max-width: 768px) {
    .page-container {
        min-width: 100%;
    }

    .header {
        height: auto;
        min-height: 200px;
        padding: 20px 16px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header-overlay {
        height: 80px;
    }

    .header-logo-top {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 16px;
    }

    .header-logo-center {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin-bottom: 16px;
    }

    .header-logo-bottom {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 16px;
    }

    .header-description {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .header-description p {
        font-size: 14px;
        line-height: 24px;
    }

    .header-nav {
        position: relative;
        left: auto;
        top: auto;
    }

    .header-privacy {
        min-height: 120px;
        padding: 20px 16px;
    }

    .device-selection {
        width: calc(100% - 32px);
        max-width: none;
        margin: 40px 16px 60px;
        height: auto;
        min-height: 300px;
        overflow: hidden;
    }

    .device-selection-text {
        position: relative;
        left: auto;
        top: auto;
        padding: 24px 20px;
        width: 100%;
    }

    .device-selection-text h2 {
        font-size: 28px;
    }

    .device-selection-text p {
        font-size: 14px;
    }

    .device-selection-images {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
    }

    .training {
        width: calc(100% - 32px);
        max-width: none;
        margin: 40px 16px 60px;
        height: auto;
        min-height: 400px;
        overflow: hidden;
    }

    .training-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .training-phone {
        position: relative;
        left: auto;
        transform: none;
    }

    .training-text {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 24px 20px;
    }

    .training-text h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    .training-text p {
        font-size: 14px;
    }

    .download {
        width: 100%;
        margin: 40px 16px 60px;
        padding: 0 16px;
    }

    .download h2 {
        font-size: 24px;
    }

    .download p {
        font-size: 14px;
        white-space: normal;
    }

    .footer {
        height: auto;
        margin-top: 40px;
    }

    .footer-container {
        height: auto;
        padding: 40px 20px 30px;
    }

    .footer-logo {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 24px;
    }

    .footer-content {
        height: auto;
        width: 100%;
        max-width: none;
        margin-top: 0;
    }

    .footer-left {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        width: 100%;
    }

    .footer-right {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .footer-divider {
        left: 0;
        right: 0;
    }

    .footer-updated {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }

    .privacy-content {
        padding: 40px 20px 60px;
    }

    .privacy-content-inner h1 {
        font-size: 28px;
    }

    .privacy-section h2 {
        font-size: 18px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 14px;
        line-height: 24px;
    }
}
