/*
Copyright 2026 丁希松

SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/

:root {
    color-scheme: light;
    font-family:
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;

    --bg-page: #ffffff;
    --bg-ice: #f4f9ff;
    --bg-ice-soft: #f8fbff;
    --bg-ice-strong: #e5f1fe;
    --surface-glass: rgba(255, 255, 255, 0.8);
    --surface-glass-strong: rgba(255, 255, 255, 0.92);

    --ink: #0b1d39;
    --ink-body: #425876;
    --ink-muted: #617896;

    --brand: #095bec;
    --brand-hover: #0747bd;
    --brand-sky: #1890f0;
    --brand-cyan: #0bc7c2;
    --brand-tint: rgba(9, 91, 236, 0.08);

    /* Authentic Youxin / Compound Light Client Tokens */
    --yx-client-border: #e1e6ec;
    --yx-client-subtle: #f0f2f5;
    --yx-client-bubble-other: #f0f2f5;
    --yx-client-bubble-self: #e3f7ed;
    --yx-client-text: #1b1d22;

    --border: rgba(18, 66, 138, 0.11);
    --border-strong: rgba(18, 66, 138, 0.2);

    --shadow-sm: 0 4px 14px rgba(13, 52, 114, 0.06);
    --shadow-md: 0 16px 38px rgba(13, 52, 114, 0.09);
    --shadow-lg: 0 28px 68px rgba(13, 52, 114, 0.13);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
}

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

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg-page);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

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

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

button {
    font: inherit;
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

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

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

.skip-link {
    position: fixed;
    z-index: 100;
    inset: 12px auto auto 12px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.skip-link:not(:focus) {
    clip-path: inset(50%);
    pointer-events: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.42);
    transition:
        background-color 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease,
        backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 28px rgba(12, 50, 110, 0.06);
    backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand img {
    width: 112px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 550;
}

.site-nav a {
    position: relative;
    padding-block: 8px;
    color: var(--ink-body);
    white-space: nowrap;
    transition: color 180ms ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--brand), var(--brand-cyan));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ink);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.nav-download-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-body);
    white-space: nowrap;
    transition: color 180ms ease;
}

.nav-download-link:hover {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-glass-strong);
    place-items: center;
    cursor: pointer;
}

.nav-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--ink);
    stroke-width: 1.8;
    stroke-linecap: round;
    fill: none;
}

.mobile-drawer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-block: 16px 22px;
}

.mobile-nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 550;
    color: var(--ink-body);
}

.mobile-nav-links a:hover {
    background: var(--bg-ice);
    color: var(--ink);
}

.mobile-nav-links .button {
    margin-top: 8px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button--small .btn-icon {
    width: 15px;
    height: 15px;
}

.button:hover {
    transform: translateY(-1px);
    border-color: rgba(9, 91, 236, 0.32);
    box-shadow: var(--shadow-sm);
}

.button--small {
    min-height: 38px;
    padding: 8px 15px;
    font-size: 13px;
    border-radius: 10px;
}

.button--lg {
    min-height: 50px;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 13px;
}

.button--primary {
    color: #ffffff;
    border-color: var(--brand);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)), var(--brand);
    box-shadow: 0 8px 22px rgba(9, 91, 236, 0.24);
}

.button--primary:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)), var(--brand-hover);
    border-color: var(--brand-hover);
    box-shadow: 0 12px 26px rgba(9, 91, 236, 0.3);
}

.button--glass {
    color: var(--ink);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
}

.button--glass:hover {
    background: #ffffff;
}

.button--release {
    color: var(--brand);
    border-color: rgba(9, 91, 236, 0.28);
    background: #f2f7ff;
}

.button--release:hover {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
}

.button--white {
    color: var(--brand);
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(6, 29, 74, 0.22);
}

.button--white:hover {
    background: #f2f8ff;
    border-color: #f2f8ff;
}

