/* jsqhicn — HiCN 回国加速器宣传前台 */

:root {
    --bg: #f2f5f8;
    --bg-elevated: #ffffff;
    --bg-ink: #07111f;
    --bg-ink-soft: #0f1c2e;
    --ink: #0a1322;
    --ink-soft: #4a5a70;
    --ink-faint: #7a889c;
    --line: rgba(10, 19, 34, 0.1);
    --line-strong: rgba(10, 19, 34, 0.16);
    --accent: #0f8f86;
    --accent-deep: #0b6f68;
    --accent-sky: #1a6bb5;
    --accent-mist: rgba(15, 143, 134, 0.12);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 18px 40px rgba(10, 19, 34, 0.08);
    --font-display: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.site-main { position: relative; z-index: 1; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--accent); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(242, 245, 248, 0.88);
    backdrop-filter: blur(16px) saturate(1.1);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 72px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand img {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
}

.brand-text {
    font-size: 20px;
    line-height: 1;
    color: var(--ink);
}

.main-nav {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 4px;
}

.main-nav a {
    color: var(--ink-soft);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.main-nav a.is-active {
    box-shadow: inset 0 -2px 0 var(--accent);
}

.lang-switcher { display: flex; gap: 2px; font-size: 13px; }
.lang-switcher a {
    color: var(--ink-faint);
    padding: 5px 9px;
    border-radius: 6px;
    border: 1px solid transparent;
}
.lang-switcher a:hover { color: var(--ink); }
.lang-switcher a.is-active {
    color: var(--ink);
    border-color: var(--line);
    background: var(--bg-elevated);
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero--home {
    min-height: min(100vh, 920px);
    display: flex;
    align-items: flex-end;
    padding: 0 0 88px;
    color: #f5f8fc;
}

.hero-stage {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-stage__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.04);
    animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-stage__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.35) 0%, rgba(7, 17, 31, 0.55) 42%, rgba(7, 17, 31, 0.88) 100%),
        linear-gradient(90deg, rgba(7, 17, 31, 0.55) 0%, rgba(7, 17, 31, 0.2) 55%, rgba(7, 17, 31, 0.45) 100%);
}

.hero-stage__grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    animation: gridRise 18s linear infinite;
}

.hero-shell {
    width: 100%;
    padding-top: 140px;
}

.hero-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand-lockup__mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-brand-lockup__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #fff;
}

.hero--home .hero-title {
    max-width: 14ch;
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(34px, 5.4vw, 58px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #fff;
    text-shadow: none;
    animation: riseIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero--home .hero-sub {
    max-width: 34rem;
    margin: 0 0 28px;
    color: rgba(236, 242, 248, 0.82);
    font-size: clamp(16px, 1.7vw, 19px);
    animation: riseIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    animation: riseIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero--home .hero-trial {
    margin: 0;
    color: rgba(210, 230, 228, 0.88);
    font-size: 14px;
    font-weight: 600;
    animation: riseIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.hero--platform {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at 12% 20%, rgba(15, 143, 134, 0.14), transparent 36%),
        linear-gradient(180deg, #e8eef4 0%, var(--bg) 100%);
    color: var(--ink);
}

.hero--platform .eyebrow {
    color: var(--accent-deep);
}

.hero--platform .hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    letter-spacing: -0.04em;
    margin: 0 0 14px;
    line-height: 1.15;
}

.hero--platform .hero-sub {
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}

.hero-device {
    position: relative;
    min-height: 360px;
}

.hero-device img {
    position: absolute;
    display: block;
    object-fit: contain;
}

.hero-device__desktop {
    top: 0;
    right: -4%;
    width: min(110%, 520px);
}

.hero-device__mobile {
    right: 4%;
    bottom: 0;
    width: min(42%, 180px);
}

.page-head {
    padding: 56px 0 12px;
}

.page-head h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    margin: 12px 0 8px;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.page-sub { color: var(--ink-soft); max-width: 720px; }
.page-head__desc {
    margin: 10px 0 0;
    max-width: 720px;
    color: var(--ink-soft);
    font-size: 15px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--ink-faint);
    font-size: 13px;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-deep);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.hero--platform .btn-ghost,
.section .btn-ghost {
    border-color: var(--line-strong);
    color: var(--ink);
    background: transparent;
}

.hero--platform .btn-ghost:hover,
.section .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
    background: var(--accent-mist);
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }

.section-kicker,
.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-deep);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 18px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-title--lg {
    font-size: clamp(28px, 3.8vw, 42px);
    max-width: 16ch;
}

