:root {
    --bg: #08090b;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.13);
    --text: #f7f4ec;
    --muted: #a6adb5;
    --muted-2: #707984;
    --cyan: #34d7d0;
    --blue: #7c8cff;
    --violet: #9f6bff;
    --pink: #ff5ea8;
    --amber: #f2b84b;
    --green: #78d88f;
    --ink: #111418;
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 10% 2%, rgba(124, 140, 255, 0.22), transparent 34rem),
        radial-gradient(ellipse at 90% 12%, rgba(52, 215, 208, 0.14), transparent 30rem),
        radial-gradient(ellipse at 54% 52%, rgba(159, 107, 255, 0.1), transparent 36rem),
        linear-gradient(180deg, #07080d 0%, #11131d 48%, #08090b 100%);
    color: var(--text);
    font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.055) 12%, transparent 24%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 5px);
    background-size: 180% 100%, auto;
    mix-blend-mode: screen;
    opacity: 0.34;
    animation: sheen 12s linear infinite;
}

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

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

button {
    font: inherit;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(9, 10, 18, 0.88), rgba(9, 10, 18, 0.62));
    backdrop-filter: blur(22px) saturate(130%);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 900;
}

.brand-logo,
.footer-brand img {
    width: auto;
    height: 52px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a,
.site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
}

.nav-links a:hover,
.site-footer a:hover {
    color: var(--text);
}

.icon-button,
.nav-cta,
.btn-primary,
.btn-secondary,
.tool-option {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-button {
    width: 42px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-color: rgba(52, 215, 208, 0.62);
    background: linear-gradient(135deg, rgba(52, 215, 208, 0.96), rgba(124, 140, 255, 0.96));
    color: #061012;
    font-weight: 800;
    box-shadow: 0 0 28px rgba(52, 215, 208, 0.24);
}

.hero-section {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    padding: 124px 0 56px;
    background: #05070c;
    isolation: isolate;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-section::before {
    inset: 4% -14% auto;
    height: 58%;
    background:
        conic-gradient(from 230deg at 52% 50%, transparent, rgba(52, 215, 208, 0.32), rgba(124, 140, 255, 0.3), rgba(255, 94, 168, 0.18), transparent 66%);
    filter: blur(30px);
    opacity: 0.95;
    transform: skewY(-7deg);
    animation: auroraSweep 16s ease-in-out infinite alternate;
}

.hero-section::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 215, 208, 0.72), rgba(159, 107, 255, 0.72), transparent);
    box-shadow: 0 0 32px rgba(52, 215, 208, 0.52);
}

.hero-bg,
.hero-bg video,
.hero-bg-overlay,
.grid-lines {
    position: absolute;
    inset: 0;
}

.hero-bg {
    overflow: hidden;
    contain: paint;
    background: #05070c url("../assets/webp/rockcent-ai-hero.webp") 50% 50% / cover no-repeat;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    filter: saturate(116%) contrast(112%);
    transform: scale(1.02);
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.26;
    mix-blend-mode: screen;
    filter: saturate(118%) contrast(110%) brightness(0.78);
    transform: none;
}

.hero-bg-overlay {
    background:
        radial-gradient(ellipse at 80% 28%, rgba(52, 215, 208, 0.24), transparent 31rem),
        radial-gradient(ellipse at 56% 18%, rgba(124, 140, 255, 0.24), transparent 28rem),
        linear-gradient(90deg, rgba(5, 7, 12, 0.98) 0%, rgba(5, 7, 12, 0.7) 34%, rgba(5, 7, 12, 0.28) 62%, rgba(5, 7, 12, 0.82) 100%),
        linear-gradient(180deg, rgba(5, 7, 12, 0.26) 0%, rgba(5, 7, 12, 0.52) 58%, #08090b 100%);
}

.grid-lines {
    background-image:
        linear-gradient(rgba(52, 215, 208, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 140, 255, 0.13) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, black 0%, transparent 86%);
    animation: gridDrift 18s linear infinite;
    opacity: 0.92;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.78fr);
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100dvh - 180px);
    margin: 0 auto;
    gap: 50px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin-bottom: 16px;
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(52, 215, 208, 0.28);
    border-radius: 999px;
    background: rgba(52, 215, 208, 0.075);
    color: var(--cyan);
    font-family: "Avenir Next", "PingFang SC", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 0 24px rgba(52, 215, 208, 0.12);
}