.button--outline-light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.button--outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Section */
.hero-band {
    position: relative;
    isolation: isolate;
    padding-block: clamp(44px, 5.5vw, 80px) clamp(52px, 6.5vw, 92px);
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #edf5ff 0%, #f6faff 54%, #ffffff 100%);
}

.hero-backdrop-art {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background: 72% 42% / cover no-repeat url("../themes/element/img/backgrounds/youxin-login-city-shield.png");
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
}

.hero-grid-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(to right, rgba(24, 90, 180, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(24, 90, 180, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
}

.hero-glow--cyan {
    top: -120px;
    right: 6%;
    width: 460px;
    height: 460px;
    background: rgba(13, 211, 203, 0.2);
}

.hero-glow--blue {
    top: 80px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: rgba(56, 155, 245, 0.18);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    border: 1px solid rgba(9, 91, 236, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(15, 65, 140, 0.06);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10c8a8, #095bec);
    box-shadow: 0 0 0 4px rgba(16, 200, 168, 0.16);
}

.hero-copy h1 {
    margin-top: 22px;
    font-size: clamp(31px, 3.4vw, 46px);
    font-weight: 760;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.text-gradient {
    background: linear-gradient(110deg, #095bec 10%, #1094e8 58%, #0bbab5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-summary {
    max-width: 45ch;
    margin-top: 20px;
    color: var(--ink-body);
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.8;
}

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

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    color: var(--ink-body);
    font-size: 13px;
    font-weight: 550;
}

.hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-facts svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Authentic 3-Column Youxin Client UI Window */
.hero-stage {
    position: relative;
    perspective: 1400px;
    --tilt-x: 0;
    --tilt-y: 0;
}

.stage-tilt {
    position: relative;
    padding: 40px 14px 44px;
    transform: rotateY(calc(var(--tilt-x) * 2.2deg)) rotateX(calc(var(--tilt-y) * -1.8deg));
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.yx-client-window {
    display: grid;
    grid-template-columns: 46px 198px minmax(0, 1fr);
    min-height: 416px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    background: #ffffff;
    color: var(--yx-client-text);
    box-shadow:
        0 28px 72px rgba(14, 58, 128, 0.16),
        0 4px 16px rgba(14, 58, 128, 0.08);
}

/* SpacePanel rail */
.yx-space-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-right: 1px solid var(--yx-client-subtle);
    background: #ffffff;
}

.yx-own-avatar {
    position: relative;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #259df4, #095bec);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.yx-online-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #10c8a8;
}

.yx-space-btn {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    color: #61708b;
}

.yx-space-btn.is-active {
    background: #e5f0ff;
    color: var(--brand);
}

.yx-space-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yx-rail-spacer {
    flex: 1;
}

/* RoomListPanel */
.yx-room-list {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-right: 1px solid var(--yx-client-border);
    background: #ffffff;
    min-width: 0;
}

.yx-search-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 10px 10px;
    padding: 7px 10px;
    border-radius: 9px;
    background: var(--yx-client-subtle);
    color: #61708b;
    font-size: 11px;
}

.yx-search-bar svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.yx-search-bar kbd {
    margin-left: auto;
    padding: 1px 5px;
    border: 1px solid #d7dee8;
    border-radius: 5px;
    background: #ffffff;
    font:
        600 9px ui-monospace,
        monospace;
}

.yx-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 12px 8px;
    font-size: 13px;
}

.yx-plus-btn {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 6px;
    background: var(--yx-client-subtle);
    color: #42526e;
    font-size: 14px;
    font-weight: 600;
}

.yx-filter-pills {
    display: flex;
    gap: 5px;
    padding: 0 12px 10px;
}

.yx-filter-pills span {
    padding: 3px 8px;
    border: 1px solid var(--yx-client-border);
    border-radius: 999px;
    background: #ffffff;
    color: #53647f;
    font-size: 10px;
    font-weight: 600;
}

.yx-rooms {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yx-room-item {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin: 0 8px;
    padding: 8px 8px;
    border-radius: 8px;
}

.yx-room-item.is-selected {
    background: #edf3fe;
}

/* Signature 4px left indicator bar from RoomListItemView.module.css */
.yx-room-item.is-selected::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 0 6px 6px 0;
    background: var(--brand);
}

.yx-room-avatar {
    position: relative;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    flex: none;
}

.yx-av--blue {
    background: linear-gradient(135deg, #2b89f8, #095bec);
}

.yx-av--teal {
    background: linear-gradient(135deg, #25cbbd, #0d8ee5);
}

.yx-av--indigo {
    background: linear-gradient(135deg, #5273df, #2748a8);
}

.yx-av--sky {
    background: linear-gradient(135deg, #43b5f8, #1979e6);
}

.yx-shield-mini {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--brand);
}

.yx-room-info {
    min-width: 0;
}

.yx-room-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
}

.yx-room-top strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
}

.yx-room-item.is-unread .yx-room-top strong {
    font-weight: 750;
}

.yx-room-top span {
    font-size: 9px;
    color: #74849d;
    flex: none;
}

.yx-room-info p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: #61708b;
}

.yx-unread-badge {
    min-width: 16px;
    height: 16px;
    padding-inline: 5px;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* Main RoomView */
.yx-room-view {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
}

.yx-room-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 54px;
    padding: 0 14px;
    border-bottom: 1px solid var(--yx-client-border);
    background: #ffffff;
}

.yx-rh-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.yx-rh-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.yx-rh-title strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yx-verified-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.yx-rh-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}

.yx-rh-btn {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 7px;
    color: #61708b;
}

.yx-rh-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
}