.section-lead {
    margin: 0 0 28px;
    max-width: 36rem;
    color: var(--ink-soft);
    font-size: 16px;
}

.section-intro { margin-bottom: 36px; }
.section-intro--center { text-align: center; }
.section-intro--center .section-lead { margin-left: auto; margin-right: auto; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.section-more {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--accent-deep);
}

/* product split */
.section--product {
    padding-top: 96px;
    background:
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.product-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.signal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.signal-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

.signal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 2px;
    background: var(--accent);
}

.product-visual {
    position: relative;
    min-height: 460px;
}

.product-visual__atmosphere {
    position: absolute;
    inset: 8% 4% 4% 8%;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    opacity: 0.9;
}

.product-visual__desktop {
    position: absolute;
    top: 6%;
    right: -2%;
    width: min(108%, 540px);
    filter: drop-shadow(0 24px 40px rgba(10, 19, 34, 0.22));
    animation: deviceFloat 8s ease-in-out infinite;
}

.product-visual__mobile {
    position: absolute;
    right: 6%;
    bottom: 0;
    width: min(38%, 168px);
    filter: drop-shadow(0 18px 28px rgba(10, 19, 34, 0.24));
    animation: deviceFloat 8s ease-in-out infinite reverse;
}

/* capabilities — editorial rail, not cards */
.section--capabilities {
    background: var(--bg-ink);
    color: #edf2f7;
}

.section--capabilities .section-kicker { color: #5fd4cb; }
.section--capabilities .section-title { color: #fff; }
.section--capabilities .section-lead { color: rgba(205, 216, 230, 0.78); }

.capability-rail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.capability-item {
    padding: 28px 22px 8px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-item:last-child { border-right: 0; padding-right: 0; }

.capability-item__index {
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #5fd4cb;
}

.capability-item h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #fff;
}

.capability-item p {
    margin: 0;
    color: rgba(205, 216, 230, 0.72);
    font-size: 14px;
}

/* download band */
.section--download-band {
    background: #e8eef4;
}

.download-band {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: 36px;
    align-items: start;
}

/* feature / article grids (inner pages + home articles) */
.feature-grid, .card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.feature-card, .article-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color 0.22s ease, transform 0.22s ease;
}

.feature-card:hover, .article-card:hover {
    border-color: rgba(15, 143, 134, 0.35);
    transform: translateY(-2px);
}

.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-family: var(--font-display); }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.article-card h2, .article-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.45;
    font-family: var(--font-display);
}
.article-card h2 a, .article-card h3 a { color: var(--ink); }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--accent-deep); }
.article-card p {
    margin: 0 0 12px;
    color: var(--ink-soft);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card time { color: var(--ink-faint); font-size: 12px; }
.article-card__thumb {
    display: block;
    margin: -22px -22px 16px;
    aspect-ratio: 4 / 3;
    min-height: 180px;
    overflow: hidden;
    background: #dde5ee;
    border-radius: var(--radius) var(--radius) 0 0;
}
.article-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}
.article-card:hover .article-card__thumb img { transform: scale(1.03); }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* tags */
.tag-cloud, .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tag {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    background: var(--bg-elevated);
}
.tag:hover { border-color: var(--accent); color: var(--accent-deep); }
.tag.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.tag-sm { padding: 2px 9px; font-size: 12px; border-radius: 6px; }

/* FAQ */
.faq-list { margin: 0; display: grid; gap: 12px; }
.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
}
.faq-item dt { font-weight: 650; margin-bottom: 6px; font-family: var(--font-display); }
.faq-item dt a { color: var(--ink); }
.faq-item dt a:hover { color: var(--accent-deep); }
.faq-item dd { margin: 0; color: var(--ink-soft); font-size: 14px; }

.section--faq {
    background: #e8eef4;
}

