:root {
    --brand: #0c8fa7;
    --brand-dark: #075d6c;
    --accent: #f47f67;
    --ink: #183438;
    --muted: #5d6f72;
    --surface: #f4f8f8;
    --line: #d8e4e5;
}

html {
    font-size: 62.5% !important;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    letter-spacing: 0;
}

img,
video {
    max-width: 100%;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

nav.nav-extended {
    position: relative;
    z-index: 20;
    height: auto;
    background: var(--brand);
    box-shadow: 0 2px 12px rgba(7, 93, 108, 0.18);
}

nav.nav-extended .nav-content {
    min-height: 8rem;
    height: auto !important;
    background: var(--brand) !important;
}

.nav-content > div {
    width: min(100%, 160rem);
    min-height: 8rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
    width: 13.8rem;
    height: auto;
    margin: 0 !important;
}

.nav-content .tabs {
    display: flex;
    width: auto;
    height: 8rem !important;
    margin-left: auto !important;
    overflow: visible;
}

.nav-content .tabs .tab {
    flex: 0 0 auto;
    height: 8rem;
    margin: 0 !important;
    line-height: 8rem;
}

.nav-content .tabs .tab a {
    padding: 0 2.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0;
}

.nav-content .tabs .tab a:hover,
.nav-content .tabs .tab a.active {
    color: #fff;
}

.nav-content .tabs .indicator {
    height: 0.3rem;
    background: var(--accent);
}

.horizontal-img {
    height: min(60rem, 42vw);
    background-position: center !important;
    background-size: cover !important;
}

#home {
    margin-bottom: 7rem !important;
}

#home > [style*="width: 192rem"],
#home > [style*="width:192rem"],
#home > .flexbox[style*="width: 192rem"] {
    width: 100% !important;
    max-width: 192rem;
    margin-right: auto !important;
    margin-left: auto !important;
}

#home > .horizontal-img {
    height: min(80rem, 42vw) !important;
}

#home > video {
    display: block;
    width: min(100%, 160rem) !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0 auto !important;
    background: #101718;
}

#aboutUs,
#aboutUsContent {
    max-width: 100%;
}

.flexbox:has(> #aboutUs) {
    width: min(calc(100% - 4rem), 148rem);
    margin: 0 auto;
}

#aboutUsContent {
    flex: 1 1 auto;
}

.homeTitle {
    border-radius: 8px;
    background: #fff;
    letter-spacing: 0;
}

#needDetail {
    width: min(100%, 160rem) !important;
    margin: 0 auto;
}

#needDetail .card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 0.5rem solid var(--accent);
    border-radius: 8px;
    background: #edf7f8;
    box-shadow: 0 10px 24px rgba(24, 52, 56, 0.08);
}

#needDetail .card span {
    color: var(--brand-dark);
}

.scenesContent,
.ipItemContent,
.content-title .title,
.content-title .sub-title,
.compare .title {
    letter-spacing: 0 !important;
}

.scenesContent > div p {
    font-size: 4.2rem;
    line-height: 1.35;
}

.homeSecurityContent {
    height: auto;
    min-height: 43rem;
    padding: 9rem 2.4rem 3.5rem;
    font-size: 1.8rem;
    line-height: 1.7;
}

.container,
.ability,
.compare .table,
.parameter {
    max-width: calc(100% - 4rem);
}

.brand-image1,
.brand-image2 {
    max-width: 100%;
    height: auto;
}

.ipItem,
.ipItem2 {
    width: min(100%, 132rem);
    padding: 0 2rem;
}

.ability,
.parameter {
    width: min(100% - 4rem, 150rem);
}

.ability > div {
    display: flex;
    justify-content: center;
    gap: 2.4rem;
}

.ability .item {
    flex: 1 1 0;
    max-width: 45rem;
    margin-right: 0;
}

.scene {
    max-width: 160rem;
    margin: 0 auto;
}

.nurse {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    width: min(calc(100% - 4rem), 150rem);
    margin-right: auto;
    margin-left: auto;
}

.nurse .item {
    width: 100%;
    margin-right: 0;
}