.yx-facepile {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 4px;
    border-radius: 999px;
    background: var(--yx-client-subtle);
    font-size: 10px;
    font-weight: 650;
    color: #42526e;
}

.yx-facepile i {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    background: #2b89f8;
    color: #ffffff;
    font-style: normal;
    font-size: 8px;
}

.yx-facepile i + i {
    margin-left: -7px;
    background: #10a5d8;
}

/* Timeline (real bubble layout) */
.yx-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 12px 14px;
    background: #ffffff;
}

.yx-date-sep {
    display: flex;
    justify-content: center;
}

.yx-date-sep span {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--yx-client-subtle);
    color: #61708b;
    font-size: 10px;
    font-weight: 600;
}

.yx-msg-row {
    display: flex;
    gap: 8px;
}

.yx-msg-row--other {
    align-items: flex-start;
}

.yx-msg-row--self {
    flex-direction: column;
    align-items: flex-end;
}

.yx-msg-avatar {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    flex: none;
    margin-top: 2px;
}

.yx-msg-col {
    min-width: 0;
    max-width: 86%;
}

.yx-sender-name {
    display: block;
    margin: 0 0 3px 2px;
    font-size: 11px;
    font-weight: 650;
    color: var(--brand);
}

.yx-bubble {
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 11.5px;
    line-height: 1.52;
    color: var(--yx-client-text);
}

.yx-bubble--other {
    background: var(--yx-client-bubble-other);
}

.yx-bubble--self {
    max-width: 82%;
    background: var(--yx-client-bubble-self);
}

.yx-attachment-tile {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    padding: 7px 9px;
    border: 1px solid #dde3ec;
    border-radius: 9px;
    background: #ffffff;
}

.yx-file-icon {
    padding: 3px 6px;
    border-radius: 5px;
    background: #e5f0ff;
    color: var(--brand);
    font-size: 9px;
    font-weight: 750;
}

.yx-attachment-tile strong {
    display: block;
    font-size: 10.5px;
}

.yx-attachment-tile span {
    font-size: 9.5px;
    color: #61708b;
}

.yx-reply-quote {
    margin-bottom: 6px;
    padding-left: 8px;
    border-left: 2px solid var(--brand);
}

.yx-reply-quote span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--brand);
}

.yx-reply-quote p {
    font-size: 10px;
    color: #53647f;
}