h1,
h2,
h3,
h4,
strong,
b {
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    font-family: "Avenir Next", "PingFang SC", sans-serif;
    font-size: clamp(50px, 6.2vw, 86px);
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(112deg, #ffffff 0%, #e9fbff 22%, #69fff1 44%, #9a8cff 68%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 54px rgba(52, 215, 208, 0.22);
}

h2 {
    font-family: "Avenir Next", "PingFang SC", sans-serif;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.04;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 34px rgba(124, 140, 255, 0.16);
}

.hero-lede,
.section-heading p,
.diagnostic-copy p,
.about-copy p,
.contact-card p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.hero-lede {
    margin-top: 26px;
    color: rgba(225, 235, 243, 0.82);
    max-width: 690px;
}

.hero-status-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-status-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(52, 215, 208, 0.24);
    border-radius: 999px;
    background: rgba(3, 13, 18, 0.46);
    color: rgba(232, 252, 255, 0.86);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(52, 215, 208, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 650px;
    margin-top: 22px;
}

.hero-paths a {
    position: relative;
    min-height: 92px;
    overflow: hidden;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(52, 215, 208, 0.14), transparent 44%),
        rgba(5, 13, 20, 0.62);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 44px rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-paths a::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(232, 252, 255, 0.82);
    border-right: 1px solid rgba(232, 252, 255, 0.82);
    transform: rotate(45deg);
    opacity: 0.74;
}

.hero-paths a:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 215, 208, 0.42);
    background:
        linear-gradient(135deg, rgba(52, 215, 208, 0.19), rgba(124, 140, 255, 0.11) 52%, transparent),
        rgba(7, 18, 26, 0.74);
}

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

.hero-paths span {
    margin-bottom: 8px;
    color: rgba(105, 255, 241, 0.78);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-paths strong {
    max-width: calc(100% - 18px);
    color: #fff;
    font-size: 16px;
    line-height: 1.28;
}

.hero-paths small {
    margin-top: 6px;
    color: rgba(218, 231, 240, 0.68);
    font-size: 12px;
    line-height: 1.45;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--blue) 56%, var(--violet));
    color: #071010;
    box-shadow: 0 14px 44px rgba(52, 215, 208, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.09);
    color: var(--text);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary::before,
.btn-secondary::before,
.product-card::before,
.os-card::before,
.service-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 42%, transparent 62%);
    transform: translateX(-120%);
    transition: transform 700ms ease;
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.product-card:hover::before,
.os-card:hover::before,
.service-row:hover::before {
    transform: translateX(120%);
}

.btn-primary:hover,
.btn-secondary:hover,
.tool-option:hover,
.icon-button:hover,
.nav-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.36);
}

.command-panel,
.product-card,
.os-card,
.service-row,
.contact-card,
.qr-panel,
.diagnostic-tool,
.about-values {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
        linear-gradient(135deg, rgba(52, 215, 208, 0.055), rgba(159, 107, 255, 0.06));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.command-panel {
    min-height: 510px;
    padding: 24px;
    backdrop-filter: blur(22px) saturate(130%);
    border-color: rgba(52, 215, 208, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
        radial-gradient(ellipse at 50% 16%, rgba(52, 215, 208, 0.22), transparent 18rem),
        linear-gradient(135deg, rgba(52, 215, 208, 0.07), rgba(159, 107, 255, 0.09));
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.52), 0 0 82px rgba(52, 215, 208, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: perspective(1100px) rotateY(-4deg) rotateX(1.4deg);
}

.command-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(52, 215, 208, 0.16) 47%, transparent 54%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 22px);
    opacity: 0.32;
    transform: translateY(-70%);
    animation: panelScan 4.8s ease-in-out infinite;
    pointer-events: none;
}

.command-panel::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
    filter: blur(0.2px);
    animation: pulseLine 2.8s ease-in-out infinite;
}

.panel-orbit {
    position: absolute;
    inset: 66px 42px auto;
    height: 130px;
    pointer-events: none;
    opacity: 0.85;
}

.panel-orbit::before,
.panel-orbit::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(52, 215, 208, 0.22);
    border-radius: 50%;
    transform: rotate(-11deg);
}

.panel-orbit::after {
    inset: 26px 44px;
    border-color: rgba(159, 107, 255, 0.26);
    transform: rotate(13deg);
}

.panel-orbit span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 22px var(--cyan);
    animation: nodePulse 2.6s ease-in-out infinite;
}

.panel-orbit span:nth-child(1) {
    top: 15px;
    left: 32%;
}

.panel-orbit span:nth-child(2) {
    right: 18%;
    top: 58%;
    background: var(--violet);
    box-shadow: 0 0 22px var(--violet);
    animation-delay: 0.5s;
}

.panel-orbit span:nth-child(3) {
    left: 16%;
    bottom: 8px;
    background: var(--amber);
    box-shadow: 0 0 20px var(--amber);
    animation-delay: 1s;
}

