:root {
    color-scheme: dark;
    --bg: #070b0c;
    --bg-soft: #0b1113;
    --surface: #101719;
    --surface-2: #141d1f;
    --line: rgba(211, 235, 232, 0.13);
    --line-strong: rgba(211, 235, 232, 0.25);
    --text: #f2f6f5;
    --muted: #9eaaa8;
    --teal: #45d2c1;
    --teal-soft: #94e3d9;
    --gold: #c7a85a;
    --coral: #f48773;
    --shell: 1240px;
    --header-height: 76px;
    --radius: 6px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(69, 210, 193, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 210, 193, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 72%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.18;
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 9px 14px;
    background: var(--text);
    color: var(--bg);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(7, 11, 12, 0.9);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 36px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: relative;
    color: var(--teal);
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(69, 210, 193, 0.48);
}

.brand-mark span {
    font-size: 10px;
    font-weight: 800;
    transform: rotate(-45deg);
    letter-spacing: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong {
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
}

.brand-copy small {
    margin-top: 2px;
    color: #7f8c8a;
    font-size: 8px;
    letter-spacing: 0.13em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 25px 0 23px;
    color: #c3cdcb;
    font-size: 14px;
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 17px;
    height: 1px;
    background: var(--teal);
    transition: right 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--text);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    right: 0;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 22px;
    color: #06100e;
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
    color: var(--text);
    background: transparent;
    transform: translateY(-2px);
}

.button-small {
    min-height: 38px;
    padding-inline: 16px;
    color: var(--gold);
    background: transparent;
    border-color: var(--gold);
    font-size: 13px;
}

.button-small:hover {
    color: #0b0d0d;
    background: var(--gold);
}

.button-secondary {
    color: var(--text);
    background: transparent;
    border-color: var(--line-strong);
}

.button-secondary:hover {
    color: #07100f;
    background: var(--teal);
    border-color: var(--teal);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--teal-soft);
    font-size: 14px;
    font-weight: 600;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    min-height: 780px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}

.hero-media {
    position: absolute;
    inset: -3%;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hero-media-base,
.hero-float,
.hero-float img {
    width: 100%;
    height: 100%;
}

.hero-media-base,
.hero-float img {
    object-fit: cover;
    object-position: center;
}

.hero-media-base {
    filter: brightness(0.82) saturate(0.92);
    animation: hero-ambient 16s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-float {
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
    --hero-tilt-x: 0deg;
    --hero-tilt-y: 0deg;
    position: absolute;
    inset: 0;
    transform:
        translate3d(var(--hero-shift-x), var(--hero-shift-y), 44px)
        rotateX(var(--hero-tilt-x))
        rotateY(var(--hero-tilt-y));
    transform-origin: 58% 43%;
    transform-style: preserve-3d;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-float img {
    filter:
        brightness(1.12)
        saturate(1.12)
        drop-shadow(0 28px 32px rgba(0, 0, 0, 0.28))
        drop-shadow(0 0 24px rgba(69, 210, 193, 0.14));
    mask-image: radial-gradient(
        ellipse 49% 52% at 57% 43%,
        #000 0%,
        #000 47%,
        rgba(0, 0, 0, 0.82) 59%,
        transparent 78%
    );
    animation: hero-core-float 6.8s ease-in-out infinite;
    transform-origin: 57% 43%;
    will-change: transform, filter;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 11, 12, 0.3), transparent 54%);
}

.hero-grid::after {
    content: "";
    position: absolute;
    inset: 8% 0 0 42%;
    background: radial-gradient(circle, rgba(69, 210, 193, 0.12), transparent 56%);
    mix-blend-mode: screen;
    animation: hero-pulse 5.4s ease-in-out infinite;
}

@keyframes hero-ambient {
    from {
        transform: scale(1.02) translate3d(-0.35%, -0.2%, 0);
    }
    to {
        transform: scale(1.055) translate3d(0.45%, 0.35%, 0);
    }
}

@keyframes hero-core-float {
    0%,
    100% {
        transform: translate3d(0, 5px, 0) scale(1.018);
        filter:
            brightness(1.08)
            saturate(1.08)
            drop-shadow(0 23px 28px rgba(0, 0, 0, 0.24))
            drop-shadow(0 0 18px rgba(69, 210, 193, 0.11));
    }
    50% {
        transform: translate3d(0, -13px, 0) scale(1.035);
        filter:
            brightness(1.16)
            saturate(1.15)
            drop-shadow(0 38px 38px rgba(0, 0, 0, 0.32))
            drop-shadow(0 0 32px rgba(69, 210, 193, 0.2));
    }
}

@keyframes hero-pulse {
    0%,
    100% {
        opacity: 0.36;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.04);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
}

.hero-copy {
    width: min(720px, 59%);
}

.hero h1 {
    margin-bottom: 28px;
    font-size: 62px;
    font-weight: 650;
    text-wrap: balance;
}

.hero-title-main,
.hero-title-sub {
    display: block;
}

.hero-title-main {
    white-space: nowrap;
}

.hero-title-sub {
    margin-top: 14px;
    color: #dbe7e4;
    font-size: 0.6em;
    font-weight: 520;
    line-height: 1.4;
}

.hero h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 28px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
}

.hero-copy > p {
    max-width: 690px;
    margin-bottom: 36px;
    color: #c9d2d0;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-proof {
    position: absolute;
    left: 0;
    bottom: -176px;
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    width: min(720px, 59%);
    border-top: 1px solid var(--line-strong);
}