.yx-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    margin-top: 4px;
    font-size: 9.5px;
    color: #61708b;
}

.yx-bubble-meta svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.yx-reactions-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.yx-reaction-chip {
    padding: 2px 7px;
    border: 1px solid #d5eee3;
    border-radius: 999px;
    background: #e9fff9;
    font-size: 10px;
}

.yx-rr-dot {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
}

/* MessageComposer */
.yx-composer-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px 12px;
    background: #ffffff;
}

.yx-composer-avatar {
    position: relative;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #259df4, #095bec);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    flex: none;
}

.yx-composer-shield {
    position: absolute;
    left: -3px;
    bottom: -3px;
    width: 12px;
    height: 12px;
    fill: #ffffff;
    stroke: var(--brand);
    stroke-width: 1.5;
}

.yx-composer-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 6px 6px 13px;
    border: 1px solid var(--yx-client-border);
    border-radius: 999px;
    background: #f7f9fa;
    font-size: 11px;
    color: #61708b;
}

.yx-composer-icons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.yx-composer-icons > svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #61708b;
    stroke-width: 1.6;
}

.yx-send-btn {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
}

.yx-send-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Floating Glass Callouts around Client Frame */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.float-card strong {
    display: block;
    font-size: 12px;
    line-height: 1.3;
}

.float-card span {
    display: block;
    font-size: 11px;
    color: var(--ink-muted);
}

.float-card--call {
    top: 0;
    right: 16px;
}

.float-card--verify {
    bottom: 2px;
    left: 6px;
}

.float-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    flex: none;
}

.float-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.float-icon--cyan {
    background: rgba(11, 199, 194, 0.14);
    color: #078380;
}

.float-icon--blue {
    background: rgba(9, 91, 236, 0.12);
    color: var(--brand);
}

/* Security Architecture Pillars */
.pillars-band {
    margin-top: -8px;
    margin-bottom: clamp(48px, 6vw, 80px);
}

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

.pillar-card {
    padding: 24px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: var(--shadow-sm);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(9, 91, 236, 0.25);
    box-shadow: var(--shadow-md);
}

.pillar-code {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--brand-tint);
    color: var(--brand);
    font:
        700 11px ui-monospace,
        "PingFang SC",
        monospace;
    letter-spacing: 0.04em;
}

.pillar-card h2 {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 700;
}

.pillar-card p {
    margin-top: 8px;
    color: var(--ink-body);
    font-size: 14px;
    line-height: 1.7;
}

/* Shared Section Bands */
.section-band {
    padding-block: clamp(64px, 7.5vw, 108px);
    scroll-margin-top: 76px;
}

.section-band--tinted {
    background: linear-gradient(180deg, #f3f8ff 0%, #f8fbff 55%, #ffffff 100%);
    border-top: 1px solid rgba(18, 66, 138, 0.07);
    border-bottom: 1px solid rgba(18, 66, 138, 0.07);
}

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

.section-head--row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.eyebrow {
    color: var(--brand);
    font:
        700 12px/1.4 ui-monospace,
        "PingFang SC",
        monospace;
    letter-spacing: 0.14em;
}

.eyebrow--light {
    color: #9ae8ff;
}

.section-head h2 {
    margin-top: 10px;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 750;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.section-sub {
    margin-top: 14px;
    color: var(--ink-body);
    font-size: 16px;
    line-height: 1.75;
}

/* Security Architecture Core Section */
.security-pipeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 10px;
    margin-top: 34px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff, #f3f8ff);
    box-shadow: var(--shadow-sm);
}

.pipeline-step {
    padding: 14px 16px;
    border: 1px solid rgba(18, 66, 138, 0.08);
    border-radius: 14px;
    background: #ffffff;
}

.step-index {
    display: inline-block;
    color: var(--brand);
    font:
        750 11px ui-monospace,
        "PingFang SC",
        monospace;
}

.pipeline-step h3 {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
}

.pipeline-step p {
    margin-top: 6px;
    color: var(--ink-body);
    font-size: 13px;
    line-height: 1.65;
}

.pipeline-arrow {
    display: grid;
    place-items: center;
    color: var(--brand-sky);
    font-size: 18px;
    font-weight: 700;
}

.security-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.security-module {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition:
        transform 240ms ease,
        box-shadow 240ms ease,
        border-color 240ms ease;
}

.security-module:hover {
    transform: translateY(-4px);
    border-color: rgba(9, 91, 236, 0.25);
    box-shadow: var(--shadow-md);
}

.module-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-bottom: 1px solid rgba(18, 66, 138, 0.07);
}