.compare {
    max-width: 100%;
}

.footer-nav {
    display: grid;
    grid-template-columns: minmax(34rem, 1fr) minmax(52rem, 1.6fr);
    gap: 6rem;
    width: 100%;
    height: auto;
    min-height: 30rem;
    margin: 0;
    padding: 4.5rem max(4rem, calc((100% - 140rem) / 2));
    background: var(--surface);
}

.footer-nav > .col {
    float: none;
    width: auto !important;
    padding: 0 !important;
}

.footer-nav > div:nth-child(2) {
    padding-left: 0;
}

.footer-nav > div:nth-child(2) > .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin: 0;
}

.footer-nav .list {
    float: none !important;
    width: auto !important;
    margin-top: 0;
}

.footer-nav .list > div {
    color: var(--ink);
    font-size: 2rem;
    font-weight: 600;
}

.footer-nav .list > div::after {
    width: 3.6rem;
    background: var(--accent);
}

.footer-nav .list > p {
    margin-top: 2.6rem;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 2;
}

.footer-nav .list > p > a {
    color: var(--muted);
}

.footer-nav .list > p > a:hover {
    color: var(--brand-dark);
}

.footer-nav .divider {
    display: none;
}

.footer-copyright {
    min-height: 8rem;
    height: auto;
    padding: 1.8rem 3rem;
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.4rem;
    line-height: 1.7;
    text-align: center;
}

.footer-copyright .icon {
    margin-right: 2rem;
}

.footer-copyright .divider {
    flex: 0 0 1px;
    height: 2rem;
    margin: 0 1.8rem;
    background: rgba(255, 255, 255, 0.38);
}