/* ---------- article detail ---------- */
.article-detail { padding-top: 20px; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(190px, 1fr);
    align-items: start;
    gap: clamp(22px, 3vw, 34px);
}
.article-main { min-width: 0; }
.article-header h1 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 34px);
    line-height: 1.35;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}
.article-meta {
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    color: var(--ink-faint); font-size: 13px; margin-bottom: 10px;
}
.article-hierarchy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -4px 0 16px;
    color: var(--ink-faint);
    font-size: 13px;
}
.article-hierarchy a { color: var(--accent-deep); }
.article-hierarchy a:hover { color: var(--accent); }
.article-translations { font-size: 13px; color: var(--ink-faint); }
.article-translations a { margin-left: 8px; }
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.article-summary {
    background: #e8eef4;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin: 22px 0;
}
.article-summary p { margin: 0; color: var(--ink); }

.article-toc {
    margin: 24px 0 30px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
}
.article-toc__title {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-display);
}
.article-toc ol {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 7px;
}
.article-toc li { color: var(--ink-faint); }
.article-toc li.is-sub { margin-left: 16px; font-size: 14px; }
.article-toc a { color: var(--ink-soft); }
.article-toc a:hover { color: var(--accent-deep); }

.article-body { font-size: 16px; }
.article-body h2,
.article-body h3 { scroll-margin-top: 86px; }
.article-body h2 { font-size: 22px; margin: 36px 0 14px; font-family: var(--font-display); }
.article-body h3 { font-size: 18px; margin: 28px 0 12px; font-family: var(--font-display); }
.article-body p { margin: 0 0 16px; }
.article-body img { border-radius: 8px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body code {
    background: #e8eef4; padding: 2px 6px; border-radius: 4px; font-size: 14px;
}
.article-body pre {
    background: #e8eef4; padding: 16px; border-radius: 8px; overflow-x: auto;
}
.article-body table { border-collapse: collapse; width: 100%; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 12px; }

.article-footer {
    margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
    color: var(--ink-faint); font-size: 13px;
}

.article-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
    min-width: 0;
}
.article-sidebar__panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-elevated);
}
.article-sidebar__title {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-display);
}
.article-sidebar .download-panel--sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: none;
}
.article-sidebar .download-panel--sidebar .download-card {
    min-height: 58px;
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 12px;
    text-align: left;
}
.article-sidebar .download-panel--sidebar .download-card--featured {
    grid-column: auto;
    min-height: 64px;
}
.article-sidebar .download-panel--sidebar .download-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}
.article-sidebar .download-panel--sidebar .download-card--featured .download-card__icon {
    width: 36px;
    height: 36px;
}
.article-sidebar .download-panel--sidebar .download-card__label,
.article-sidebar .download-panel--sidebar .download-card__note {
    white-space: normal;
}
.article-sidebar .download-panel--sidebar .download-card__label {
    font-size: 12px;
    line-height: 1.25;
}
.article-sidebar .download-panel--sidebar .download-card__note {
    font-size: 10.5px;
}
.article-sidebar .download-panel--sidebar .download-card__qr {
    display: none;
}
.article-recommend-list { display: grid; gap: 8px; }
.article-recommend-link {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f7f9fb;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.45;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.article-recommend-link:hover {
    color: var(--ink);
    border-color: rgba(15, 143, 134, 0.35);
}

/* pager */
.pager { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 36px 0 0; }
.pager-link {
    display: inline-block; min-width: 38px; text-align: center; padding: 7px 10px;
    border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); font-size: 14px;
    background: var(--bg-elevated);
}
.pager-link:hover { border-color: var(--accent); color: var(--accent-deep); }
.pager .active .pager-link { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager-link.is-disabled { opacity: 0.4; pointer-events: none; }

.empty-tip { color: var(--ink-soft); text-align: center; padding: 48px 0; }

.fallback-notice {
    background: #e8eef4;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
    margin: 0 0 26px;
    color: var(--ink-soft);
    font-size: 14px;
}

/* ---------- downloads ---------- */
.download-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
}