.module-media--light {
    background: #f3f8ff;
}

.module-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.security-module:hover .module-media img {
    transform: scale(1.04);
}

.module-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.module-kicker {
    color: var(--brand);
    font:
        700 11px ui-monospace,
        monospace;
    letter-spacing: 0.08em;
}

.module-body h3 {
    margin-top: 8px;
    font-size: 19px;
    font-weight: 720;
}

.module-body > p {
    margin-top: 10px;
    color: var(--ink-body);
    font-size: 14px;
    line-height: 1.75;
}

.module-specs {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--ink);
}

.module-specs li {
    position: relative;
    padding-left: 16px;
}

.module-specs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-cyan));
}

/* Capabilities Interactive Tabs */
.capability-explorer {
    margin-top: 34px;
}

.capability-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.cap-tab {
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink-body);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition:
        background-color 200ms ease,
        color 200ms ease,
        box-shadow 200ms ease;
}

.cap-tab:hover {
    color: var(--ink);
    background: var(--bg-ice);
}

.cap-tab[aria-selected="true"] {
    color: #ffffff;
    background: linear-gradient(135deg, #1175f0, #095bec);
    box-shadow: 0 6px 16px rgba(9, 91, 236, 0.24);
}

.capability-panels {
    margin-top: 22px;
}

.cap-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(24px, 3.6vw, 42px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.cap-panel[hidden] {
    display: none;
}

.cap-panel.is-active {
    animation: panel-fade 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-ice-strong);
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.cap-copy h3 {
    margin-top: 14px;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 740;
    line-height: 1.3;
}

.cap-copy > p {
    margin-top: 14px;
    color: var(--ink-body);
    font-size: 15px;
    line-height: 1.8;
}

.cap-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cap-points li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--ink);
}

.cap-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-cyan));
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 650;
}

.inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.preview-card {
    padding: 20px;
    border: 1px solid var(--yx-client-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yx-client-border);
    font-size: 13px;
}

.preview-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
}

.preview-dot--live {
    background: #10c8a8;
    box-shadow: 0 0 0 4px rgba(16, 200, 168, 0.16);
}

.preview-badge {
    margin-left: auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg-ice-strong);
    color: var(--brand);
    font-size: 11px;
    font-weight: 650;
}

.preview-chat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.p-share-chip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px dashed rgba(9, 91, 236, 0.3);
    border-radius: 11px;
    background: #f5f9ff;
    font-size: 11px;
    color: var(--ink-body);
}

.preview-form-mock {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.p-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 650;
    color: var(--ink-muted);
}

.p-input {
    padding: 10px 12px;
    border: 1px solid var(--yx-client-border);
    border-radius: 10px;
    background: #f7f9fa;
    font-size: 13px;
    font-weight: 600;
}

.p-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--yx-client-border);
    border-radius: 12px;
    background: #ffffff;
}

.p-toggle-row strong {
    display: block;
    font-size: 13px;
}

.p-toggle-row span {
    display: block;
    font-size: 11px;
    color: var(--ink-muted);
}

.p-switch {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: var(--brand);
    flex: none;
}

.p-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
}

.p-member-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-muted);
}

.p-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: #f7f9fa;
    border: 1px solid var(--yx-client-border);
    color: var(--ink);
    font-weight: 600;
}