.icp-link {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.icp-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav.nav-extended .nav-content {
        min-height: 10.6rem;
    }

    .nav-content > div {
        min-height: 10.6rem;
        padding: 1.2rem 1.6rem 0;
        flex-direction: column;
    }

    .logo {
        width: 12rem;
        margin-bottom: 0.8rem !important;
    }

    .nav-content .tabs {
        width: 100%;
        height: 5rem !important;
        margin: 0 !important;
    }

    .nav-content .tabs .tab {
        flex: 1 1 25%;
        min-width: 0;
        height: 5rem;
        line-height: 5rem;
    }

    .nav-content .tabs .tab a {
        padding: 0 0.8rem;
        font-size: 1.5rem;
    }

    .nav-content .tabs .tab.disabled {
        display: none;
    }

    .horizontal-img,
    #home > .horizontal-img {
        height: auto !important;
        aspect-ratio: 12 / 5;
    }

    #home {
        margin-bottom: 4rem !important;
    }

    #home > .flexbox:has(#aboutUs) {
        display: grid;
        height: auto !important;
        padding: 3.2rem 2rem;
    }

    #home .flexbox:has(> #aboutUs) {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    #aboutUs {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 3rem;
        border-radius: 8px;
    }

    #aboutUs > span {
        font-size: 2.8rem;
    }

    #aboutUs li a {
        font-size: 1.6rem;
    }

    #aboutUs .right {
        width: 16rem !important;
        height: auto !important;
    }

    #aboutUsContent {
        width: 100%;
        height: auto;
        padding: 2.8rem 0 0;
    }

    #aboutUsContent span {
        display: block;
        font-size: 2.4rem;
        line-height: 1.5;
    }

    #aboutUsContent span > div {
        display: none !important;
    }

    #aboutUsContent p {
        font-size: 1.6rem;
        line-height: 1.9;
    }

    #home > video {
        width: 100% !important;
    }

    .homeTitle {
        max-width: calc(100vw - 4rem);
        padding: 1rem 1.6rem;
        font-size: 2.2rem;
        text-align: center;
    }

    #needDetail {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto !important;
        padding: 0 2rem !important;
    }

    #needDetail .card {
        width: 100%;
        height: auto;
        min-height: 42rem;
        margin: 0;
        padding: 3rem 2rem;
    }

    #needDetail .card span {
        font-size: 2.8rem;
    }

    #needDetail .card p {
        margin: 1.8rem 0;
        font-size: 1.6rem;
        line-height: 1.7;
    }

    #needDetail img {
        width: min(26rem, 70vw);
        height: auto;
        aspect-ratio: 1;
    }

    #home > div[style*="height: 48rem"] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100% !important;
        height: auto !important;
    }

    .scenesImage,
    .scenesImage img,
    .scenesContent {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .scenesContent {
        letter-spacing: 0;
    }

    .scenesContent > div {
        padding: 1.6rem;
    }

    .scenesContent > div p,
    .scenesContent > div p[style] {
        font-size: 1.8rem !important;
        line-height: 1.5;
        letter-spacing: 0;
    }

    #home div[style*="position:relative;height:10rem"] {
        height: auto !important;
        padding: 1rem 2rem;
    }

    #home div[style*="position:relative;height:10rem"] > div[style*="background:#1E9FB6"] {
        display: none;
    }

    #home div[style*="position:relative;height:10rem"] p {
        position: static !important;
        margin: 0 !important;
        color: var(--ink) !important;
        font-size: 2.6rem !important;
        line-height: 1.4;
        text-align: center;
    }

    #home > p[style*="text-align: center"],
    #home > div > p[style*="text-align: center"] {
        padding: 0 2rem;
        font-size: 1.8rem !important;
        line-height: 1.6;
    }

    #home > .flexbox[style*="height: 60rem"] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto !important;
        padding: 2rem !important;
    }

    .homeSecurityTitle {
        width: 11rem;
        height: 11.3rem;
    }

    .homeSecurityTitle > span {
        margin-top: 4rem;
        font-size: 2.8rem;
    }

    .homeSecurityContent {
        height: auto;
        min-height: 20rem;
        margin-top: -4rem;
        padding: 7rem 2rem 3rem;
        border-radius: 8px;
        font-size: 1.6rem;
        line-height: 1.8;
    }

    #home > div[style*="height: 65rem"] {
        height: auto !important;
        padding: 4rem 1.6rem;
    }

    #home > div[style*="margin-top: 15.6rem"] {
        margin-top: 6rem !important;
    }

    #home > div[style*="height: 65rem"] > div {
        top: auto !important;
    }

    #home > div[style*="height: 65rem"] .flexbox {
        flex-wrap: wrap;
    }

    #home > div[style*="height: 65rem"] .flexbox img {
        width: calc(50% - 2rem) !important;
        height: auto !important;
        margin: 1rem !important;
    }

    .container {
        width: calc(100% - 4rem);
    }

    .breadcrumb {
        margin-top: 2.4rem;
        font-size: 1.4rem;
    }

    .breadcrumb img {
        width: 2.4rem;
        height: auto;
    }

    .brand-tab-group {
        display: flex;
        width: 100%;
        height: 5rem !important;
        margin: 2rem 0 3rem;
    }

    .brand-tab-group li {
        flex: 1;
        width: auto !important;
        height: 5rem !important;
        margin-right: 0.8rem !important;
    }

    .brand-tab-group li:last-child {
        margin-right: 0 !important;
    }

    .brand-tab {
        font-size: 1.5rem !important;
        line-height: 5rem !important;
    }

    article {
        margin-bottom: 7rem;
        font-size: 1.6rem;
        line-height: 1.9;
    }

    article h2 {
        font-size: 2.4rem;
    }

    .about-image {
        height: auto;
        margin-bottom: 2rem !important;
    }

    .describe-title {
        transform: scale(0.72);
        transform-origin: left center;
    }

    .describe-title.direction-left {
        transform-origin: right center;
    }

    .brand-image1,
    .brand-image2 {
        width: 100%;
        height: auto;
        margin-top: 3rem;
        margin-bottom: 5rem;
    }

    .explain {
        width: 100%;
        margin-bottom: 7rem;
    }

    .explain p {
        margin-bottom: 4rem;
        font-size: 1.6rem;
        line-height: 1.9;
    }

    .explain .field {
        font-size: 2.2rem;
    }

    #ip {
        margin-bottom: 4rem !important;
    }

    #ipContent {
        margin-top: 2rem;
        padding: 0 2rem;
    }

    .ipItem,
    .ipItem2 {
        flex-direction: column;
        width: 100%;
        margin: 2rem 0 5rem;
        padding: 0;
    }

    .ipItem > img,
    .ipItem2 > img {
        width: min(28rem, 75vw);
        height: auto;
        margin: 0 0 2rem;
    }

    .ipItemContent {
        width: 100%;
    }

    .ipItemContent > span {
        display: block;
        font-size: 2.6rem;
        line-height: 1.5;
        text-align: center;
    }

    .ipItemContent > p {
        font-size: 1.6rem;
        line-height: 1.9;
    }

    .content-title {
        padding: 0 2rem;
        margin: 3.5rem 0 2.5rem;
    }

    .content-title .title {
        font-size: 2.6rem;
        line-height: 1.5;
    }

    .content-title .sub-title {
        font-size: 1.7rem;
        line-height: 1.6;
    }

    .content-title .decorate {
        display: none;
    }

    .ability {
        width: auto;
        max-width: none;
        padding: 0 2rem;
    }

    .ability > div {
        display: block;
        margin-bottom: 0;
    }

    .ability .item {
        display: block;
        width: 100%;
        height: 5.2rem;
        margin: 0 0 1.2rem;
        border-radius: 8px;
        font-size: 1.7rem;
        line-height: 5rem;
    }

    .scene {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }

    .scene .item,
    .scene .item:nth-child(2n) {
        width: min(100%, 36rem);
        height: 48.8rem;
        margin: 0 auto;
        padding: 20rem 6rem 0;
    }

    .scene .item .content {
        font-size: 1.8rem;
        line-height: 2.2;
    }

    .scene .item .title {
        font-size: 2.4rem;
    }

    .scene .item .arrow {
        display: none;
    }

    .early-warning > div:first-child {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    .early-warning .step {
        width: min(100%, 32rem);
        height: 5.6rem;
        border-radius: 8px;
        font-size: 2rem;
        line-height: 5.6rem;
    }

    .early-warning > div:first-child img {
        width: 3.2rem;
        height: auto;
        margin: 0;
        transform: rotate(90deg);
    }

    .nurse {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        margin: 5rem 2rem;
    }

    .nurse .item {
        width: 100%;
        margin: 0;
    }

    .nurse .title {
        width: 16rem;
        height: 5rem;
        border-radius: 8px;
        font-size: 2rem;
        line-height: 5rem;
    }

    .nurse .container {
        height: 34rem;
        border-radius: 8px;
    }

    .nurse .sub-title {
        font-size: 1.7rem;
        line-height: 5rem;
    }

    .compare {
        padding: 0 2rem 1rem;
        overflow-x: auto;
    }

    .compare .title {
        font-size: 2.3rem;
        line-height: 1.5;
    }

    .compare .table {
        width: 72rem;
        max-width: none;
    }

    .compare .table td {
        padding: 0.8rem;
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .parameter {
        width: calc(100% - 4rem);
        max-width: none;
    }

    .parameter .title {
        height: 6rem;
        font-size: 2.4rem;
        line-height: 6rem;
    }

    .parameter .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .parameter .row > div {
        width: 100%;
        min-height: 8rem;
        padding: 1.5rem !important;
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .parameter .row > div span[style] {
        font-size: 1.5rem !important;
    }

    .footer-nav {
        display: block;
        min-height: 0;
        padding: 3.5rem 2.4rem;
    }

    .footer-nav > div:nth-child(2) {
        margin-top: 3rem;
    }

    .footer-nav > div:nth-child(2) > .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.6rem;
    }

    .footer-nav .list > div {
        font-size: 1.6rem;
    }

    .footer-nav .list > p {
        font-size: 1.3rem;
        line-height: 1.9;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 0.8rem;
        padding: 2.4rem 2rem;
        font-size: 1.3rem;
    }

    .footer-copyright .icon {
        margin: 0;
    }

    .footer-copyright .divider {
        display: none;
    }

    .footer-copyright .qrcode {
        left: 50%;
        margin-left: -6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