.download-card {
    position: relative;
    min-height: 72px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-elevated);
    color: var(--ink);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.download-card--featured {
    grid-column: 1 / -1;
    min-height: 84px;
    border-color: rgba(15, 143, 134, 0.35);
    background: linear-gradient(135deg, rgba(15, 143, 134, 0.1), rgba(26, 107, 181, 0.08));
}

.download-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 143, 134, 0.45);
    color: var(--ink);
}

.download-card__icon,
.download-card__text {
    position: relative;
    z-index: 1;
}

.download-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef3f7;
    border: 1px solid var(--line);
    color: var(--accent-deep);
}

.download-card--featured .download-card__icon {
    width: 46px;
    height: 46px;
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.download-card__icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}

.download-card__icon--windows {
    background: rgba(0, 164, 239, 0.12);
    border-color: rgba(0, 164, 239, 0.35);
}

.download-card__icon--appstore {
    background: #f8fafc;
    border-color: var(--line);
    color: #0f172a;
}

.download-card__icon--android {
    background: rgba(61, 220, 132, 0.12);
    border-color: rgba(61, 220, 132, 0.4);
    color: #1f9d57;
}

.download-card__icon--googleplay { color: transparent; }

.download-card__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.download-card__label {
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 750;
    white-space: nowrap;
}

.download-card__note {
    margin-top: 3px;
    color: var(--ink-faint);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.download-card--featured .download-card__label { font-size: clamp(16px, 1.6vw, 19px); }

.download-card__qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    z-index: 10;
    width: 156px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.download-card__qr::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    transform: translateX(-50%) rotate(45deg);
}

.download-card__qr img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 8px;
    background: #fff;
}

.download-card__qr span {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: var(--ink-faint);
    font-size: 12px;
    text-align: center;
}

.download-card:hover .download-card__qr {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- footer ---------- */
.site-footer {
    margin-top: 0;
    padding: 0 0 28px;
    background: var(--bg-ink);
    color: rgba(220, 230, 240, 0.78);
}

.footer-download {
    display: none;
}

.footer-inner {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-top: 56px;
    padding-bottom: 40px;
}

.footer-brand {
    font-weight: 700;
    font-size: 17px;
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--font-display);
}

.footer-desc { color: rgba(205, 216, 230, 0.68); font-size: 13px; margin: 0; }
.footer-title { font-weight: 650; font-size: 13px; margin: 0 0 10px; color: #fff; letter-spacing: 0.04em; }
.footer-col a { display: block; color: rgba(205, 216, 230, 0.68); font-size: 13px; padding: 3px 0; }
.footer-col a:hover { color: #fff; }

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 20px 6px;
    color: rgba(180, 194, 210, 0.6);
    font-size: 12px;
    text-align: center;
}
.footer-copy p { margin: 0; }
.footer-licenses {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 8px;
}
.footer-licenses a { color: inherit; }
.footer-licenses a:hover { color: #fff; }

/* ---------- support page ---------- */
.support-page { position: relative; overflow: hidden; }

.support-search {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    max-width: 560px;
}

.support-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--ink);
    font-size: 14px;
    outline: none;
}

.support-search input[type="search"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-mist);
}

.support-search button {
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.support-search button:hover { background: var(--accent-deep); }
.support-search button:disabled { opacity: .65; cursor: wait; }

.support-search__hint,
.support-search__status {
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 13px;
}

.support-search__status { color: var(--accent-deep); }

.support-section { margin-top: 40px; }

.support-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--accent-mist);
    border: 1px solid rgba(15, 143, 134, 0.25);
    color: var(--accent-deep);
    font-size: 13px;
    font-weight: 650;
}

.support-carousel {
    position: relative;
    margin: 0 -8px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.support-carousel__track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 18px 8px 10px;
    animation: supportMarquee var(--support-duration, 48s) linear infinite;
    will-change: transform;
}

.support-carousel--apps .support-carousel__track {
    --support-duration: 42s;
    animation-direction: reverse;
}

.support-carousel.is-paused .support-carousel__track {
    animation-play-state: paused;
}

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

.support-carousel .support-card { flex: 0 0 auto; width: 128px; }
.support-carousel--apps .support-card { width: 112px; }