.hero-proof > div {
    padding: 19px 22px 0 0;
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.hero-proof span {
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 112px 0;
}

.section-tight {
    padding: 74px 0 96px;
}

.section-head {
    margin-bottom: 54px;
}

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

.section-head.compact > div {
    min-width: 0;
}

.section-index {
    display: block;
    margin-bottom: 14px;
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.section-head h2,
.two-column-heading h2,
.cta-inner h2,
.future-grid h2 {
    margin-bottom: 0;
    font-size: 42px;
    font-weight: 600;
}

.product-rail {
    position: relative;
    background: var(--bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.product-card {
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0a0f11;
    transition: background 220ms ease;
}

.product-card:hover {
    background: var(--surface);
}

.product-visual,
.case-image,
.product-feature-image,
.product-detail-visual,
.case-feature-image {
    position: relative;
    overflow: hidden;
    background-image: image-set(
        url("../images/product-atlas.webp") type("image/webp"),
        url("../images/product-atlas.png") type("image/png")
    );
    background-repeat: no-repeat;
    background-size: 200% 200%;
}

.managed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-cover {
    isolation: isolate;
    background-color: #091011;
}

.product-cover::before,
.product-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.product-cover::before {
    background:
        linear-gradient(105deg, transparent 34%, rgba(148, 227, 217, 0.15) 49%, transparent 64%);
    transform: translateX(-130%);
    animation: cover-scan 7.5s ease-in-out infinite;
}

.product-cover::after {
    background:
        linear-gradient(rgba(69, 210, 193, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 210, 193, 0.05) 1px, transparent 1px),
        linear-gradient(to top, rgba(7, 11, 12, 0.32), transparent 42%);
    background-size: 44px 44px, 44px 44px, auto;
    mix-blend-mode: screen;
    opacity: 0.45;
    animation: cover-grid 12s linear infinite;
}

.product-cover .managed-image {
    position: relative;
    z-index: 1;
    width: 104%;
    max-width: none;
    height: 104%;
    margin: -2%;
    animation: cover-drift 11s ease-in-out infinite alternate;
    will-change: transform;
}

.atlas-1.product-cover::before,
.atlas-4.product-cover::before {
    animation-delay: -2.4s;
}

.atlas-2.product-cover::before,
.atlas-5.product-cover::before {
    animation-delay: -4.8s;
}

.atlas-1.product-cover .managed-image,
.atlas-4.product-cover .managed-image {
    animation-delay: -3.5s;
}

.atlas-2.product-cover .managed-image,
.atlas-5.product-cover .managed-image {
    animation-delay: -7s;
}

@keyframes cover-scan {
    0%,
    16% {
        transform: translateX(-130%);
    }
    48%,
    100% {
        transform: translateX(130%);
    }
}

@keyframes cover-grid {
    to {
        background-position: 44px 44px, 44px 44px, 0 0;
    }
}

@keyframes cover-drift {
    from {
        transform: scale(1.01) translate3d(-0.6%, -0.4%, 0);
    }
    to {
        transform: scale(1.045) translate3d(0.7%, 0.5%, 0);
    }
}

.product-visual {
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid var(--line);
    filter: saturate(0.82);
    transition: filter 220ms ease;
}

.product-card:hover .product-visual {
    filter: saturate(1.1);
}

.atlas-0 {
    background-position: left top;
}

.atlas-1 {
    background-position: right top;
}

.atlas-2 {
    background-position: left bottom;
}

.atlas-3 {
    background-position: right bottom;
}

.atlas-4 {
    background-position: left bottom;
}

.atlas-5 {
    background-position: right top;
}

.product-card-copy {
    min-height: 220px;
    padding: 24px;
}

.product-card-copy > span,
.case-card > span,
.case-feature-copy > span {
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
}

.product-card h3 {
    margin: 22px 0 12px;
    font-size: 19px;
}

.product-card p {
    min-height: 76px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.8;
}

.product-card b {
    color: #d7dfdd;
    font-size: 12px;
}

.advantages {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.two-column-heading {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    align-items: end;
    gap: 80px;
}

.section-lead {
    margin-bottom: 54px;
    font-size: 17px;
}

.advantage-list {
    border-top: 1px solid var(--line-strong);
}

.advantage-row {
    display: grid;
    grid-template-columns: 100px 0.55fr 1fr;
    gap: 30px;
    align-items: center;
    min-height: 126px;
    border-bottom: 1px solid var(--line);
}

.advantage-row > span {
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.advantage-row h3,
.advantage-row p {
    margin-bottom: 0;
}

.advantage-row h3 {
    font-size: 22px;
}

.advantage-row p {
    font-size: 14px;
}

.delivery-model {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.delivery-model .section-lead {
    max-width: 510px;
    margin-bottom: 0;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.delivery-item {
    min-height: 274px;
    padding: 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.delivery-item > span,
.brief-list span,
.capability-list span {
    color: var(--gold);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.delivery-item h3 {
    margin: 42px 0 16px;
    font-size: 23px;
}

.delivery-item p {
    margin-bottom: 0;
    font-size: 14px;
}

.process {
    overflow: hidden;
}

.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 42px;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--teal), rgba(69, 210, 193, 0.12));
}

.process-step {
    position: relative;
    min-width: 0;
}

.process-step span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    color: var(--teal);
    background: var(--bg);
    border: 1px solid rgba(69, 210, 193, 0.55);
    border-radius: 50%;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.process-step strong {
    font-size: 15px;
}

.delivery-brief {
    padding-top: 82px;
    padding-bottom: 82px;
}

.brief-grid {
    display: grid;
    grid-template-columns: 0.84fr 1.16fr;
    gap: 100px;
    align-items: start;
}

.brief-heading h2 {
    margin-bottom: 0;
    font-size: 42px;
}

.brief-list {
    border-top: 1px solid var(--line-strong);
}

.brief-list article {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 24px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
}

.brief-list p {
    margin-bottom: 0;
    color: #c3cecb;
    font-size: 15px;
}

.cases-preview {
    background: var(--surface);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.case-card {
    min-width: 0;
}

.case-image {
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.case-card h3 {
    margin: 14px 0 10px;
    font-size: 22px;
}

.case-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.cta-band {
    position: relative;
    padding: 78px 0;
    background: #0b1415;
    border-top: 1px solid rgba(69, 210, 193, 0.28);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.cta-band::before {
    content: "QJ";
    position: absolute;
    right: 6vw;
    top: -68px;
    color: rgba(69, 210, 193, 0.035);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 250px;
    font-weight: 900;
    line-height: 1;
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-inner h2 {
    margin-bottom: 14px;
}

.cta-inner p {
    max-width: 700px;
    margin-bottom: 0;
}

.page-hero {
    min-height: 540px;
    display: flex;
    align-items: end;
    padding: 170px 0 86px;
    position: relative;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(69, 210, 193, 0.06), transparent 40%),
        var(--bg);
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 36%;
    right: 0;
    top: var(--header-height);
    bottom: 0;
    border-left: 1px solid var(--line);
    background:
        linear-gradient(rgba(69, 210, 193, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 210, 193, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to left, black, transparent);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 90px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 0;
    font-size: 58px;
    font-weight: 620;
}

.page-hero-grid > p {
    margin-bottom: 8px;
    color: #b7c1bf;
    font-size: 17px;
}

.about-statement {
    max-width: 980px;
}

.about-statement p {
    margin-bottom: 0;
    color: var(--text);
    font-size: 38px;
    line-height: 1.5;
}

.split-band {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.philosophy-grid article {
    min-width: 0;
    padding-right: 70px;
}

.philosophy-grid article + article {
    padding-right: 0;
    padding-left: 70px;
    border-left: 1px solid var(--line);
}

.philosophy-grid span,
.cooperation-mode > span,
.cooperation-notice span,
.detail-facts span,
.contact-item span {
    color: var(--teal);
    font-size: 12px;
}

.philosophy-grid h2 {
    margin: 24px 0;
    font-size: 34px;
}

.future-band {
    background: linear-gradient(90deg, #0a1011 0 50%, #111817 50%);
    border-top: 1px solid var(--line);
}

.future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.future-copy p {
    margin-bottom: 32px;
    color: #b9c4c1;
    font-size: 17px;
}

.product-list {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.product-feature {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 500px;
    background: var(--bg);
}

.product-feature:nth-child(even) .product-feature-copy {
    order: 2;
}

.product-feature-copy {
    padding: 58px;
}

.product-feature-copy > span {
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.product-feature h2 {
    margin: 26px 0 22px;
    font-size: 34px;
}

.product-feature p {
    font-size: 15px;
}

.product-feature dl {
    margin: 30px 0;
    border-top: 1px solid var(--line);
}

.product-feature dl div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.product-feature dt {
    color: #7f8b89;
    font-size: 12px;
}

.product-feature dd {
    margin: 0;
    color: #cbd3d1;
    font-size: 13px;
}

.product-feature b {
    color: var(--teal-soft);
    font-size: 13px;
}

.product-feature-image {
    min-height: 500px;
    border-left: 1px solid var(--line);
    filter: saturate(0.9);
}

.product-feature:nth-child(even) .product-feature-image {
    border-right: 1px solid var(--line);
    border-left: 0;
}

.product-detail-hero {
    padding: 150px 0 80px;
    border-bottom: 1px solid var(--line);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 70px;
    align-items: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 58px;
    color: var(--muted);
    font-size: 13px;
}

.product-detail-copy h1 {
    margin: 18px 0 28px;
    font-size: 52px;
}

.product-detail-copy p {
    margin-bottom: 34px;
    color: #bdc6c4;
    font-size: 17px;
}

.product-detail-visual {
    aspect-ratio: 16 / 11;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.detail-facts article {
    min-height: 220px;
    padding: 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-facts h2 {
    margin-top: 30px;
    font-size: 22px;
    line-height: 1.55;
}

.product-capabilities {
    padding-top: 0;
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.capability-list article {
    min-height: 184px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.capability-list h3 {
    margin: 58px 0 0;
    font-size: 20px;
}

.service-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-flow-step {
    min-height: 184px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-flow-step span {
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.service-flow-step strong {
    font-size: 15px;
}

.services-list-section {
    background: var(--surface);
}

.service-list {
    border-top: 1px solid var(--line-strong);
}

.service-row {
    display: grid;
    grid-template-columns: 100px 0.55fr 1fr;
    gap: 32px;
    align-items: center;
    min-height: 120px;
    border-bottom: 1px solid var(--line);
}

.service-row > span {
    color: var(--gold);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.service-row h3,
.service-row p {
    margin-bottom: 0;
}

.service-row h3 {
    font-size: 21px;
}

.service-row p {
    font-size: 14px;
}

.cases-full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.case-feature {
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.case-feature-image {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--line);
}

.case-feature-copy {
    min-height: 240px;
    padding: 32px;
}

.case-feature-copy h2 {
    margin: 17px 0 13px;
    font-size: 26px;
}

.case-feature-copy p {
    min-height: 56px;
    margin-bottom: 22px;
    font-size: 14px;
}

.cooperation-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.cooperation-mode {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cooperation-mode h2 {
    margin: 55px 0 24px;
    font-size: 28px;
}

.cooperation-mode p {
    font-size: 15px;
}

.cooperation-mode strong {
    margin-top: auto;
    padding-top: 30px;
    color: #c9d2d0;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.7;
}

.cooperation-notice {
    background: var(--surface);
}

.cooperation-notice .shell {
    max-width: 940px;
}

.cooperation-notice h2 {
    margin: 22px 0;
    font-size: 38px;
}

.cooperation-notice p {
    margin-bottom: 34px;
    font-size: 16px;
}

.contact-page {
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    background:
        linear-gradient(90deg, rgba(69, 210, 193, 0.06), transparent 42%),
        var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.contact-intro h1 {
    margin: 22px 0 30px;
    font-size: 56px;
}

.contact-intro p {
    max-width: 620px;
    font-size: 17px;
}

.contact-panel {
    padding: 10px 36px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-item {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: 19px;
    overflow-wrap: anywhere;
}

.contact-note {
    margin: 26px 0;
    color: #899592;
    font-size: 12px;
}

.legal-content {
    background: #f3f6f5;
    color: #18201f;
}

.legal-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    gap: 100px;
    justify-content: center;
}

.legal-grid aside {
    align-self: start;
    position: sticky;
    top: 112px;
    display: grid;
    gap: 10px;
}

.legal-grid aside strong {
    margin-bottom: 12px;
}

.legal-grid aside a {
    color: #66706e;
    font-size: 13px;
}

.legal-grid aside a:hover {
    color: #087e71;
}

.legal-grid article p {
    color: #515d5a;
}

.legal-grid article section {
    scroll-margin-top: 110px;
    margin-bottom: 46px;
}

.legal-grid h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

.legal-date {
    padding-bottom: 24px;
    border-bottom: 1px solid #d8dfdd;
    font-size: 13px;
}

.not-found {
    min-height: 76vh;
    display: grid;
    place-items: center;
    padding: 140px 0 80px;
    text-align: center;
}

.not-found span {
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 90px;
}

.not-found h1 {
    font-size: 42px;
}

.floating-consult {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 50;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 17px;
    color: #07100f;
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 2px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
    font-size: 13px;
    font-weight: 700;
}

.site-footer {
    padding-top: 70px;
    background: #050809;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 0.65fr 0.65fr 0.9fr;
    gap: 60px;
    padding-bottom: 54px;
}

.footer-brand p {
    max-width: 360px;
    margin: 28px 0 0;
    font-size: 13px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links strong,
.footer-contact strong {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 13px;
}

.footer-links a,
.footer-contact p {
    margin: 0;
    color: #84908e;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    display: flex;
    gap: 12px;
    margin: 0;
    color: #6f7a78;
    font-size: 11px;
}

.footer-bottom a:hover {
    color: var(--teal);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1120px) {
    :root {
        --header-height: 68px;
    }

    .header-action {
        display: none;
    }

    .main-nav {
        gap: 20px;
    }

    .hero {
        min-height: 720px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-copy,
    .hero-proof {
        width: 62%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-flow {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: 1.4fr repeat(3, 0.7fr);
        gap: 34px;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-content: start;
        gap: 0;
        padding: 12px 18px 22px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: 760px;
        align-items: end;
        padding-bottom: 56px;
    }

    .hero-media {
        inset: 0 -22% 22% 0;
    }

    .hero-media img {
        object-position: 68% center;
    }

    .hero-float img {
        animation-duration: 7.6s;
        mask-image: radial-gradient(
            ellipse 56% 46% at 67% 34%,
            #000 0%,
            #000 45%,
            rgba(0, 0, 0, 0.78) 61%,
            transparent 80%
        );
    }

    .hero-grid {
        background: linear-gradient(to top, var(--bg) 4%, rgba(7, 11, 12, 0.88) 43%, transparent 78%);
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        max-width: 720px;
        font-size: 44px;
    }

    .hero-title-main {
        white-space: normal;
    }

    .hero-copy > p {
        max-width: 620px;
    }

    .hero-proof {
        position: static;
        width: 100%;
        margin-top: 52px;
    }

    .two-column-heading,
    .page-hero-grid,
    .future-grid,
    .product-detail-grid,
    .contact-grid,
    .brief-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

    .delivery-item {
        min-height: 0;
    }

    .capability-list {
        grid-template-columns: 1fr 1fr;
    }

    .section-lead {
        margin-bottom: 0;
    }

    .advantage-row,
    .service-row {
        grid-template-columns: 70px 0.7fr 1fr;
    }

    .process-track {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
    }

    .process-track::before {
        display: none;
    }

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

    .case-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 9px);
    }

    .page-hero {
        min-height: 480px;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .philosophy-grid {
        gap: 50px;
    }

    .philosophy-grid article {
        padding-right: 44px;
    }

    .philosophy-grid article + article {
        padding-left: 44px;
    }

    .product-feature {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .product-feature:nth-child(even) .product-feature-copy {
        order: initial;
    }

    .product-feature-image,
    .product-feature:nth-child(even) .product-feature-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
        border: 0;
        border-top: 1px solid var(--line);
    }

    .product-detail-visual {
        grid-row: 1;
    }

    .detail-facts,
    .cooperation-modes {
        grid-template-columns: 1fr;
    }

    .cooperation-mode {
        min-height: 340px;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
        padding-top: 28px;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .brand-copy small {
        display: none;
    }

    .main-nav {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 720px;
        padding-bottom: 36px;
    }

    .hero-media {
        inset: 0 -45% 34% -10%;
    }

    .hero-float img {
        animation-name: hero-core-float-mobile;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: 34px;
        line-height: 1.28;
    }

    .hero-title-sub {
        margin-top: 10px;
        font-size: 0.68em;
        line-height: 1.5;
    }

    .hero h1::after {
        margin-top: 20px;
    }

    .hero-copy > p {
        margin-bottom: 28px;
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .hero-proof > div {
        display: grid;
        grid-template-columns: 90px 1fr;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-proof strong {
        margin-bottom: 0;
    }

    @keyframes hero-core-float-mobile {
        0%,
        100% {
            transform: translate3d(0, 2px, 0) scale(1.01);
        }
        50% {
            transform: translate3d(0, -7px, 0) scale(1.022);
        }
    }

    .section,
    .section-tight {
        padding: 72px 0;
    }

    .section-head {
        margin-bottom: 34px;
    }

    .section-head.compact {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-head h2,
    .two-column-heading h2,
    .cta-inner h2,
    .future-grid h2 {
        font-size: 31px;
    }

    .product-grid,
    .case-grid,
    .cases-full-grid {
        grid-template-columns: 1fr;
    }

    .product-card-copy {
        min-height: 0;
    }

    .product-card p {
        min-height: 0;
    }

    .advantage-row,
    .service-row {
        grid-template-columns: 42px 1fr;
        gap: 18px;
        padding: 24px 0;
    }

    .advantage-row p,
    .service-row p {
        grid-column: 2;
    }

    .process-track {
        grid-template-columns: 1fr 1fr;
    }

    .process-step span {
        width: 42px;
        height: 42px;
    }

    .case-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .page-hero {
        min-height: 410px;
        padding: 130px 0 60px;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero-grid {
        gap: 28px;
    }

    .page-hero-grid > p {
        font-size: 15px;
    }

    .about-statement p {
        font-size: 27px;
    }

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

    .philosophy-grid article,
    .philosophy-grid article + article {
        padding: 0;
        border: 0;
    }

    .philosophy-grid article + article {
        padding-top: 46px;
        border-top: 1px solid var(--line);
    }

    .future-band {
        background: var(--surface);
    }

    .product-feature-copy {
        padding: 34px 24px;
    }

    .product-feature h2 {
        font-size: 28px;
    }

    .product-feature dl div {
        grid-template-columns: 72px 1fr;
    }

    .product-detail-hero {
        padding: 112px 0 60px;
    }

    .back-link {
        margin-bottom: 34px;
    }

    .product-detail-copy h1 {
        font-size: 38px;
    }

    .detail-facts {
        border-left: 0;
    }

    .detail-facts article {
        min-height: 180px;
        border-left: 1px solid var(--line);
    }

    .delivery-brief {
        padding-block: 72px;
    }

    .brief-heading h2 {
        font-size: 31px;
    }

    .brief-list article {
        grid-template-columns: 88px 1fr;
        gap: 18px;
    }

    .capability-list {
        grid-template-columns: 1fr;
        border-left: 0;
    }

    .capability-list article {
        min-height: 0;
        border-left: 1px solid var(--line);
    }

    .capability-list h3 {
        margin-top: 36px;
        font-size: 19px;
    }

    .service-flow {
        grid-template-columns: 1fr 1fr;
    }

    .service-flow-step {
        min-height: 140px;
    }

    .case-feature-copy {
        min-height: 0;
    }

    .case-feature-copy p {
        min-height: 0;
    }

    .cooperation-notice h2 {
        font-size: 30px;
    }

    .contact-page {
        padding: 122px 0 68px;
    }

    .contact-intro h1 {
        font-size: 38px;
    }

    .contact-panel {
        padding-inline: 22px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-grid aside {
        position: static;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 28px;
        border-bottom: 1px solid #d8dfdd;
    }

    .legal-grid aside strong {
        grid-column: 1 / -1;
    }

    .floating-consult {
        right: 14px;
        bottom: 16px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
    }

    .footer-bottom p {
        flex-wrap: wrap;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .product-cover::before,
    .product-cover::after,
    .product-cover .managed-image,
    .hero-media-base,
    .hero-float img,
    .hero-grid::after {
        animation: none !important;
    }

    .hero-float {
        transform: none !important;
        transition: none !important;
    }
}

/* Preserve depth interactions without continuous full-page repaints. */
.page-hero::before,
.page-hero::after,
.page-hero-grid::after,
body:not([data-page="home"]):not([data-page="privacy"]) main > .section::before,
.contact-page::before,
.contact-page::after,
.contact-panel,
.product-detail-hero::before,
.product-detail-hero::after,
.product-detail-visual {
    animation: none;
    will-change: auto;
}

.contact-panel {
    backdrop-filter: none;
}

/* Performance guardrails: content stays visible and large layers never repaint continuously. */
.reveal,
.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
}

.hero-media-base {
    animation: none;
    transform: scale(1.02);
    will-change: auto;
}

.hero-float,
.hero-float img {
    will-change: auto;
}

.hero-float img {
    animation: hero-core-float-lite 8s ease-in-out infinite;
    filter:
        brightness(1.08)
        saturate(1.06)
        drop-shadow(0 24px 28px rgba(0, 0, 0, 0.24));
}

.hero-grid::after {
    animation: none;
    opacity: 0.48;
}

.product-cover::before,
.product-cover::after,
.product-cover .managed-image {
    animation-play-state: paused;
    will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
    .product-cover:hover::before,
    .product-cover:hover::after,
    .product-cover:hover .managed-image {
        animation-play-state: running;
    }
}

.page-hero::before,
.page-hero::after,
.page-hero-grid::after,
body:not([data-page="home"]):not([data-page="privacy"]) main > .section::before,
.contact-page::before,
.contact-page::after,
.contact-panel,
.product-detail-hero::before,
.product-detail-hero::after {
    animation: none;
    will-change: auto;
}

.page-hero::before,
.contact-page::before,
.product-detail-hero::before {
    transition: transform 420ms ease-out;
}

.contact-panel {
    backdrop-filter: none;
}

body:not([data-page="home"]):not([data-page="privacy"]) main > .section {
    contain: paint;
}

@keyframes hero-core-float-lite {
    0%,
    100% {
        transform: translate3d(0, 3px, 0) scale(1.01);
    }
    50% {
        transform: translate3d(0, -8px, 0) scale(1.02);
    }
}

@media (max-width: 900px) {
    .hero-float {
        display: none;
    }

    .hero-media-base {
        filter: brightness(0.76) saturate(0.88);
        transform: none;
    }

    .page-hero::before,
    .contact-page::before,
    .product-detail-hero::before {
        transition: none;
        transform: scale(1.03);
    }

    .product-detail-visual {
        animation: none;
    }
}

/* Inner-page atmospheric system */
body[data-page="about"] {
    --page-art: url("../images/hero-ai-core.webp");
    --page-code: "QJ / ORIGIN  01";
    --page-art-position: 78% 45%;
}

body[data-page="products"] {
    --page-art: url("../images/product-qj-zhike.webp");
    --page-code: "PRODUCT MATRIX  06";
    --page-art-position: 78% 50%;
}

body[data-page="services"] {
    --page-art: url("../images/product-dq-creative.webp");
    --page-code: "SERVICE SYSTEM  07";
    --page-art-position: 78% 50%;
}

body[data-page="cases"] {
    --page-art: url("../images/product-ai-commander.webp");
    --page-code: "DEPLOYED CASES  06";
    --page-art-position: 79% 50%;
}

body[data-page="cooperation"] {
    --page-art: url("../images/product-power-global.webp");
    --page-code: "CO-CREATION  03";
    --page-art-position: 80% 48%;
}

body[data-page="contact"] {
    --page-art: url("../images/hero-ai-core.webp");
    --page-code: "PRIVATE CHANNEL";
    --page-art-position: 76% 46%;
}

body[data-page="privacy"] {
    --page-art: url("../images/product-qj-zhike.webp");
    --page-code: "DATA PROTECTION";
    --page-art-position: 82% 48%;
}

.page-hero,
.contact-page,
.product-detail-hero {
    --scene-x: 0px;
    --scene-y: 0px;
    isolation: isolate;
    overflow: hidden;
}

.page-hero {
    min-height: 590px;
    background:
        radial-gradient(circle at 76% 40%, rgba(69, 210, 193, 0.13), transparent 28%),
        linear-gradient(102deg, #070b0c 7%, rgba(7, 11, 12, 0.94) 44%, rgba(7, 11, 12, 0.46) 72%, #070b0c 100%);
}

.page-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 54px -4% -8% 32%;
    background-image: var(--page-art);
    background-position: var(--page-art-position, 76% 50%);
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.67) saturate(0.9) contrast(1.06);
    opacity: 0.76;
    transform: translate3d(var(--scene-x), var(--scene-y), 0) scale(1.07);
    transform-origin: 72% 48%;
    mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 20%, #000 50%, rgba(0, 0, 0, 0.82) 78%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 14%, #000 72%, transparent 100%);
    mask-composite: intersect;
    animation: inner-art-breathe 12s ease-in-out infinite alternate;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, filter;
}

.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 35% -15% -48% 34%;
    width: auto;
    border: 0;
    background:
        linear-gradient(rgba(69, 210, 193, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 210, 193, 0.12) 1px, transparent 1px);
    background-size: 58px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 78%);
    opacity: 0.48;
    transform: perspective(520px) rotateX(62deg) translate3d(calc(var(--scene-x) * -0.35), 0, 0);
    transform-origin: center top;
    animation: inner-grid-travel 10s linear infinite;
}

.page-hero-grid {
    min-height: 328px;
}

.page-hero-grid::before {
    content: var(--page-code);
    position: absolute;
    z-index: -1;
    top: -108px;
    right: -2px;
    color: rgba(200, 237, 232, 0.055);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(54px, 8vw, 116px);
    font-weight: 800;
    line-height: 0.9;
    white-space: nowrap;
    pointer-events: none;
}

.page-hero-grid::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -90px;
    bottom: -86px;
    left: 57%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(148, 227, 217, 0.7), transparent);
    box-shadow: 0 0 22px rgba(69, 210, 193, 0.32);
    opacity: 0;
    animation: inner-scan-line 6.8s ease-in-out infinite;
}

.page-hero h1 {
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.68);
}

.page-hero-grid > p {
    padding: 24px 0 24px 28px;
    border-left: 1px solid rgba(148, 227, 217, 0.34);
    background: linear-gradient(90deg, rgba(7, 11, 12, 0.46), transparent);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(2px);
}

body:not([data-page="home"]):not([data-page="privacy"]) main > .section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body:not([data-page="home"]):not([data-page="privacy"]) main > .section::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(69, 210, 193, 0.027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 210, 193, 0.027) 1px, transparent 1px),
        linear-gradient(112deg, transparent 0 54%, rgba(69, 210, 193, 0.035) 54.1% 54.25%, transparent 54.35%);
    background-size: 72px 72px, 72px 72px, auto;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
    animation: section-grid-drift 22s linear infinite;
}

body:not([data-page="home"]):not([data-page="privacy"]) main > .section::after {
    content: var(--page-code);
    position: absolute;
    z-index: -1;
    right: max(24px, calc((100vw - var(--shell)) / 2));
    bottom: 14px;
    color: rgba(148, 227, 217, 0.032);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(46px, 8vw, 122px);
    font-weight: 900;
    line-height: 0.9;
    white-space: nowrap;
    pointer-events: none;
}

body:not([data-page="home"]):not([data-page="privacy"]) main > .section:nth-of-type(even)::after {
    right: auto;
    left: max(24px, calc((100vw - var(--shell)) / 2));
}

.split-band,
.services-list-section,
.cooperation-notice {
    background:
        radial-gradient(circle at 82% 34%, rgba(69, 210, 193, 0.075), transparent 26%),
        linear-gradient(115deg, rgba(16, 23, 25, 0.98), rgba(9, 15, 16, 0.98));
}

.future-band {
    background:
        radial-gradient(circle at 72% 50%, rgba(199, 168, 90, 0.065), transparent 23%),
        linear-gradient(90deg, rgba(9, 15, 16, 0.99) 0 50%, rgba(15, 24, 23, 0.99) 50%);
}

.service-flow-step,
.detail-facts article,
.cooperation-mode {
    position: relative;
    overflow: hidden;
    background: rgba(7, 11, 12, 0.48);
    transition: background 240ms ease, transform 240ms ease, border-color 240ms ease;
}

.service-flow-step::before,
.detail-facts article::before,
.cooperation-mode::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 36%, rgba(148, 227, 217, 0.08) 49%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 700ms ease;
}

.service-flow-step:hover,
.detail-facts article:hover,
.cooperation-mode:hover {
    z-index: 2;
    background: rgba(16, 27, 28, 0.78);
    border-color: rgba(69, 210, 193, 0.38);
    transform: translateY(-7px);
}

.service-flow-step:hover::before,
.detail-facts article:hover::before,
.cooperation-mode:hover::before {
    transform: translateX(130%);
}

.contact-page {
    position: relative;
    background:
        radial-gradient(circle at 76% 44%, rgba(69, 210, 193, 0.14), transparent 25%),
        linear-gradient(100deg, #070b0c 12%, rgba(7, 11, 12, 0.94) 48%, rgba(7, 11, 12, 0.5) 100%);
}

.contact-page::before,
.product-detail-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 50px -6% -5% 25%;
    background-image: var(--page-art, url("../images/hero-ai-core.webp"));
    background-position: var(--page-art-position, 76% 48%);
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.58) saturate(0.88);
    opacity: 0.72;
    mask-image: linear-gradient(90deg, transparent, #000 35%, #000 78%, transparent);
    transform: translate3d(var(--scene-x), var(--scene-y), 0) scale(1.08);
    animation: inner-art-breathe 12s ease-in-out infinite alternate;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-page::after,
.product-detail-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 44% -12% -44% 38%;
    background:
        linear-gradient(rgba(69, 210, 193, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 210, 193, 0.12) 1px, transparent 1px);
    background-size: 62px 44px;
    opacity: 0.4;
    transform: perspective(500px) rotateX(62deg);
    transform-origin: top center;
    animation: inner-grid-travel 10s linear infinite;
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.contact-grid {
    position: relative;
    z-index: 1;
}

.contact-grid::before {
    content: var(--page-code);
    position: absolute;
    z-index: -1;
    top: -88px;
    left: 0;
    color: rgba(148, 227, 217, 0.05);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(50px, 7vw, 104px);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.contact-panel {
    background: linear-gradient(145deg, rgba(17, 29, 30, 0.88), rgba(9, 15, 16, 0.76));
    border-color: rgba(148, 227, 217, 0.22);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    animation: contact-panel-float 6.5s ease-in-out infinite;
}

.product-detail-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 72% 46%, rgba(69, 210, 193, 0.11), transparent 30%),
        #070b0c;
}

.product-detail-hero::before {
    inset: 40px -10% -10% 38%;
    opacity: 0.24;
    filter: brightness(0.48) saturate(0.8) blur(1px);
}

.product-detail-grid {
    position: relative;
    z-index: 1;
}

.product-detail-grid::before {
    content: "QJ / PRODUCT";
    position: absolute;
    z-index: -1;
    top: -76px;
    right: 0;
    color: rgba(148, 227, 217, 0.05);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(56px, 8vw, 112px);
    font-weight: 900;
    white-space: nowrap;
}

.product-detail-visual {
    border-color: rgba(148, 227, 217, 0.28);
    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.5),
        0 0 70px rgba(69, 210, 193, 0.08);
    animation: product-hero-float 7s ease-in-out infinite;
}

.legal-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(rgba(8, 126, 113, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 126, 113, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 88% 10%, rgba(69, 210, 193, 0.1), transparent 26%),
        #f3f6f5;
    background-size: 70px 70px, 70px 70px, auto, auto;
}

.legal-content::after {
    content: "DATA / PRIVACY";
    position: absolute;
    z-index: -1;
    right: 2vw;
    top: 40px;
    color: rgba(8, 126, 113, 0.045);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(62px, 9vw, 144px);
    font-weight: 900;
    line-height: 1;
    writing-mode: vertical-rl;
    pointer-events: none;
}

@keyframes inner-art-breathe {
    from {
        filter: brightness(0.62) saturate(0.86) contrast(1.05);
    }
    to {
        filter: brightness(0.76) saturate(1.02) contrast(1.08);
    }
}

@keyframes inner-grid-travel {
    to {
        background-position: 58px 42px, 58px 42px;
    }
}

@keyframes inner-scan-line {
    0%,
    14% {
        opacity: 0;
        transform: translateX(-160px);
    }
    35% {
        opacity: 0.78;
    }
    72%,
    100% {
        opacity: 0;
        transform: translateX(360px);
    }
}

@keyframes section-grid-drift {
    to {
        background-position: 72px 36px, 72px 36px, 0 0;
    }
}

@keyframes contact-panel-float {
    0%,
    100% {
        transform: translateY(4px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes product-hero-float {
    0%,
    100% {
        transform: translateY(5px) rotateX(0.4deg);
    }
    50% {
        transform: translateY(-11px) rotateX(-0.4deg);
    }
}

@media (max-width: 900px) {
    .page-hero::before {
        inset: 48px -28% 2% 18%;
        opacity: 0.6;
    }

    .page-hero::after {
        inset: 46% -30% -42% 12%;
    }

    .page-hero-grid::before {
        top: -72px;
        right: 0;
        font-size: 62px;
    }

    .page-hero-grid::after {
        left: 68%;
    }

    .contact-page::before {
        inset: 40px -42% 16% 4%;
        opacity: 0.56;
    }

    .contact-page::after {
        inset: 52% -32% -36% 10%;
    }

    .product-detail-hero {
        min-height: 0;
    }

    .product-detail-hero::before {
        inset: 20px -35% 18% 5%;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 470px;
    }

    .page-hero::before {
        inset: 42px -58% 8% 0;
        background-position: 68% center;
        opacity: 0.48;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), #000 35%, transparent 94%);
    }

    .page-hero::after {
        inset: 56% -60% -28% -20%;
        opacity: 0.34;
    }

    .page-hero-grid {
        min-height: 300px;
        align-content: end;
    }

    .page-hero-grid::before {
        top: -36px;
        font-size: 42px;
    }

    .page-hero-grid::after {
        display: none;
    }

    .page-hero-grid > p {
        padding: 16px 0 16px 18px;
    }

    body:not([data-page="home"]):not([data-page="privacy"]) main > .section::after {
        right: 14px;
        bottom: 10px;
        max-width: calc(100% - 28px);
        overflow: hidden;
        font-size: 48px;
    }

    .service-flow-step:hover,
    .detail-facts article:hover,
    .cooperation-mode:hover {
        transform: none;
    }

    .contact-page {
        min-height: calc(100vh - 80px);
    }

    .contact-page::before {
        inset: 30px -74% 35% -12%;
        background-position: 68% center;
        opacity: 0.46;
    }

    .contact-grid::before {
        top: -28px;
        font-size: 40px;
    }

    .contact-panel {
        animation-duration: 8s;
    }

    .product-detail-grid::before {
        top: -34px;
        font-size: 42px;
    }

    .product-detail-hero::before {
        inset: 30px -60% 48% -10%;
    }

    .product-detail-visual {
        animation-duration: 8s;
    }

    .legal-content::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero::before,
    .page-hero::after,
    .page-hero-grid::after,
    body:not([data-page="home"]):not([data-page="privacy"]) main > .section::before,
    .contact-page::before,
    .contact-page::after,
    .contact-panel,
    .product-detail-hero::before,
    .product-detail-hero::after,
    .product-detail-visual {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Final performance guard: keep atmospheric depth static outside the home hero. */
.page-hero::before,
.page-hero::after,
.page-hero-grid::after,
body:not([data-page="home"]):not([data-page="privacy"]) main > .section::before,
.contact-page::before,
.contact-page::after,
.contact-panel,
.product-detail-hero::before,
.product-detail-hero::after,
.product-detail-visual {
    animation: none;
    will-change: auto;
}

.contact-panel {
    backdrop-filter: none;
}
