/* =========================================================
   Geeknovo Design System
   ========================================================= */
:root {
    --bg: #ffffff;
    --bg-2: #f7f8fa;
    --panel: #ffffff;
    --panel-2: #f6f7f9;
    --panel-3: #eef0f3;
    --line: rgba(24, 28, 35, 0.1);
    --line-strong: rgba(24, 28, 35, 0.18);
    --text: #191c22;
    --muted: #5b6371;
    --dim: #6b7280;
    --ink: #1b1e24;
    --blue: #ff6a00;
    --blue-2: #ff8a2b;
    --cyan: #ff6a00;
    --orange: #ff7a00;
    --green: #16a34a;
    --red: #e5484d;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1200px;
    --header-h: 72px;
    --font: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, "Microsoft YaHei", "微软雅黑", "Liberation Mono", monospace;
    --shadow: 0 18px 45px rgba(24, 28, 35, 0.1);
    --glow: 0 0 0 1px rgba(255, 106, 0, 0.28), 0 18px 45px rgba(255, 106, 0, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 520px at 88% -12%, rgba(255, 106, 0, 0.09), transparent 62%),
        radial-gradient(800px 460px at 0% 16%, rgba(245, 158, 11, 0.05), transparent 62%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

h1, h2, h3, h4, h5, p, ul, ol, figure {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::selection {
    background: rgba(255, 106, 0, 0.22);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    padding: 96px 0;
}

.section--tight {
    padding: 64px 0;
}

.section--alt {
    background: linear-gradient(180deg, #fbfbfc, #f6f7f9 26%, #ffffff);
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--orange);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-title .grad {
    background: linear-gradient(100deg, var(--blue-2), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-desc {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.grad {
    background: linear-gradient(100deg, var(--blue-2) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mono {
    font-family: var(--mono);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.grid {
    display: grid;
    gap: 20px;
}

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

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn i {
    font-size: 0.95em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #2b303a, #15181e);
    color: #fff;
    box-shadow: 0 10px 26px rgba(24, 28, 35, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7a12, #f05a00);
    box-shadow: 0 14px 32px rgba(255, 106, 0, 0.28);
}

.btn-ghost {
    border-color: var(--line-strong);
    color: var(--text);
    background: #ffffff;
}

.btn-ghost:hover {
    border-color: rgba(255, 106, 0, 0.45);
    background: #fff7ef;
    color: #c2410c;
}

.btn-soft {
    background: rgba(255, 106, 0, 0.08);
    border-color: rgba(255, 106, 0, 0.24);
    color: #c2410c;
}

.btn-soft:hover {
    background: rgba(255, 106, 0, 0.14);
    border-color: rgba(255, 106, 0, 0.36);
}

.btn-orange {
    background: linear-gradient(135deg, #ff7a12, #f05a00);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(255, 106, 0, 0.28);
}

.btn-orange:hover {
    background: linear-gradient(135deg, #ff8f36, #ff6400);
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Tags / badges ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8f9fb;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
    white-space: nowrap;
}

.tag--cyan {
    color: #c2410c;
    border-color: rgba(255, 106, 0, 0.24);
    background: rgba(255, 106, 0, 0.07);
}

.tag--orange {
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
}

.tag--green {
    color: #15803d;
    border-color: rgba(22, 163, 74, 0.25);
    background: rgba(22, 163, 74, 0.08);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    border: 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 28px rgba(24, 28, 35, 0.06);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--header-h);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

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

.brand__logo {
    display: block;
    flex: none;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__text strong {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.brand__text small {
    margin-top: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: var(--dim);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav__link {
    position: relative;
    padding: 9px 14px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
    color: var(--text);
    background: #f5f6f8;
}

.site-nav__link.is-active {
    color: #c2410c;
    background: rgba(255, 106, 0, 0.08);
}

.site-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.site-nav__download {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.lang-switch {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.8rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
    color: var(--text);
    border-color: var(--line-strong);
}

.lang-btn__code {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 132px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(24, 28, 35, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.lang-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: left;
}

.lang-menu button:hover,
.lang-menu button.is-active {
    color: var(--text);
    background: rgba(255, 106, 0, 0.07);
}

.lang-menu button.is-active::after {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 0.7rem;
    color: var(--cyan);
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.menu-btn span {
    display: block;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Contact chips / QR ---------- */
.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-item {
    position: relative;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--muted);
    font-size: 0.82rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.contact-chip:hover,
.contact-chip[aria-expanded="true"] {
    color: #c2410c;
    border-color: rgba(255, 106, 0, 0.35);
    background: #fff7ef;
}

.contact-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.contact-chip i {
    font-size: 0.7rem;
    color: var(--dim);
}

.qr-pop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 184px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: auto;
}

.qr-pop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.qr-pop img {
    width: 156px;
    height: 156px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.qr-pop span {
    font-size: 0.76rem;
    color: var(--muted);
}

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    padding: 80px 0 56px;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: -40% 20% auto;
    height: 420px;
    background: radial-gradient(closest-side, rgba(255, 106, 0, 0.12), transparent);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 780px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.85;
    max-width: 680px;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

/* ---------- Cards ---------- */
.card {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(24, 28, 35, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 106, 0, 0.32);
    box-shadow: 0 20px 46px rgba(24, 28, 35, 0.1);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 32%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent, var(--blue)) 12%, transparent);
    color: var(--accent, var(--blue-2));
    font-size: 1.1rem;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: #c2410c;
    font-size: 0.82rem;
    font-weight: 500;
}

.card__link i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.card:hover .card__link i {
    transform: translateX(4px);
}

/* ---------- Spec list ---------- */
.spec-list {
    display: grid;
    gap: 12px;
}

.spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.spec-list i {
    margin-top: 5px;
    color: var(--cyan);
    font-size: 0.75rem;
}

/* ---------- Mock UI panels ---------- */
.mock {
    --text: #f4f6fa;
    --muted: #a5aec0;
    --dim: #7f8898;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    position: relative;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 45%),
        linear-gradient(180deg, #0b111d, #070b14);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.mock::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(500px 240px at 80% -20%, rgba(255, 122, 0, 0.16), transparent 70%);
    pointer-events: none;
}

.mock__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.mock__title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.mock__title i {
    color: var(--cyan);
}

.mock__dots {
    display: flex;
    gap: 5px;
}

.mock__dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line-strong);
}

.mock__dots span:first-child { background: rgba(255, 93, 93, 0.6); }
.mock__dots span:nth-child(2) { background: rgba(255, 176, 32, 0.6); }
.mock__dots span:nth-child(3) { background: rgba(61, 220, 151, 0.6); }

.readout {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--mono);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--orange);
    text-shadow: 0 0 28px rgba(255, 176, 32, 0.25);
}

.readout small {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dim);
}

.readout-label {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.metric {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.metric span {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
}

.metric strong {
    display: block;
    margin-top: 3px;
    font-family: var(--mono);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.metric strong.is-cyan { color: var(--cyan); }
.metric strong.is-orange { color: var(--orange); }
.metric strong.is-green { color: var(--green); }

.bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 112px;
    margin-top: 22px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--line);
}

.bars i {
    flex: 1;
    min-width: 3px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, #ff8a2b, rgba(255, 106, 0, 0.2));
    opacity: 0.9;
}

.bars i:nth-child(3n) { background: linear-gradient(180deg, #ffc46b, rgba(245, 158, 11, 0.18)); }

.loglines {
    display: grid;
    gap: 8px;
    margin-top: 4px;
    font-family: var(--mono);
    font-size: 0.72rem;
    line-height: 1.6;
}

.loglines div {
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    border-left: 2px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.018);
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loglines div.is-error { border-left-color: var(--red); color: #ffb8b8; }
.loglines div.is-warn { border-left-color: var(--orange); color: #ffd9a1; }
.loglines div.is-ok { border-left-color: var(--green); color: #a9f0cc; }

.loglines time {
    flex: none;
    color: var(--dim);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.data-table th,
.data-table td {
    padding: 9px 8px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.data-table th {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
}

.data-table td {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.74rem;
}

.data-table tr:last-child td { border-bottom: 0; }

.data-table td.is-accent { color: var(--cyan); }

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

.thermal-grid i {
    aspect-ratio: 1;
    border-radius: 3px;
    background: #13203a;
}

.thermal-grid i.hot { background: #ff9d00; box-shadow: 0 0 14px rgba(255, 157, 0, 0.6); }
.thermal-grid i.warm { background: #c2410c; }
.thermal-grid i.mid { background: #7c2d12; opacity: 0.85; }

.thermal-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--dim);
}

.thermal-legend span {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, #13203a, #7c2d12, #c2410c, #ff9d00, #fff3c4);
}

.schematic {
    position: relative;
    height: 190px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background-color: #08101d;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 18px 18px;
    overflow: hidden;
}

.schematic__trace {
    position: absolute;
    background: rgba(255, 138, 43, 0.7);
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
}

.schematic__trace.h { height: 1.5px; }
.schematic__trace.v { width: 1.5px; }

.schematic__node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 20px;
    padding: 0 6px;
    border: 1px solid rgba(255, 138, 43, 0.55);
    border-radius: 4px;
    background: #2a1a10;
    color: #ffc79b;
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.04em;
}

.schematic__node.is-hot {
    border-color: rgba(255, 196, 107, 0.85);
    color: #ffe1b0;
    background: #3a2307;
}

.schematic__probe {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.15);
}

/* ---------- Device showcase ---------- */
.device-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 460px);
    aspect-ratio: 1;
    transition: transform 0.3s ease-out;
}

.device-stage__halo {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 122, 0, 0.24), rgba(245, 158, 11, 0.08) 55%, transparent 75%);
    filter: blur(18px);
    pointer-events: none;
}

.device-stage__orbit {
    position: absolute;
    inset: 4%;
    border: 1px solid rgba(255, 106, 0, 0.22);
    border-radius: 50%;
    transform: rotateX(66deg) rotateZ(-8deg);
    box-shadow: 0 0 50px rgba(255, 106, 0, 0.1), inset 0 0 40px rgba(245, 158, 11, 0.08);
    pointer-events: none;
}

.device-stage__orbit::after {
    content: "";
    position: absolute;
    top: 8%;
    right: 12%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

.device-stage img {
    position: relative;
    z-index: 1;
    width: 76%;
    border-radius: 26px;
    transform: perspective(1200px) rotateX(7deg) rotateY(-18deg);
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.25))
        drop-shadow(14px 16px 0 rgba(255, 106, 0, 0.05))
        drop-shadow(24px 34px 50px rgba(24, 28, 35, 0.28));
    animation: deviceHover 8s ease-in-out infinite;
}

@keyframes deviceHover {
    0%, 100% { transform: perspective(1200px) rotateX(7deg) rotateY(-18deg) translateY(0); }
    50% { transform: perspective(1200px) rotateX(7deg) rotateY(-14deg) translateY(-12px); }
}

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: 0;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--dim);
    white-space: nowrap;
}

.marquee__item::after {
    content: "";
    width: 4px;
    height: 4px;
    margin-left: 20px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.5);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Table ---------- */
.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(24, 28, 35, 0.03);
}

.compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.compare th,
.compare td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.compare th {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    background: #f8f9fb;
}

.compare tr:last-child td { border-bottom: 0; }

.compare td:first-child {
    color: var(--text);
    font-weight: 500;
}

.compare td {
    color: var(--muted);
}

.compare td.is-highlight,
.compare th.is-highlight {
    background: rgba(255, 106, 0, 0.05);
    color: #b45309;
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    gap: 10px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.faq details[open] {
    border-color: rgba(255, 106, 0, 0.35);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "\f067";
    font-family: FontAwesome;
    font-size: 0.72rem;
    color: var(--cyan);
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    content: "\f068";
}

.faq p {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    padding: 56px;
    border: 1px solid rgba(255, 106, 0, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(700px 280px at 88% -10%, rgba(255, 138, 43, 0.16), transparent 70%),
        linear-gradient(140deg, #fff8f2, #ffffff);
    box-shadow: 0 18px 50px rgba(24, 28, 35, 0.06);
    overflow: hidden;
}

.cta-band__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-band h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.cta-band p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cta-band__side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 40px;
    padding: 64px 0 28px;
    border-top: 1px solid var(--line);
    background: #f8f9fb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 16px;
    color: var(--dim);
    font-size: 0.86rem;
    line-height: 1.75;
}

.footer-col h3 {
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
}

.footer-col ul {
    display: grid;
    gap: 9px;
}

.footer-col a {
    color: var(--muted);
    font-size: 0.87rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--dim);
    font-size: 0.76rem;
}

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

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

/* ---------- Reveal ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #ffffff;
    color: var(--muted);
    box-shadow: 0 10px 26px rgba(24, 28, 35, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .site-nav__link {
        padding: 9px 10px;
        font-size: 0.86rem;
    }

    .header-actions {
        gap: 8px;
    }

    .split {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 72px 0;
    }

    .menu-btn {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 890;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        padding: 16px 24px 32px;
        background: #ffffff;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-header.is-open .site-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 24px 50px rgba(24, 28, 35, 0.12);
    }

    .site-nav__link {
        padding: 13px 14px;
        font-size: 0.98rem;
    }

    .site-nav__link.is-active::after {
        display: none;
    }

    .site-nav__download {
        display: flex;
        justify-content: center;
        margin-top: 6px;
        color: #ffffff;
        background: linear-gradient(135deg, #2b303a, #15181e);
    }

    .header-download {
        display: none;
    }

    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; }
    .cta-band__inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 40px 32px; }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .section {
        padding: 60px 0;
    }

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

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band {
        padding: 32px 22px;
    }

    .mock {
        padding: 16px;
    }

    .metric-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .to-top {
        right: 14px;
        bottom: 14px;
    }
}

@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;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