.p-verify-banner {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 14px;
    padding: 11px 14px;
    border: 1px solid rgba(9, 91, 236, 0.2);
    border-radius: 12px;
    background: linear-gradient(120deg, #eff6ff, #f6fbff);
}

.p-verify-banner strong {
    font-size: 13px;
    color: var(--ink);
}

.p-verify-banner span {
    font-size: 11px;
    color: var(--ink-body);
}

.p-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(9, 91, 236, 0.22);
    border-radius: 11px;
    background: #f7f9fa;
    font-size: 12px;
}

.p-search-bar span {
    color: var(--ink-muted);
}

.p-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.p-file-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 1px solid var(--yx-client-border);
    border-radius: 12px;
    background: #ffffff;
}

.p-file-tag {
    padding: 5px 8px;
    border-radius: 8px;
    background: #e6f0ff;
    color: var(--brand);
    font-size: 11px;
    font-weight: 750;
}

.p-file-tag--img {
    background: #e3f9f6;
    color: #097c77;
}

.p-file-tag--key {
    background: #edf2fa;
    color: #2f4b78;
}

.p-file-row strong {
    display: block;
    font-size: 12px;
}

.p-file-row span {
    font-size: 11px;
    color: var(--ink-muted);
}

.p-file-status {
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef8f5;
    color: #0b7a62;
    font-size: 11px;
    font-weight: 650;
}

/* Clients & Downloads */
.web-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(9, 91, 236, 0.22);
    border-radius: var(--radius-lg);
    background: linear-gradient(110deg, #eff6ff 0%, #f5fbff 60%, #e7f8f8 100%);
    box-shadow: var(--shadow-sm);
}

.web-highlight-copy {
    display: flex;
    align-items: center;
    gap: 18px;
}

.client-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.web-highlight h2,
.web-highlight h3 {
    font-size: 21px;
    font-weight: 740;
}

.client-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(9, 91, 236, 0.18);
    color: var(--brand);
    font-size: 12px;
    font-weight: 650;
}

.web-highlight p {
    margin-top: 6px;
    color: var(--ink-body);
    font-size: 14px;
    line-height: 1.7;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

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

.clients-grid--two {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 32px) / 3)));
}

.client-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.client-card:hover {
    transform: translateY(-3px);
    border-color: rgba(9, 91, 236, 0.25);
    box-shadow: var(--shadow-md);
}

.client-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.client-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-ice);
    color: var(--brand);
    flex: none;
}

.client-icon--web {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-color: rgba(9, 91, 236, 0.22);
}

.client-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.platform-tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg-ice);
    color: var(--ink-muted);
    font-size: 11px;
    font-weight: 650;
}

.client-card h3 {
    margin-top: 18px;
    font-size: 19px;
    font-weight: 720;
}

.client-card > p {
    margin-top: 8px;
    color: var(--ink-body);
    font-size: 14px;
    line-height: 1.7;
}

.client-card .availability {
    width: fit-content;
    margin-top: auto;
    padding: 5px 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-ice-soft);
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: default;
}

.client-card > p:not(.availability) {
    margin-bottom: 18px;
}

.release-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* Unified Multi-Client Architecture Showcase */
.unified-visual-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid rgba(9, 91, 236, 0.16);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.unified-visual-media {
    display: grid;
    place-items: center;
    padding: clamp(16px, 2.4vw, 28px);
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #f1f8ff 100%);
    border-right: 1px solid var(--border);
}

.unified-visual-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.unified-visual-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(24px, 3vw, 34px);
    background: #ffffff;
}

.unified-terminal-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.unified-terminal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-ice-soft);
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background-color 200ms ease,
        box-shadow 200ms ease;
}

