:root {
    --brand: #4f5fff;
    --brand-dark: #315efb;
    --text: #172033;
    --muted: #687386;
    --border: #e7e9ee;
    --page-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
.container { width: min(100% - 40px, var(--page-width)); margin-inline: auto; }

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    height: 72px;
    color: #fff;
}
.header-inner {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.glass {
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(18,18,20,.58);
    box-shadow: inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(16px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
}
.brand img { width: 24px; height: 24px; }
.main-nav {
    position: absolute;
    left: 50%;
    display: flex;
    gap: 2px;
    padding: 6px;
    border-radius: 999px;
    transform: translateX(-50%);
}
.main-nav a, .product-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    color: #a7a7ad;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a:first-child, .product-menu-button:hover, .product-menu-button.active, .product-menu-button[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.assistant-site-page .main-nav > a:first-child { color: #a7a7ad; background: transparent; }
.main-nav .signup-link::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #ff4d4f;
}
.product-menu-wrap { position: relative; }
.product-menu-button svg { width: 14px; height: 14px; transition: transform .2s; }
.product-menu-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.product-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    display: grid;
    width: min(880px,calc(100vw - 40px));
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e7e9ee;
    border-radius: 24px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 24px 65px rgba(15,23,42,.2);
    transform: translateX(-38%);
}
.product-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 40%;
    width: 14px;
    height: 14px;
    border-top: 1px solid #e7e9ee;
    border-left: 1px solid #e7e9ee;
    background: #fff;
    transform: rotate(45deg);
}
.product-dropdown[hidden] { display: none; }
.product-dropdown-products { min-width: 0; padding: 4px; }
.product-dropdown-title { margin: 0 8px 8px; padding: 8px 6px 12px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 650; }
.product-dropdown-products > a {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 13px;
    align-items: center;
    padding: 13px;
    border-radius: 17px;
    color: var(--text);
    background: transparent;
}
.product-dropdown-products > a:hover { color: var(--text); background: #f2f3f8; }
.product-dropdown-products > a strong { display: block; margin-bottom: 4px; font-size: 16px; }
.product-dropdown-products > a small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.55; }
.product-dropdown-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #eef0ff;
}
.product-dropdown-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-dropdown-icon.gateway { color: #4263eb; }
.product-dropdown-icon.key { color: #8b5cf6; background: #f2edff; }
.product-dropdown-icon.billing { color: #0aa77a; background: #e9faf4; }
.product-dropdown-icon.agent { color: #e8791c; background: #fff3e8; }
.product-promo {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    border-radius: 19px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 12%,rgba(255,255,255,.2),transparent 34%),
        linear-gradient(145deg,#345bff,#6859ed);
}
.product-promo-art {
    width: 100%;
    height: 145px;
    margin: -4px 0 11px;
    fill: rgba(255,255,255,.09);
    stroke: rgba(255,255,255,.48);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.product-promo-art circle { fill: rgba(255,255,255,.28); }
.product-promo-kicker { margin-bottom: 8px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.product-promo > strong { font-size: 23px; line-height: 1.25; }
.product-promo > p { margin: 10px 0 18px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.65; }
.product-promo-contacts { display: grid; gap: 8px; margin-top: auto; }
.product-promo-contacts a {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.13);
    font-size: 13px;
    font-weight: 600;
    transition: background .2s,border-color .2s;
}
.product-promo-contacts svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.product-promo-contacts a:hover { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.22); }
.language {
    display: inline-flex;
    height: 44px;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border-radius: 999px;
    color: #ddd;
    border-width: 1px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.language svg { width: 16px; height: 16px; }
.language-wrap { position: relative; }
.language .chevron { transition: transform .2s; }
.language[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 20px 55px rgba(15,23,42,.18);
}
.language-dropdown[hidden] { display: none; }
.language-dropdown p { margin: 2px 8px 8px; padding: 8px 6px 12px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.language-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 9px 14px;
    border-radius: 16px;
    font-size: 16px;
    transition: background .2s;
}
.language-dropdown a:hover { background: #f3f3f1; }
.language-dropdown a small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.language-dropdown a > svg { width: 19px; height: 19px; flex: 0 0 19px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-menu-wrap { position: relative; display: none; }
.mobile-menu-button {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
    cursor: pointer;
}
.mobile-menu-button span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s, opacity .2s;
}
.mobile-menu-button span:nth-child(1) { top: 14px; }
.mobile-menu-button span:nth-child(2) { top: 21px; }
.mobile-menu-button span:nth-child(3) { top: 28px; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px,calc(100vw - 32px));
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 20px 55px rgba(15,23,42,.2);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
    display: block;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 600;
}
.mobile-nav a:hover { background: #f3f3f1; }
.mobile-nav .mobile-register { margin-top: 5px; color: #fff; background: var(--brand); text-align: center; }
.mobile-nav .mobile-register:hover { background: var(--brand-dark); }

.hero {
    position: relative;
    min-height: clamp(700px,62svh,820px);
    overflow: hidden;
    color: #fff;
    background: #000;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 4;
    height: 96px;
    background: linear-gradient(transparent,rgba(0,0,0,.85));
    pointer-events: none;
}
.hero-particles { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    min-height: inherit;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 30px;
    padding-top: 72px;
}
.hero-copy { transform: translate(24px,-20px); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: #bbbcc4;
    background: rgba(255,255,255,.04);
    font-size: 12px;
    letter-spacing: .04em;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg,#59dbee,#fc73bf);
}
.hero h1 {
    max-width: 720px;
    margin: 24px 0 22px;
    color: #fff;
    font-size: 60px;
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.055em;
}
.hero-lead {
    width: max-content;
    max-width: none;
    margin: 0 0 34px;
    color: #b1b3bc;
    font-size: 18px;
    line-height: 1.8;
    white-space: nowrap;
}
.hero-lead span { display: block; color: #747782; }
.primary-button {
    display: inline-flex;
    height: 46px;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 650;
    transition: transform .2s, background .2s;
}
.primary-button:hover { background: #f0f0f0; transform: translateY(-2px); }
.primary-button svg { width: 17px; height: 17px; transition: transform .2s; }
.primary-button:hover svg { transform: translateX(3px); }
.hero-stats { display: flex; margin-top: 46px; }
.stat { min-width: 145px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { display: block; font-size: 24px; font-weight: 600; }
.stat-accent { color: #ff4d4f; }
.stat small { display: block; margin-top: 7px; color: #676a74; font-size: 12px; }

.hero-visual { position: relative; width: 100%; max-width: 540px; height: 500px; justify-self: end; isolation: isolate; transform: translateX(36px); }
.network-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.network-hub {
    position: absolute;
    top: 48%;
    left: 50%;
    z-index: 2;
    display: flex;
    width: 126px;
    height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 34px;
    color: #f4f6ff;
    background: linear-gradient(145deg,rgba(34,42,64,.96),rgba(13,17,27,.98));
    box-shadow: 0 0 0 10px rgba(97,123,255,.05),0 0 60px rgba(75,104,255,.28),inset 0 1px rgba(255,255,255,.13);
    transform: translate(-50%,-50%);
}
.network-hub::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 960px;
    height: 960px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(79,95,255,.42) 0%,rgba(79,95,255,.26) 16%,rgba(67,78,190,.14) 34%,rgba(45,52,130,.06) 52%,transparent 72%);
    filter: blur(10px);
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.hub-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(132,151,255,.22);
    border-radius: 16px;
    color: #9eafff;
    background: linear-gradient(145deg,rgba(87,111,246,.25),rgba(69,88,180,.09));
}
.hub-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.network-hub strong { font-size: 12px; letter-spacing: .08em; }
.network-hub small { color: #8c97ac; font-size: 9px; letter-spacing: .14em; }

.model-ecosystem {
    padding: 52px 0;
    background: #fff;
}
.model-ecosystem-heading {
    max-width: 820px;
    margin-inline: auto;
    margin-bottom: 28px;
    text-align: center;
}
.model-ecosystem-heading h2 {
    margin: 20px 0 12px;
    color: #141a25;
    font-size: clamp(28px,3.2vw,42px);
    line-height: 1.18;
    letter-spacing: -.035em;
}
.model-ecosystem-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.model-router {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
}
.model-router-stage { position: relative; height: 430px; overflow: hidden; }
.model-router-stage::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(79,95,255,.075),transparent 68%);
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.router-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.router-routes path { fill: none; stroke: #e8eaf0; stroke-width: 3; vector-effect: non-scaling-stroke; }
.router-routes .route-input { stroke: #cbd1df; }
.router-routes .route-input-flow { stroke: transparent; }
.router-routes .route-input-flow.is-active {
    stroke: url(#route-gradient-zh);
    stroke-width: 4;
    stroke-dasharray: 8 10;
    animation: inputRouteFlow .72s linear infinite;
}
[data-locale="en"] .router-routes .route-input-flow.is-active { stroke: url(#route-gradient-en); }
.request-packet { fill: #4f5fff; filter: drop-shadow(0 0 5px rgba(79,95,255,.72)); }
.request-packet-small { fill: #a855f7; opacity: .7; }
.router-routes .route-output { transition: stroke .25s, opacity .25s, stroke-width .25s; }
.router-routes .route-output.is-active {
    stroke: url(#route-gradient-zh);
    stroke-width: 4;
    stroke-dasharray: 8 10;
    animation: routeFlow .75s linear infinite;
}
[data-locale="en"] .router-routes .route-output.is-active { stroke: url(#route-gradient-en); }
@keyframes routeFlow { to { stroke-dashoffset: -18; } }
@keyframes inputRouteFlow {
    to { stroke-dashoffset: -18; }
}
.router-node {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    color: #30394c;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 24px rgba(30,41,59,.055);
}
.router-client {
    top: 50%;
    left: 15.5%;
    width: 94px;
    height: 94px;
    flex-direction: column;
    gap: 6px;
    border-radius: 50%;
    transform: translate(-50%,-50%);
}
.router-client span { display: grid; width: 34px; height: 34px; place-items: center; color: #7c8596; }
.router-client svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.router-client small { color: #7c8596; font-size: 11px; }
.router-hub {
    top: 50%;
    left: 50%;
    width: 118px;
    height: 118px;
    flex-direction: column;
    gap: 5px;
    border: 2px solid rgba(79,95,255,.16);
    border-radius: 36px;
    background: linear-gradient(145deg,#fff,#f5f6ff);
    box-shadow: 0 0 0 10px rgba(79,95,255,.03),0 14px 34px rgba(79,95,255,.11);
    transform: translate(-50%,-50%);
}
.router-hub img { width: 42px; height: 42px; }
.router-hub strong { font-size: 15px; }
.router-hub small { color: #7c8596; font-size: 10px; }
.router-providers { position: absolute; top: 0; right: 6.5%; z-index: 3; width: 180px; height: 100%; }
.router-provider {
    position: absolute;
    right: 0;
    display: flex;
    width: 164px;
    height: 62px;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    border: 0;
    border-radius: 0;
    color: #354052;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.router-provider:nth-child(1) { top: 24px; }
.router-provider:nth-child(2) { top: 104px; }
.router-provider:nth-child(3) { top: 184px; }
.router-provider:nth-child(4) { top: 264px; }
.router-provider:nth-child(5) { top: 344px; }
.router-provider b {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    background: transparent;
}
.router-provider b img { width: 34px; height: 34px; object-fit: contain; }
.router-provider span { overflow: hidden; font-size: 12px; font-weight: 650; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.router-provider:not(.is-active) { opacity: .68; }
.router-provider:hover, .router-provider.is-active { color: var(--brand); opacity: 1; transform: translateX(-5px); }
.router-provider.is-active b img { filter: drop-shadow(0 5px 8px rgba(79,95,255,.18)); }
.router-provider[hidden] { display: none; }
.router-caption {
    position: absolute;
    bottom: 26px;
    left: 28px;
    z-index: 4;
    display: flex;
    width: min(360px,34%);
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(79,95,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
}
.router-caption-icon { width: 9px; height: 9px; flex: 0 0 9px; margin-top: 5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(79,95,255,.1); }
.router-caption strong { font-size: 14px; }
.router-caption p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.section { padding: 52px 0; scroll-margin-top: 72px; }
.section-heading { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.section-badge {
    display: inline-flex;
    padding: 7px 15px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-dark);
    font-size: 14px;
    font-weight: 650;
}
.section-heading h2 {
    margin: 20px 0 12px;
    color: #141a25;
    font-size: clamp(28px,3.2vw,42px);
    line-height: 1.18;
    letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
.card:hover {
    border-color: #dbe2f0;
    background: radial-gradient(circle at 82% 78%,rgba(79,95,255,.12),transparent 62%),#fff;
    box-shadow: 0 16px 40px rgba(39,67,130,.09);
    transform: translateY(-4px);
}
.card-icon {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    color: #252525;
}
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-icon { color: var(--brand); }
.card h3 { margin: 22px 0 9px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.solution-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent);
    opacity: 0;
    transform: scaleX(.35);
    transform-origin: left;
    transition: opacity .25s, transform .25s;
}
.solution-card:hover::before { opacity: 1; transform: scaleX(1); }
.solution-card {
    background:
        linear-gradient(145deg,rgba(var(--accent-rgb),.09),transparent 46%),
        #fff;
}
.solution-card .card-icon { color: var(--accent); }
.solution-card:hover {
    border-color: rgba(var(--accent-rgb),.42);
    background:
        radial-gradient(circle at 84% 82%,rgba(var(--accent-rgb),.18),transparent 58%),
        linear-gradient(145deg,rgba(var(--accent-rgb),.14),transparent 48%),
        #fff;
    box-shadow: none;
}
.solution-card:hover .card-icon { color: var(--accent); }
.solution-card:nth-child(1) { --accent: #4f5fff; --accent-rgb: 79,95,255; }
.solution-card:nth-child(2) { --accent: #8b5cf6; --accent-rgb: 139,92,246; }
.solution-card:nth-child(3) { --accent: #f59e0b; --accent-rgb: 245,158,11; }
.solution-points { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.solution-points li { display: flex; gap: 9px; }
.solution-points li::before { content: "✓"; color: #10b981; font-size: 17px; font-weight: 700; }

.feature-panel { overflow: hidden; border: 1px solid var(--border); border-radius: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.feature {
    display: flex;
    min-height: 150px;
    align-items: center;
    gap: 18px;
    margin: -1px 0 0 -1px;
    padding: 28px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    transition: background .2s;
}
.feature:hover { background: #f8f9fc; }
.feature svg { width: 34px; height: 34px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; color: var(--muted); }
.feature:hover svg { color: var(--brand); }
.feature strong { display: block; font-size: 16px; }
.feature small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.protocol-card { min-height: 220px; }
.protocol-number {
    position: absolute;
    top: 28px;
    right: 28px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 24px;
}

.site-footer {
    position: relative;
    width: min(100% - 40px,1152px);
    margin: 28px auto 0;
    padding: 76px 8px 34px;
    border-top: 1px solid var(--border);
}
.site-footer::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    width: 32px;
    height: 6px;
    border-radius: 999px;
    background: #222;
    transform: translateX(-50%);
}
.footer-main { display: flex; justify-content: space-between; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.footer-brand img { width: 29px; height: 29px; }
.footer-summary { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.footer-expert { display: grid; gap: 7px; margin-top: 18px; }
.footer-expert strong { color: var(--text); font-size: 14px; font-weight: 650; }
.footer-expert a { display: inline-flex; width: fit-content; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-expert a:hover { color: var(--brand); }
.footer-expert svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-links { display: grid; grid-template-columns: repeat(4,minmax(120px,auto)); gap: 38px; }
.footer-links h3 { margin: 0 0 16px; font-size: 16px; }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.contact-link { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.contact-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.copyright { margin-top: 46px; padding-top: 22px; border-top: 1px solid #f0f1f3; color: var(--muted); font-size: 13px; }

.assistant-hero { min-height: 720px; }
.assistant-hero-inner { grid-template-columns: .98fr 1.02fr; gap: 50px; }
.assistant-hero .hero-copy { transform: translate(10px,-8px); }
.assistant-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.assistant-secondary-button {
    display: inline-flex;
    height: 46px;
    align-items: center;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #d5d7df;
    background: rgba(255,255,255,.055);
    font-size: 14px;
    font-weight: 650;
    transition: color .2s, background .2s, transform .2s;
}
.assistant-secondary-button:hover { color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.assistant-workspace {
    position: relative;
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    justify-self: end;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    color: #172033;
    background: #fff;
    box-shadow: 0 0 0 10px rgba(79,95,255,.035),0 0 90px rgba(79,95,255,.24);
}
.assistant-window-bar { display: flex; height: 42px; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid #e8eaf0; background: #f7f8fb; }
.assistant-window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }
.assistant-window-bar > span:nth-child(2) { background: #f7b731; }
.assistant-window-bar > span:nth-child(3) { background: #22c55e; }
.assistant-window-bar small { margin-left: 7px; color: #7b8495; font-size: 10px; }
.assistant-window-body { display: grid; min-height: 390px; grid-template-columns: 128px 1fr; }
.assistant-window-body aside { display: flex; flex-direction: column; gap: 5px; padding: 18px 12px; border-right: 1px solid #eceef3; background: #f8f9fc; }
.assistant-window-body aside img { width: 28px; height: 28px; }
.assistant-window-body aside b { margin: 1px 0 16px; font-size: 13px; }
.assistant-window-body aside span { padding: 8px 9px; border-radius: 9px; color: #7b8495; font-size: 10px; }
.assistant-window-body aside span.is-active { color: var(--brand); background: #eceeff; font-weight: 650; }
.assistant-chat { display: flex; min-width: 0; flex-direction: column; padding: 18px; background: #fff; }
.assistant-chat-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #eef0f4; }
.assistant-chat-head strong { display: block; font-size: 13px; }
.assistant-chat-head small { display: block; margin-top: 3px; color: #8b93a2; font-size: 9px; }
.assistant-chat-head i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #eaf9ef; }
.assistant-message { max-width: 87%; margin-top: 18px; padding: 11px 13px; border-radius: 14px; font-size: 11px; line-height: 1.6; }
.assistant-message-user { align-self: flex-end; color: #fff; background: linear-gradient(135deg,#5263ff,#7866ef); border-bottom-right-radius: 4px; }
.assistant-message-ai { display: flex; gap: 9px; align-self: flex-start; color: #515d70; background: #f5f6fa; border-bottom-left-radius: 4px; }
.assistant-message-ai span { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 8px; background: #fff; }
.assistant-message-ai img { width: 19px; height: 19px; }
.assistant-message-ai p { margin: 0; }
.assistant-task-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.assistant-task-row span { padding: 5px 8px; border-radius: 7px; color: #4d8268; background: #edf8f2; font-size: 9px; }
.assistant-task-row .is-running { color: #596cf1; background: #eef0ff; }
.assistant-input { display: flex; min-height: 42px; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 8px 0 13px; border: 1px solid #e3e6ed; border-radius: 13px; color: #9aa1ae; font-size: 10px; }
.assistant-input b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #fff; background: var(--brand); font-size: 14px; }
.assistant-soft-section { background: #fafbff; }
.assistant-download-section { padding-top: 22px; }
.assistant-download-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 44px 48px;
    border-radius: 26px;
    color: #fff;
    background: radial-gradient(circle at 82% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(135deg,#315efb,#6758ed);
}
.assistant-download-card h2 { max-width: 720px; margin: 18px 0 10px; font-size: clamp(28px,3.2vw,42px); line-height: 1.15; letter-spacing: -.035em; }
.assistant-download-card p { max-width: 700px; margin: 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; }
.assistant-download-card .section-badge { color: #3658dc; background: #fff; }
.assistant-download-actions { display: grid; min-width: 230px; gap: 10px; }
.assistant-download-actions a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 650; transition: background .2s, transform .2s; }
.assistant-download-actions a:hover { color: #fff; background: rgba(255,255,255,.18); transform: translateY(-2px); }

@media (max-width: 900px) {
    .container { width: min(100% - 32px,var(--page-width)); }
    .main-nav { display: none; }
    .mobile-menu-wrap { display: block; }
    .hero { min-height: 720px; }
    .hero-inner { display: flex; align-items: center; justify-content: center; padding-top: 88px; text-align: center; }
    .hero-copy { transform: none; }
    .hero h1 { font-size: clamp(42px,11vw,60px); }
    .hero-lead { width: auto; max-width: 650px; margin-inline: auto; font-size: 16px; white-space: normal; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .assistant-hero .hero-copy { transform: none; }
    .assistant-workspace { display: none; }
    .assistant-hero-actions { justify-content: center; }
    .assistant-download-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; text-align: center; }
    .assistant-download-card p { margin-inline: auto; }
    .assistant-download-actions { width: min(100%,360px); margin-inline: auto; }
    .router-caption { width: 36%; }
    .card-grid, .feature-grid { grid-template-columns: 1fr; }
    .card { min-height: 0; }
    .feature { min-height: 120px; }
    .footer-main { flex-direction: column; }
}

@media (max-width: 560px) {
    .site-header { height: 64px; }
    .brand { height: 40px; padding: 0 12px; }
    .language { width: 42px; height: 40px; justify-content: center; padding: 0; }
    .language span, .language .chevron { display: none; }
    .hero { min-height: 750px; }
    .hero-inner { padding-top: 72px; }
    .hero h1 { margin-top: 20px; }
    .hero-lead span { margin-top: 8px; }
    .hero-stats { width: 100%; margin-top: 38px; }
    .model-ecosystem { padding: 42px 0 36px; }
    .model-router-stage { height: 390px; }
    .router-client { left: 14%; width: 68px; height: 68px; }
    .router-client span { width: 28px; height: 28px; }
    .router-client small { display: none; }
    .router-hub { width: 86px; height: 86px; border-radius: 26px; }
    .router-hub img { width: 31px; height: 31px; }
    .router-hub small { display: none; }
    .router-providers { right: 4%; width: 58px; }
    .router-provider { width: 54px; height: 54px; padding: 6px; justify-content: center; }
    .router-provider:nth-child(1) { top: 18px; }
    .router-provider:nth-child(2) { top: 90px; }
    .router-provider:nth-child(3) { top: 162px; }
    .router-provider:nth-child(4) { top: 234px; }
    .router-provider:nth-child(5) { top: 306px; }
    .router-provider b { width: 39px; height: 39px; flex-basis: 39px; }
    .router-provider b img { width: 31px; height: 31px; }
    .router-provider span, .router-caption { display: none; }
    .router-provider:hover, .router-provider.is-active { transform: translateX(-4px); }
    .stat { min-width: 0; flex: 1; padding: 0 9px; }
    .stat strong { font-size: 17px; }
    .section { padding: 42px 0; }
    .section-heading p { font-size: 15px; }
    .card { padding: 23px; }
    .footer-links { grid-template-columns: repeat(2,1fr); gap: 28px; }
    .assistant-download-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .hero-particles, .network-canvas { display: none; }
    .request-packet { display: none; }
}