.support-grid { display: grid; gap: 14px; }
.support-grid--windows { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.support-grid--apps { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }

.support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    transform: translateY(14px);
    animation: supportCardIn .5s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: var(--card-delay, 0s);
    transition: border-color .22s ease, transform .22s ease;
}

.support-card.is-enter { animation-name: supportCardPop; }

@keyframes supportCardIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes supportCardPop {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.support-card__glow { display: none; }

.support-card:hover {
    border-color: rgba(15, 143, 134, 0.4);
    transform: translateY(-3px);
    z-index: 2;
}

.support-card__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3f7;
    z-index: 1;
}

.support-card--windows .support-card__icon { width: 92px; height: 134px; }
.support-card--app .support-card__icon { width: 72px; height: 72px; border-radius: 16px; }

.support-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.support-card__shine { display: none; }

.support-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-sky));
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.support-card__name {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    color: var(--ink);
    word-break: break-word;
}

.support-empty { display: none; margin-top: 12px; }
.support-empty.is-visible { display: block; }
.support-results__meta {
    margin: 10px 0 0;
    color: var(--ink-faint);
    font-size: 12px;
}

.support-page.is-searching .support-carousel__track {
    animation-play-state: paused;
}

/* ---------- motion ---------- */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroDrift {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.08) translate3d(-1.2%, -1%, 0); }
}

@keyframes gridRise {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 -64px, 64px 0; }
}

@keyframes deviceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .capability-rail { grid-template-columns: 1fr 1fr; }
    .capability-item:nth-child(2) { border-right: 0; }
    .capability-item:nth-child(3),
    .capability-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .product-split,
    .download-band,
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .product-visual { min-height: 380px; }
    .section-title--lg { max-width: none; }
}

@media (max-width: 720px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .header-inner {
        gap: 10px 12px;
        min-height: 0;
        padding: 10px 0 12px;
    }
    .brand { flex: 1 1 auto; }
    .lang-switcher {
        margin-left: auto;
        padding: 3px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--bg-elevated);
    }
    .lang-switcher a { padding: 4px 8px; font-size: 12px; }
    .main-nav {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        flex-wrap: nowrap;
        gap: 4px;
        overflow-x: auto;
        padding: 4px 0;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a {
        flex: 1 0 auto;
        min-width: max-content;
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero--home {
        min-height: 86vh;
        padding-bottom: 56px;
        align-items: flex-end;
    }
    .hero-shell { padding-top: 110px; }
    .hero-brand-lockup__name { font-size: clamp(36px, 12vw, 52px); }
    .hero--home .hero-title { max-width: none; font-size: clamp(28px, 9vw, 40px); }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }

    .section { padding: 64px 0; }
    .capability-rail { grid-template-columns: 1fr; }
    .capability-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 22px 0;
    }
    .capability-item:last-child { border-bottom: 0; }
    .capability-item:nth-child(3),
    .capability-item:nth-child(4) { border-top: 0; }

    .product-visual { min-height: 300px; }
    .product-visual__mobile { width: min(34%, 120px); }
    .feature-grid, .card-grid { grid-template-columns: 1fr; }
    .download-panel { grid-template-columns: 1fr; max-width: none; }
    .download-card {
        justify-content: flex-start;
        text-align: left;
    }
    .download-card__label,
    .download-card__note { white-space: normal; }
    .download-card__qr { display: none; }

    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .hero-device { display: none; }
    .footer-licenses { display: grid; gap: 6px; }

    .support-search { flex-direction: column; max-width: none; }
    .support-search button { width: 100%; }
    .support-grid--windows { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .support-grid--apps { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .support-carousel .support-card { width: 110px; }
    .support-carousel--apps .support-card { width: 100px; }
}

@media (max-width: 520px) {
    .product-visual__atmosphere { inset: 12% 0 8%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stage__img,
    .hero-stage__grid,
    .product-visual__desktop,
    .product-visual__mobile,
    .hero-brand-lockup,
    .hero--home .hero-title,
    .hero--home .hero-sub,
    .hero-cta,
    .hero--home .hero-trial,
    .support-carousel__track,
    .support-card {
        animation: none !important;
    }
    .support-card {
        opacity: 1;
        transform: none;
    }
}