.unified-terminal-item:hover {
    transform: translateX(3px);
    border-color: rgba(9, 91, 236, 0.28);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.unified-terminal-copy {
    min-width: 0;
}

.unified-terminal-copy h3 {
    font-size: 17px;
    font-weight: 720;
    color: var(--ink);
}

.unified-terminal-copy p {
    margin-top: 4px;
    color: var(--ink-body);
    font-size: 13.5px;
    line-height: 1.5;
}

.unified-visual-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.unified-footer-label {
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.unified-bus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.unified-bus-pills li {
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(110deg, #eff6ff 0%, #eaf8f8 100%);
    border: 1px solid rgba(9, 91, 236, 0.16);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Bottom CTA */
.cta-section {
    padding-block: clamp(48px, 6vw, 84px);
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(32px, 4.5vw, 52px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 88% 18%, rgba(24, 219, 206, 0.34), transparent 44%),
        linear-gradient(122deg, #0b2452 0%, #095bec 62%, #138ce6 100%);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.cta-copy h2 {
    margin-top: 10px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 750;
    line-height: 1.25;
}

.cta-copy p:last-child {
    margin-top: 10px;
    color: rgba(235, 245, 255, 0.88);
    font-size: 15px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-ice-soft);
    padding-block: 32px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 600;
}

.footer-brand img {
    width: 96px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 13px;
    color: var(--ink-body);
}

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

.footer-note {
    color: var(--ink-muted);
    font-size: 12px;
}

/* Download Page Specifics */
.download-main {
    padding-block: clamp(36px, 5vw, 68px) clamp(56px, 7vw, 88px);
}

.download-intro {
    max-width: 660px;
}

.download-intro h1 {
    margin-top: 12px;
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 760;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.download-intro h1 span {
    color: var(--brand);
}

.download-intro > p:last-child {
    margin-top: 14px;
    color: var(--ink-body);
    font-size: 16px;
    line-height: 1.75;
}

.platform-section {
    margin-top: 44px;
}

.platform-section h2 {
    font-size: 23px;
    font-weight: 730;
}

.platform-section h2 span {
    margin-left: 8px;
    color: var(--ink-muted);
    font:
        650 11px ui-monospace,
        monospace;
    letter-spacing: 0.12em;
}

/* Motion & Scroll Reveal */
@media (prefers-reduced-motion: no-preference) {
    .hero-anim {
        animation: hero-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero-anim--1 {
        animation-delay: 40ms;
    }

    .hero-anim--2 {
        animation-delay: 110ms;
    }

    .hero-anim--3 {
        animation-delay: 180ms;
    }

    .hero-anim--4 {
        animation-delay: 250ms;
    }

    .hero-anim--5 {
        animation-delay: 320ms;
    }

    .float-card--call {
        animation: gentle-float 6.5s ease-in-out infinite;
    }

    .float-card--verify {
        animation: gentle-float 7.5s ease-in-out 1.2s infinite;
    }

    .reveal-ready {
        opacity: 0.78;
        transform: translateY(14px);
        transition:
            opacity 540ms cubic-bezier(0.22, 1, 0.36, 1),
            transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
    }

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

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentle-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes panel-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 680px;
    }

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

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

    .pipeline-arrow {
        display: none;
    }

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

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

@media (max-width: 900px) {
    .site-nav,
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .cap-panel,
    .unified-visual-stage {
        grid-template-columns: 1fr;
    }

    .unified-visual-media {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .section-head--row,
    .web-highlight,
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

@media (max-width: 720px) {
    .shell {
        width: calc(100% - 36px);
    }

    .stage-tilt {
        padding: 0;
        transform: none;
    }

    .yx-client-window {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .yx-space-rail,
    .yx-room-list {
        display: none;
    }

    .float-card {
        position: static;
        width: 100%;
        margin-top: 10px;
        animation: none;
    }

    .pillars-grid,
    .security-pipeline,
    .security-bento,
    .clients-grid,
    .clients-grid--three,
    .clients-grid--two {
        grid-template-columns: 1fr;
    }

    .capability-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .web-highlight-copy {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .shell {
        width: calc(100% - 28px);
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .hero-actions .button,
    .cta-actions .button {
        width: 100%;
    }
}