.panel-header,
.signal-row,
.workflow-preview div,
.metric,
.service-row,
.contact-grid div,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.panel-header {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 800;
}

.live-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
}

.signal-list {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin-top: 130px;
}

.signal-row {
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid rgba(52, 215, 208, 0.16);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(52, 215, 208, 0.09), rgba(124, 140, 255, 0.055)),
        rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.signal-row span,
.signal-row small,
.metric span,
.contact-grid span,
.site-footer p,
.site-footer a,
.qr-panel span {
    color: var(--muted);
}

.signal-row strong {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: "Avenir Next", sans-serif;
    font-size: 32px;
}

.signal-row small {
    max-width: 96px;
    text-align: right;
}

.workflow-preview {
    display: grid;
    gap: 0;
    margin-top: 16px;
    border: 1px solid rgba(52, 215, 208, 0.14);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.workflow-preview div {
    min-height: 50px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.045);
}

.workflow-preview div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-preview span {
    color: var(--amber);
    font-family: "Avenir Next", sans-serif;
    font-weight: 800;
}

.metrics-band,
.section-block,
.diagnostic-section,
.contact-section,
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.metrics-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(52, 215, 208, 0.22);
    border-bottom: 1px solid rgba(159, 107, 255, 0.2);
    background:
        linear-gradient(90deg, rgba(52, 215, 208, 0.08), transparent 38%, rgba(159, 107, 255, 0.08)),
        rgba(255, 255, 255, 0.025);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.metric {
    min-height: 120px;
    padding: 22px;
    border-right: 1px solid var(--line);
}

.metric:last-child {
    border-right: 0;
}

