:root {
    --ink: #080b12;
    --surface: #101521;
    --surface-soft: #161c2a;
    --paper: #f5f4f1;
    --white: #fbfaf7;
    --muted: #98a1b1;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #8f7cff;
    --accent-soft: rgba(143, 124, 255, 0.16);
    --secondary: #58c5dc;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--white);
    background: var(--ink);
    font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body[data-product="posture"] {
    --accent: #63ddb0;
    --accent-soft: rgba(99, 221, 176, 0.14);
    --secondary: #55c7df;
}

body[data-product="dr"] {
    --accent: #79e2af;
    --accent-soft: rgba(121, 226, 175, 0.14);
    --secondary: #9a88ff;
}

body[data-product="adc"] {
    --accent: #69d4e8;
    --accent-soft: rgba(105, 212, 232, 0.14);
    --secondary: #9380ff;
}

a {
    color: inherit;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 30;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.shell {
    width: min(calc(100% - 64px), var(--max));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background: rgba(8, 11, 18, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.12em;
    color: #fff;
    font-size: 18px;
    font-weight: 560;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.brand strong {
    color: #9b89ff;
    font-weight: 800;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a,
.nav-product-trigger {
    color: #aab2c1;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.nav-product-trigger:hover,
.nav-product-trigger[aria-expanded="true"] {
    color: #fff;
}

.nav-product-menu {
    position: relative;
    padding: 18px 0;
}

.nav-product-panel {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    display: grid;
    width: 300px;
    padding: 14px;
    background: rgba(16, 21, 33, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-product-menu:hover .nav-product-panel,
.nav-product-menu:focus-within .nav-product-panel,
.nav-product-menu.is-open .nav-product-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.desktop-nav .nav-product-panel a {
    padding: 9px 10px;
    color: #aeb6c5;
    border-radius: 9px;
    font-size: 12px;
}

.desktop-nav .nav-product-panel a:hover,
.desktop-nav .nav-product-panel a[aria-current="page"] {
    color: #fff;
    background: var(--accent-soft);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    color: #fff;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease;
}

.nav-cta {
    min-height: 38px;
    padding-inline: 15px;
}

.language-button {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
    color: #b6becc;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font: inherit;
    font-size: 11px;
    font-weight: 760;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.language-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.nav-cta:hover,
.button:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    color: #fff;
    background: transparent;
    border: 0;
}

.menu-button span {
    display: block;
    height: 1px;
    margin: 6px 0;
    background: currentColor;
}

.mobile-nav {
    display: none;
}

.product-hero {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 42%, var(--accent-soft), transparent 31%),
        linear-gradient(rgba(157, 142, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 142, 255, 0.035) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
    mask-image: linear-gradient(#000 76%, transparent);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.8fr);
    gap: 80px;
    align-items: center;
    min-height: 800px;
    padding: 130px 0 70px;
}

.eyebrow,
.section-label,
.domain-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-hero h1 {
    max-width: 680px;
    margin: 25px 0 0;
    font-size: clamp(42px, 3.8vw, 58px);
    font-weight: 650;
    letter-spacing: -0.048em;
    line-height: 1.07;
    text-wrap: balance;
}

.product-hero h1 span {
    display: block;
    max-width: 660px;
    margin-top: 20px;
    color: #949cab;
    font-size: 0.48em;
    font-weight: 470;
    letter-spacing: -0.035em;
    line-height: 1.22;
}

.hero-lead {
    max-width: 690px;
    margin: 30px 0 0;
    color: #aab2c1;
    font-size: 17px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.button-primary {
    color: #080b12;
    background: var(--accent);
    border-color: var(--accent);
}

.button svg {
    width: 18px;
    height: 18px;
}

.hero-system {
    position: relative;
    min-height: 470px;
    background: rgba(14, 19, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.system-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    text-align: center;
    background: rgba(8, 11, 18, 0.82);
    border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
    border-radius: 28px;
    transform: translate(-50%, -50%);
}

.system-core::before,
.system-core::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.system-core::before {
    width: 285px;
    height: 285px;
}

.system-core::after {
    width: 380px;
    height: 380px;
}

.system-orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 78%, transparent);
    animation: product-orbit-dot var(--orbit-duration) linear infinite;
}

.system-orbit-dot-one {
    --orbit-radius: 190px;
    --orbit-duration: 22s;
}

.system-orbit-dot-two {
    --orbit-radius: 142px;
    --orbit-duration: 15s;
    background: var(--secondary);
    box-shadow: 0 0 14px color-mix(in srgb, var(--secondary) 82%, transparent);
    animation-direction: reverse;
}

.system-orbit-dot-three {
    --orbit-radius: 92px;
    --orbit-duration: 10s;
    background: #fff;
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 68%, transparent);
}

@keyframes product-orbit-dot {
    from { transform: rotate(0deg) translateX(var(--orbit-radius)); }
    to { transform: rotate(360deg) translateX(var(--orbit-radius)); }
}

.system-core strong {
    position: relative;
    z-index: 2;
    max-width: 130px;
    font-size: 20px;
    line-height: 1.25;
}

.system-node {
    position: absolute;
    z-index: 2;
    min-width: 112px;
    padding: 14px;
    color: #a8b0bf;
    background: #111724;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-align: center;
}

.system-node:nth-child(2) { top: 38px; left: 34px; }
.system-node:nth-child(3) { top: 38px; right: 34px; }
.system-node:nth-child(4) { bottom: 38px; left: 34px; }
.system-node:nth-child(5) { right: 34px; bottom: 38px; }

.section {
    padding: 120px 0;
}

.section-light {
    color: #11151d;
    background: var(--paper);
}

.section-head {
    display: grid;
    grid-template-columns: 1.05fr 0.75fr;
    gap: 80px;
    align-items: end;
}

.section-head h2 {
    margin: 20px 0 0;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1.03;
    text-wrap: balance;
}

.section-head p {
    margin: 0;
    color: #6f7785;
    font-size: 16px;
    line-height: 1.85;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 70px;
}

.feature-card {
    min-height: 290px;
    padding: 30px;
    color: inherit;
    background: #fff;
    border: 1px solid #e4e2dd;
    border-radius: 22px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    border-color: color-mix(in srgb, var(--accent) 48%, transparent);
    box-shadow: 0 20px 50px rgba(8, 11, 18, 0.12);
    transform: translateY(-4px);
}

.feature-card-dark {
    background: #111622;
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.feature-grid-single .feature-card {
    min-height: 240px;
}

.feature-index {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 72px 0 14px;
    font-size: 24px;
    letter-spacing: -0.035em;
}

.feature-card p {
    margin: 0;
    color: #707887;
    font-size: 14px;
    line-height: 1.75;
}

.loop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 70px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.loop-step {
    min-height: 220px;
    padding: 28px;
    border-right: 1px solid var(--line);
}

.loop-step:last-child {
    border-right: 0;
}

.loop-step span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
}

.loop-step h3 {
    margin: 72px 0 10px;
    font-size: 20px;
}

.loop-step p {
    margin: 0;
    color: #8892a3;
    font-size: 13px;
    line-height: 1.7;
}

.outcome-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
    background: #111622;
    border: 1px solid var(--line);
    border-radius: 28px;
}

.outcome-copy {
    padding: 64px;
}

.outcome-copy h2 {
    margin: 22px 0;
    font-size: clamp(34px, 3.6vw, 50px);
    letter-spacing: -0.05em;
    line-height: 1.04;
}

.outcome-copy p {
    color: #949eae;
    line-height: 1.8;
}

.outcome-list {
    display: grid;
    align-content: center;
    padding: 48px;
    background: radial-gradient(circle at 85% 85%, var(--accent-soft), transparent 48%);
}

.outcome-list div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.outcome-list div:last-child {
    border-bottom: 0;
}

.outcome-list span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.outcome-list strong {
    font-size: 19px;
    font-weight: 570;
}

.related-section {
    padding: 90px 0;
    color: #151923;
    background: #fff;
}

.related-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.related-head h2 {
    margin: 16px 0 0;
    font-size: 38px;
    letter-spacing: -0.045em;
}

.related-head a {
    color: #6555c8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 44px;
}

.related-card {
    min-height: 150px;
    padding: 24px;
    background: #f5f4f1;
    border: 1px solid #e5e2dc;
    border-radius: 18px;
    text-decoration: none;
}

.related-card strong,
.related-card span {
    display: block;
}

.related-card strong {
    margin-bottom: 34px;
    font-size: 18px;
}

.related-card span {
    color: #747c89;
    font-size: 12px;
}

.cta-section {
    padding: 110px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, var(--accent-soft), transparent 52%);
}

.cta-section h2 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(36px, 4.2vw, 58px);
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.cta-section p {
    max-width: 640px;
    margin: 24px auto 32px;
    color: #929bac;
    line-height: 1.8;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    color: #717a8b;
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
}

@media (max-width: 900px) {
    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-nav {
        display: none;
        padding: 0 0 20px;
    }

    .site-header.is-open .mobile-nav {
        display: grid;
    }

    .mobile-nav a {
        padding: 12px 0;
        color: #b1b9c7;
        border-top: 1px solid var(--line);
        font-size: 14px;
        text-decoration: none;
    }

    .hero-grid,
    .section-head,
    .outcome-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 30px;
        padding-top: 130px;
    }

    .hero-system {
        min-height: 440px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .loop-grid {
        grid-template-columns: 1fr 1fr;
    }

    .loop-step:nth-child(2) {
        border-right: 0;
    }

    .loop-step:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(calc(100% - 32px), var(--max));
    }

    .section {
        padding: 82px 0;
    }

    .product-hero h1 {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.06;
    }

    .product-hero h1 span {
        font-size: 0.5em;
    }

    .hero-system {
        min-height: 380px;
    }

    .system-core {
        width: 145px;
        height: 145px;
    }

    .system-core::before { width: 230px; height: 230px; }
    .system-core::after { width: 310px; height: 310px; }

    .system-orbit-dot-one { --orbit-radius: 155px; }
    .system-orbit-dot-two { --orbit-radius: 115px; }
    .system-orbit-dot-three { --orbit-radius: 74px; }

    .system-node {
        min-width: 90px;
        padding: 11px;
        font-size: 8px;
    }

    .system-node:nth-child(2) { top: 24px; left: 18px; }
    .system-node:nth-child(3) { top: 24px; right: 18px; }
    .system-node:nth-child(4) { bottom: 24px; left: 18px; }
    .system-node:nth-child(5) { right: 18px; bottom: 24px; }

    .feature-grid,
    .loop-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 240px;
    }

    .feature-card h3 {
        margin-top: 48px;
    }

    .loop-step,
    .loop-step:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .loop-step:last-child {
        border-bottom: 0;
    }

    .outcome-copy,
    .outcome-list {
        padding: 36px 24px;
    }

    .related-head,
    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-shell {
        justify-content: center;
        gap: 18px;
        min-height: 140px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition: none !important;
    }
}