.metric strong {
    background: linear-gradient(135deg, #fff, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: "Avenir Next", sans-serif;
    font-size: 40px;
}

.metric span {
    max-width: 120px;
    text-align: right;
}

.section-block,
.diagnostic-section,
.contact-section {
    padding: 112px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.9fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 42px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -24px;
}

.section-heading p {
    justify-self: end;
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.os-card {
    min-height: 288px;
    padding: 24px;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.card-index {
    color: var(--cyan);
    font-family: "Avenir Next", sans-serif;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(52, 215, 208, 0.48);
}

.os-card:hover,
.product-card:hover,
.service-row:hover {
    transform: translateY(-7px);
    border-color: rgba(52, 215, 208, 0.42);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 44px rgba(52, 215, 208, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.os-card h3,
.product-card h3,
.service-row h3 {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 900;
}

.os-card p,
.product-card p,
.service-row p {
    color: var(--muted);
    line-height: 1.75;
}

.product-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 14px;
}

.product-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 14px;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.product-card.featured {
    background:
        radial-gradient(ellipse at 14% 0%, rgba(52, 215, 208, 0.34), transparent 18rem),
        linear-gradient(145deg, rgba(52, 215, 208, 0.18), rgba(159, 107, 255, 0.1)),
        rgba(255, 255, 255, 0.045);
    border-color: rgba(52, 215, 208, 0.34);
}

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    filter: saturate(112%) contrast(108%) drop-shadow(0 18px 34px rgba(52, 215, 208, 0.14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.product-card span {
    margin-top: 20px;
    color: var(--amber);
    font-family: "Avenir Next", sans-serif;
    font-weight: 800;
}

.product-card h3 {
    margin-top: 12px;
}

.product-card b {
    margin-top: auto;
    color: var(--cyan);
    text-shadow: 0 0 16px rgba(52, 215, 208, 0.36);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-row {
    min-height: 164px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.service-row img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(124, 140, 255, 0.24));
}

.service-row h3 {
    margin-top: 0;
}

.diagnostic-section,
.about-section,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: 48px;
    align-items: start;
}

.diagnostic-tool {
    padding: 18px;
}

.tool-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.tool-option {
    min-height: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.065);
    color: var(--muted);
}

.tool-option.active {
    border-color: rgba(52, 215, 208, 0.72);
    background: linear-gradient(135deg, rgba(52, 215, 208, 0.2), rgba(124, 140, 255, 0.14));
    color: var(--text);
    box-shadow: 0 0 28px rgba(52, 215, 208, 0.14);
}

.tool-result {
    margin-top: 16px;
    min-height: 230px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(52, 215, 208, 0.16);
    background:
        linear-gradient(135deg, rgba(52, 215, 208, 0.16), rgba(159, 107, 255, 0.12)),
        rgba(255, 255, 255, 0.085);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tool-result h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.tool-result ul {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    line-height: 1.7;
}

.about-values {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.about-values div {
    display: grid;
    gap: 8px;
    padding: 26px;
}

.about-values div + div {
    border-top: 1px solid var(--line);
}

.about-values strong {
    color: var(--cyan);
    font-size: 20px;
    text-shadow: 0 0 14px rgba(52, 215, 208, 0.3);
}

.about-values span {
    color: var(--muted);
    line-height: 1.7;
}

.contact-section {
    padding-bottom: 72px;
}

.contact-card {
    padding: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.contact-grid div {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
    border: 1px solid rgba(52, 215, 208, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.qr-panel {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 24px;
}

.qr-panel img {
    width: min(260px, 100%);
    aspect-ratio: 1;
    border-radius: var(--radius);
    object-fit: cover;
}

.site-footer {
    padding: 54px 0 32px;
    border-top: 1px solid rgba(52, 215, 208, 0.2);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
}

.site-footer h4 {
    margin-bottom: 16px;
}

.site-footer a,
.site-footer p {
    margin-top: 10px;
    line-height: 1.7;
}

.footer-bottom {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 13px;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes sheen {
    0% { background-position: 160% 0, 0 0; }
    100% { background-position: -40% 0, 0 0; }
}

@keyframes auroraSweep {
    0% {
        opacity: 0.42;
        transform: translate3d(-3%, 0, 0) skewY(-8deg) scale(0.98);
    }
    100% {
        opacity: 0.88;
        transform: translate3d(4%, 5%, 0) skewY(-5deg) scale(1.05);
    }
}

@keyframes gridDrift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 64px 64px, 64px 64px; }
}

@keyframes pulseLine {
    0%, 100% {
        opacity: 0.36;
        transform: scaleX(0.72);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes panelScan {
    0%, 18% {
        opacity: 0;
        transform: translateY(-76%);
    }
    42%, 62% {
        opacity: 0.34;
    }
    100% {
        opacity: 0;
        transform: translateY(76%);
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(0.84);
        opacity: 0.62;
    }
    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

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

    .reveal,
    .btn-primary,
    .btn-secondary,
    .tool-option,
    .nav-cta,
    .icon-button,
    body::before,
    .hero-section::before,
    .grid-lines,
    .command-panel::before,
    .command-panel::after,
    .panel-orbit span {
        animation: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .brand-logo {
        width: auto;
        height: 48px;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-section {
        padding-top: 154px;
    }

    .hero-inner,
    .section-heading,
    .diagnostic-section,
    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .command-panel {
        min-height: 500px;
        transform: none;
    }

    .signal-list {
        margin-top: 136px;
    }

    .section-heading .eyebrow {
        margin-bottom: -8px;
    }

    .section-heading p {
        justify-self: start;
    }

    .metrics-band,
    .os-grid,
    .product-grid,
    .service-list,
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .metric:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .tool-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nav-inner {
        align-items: center;
        flex-direction: row;
        min-height: 92px;
        padding: 10px 0;
        gap: 12px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .brand {
        font-size: 18px;
        min-width: 0;
    }

    .brand span {
        display: none;
    }

    .brand-logo {
        width: auto;
        height: 38px;
        max-width: 186px;
    }

    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .footer-brand img {
        height: 36px;
        max-width: 210px;
    }

    .nav-links {
        width: auto;
        flex: 0 0 auto;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .icon-button {
        width: 38px;
        min-height: 38px;
    }

    .nav-cta {
        min-height: 38px;
        padding: 0 11px;
        white-space: nowrap;
    }

    .hero-section {
        min-height: auto;
        padding-top: 112px;
        padding-bottom: 42px;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero-paths {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        margin-top: 18px;
        padding-bottom: 4px;
    }

    .hero-paths::-webkit-scrollbar {
        display: none;
    }

    .hero-paths a {
        min-height: 62px;
        padding: 10px 12px;
    }

    .hero-paths span {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .hero-paths strong {
        font-size: 14px;
    }

    .hero-paths small {
        display: none;
    }

    h1 {
        font-size: 38px;
        line-height: 1.04;
    }

    .hero-status-strip {
        gap: 8px;
    }

    .hero-status-strip span {
        min-height: 30px;
        padding: 0 10px;
        font-size: 11px;
    }

    .command-panel {
        min-height: auto;
        padding: 18px;
    }

    .panel-orbit {
        display: none;
    }

    .signal-list {
        margin-top: 0;
    }

    .hero-lede,
    .section-heading p,
    .diagnostic-copy p,
    .about-copy p,
    .contact-card p {
        font-size: 16px;
    }

    .metrics-band,
    .os-grid,
    .product-grid,
    .service-list,
    .contact-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .metric:first-child {
        border-top: 0;
    }

    .metric span {
        max-width: 160px;
    }

    .section-block,
    .diagnostic-section,
    .contact-section {
        padding: 76px 0;
    }

    .tool-options {
        grid-template-columns: 1fr;
    }
}
