/*
 * Professional frontend layer.
 * Keeps page logic intact while tightening the visual system across portal pages.
 */
:root {
    --pro-bg: #f5f7fb;
    --pro-surface: #ffffff;
    --pro-surface-soft: #f8fafc;
    --pro-line: #dfe7f2;
    --pro-line-strong: #cbd6e5;
    --pro-text: #162033;
    --pro-muted: #5f6f85;
    --pro-soft: #8a97aa;
    --pro-primary: #175cd3;
    --pro-primary-dark: #1249a8;
    --pro-teal: #0f9f9a;
    --pro-amber: #b7791f;
    --pro-shadow: 0 16px 34px rgba(22, 32, 51, 0.10);
    --pro-shadow-soft: 0 8px 20px rgba(22, 32, 51, 0.07);
}

html {
    background: var(--pro-bg);
}

body.home-page,
body.model-page,
body.versions-page,
body.downloads-page,
body.query-page {
    background:
        linear-gradient(180deg, #f8fbff 0%, var(--pro-bg) 360px),
        var(--pro-bg);
    color: var(--pro-text);
    letter-spacing: 0;
}

.page-wrap {
    width: min(100% - 48px, 1200px);
}

.topbar,
.model-topbar,
.versions-topbar,
.downloads-topbar,
.query-topbar {
    background: #0f172a;
    border: 0;
    color: #cbd5e1;
}

.topbar-inner,
.model-topbar-inner,
.versions-topbar-inner,
.downloads-topbar-inner,
.query-topbar-inner {
    min-height: 38px;
    font-size: 13px;
}

.topbar-actions a,
.model-topbar-actions a,
.versions-topbar-actions a,
.downloads-topbar-actions a,
.query-topbar-actions a {
    min-height: 28px;
    border-radius: 6px;
    font-weight: 700;
}

.site-header,
.model-header,
.versions-header,
.downloads-header,
.query-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(203, 214, 229, 0.72);
    box-shadow: 0 10px 26px rgba(22, 32, 51, 0.06);
    backdrop-filter: blur(18px);
}

.header-inner,
.model-header-inner,
.versions-header-inner,
.downloads-header-inner,
.query-header-inner {
    min-height: 72px;
}

.site-brand,
.model-brand,
.versions-brand,
.downloads-brand,
.query-brand {
    color: var(--pro-text);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0;
}

.site-nav,
.model-nav,
.versions-nav,
.downloads-nav,
.query-nav {
    gap: 4px;
    padding: 4px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #f8fafc;
}

.site-nav a,
.model-nav a,
.versions-nav a,
.downloads-nav a,
.query-nav a {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.site-nav a:hover,
.model-nav a:hover,
.versions-nav a:hover,
.downloads-nav a:hover,
.query-nav a:hover,
.site-nav a.active,
.model-nav a.active,
.versions-nav a.active,
.downloads-nav a.active,
.query-nav a.active {
    background: #ffffff;
    color: var(--pro-primary);
    box-shadow: var(--pro-shadow-soft);
}

.primary-btn,
.hero-btn-primary,
.template-filter-bar button,
.model-search-form button,
.license-row button,
.download-actions .primary-btn,
.plan-actions .primary-btn,
.site-actions .primary-btn,
.model-header-actions .primary-btn,
.versions-header-actions .primary-btn,
.downloads-header-actions .primary-btn,
.query-header-actions .primary-btn {
    border: 1px solid var(--pro-primary);
    border-radius: 6px;
    background: var(--pro-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(23, 92, 211, 0.20);
}

.primary-btn:hover,
.hero-btn-primary:hover,
.template-filter-bar button:hover,
.model-search-form button:hover,
.license-row button:hover {
    background: var(--pro-primary-dark);
    border-color: var(--pro-primary-dark);
    transform: translateY(-1px);
}

.ghost-btn,
.hero-btn-secondary,
.template-filter-bar a,
.download-actions .ghost-btn,
.package-item .ghost-btn {
    border: 1px solid var(--pro-line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--pro-text);
    box-shadow: none;
}

.ghost-btn:hover,
.hero-btn-secondary:hover,
.template-filter-bar a:hover,
.download-actions .ghost-btn:hover,
.package-item .ghost-btn:hover {
    border-color: var(--pro-primary);
    color: var(--pro-primary);
    background: #f8fbff;
}

.hero,
.model-hero,
.versions-hero,
.downloads-hero,
.query-hero {
    padding: 36px 0 28px;
}

.hero-layout {
    grid-template-columns: minmax(0, 1fr) 284px;
    gap: 20px;
}

.hero-slide-alt,
.model-search-box,
.versions-banner,
.downloads-banner,
.query-banner {
    border: 1px solid rgba(203, 214, 229, 0.78);
    border-radius: 12px;
    box-shadow: var(--pro-shadow);
    overflow: hidden;
}

.hero-slide-alt::before,
.hero-slide-alt::after,
.versions-banner::before,
.versions-banner::after,
.downloads-banner::before,
.downloads-banner::after,
.query-banner::before,
.query-banner::after {
    display: none;
}

.hero-stage {
    min-height: 560px;
    padding: 48px;
}

.hero-stage-copy h1,
.model-search-copy h1,
.versions-copy h1,
.downloads-copy h1,
.query-copy h1 {
    max-width: 680px;
    color: inherit;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-stage-copy p,
.model-search-copy p,
.versions-copy p,
.downloads-copy p,
.query-copy p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.85;
}

.model-search-copy p {
    color: var(--pro-muted);
}

.hero-eyebrow,
.hero-kicker {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(23, 92, 211, 0.16);
    border-radius: 6px;
    background: #eff6ff;
    color: var(--pro-primary);
    font-size: 13px;
    font-weight: 900;
}

.hero-stage-no {
    border-radius: 6px;
}

.hero-stage-metrics {
    gap: 10px;
}

.hero-stage-metric {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stage-visual {
    min-height: 420px;
}

.hero-scene-window {
    border-radius: 10px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.hero-floating-chip {
    border-radius: 6px;
}

.promo-card {
    min-height: 268px;
    border: 1px solid rgba(203, 214, 229, 0.7);
    border-radius: 8px;
    background: #ffffff;
    color: var(--pro-text);
    box-shadow: var(--pro-shadow-soft);
}

.promo-card::before,
.promo-card::after {
    display: none;
}

.promo-card-tag {
    border-radius: 6px;
    background: #eff6ff;
    color: var(--pro-primary);
}

.promo-card-icon {
    color: var(--pro-primary);
    letter-spacing: 0;
}

.promo-card-body strong,
.promo-card-desc,
.promo-card-foot,
.promo-card > em {
    color: var(--pro-text);
}

.model-search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    align-items: end;
    gap: 24px;
    padding: 32px;
    background: var(--pro-surface);
}

.model-search-form {
    padding: 8px;
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: var(--pro-surface-soft);
}

.model-search-form input,
.template-filter-bar select,
.license-row input {
    border: 1px solid var(--pro-line);
    border-radius: 6px;
    background: #fff;
    color: var(--pro-text);
}

.template-filter-bar {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: var(--pro-surface);
    box-shadow: var(--pro-shadow-soft);
}

.template-filter-bar label span {
    color: var(--pro-muted);
    font-weight: 900;
}

.category-cloud {
    margin-top: 18px;
}

.category-cloud a {
    border: 1px solid var(--pro-line);
    border-radius: 6px;
    background: #fff;
    color: var(--pro-text);
    box-shadow: none;
}

.category-cloud a.active,
.category-cloud a:hover {
    border-color: rgba(23, 92, 211, 0.35);
    background: #eff6ff;
    color: var(--pro-primary);
}

.category-cloud a span {
    border-radius: 6px;
    background: #e8eef7;
    color: var(--pro-muted);
}

.model-main,
.versions-main,
.downloads-main,
.query-main {
    padding-top: 24px;
}

.section-head,
.section-title {
    margin-bottom: 20px;
}

.section-head h2,
.section-title h2 {
    color: var(--pro-text);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.16;
    letter-spacing: 0;
}

.section-head p,
.section-title p {
    color: var(--pro-muted);
}

.template-grid,
.plans-grid,
.download-grid,
.service-grid,
.advantage-grid,
.result-grid {
    gap: 18px;
}

.template-card,
.plan-card,
.download-card,
.service-card,
.advantage-card,
.license-panel,
.result-panel,
.compare-table,
.package-item,
.result-item,
.domain-box,
.result-empty,
.knowledge-panel,
.case-card,
.trust-card,
.compare-card {
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: var(--pro-surface);
    box-shadow: var(--pro-shadow-soft);
}

.template-card:hover,
.plan-card:hover,
.download-card:hover,
.service-card:hover,
.advantage-card:hover {
    border-color: rgba(23, 92, 211, 0.28);
    box-shadow: var(--pro-shadow);
    transform: translateY(-3px);
}

.template-thumb {
    aspect-ratio: 16 / 11;
    border-radius: 8px 8px 0 0;
    background: #eaf0f7;
}

.template-thumb img {
    object-fit: cover;
}

.template-overlay {
    background: rgba(15, 23, 42, 0.72);
}

.template-overlay a {
    border-radius: 6px;
}

.template-info {
    padding: 16px;
}

.template-meta span,
.download-meta span,
.plan-top span {
    border-radius: 6px;
    background: #eff6ff;
    color: var(--pro-primary);
}

.template-meta strong,
.plan-price strong {
    color: var(--pro-primary);
}

.template-tags span {
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--pro-muted);
}

.template-info h3,
.download-body h3,
.plan-top h3,
.service-card h3,
.advantage-card h3 {
    color: var(--pro-text);
    letter-spacing: 0;
}

.template-info p,
.download-body p,
.plan-top p,
.service-card p,
.advantage-card p {
    color: var(--pro-muted);
}

.versions-banner,
.downloads-banner,
.query-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 34px;
    background: linear-gradient(135deg, #0f2747 0%, #175cd3 72%, #0f9f9a 100%);
}

.versions-cta-group,
.downloads-cta-group,
.query-cta-group {
    justify-content: flex-end;
}

.plan-card {
    position: relative;
    overflow: hidden;
}

.plan-card.theme-featured {
    border-color: rgba(23, 92, 211, 0.42);
    box-shadow: 0 20px 42px rgba(23, 92, 211, 0.16);
}

.plan-card.theme-featured::before {
    content: "推荐";
    position: absolute;
    top: 14px;
    right: 14px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 6px;
    background: #fff7ed;
    color: var(--pro-amber);
    font-size: 12px;
    font-weight: 900;
    line-height: 26px;
}

.plan-list li {
    color: var(--pro-muted);
}

.compare-table {
    overflow: hidden;
}

.compare-head {
    background: #f1f6ff;
    color: var(--pro-text);
    font-weight: 900;
}

.compare-row div {
    border-color: var(--pro-line);
}

.download-thumb {
    background: #f1f6ff;
}

.download-window {
    border-radius: 8px;
}

.download-window-top,
.download-window-hero,
.download-window-grid span {
    border-radius: 6px;
}

.download-body {
    padding: 18px;
}

.download-body ul {
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: #f8fafc;
}

.download-actions {
    gap: 8px;
}

.query-layout {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
}

.license-panel,
.result-panel {
    padding: 24px;
}

.license-row {
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: var(--pro-surface-soft);
}

.result-item,
.domain-box,
.result-empty {
    box-shadow: none;
    background: #f8fafc;
}

.result-item span,
.domain-box strong {
    color: var(--pro-muted);
}

.result-item strong {
    color: var(--pro-text);
}

.domain-tags span {
    border-radius: 6px;
    background: #eff6ff;
    color: var(--pro-primary);
}

.model-footer,
.versions-footer,
.downloads-footer,
.query-footer,
.site-footer {
    background: #0f172a;
}

.footer-contact strong {
    letter-spacing: 0;
}

@media (max-width: 1160px) {
    .hero-layout,
    .model-search-box,
    .versions-banner,
    .downloads-banner,
    .query-banner,
    .query-layout {
        grid-template-columns: 1fr;
    }

    .versions-cta-group,
    .downloads-cta-group,
    .query-cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .page-wrap {
        width: min(100% - 28px, 1200px);
    }

    .header-inner,
    .model-header-inner,
    .versions-header-inner,
    .downloads-header-inner,
    .query-header-inner {
        gap: 12px;
        padding: 12px 0;
    }

    .site-nav,
    .model-nav,
    .versions-nav,
    .downloads-nav,
    .query-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .site-nav a,
    .model-nav a,
    .versions-nav a,
    .downloads-nav a,
    .query-nav a {
        white-space: nowrap;
    }

    .hero-stage,
    .model-search-box,
    .versions-banner,
    .downloads-banner,
    .query-banner {
        padding: 24px;
    }

    .hero-stage-copy h1,
    .model-search-copy h1,
    .versions-copy h1,
    .downloads-copy h1,
    .query-copy h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .page-wrap {
        width: min(100% - 20px, 1200px);
    }

    .hero,
    .model-hero,
    .versions-hero,
    .downloads-hero,
    .query-hero {
        padding-top: 20px;
    }

    .hero-stage {
        min-height: 680px;
        padding: 20px 16px;
    }

    .model-search-box,
    .versions-banner,
    .downloads-banner,
    .query-banner,
    .license-panel,
    .result-panel {
        padding: 18px;
        border-radius: 8px;
    }

    .hero-stage-copy h1,
    .model-search-copy h1,
    .versions-copy h1,
    .downloads-copy h1,
    .query-copy h1 {
        font-size: 28px;
    }

    .model-search-form,
    .template-filter-bar,
    .license-row {
        padding: 10px;
    }

    .template-filter-bar label,
    .template-filter-bar button,
    .template-filter-bar a {
        width: 100%;
    }
}

/* Cases / Updates / Help professional unification */
body.cases-page,
body.updates-page,
body.help-page {
    background:
        linear-gradient(180deg, #f8fbff 0%, var(--pro-bg) 360px),
        var(--pro-bg);
    color: var(--pro-text);
}

.cases-topbar,
.updates-topbar,
.help-topbar {
    background: #0f172a;
    border: 0;
    color: #cbd5e1;
}

.cases-header,
.updates-header,
.help-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(203, 214, 229, 0.72);
    box-shadow: 0 10px 26px rgba(22, 32, 51, 0.06);
    backdrop-filter: blur(18px);
}

.cases-header-inner,
.updates-header-inner,
.help-header-inner {
    min-height: 72px;
}

.cases-brand,
.updates-brand,
.help-brand {
    color: var(--pro-text);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0;
}

.cases-nav,
.updates-nav,
.help-nav {
    gap: 4px;
    padding: 4px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #f8fafc;
}

.cases-nav a,
.updates-nav a,
.help-nav a {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.cases-nav a::before,
.cases-nav a::after,
.updates-nav a::before,
.updates-nav a::after,
.help-nav a::before,
.help-nav a::after,
.cases-header::after,
.updates-header::after,
.help-header::after,
.cases-banner::before,
.cases-banner::after,
.updates-banner::before,
.updates-banner::after,
.help-banner::before,
.help-banner::after {
    display: none;
}

.cases-nav a:hover,
.updates-nav a:hover,
.help-nav a:hover,
.cases-nav a.active,
.updates-nav a.active,
.help-nav a.active {
    background: #ffffff;
    color: var(--pro-primary);
    box-shadow: var(--pro-shadow-soft);
}

.cases-header-actions .primary-btn,
.updates-header-actions .primary-btn,
.help-header-actions .primary-btn {
    border: 1px solid var(--pro-primary);
    border-radius: 6px;
    background: var(--pro-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(23, 92, 211, 0.20);
}

.cases-header-actions .ghost-btn,
.updates-header-actions .ghost-btn,
.help-header-actions .ghost-btn {
    border: 1px solid var(--pro-line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--pro-text);
}

.cases-hero,
.updates-hero,
.help-hero {
    padding: 36px 0 28px;
}

.cases-banner,
.updates-banner,
.help-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 34px;
    border: 1px solid rgba(203, 214, 229, 0.78);
    border-radius: 12px;
    box-shadow: var(--pro-shadow);
    overflow: hidden;
    background: linear-gradient(135deg, #0f2747 0%, #175cd3 72%, #0f9f9a 100%);
}

.cases-copy h1,
.updates-copy h1,
.help-copy h1 {
    max-width: 720px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

.cases-copy p,
.updates-copy p,
.help-copy p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.85;
}

.cases-cta-group,
.updates-cta-group {
    justify-content: flex-end;
}

.hero-stats {
    gap: 14px;
}

.hero-stat {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.10);
}

.cases-main,
.updates-main,
.help-main {
    padding-top: 24px;
}

.device-switch,
.case-intro,
.updates-overview,
.updates-detail,
.timeline-section,
.sidebar-card,
.article-card,
.related-card,
.case-entry,
.overview-card,
.detail-panel,
.timeline-card {
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: var(--pro-surface);
    box-shadow: var(--pro-shadow-soft);
}

.device-switch {
    padding: 14px;
}

.device-switch a,
.help-doc-item,
.quick-links a,
.preview-link,
.build-link,
.theme-id {
    border-radius: 6px;
}

.case-intro {
    margin-top: 16px;
    padding: 16px 18px;
    background: var(--pro-surface-soft);
    color: var(--pro-muted);
}

.case-intro a {
    color: var(--pro-primary);
    font-weight: 800;
}

.case-entry,
.overview-card,
.timeline-card,
.related-card {
    overflow: hidden;
}

.case-entry:hover,
.overview-card:hover,
.timeline-card:hover,
.related-card:hover {
    border-color: rgba(23, 92, 211, 0.28);
    box-shadow: var(--pro-shadow);
    transform: translateY(-3px);
}

.case-preview {
    background: #f1f6ff;
}

.case-window,
.case-window-top,
.case-window-hero,
.case-window-grid span {
    border-radius: 8px;
}

.overview-card strong,
.detail-head h3,
.timeline-meta strong,
.timeline-card h3,
.article-header h2,
.related-card h3 {
    color: var(--pro-text);
    letter-spacing: 0;
}

.overview-card p,
.timeline-card p,
.article-header p,
.related-card p,
.sidebar-card p,
.case-detail,
.help-doc-item span {
    color: var(--pro-muted);
}

.detail-panel,
.article-card {
    overflow: hidden;
}

.help-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.help-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.help-search-form {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
}

.help-search-form input[type="text"] {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.94);
}

.help-search-form button {
    border-radius: 6px;
}

.cases-footer,
.updates-footer,
.help-footer {
    background: #0f172a;
}

@media (max-width: 1160px) {
    .cases-banner,
    .updates-banner,
    .help-banner,
    .help-layout {
        grid-template-columns: 1fr;
    }

    .cases-cta-group,
    .updates-cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .cases-header-inner,
    .updates-header-inner,
    .help-header-inner {
        gap: 12px;
        padding: 12px 0;
    }

    .cases-nav,
    .updates-nav,
    .help-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .cases-nav a,
    .updates-nav a,
    .help-nav a {
        white-space: nowrap;
    }

    .cases-banner,
    .updates-banner,
    .help-banner {
        padding: 24px;
    }

    .cases-copy h1,
    .updates-copy h1,
    .help-copy h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .cases-hero,
    .updates-hero,
    .help-hero {
        padding-top: 20px;
    }

    .cases-banner,
    .updates-banner,
    .help-banner,
    .sidebar-card,
    .article-card,
    .related-card {
        padding: 18px;
        border-radius: 8px;
    }

    .cases-copy h1,
    .updates-copy h1,
    .help-copy h1 {
        font-size: 28px;
    }

    .device-switch,
    .case-intro {
        padding: 12px;
    }
}

/* Advanced composition for cases / updates / help */
.cases-banner,
.updates-banner,
.help-banner {
    min-height: 280px;
    align-items: stretch;
}

.cases-copy,
.updates-copy,
.help-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cases-cta-group,
.updates-cta-group {
    align-self: center;
}

.cases-copy h1,
.updates-copy h1,
.help-copy h1 {
    max-width: 760px;
}

.cases-copy p,
.updates-copy p,
.help-copy p {
    max-width: 720px;
}

.device-switch {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 18px;
}

.device-switch a {
    min-width: 108px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--pro-line);
    background: #f8fafc;
    color: var(--pro-muted);
    font-weight: 800;
    text-decoration: none;
}

.device-switch a.active,
.device-switch a:hover {
    border-color: rgba(23, 92, 211, 0.28);
    background: #ffffff;
    color: var(--pro-primary);
    box-shadow: 0 12px 24px rgba(23, 92, 211, 0.10);
}

.case-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

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

.case-entry {
    position: relative;
    grid-column: span 4;
    display: grid;
    grid-template-rows: 220px auto;
    min-height: 100%;
}

.case-entry::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #175cd3 0%, #0f9f9a 100%);
}

.case-entry:first-child {
    grid-column: span 12;
    grid-template-columns: minmax(340px, 1.2fr) minmax(320px, 0.8fr);
    grid-template-rows: none;
    min-height: 360px;
}

.case-entry:first-child .case-preview,
.case-entry:first-child .case-detail {
    min-height: 100%;
}

.case-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.case-window {
    width: 100%;
    height: 100%;
}

.case-detail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
}

.theme-id {
    align-self: flex-start;
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    background: #eef4ff;
    color: var(--pro-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.case-detail h3 {
    margin: 14px 0 10px;
    color: var(--pro-text);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
}

.case-entry:not(:first-child) .case-detail h3 {
    font-size: 18px;
}

.case-detail h3 a {
    color: inherit;
    text-decoration: none;
}

.case-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.preview-link,
.build-link {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
}

.preview-link {
    border: 1px solid var(--pro-line);
    background: #fff;
    color: var(--pro-text);
}

.build-link {
    border: 1px solid var(--pro-primary);
    background: var(--pro-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(23, 92, 211, 0.18);
}

.updates-banner {
    grid-template-columns: minmax(0, 1fr) auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    margin-top: 10px;
}

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

.overview-highlight {
    grid-column: span 6;
    min-height: 100%;
}

.overview-grid .overview-card:not(.overview-highlight) {
    grid-column: span 2;
}

.overview-card {
    padding: 22px;
}

.overview-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.overview-meta span,
.card-label,
.timeline-meta span,
.article-tag,
.related-kicker,
.mini-title {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: #eef4ff;
    color: var(--pro-primary);
    font-size: 12px;
    font-weight: 900;
}

.overview-highlight h3 {
    margin-top: 18px;
    font-size: 28px;
    line-height: 1.15;
}

.overview-highlight p {
    font-size: 15px;
    line-height: 1.9;
}

.overview-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.detail-panel {
    padding: 26px;
}

.detail-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--pro-line);
}

.detail-body {
    color: var(--pro-muted);
    line-height: 1.9;
}

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

.timeline-card {
    position: relative;
    padding: 22px;
}

.timeline-card.active {
    border-color: rgba(23, 92, 211, 0.34);
    box-shadow: 0 20px 42px rgba(23, 92, 211, 0.12);
}

.timeline-card.active::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #175cd3 0%, #0f9f9a 100%);
}

.timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.timeline-footer {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.help-banner {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.help-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-self: center;
    gap: 10px;
    padding: 12px;
}

.help-search-form input[type="text"] {
    min-height: 48px;
}

.help-search-form button {
    min-width: 120px;
    min-height: 48px;
}

.help-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 26px;
}

.help-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-card {
    padding: 18px;
}

.help-doc-list {
    display: grid;
    gap: 10px;
}

.help-doc-item {
    padding: 14px;
    border: 1px solid var(--pro-line);
    background: #fff;
    text-decoration: none;
}

.help-doc-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--pro-text);
    letter-spacing: 0;
}

.help-doc-item:hover,
.help-doc-item.active {
    border-color: rgba(23, 92, 211, 0.28);
    background: #f8fbff;
}

.quick-links {
    display: grid;
    gap: 10px;
}

.quick-links a {
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--pro-line);
    background: #fff;
    color: var(--pro-text);
    font-weight: 700;
    text-decoration: none;
}

.article-card {
    padding: 0;
}

.article-cover {
    border-bottom: 1px solid var(--pro-line);
}

.article-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.article-header {
    padding: 28px 30px 18px;
    border-bottom: 1px solid var(--pro-line);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.article-prose {
    padding: 26px 30px 30px;
    color: var(--pro-muted);
    line-height: 1.95;
}

.article-prose h1,
.article-prose h2,
.article-prose h3,
.article-prose h4 {
    color: var(--pro-text);
    letter-spacing: 0;
}

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

.related-card {
    padding: 20px;
}

.related-card:first-child {
    grid-column: span 2;
}

.related-card:first-child h3 {
    font-size: 24px;
}

.related-card a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid var(--pro-line);
    background: #fff;
    color: var(--pro-primary);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1160px) {
    .case-grid,
    .overview-grid,
    .timeline-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-entry,
    .case-entry:first-child,
    .overview-highlight,
    .overview-grid .overview-card:not(.overview-highlight),
    .related-card:first-child {
        grid-column: span 2;
    }

    .case-entry:first-child {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .case-intro,
    .detail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .help-search-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .case-grid,
    .overview-grid,
    .timeline-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .case-entry,
    .case-entry:first-child,
    .overview-highlight,
    .overview-grid .overview-card:not(.overview-highlight),
    .related-card:first-child {
        grid-column: span 1;
    }

    .case-entry {
        grid-template-rows: 180px auto;
    }

    .case-actions,
    .overview-actions,
    .timeline-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .article-header,
    .article-prose {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Premium refinements for cases / updates / help */
.cases-banner,
.updates-banner,
.help-banner {
    position: relative;
}

.cases-banner {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.cases-banner::before,
.cases-banner::after,
.updates-banner::before,
.updates-banner::after,
.help-banner::before,
.help-banner::after {
    display: block;
    pointer-events: none;
}

.cases-banner::before {
    content: "";
    position: absolute;
    top: 32px;
    right: 34px;
    width: min(32vw, 356px);
    height: calc(100% - 64px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.18));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 28px 46px rgba(9, 17, 33, 0.22);
}

.cases-banner::after {
    content: "";
    position: absolute;
    top: 58px;
    right: 58px;
    width: min(28vw, 306px);
    height: calc(100% - 116px);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0 42px, transparent 42px),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 68px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 42px 0 rgba(255, 255, 255, 0.10);
}

.cases-copy,
.updates-copy,
.help-copy {
    position: relative;
    z-index: 1;
}

.cases-copy {
    padding-right: 12px;
}

.cases-cta-group {
    position: relative;
    z-index: 1;
    min-width: 240px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.cases-cta-group .primary-btn,
.cases-cta-group .ghost-btn,
.updates-cta-group .primary-btn,
.updates-cta-group .ghost-btn {
    width: 100%;
    justify-content: center;
}

.device-switch {
    width: max-content;
    max-width: 100%;
    padding: 10px;
    gap: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.case-intro {
    padding: 18px 20px;
    background:
        linear-gradient(90deg, rgba(23, 92, 211, 0.06), rgba(15, 159, 154, 0.04)),
        var(--pro-surface-soft);
}

.case-intro span {
    font-size: 14px;
    line-height: 1.75;
}

.case-intro a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(23, 92, 211, 0.16);
    border-radius: 6px;
    background: #ffffff;
}

.case-grid {
    align-items: stretch;
}

.case-entry {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.78), rgba(255, 255, 255, 1) 26%), #ffffff;
}

.case-entry:first-child {
    overflow: hidden;
}

.case-entry:first-child .case-preview {
    border-right: 1px solid rgba(203, 214, 229, 0.88);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.00)), #eef5ff;
}

.case-entry:first-child .case-detail {
    padding: 28px;
}

.case-entry:first-child .case-detail h3 {
    font-size: 28px;
}

.case-entry:not(:first-child) .case-preview {
    padding: 18px;
}

.case-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(203, 214, 229, 0.78);
    background: linear-gradient(180deg, #ffffff 0 36px, #eef4ff 36px 100%);
    box-shadow: 0 18px 38px rgba(23, 92, 211, 0.08);
}

.case-window::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 16px;
    width: 54px;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
}

.case-window-top {
    height: 36px;
}

.case-window-hero {
    height: 34%;
    margin: 14px 16px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(23, 92, 211, 0.94), rgba(15, 159, 154, 0.82));
}

.case-window-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px 16px;
}

.case-window-grid span {
    min-height: 56px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid rgba(203, 214, 229, 0.72);
}

.case-detail {
    gap: 12px;
}

.case-detail p {
    margin: 0;
    line-height: 1.85;
}

.case-actions {
    margin-top: auto;
}

.case-actions a {
    flex: 1 1 0;
}

.updates-banner {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    grid-template-areas:
        "copy actions"
        "stats stats";
}

.updates-copy {
    grid-area: copy;
    padding-right: 18px;
}

.updates-cta-group {
    grid-area: actions;
    align-self: center;
    min-width: 258px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 12px;
}

.hero-stats {
    grid-area: stats;
    margin-top: 20px;
}

.hero-stat {
    padding: 16px 18px;
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    line-height: 1.05;
    color: #ffffff;
}

.hero-stat span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.updates-overview,
.updates-detail,
.timeline-section,
.related-section {
    margin-top: 22px;
}

.overview-grid {
    align-items: stretch;
}

.overview-highlight {
    padding: 28px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1)), #ffffff;
}

.overview-grid .overview-card:not(.overview-highlight) {
    min-height: 222px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-panel {
    padding: 0;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(255, 255, 255, 1) 120px), #ffffff;
}

.detail-head {
    padding: 24px 28px 18px;
    margin-bottom: 0;
}

.detail-body {
    padding: 24px 28px 30px;
}

.detail-body > *:first-child {
    margin-top: 0;
}

.detail-body h1,
.detail-body h2,
.detail-body h3,
.detail-body h4 {
    color: var(--pro-text);
    letter-spacing: 0;
}

.detail-body h2,
.detail-body h3 {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(203, 214, 229, 0.82);
}

.detail-body p,
.detail-body li {
    line-height: 1.9;
}

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

.timeline-card {
    grid-column: span 6;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.86), rgba(255, 255, 255, 1)), #ffffff;
}

.timeline-card.active {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px 20px;
}

.timeline-card.active .timeline-meta,
.timeline-card.active h3,
.timeline-card.active p {
    grid-column: 1;
}

.timeline-card.active .timeline-footer {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    flex-direction: column;
    margin-top: 0;
}

.timeline-card.active h3 {
    margin: 6px 0 0;
    font-size: 28px;
}

.timeline-card.active p {
    max-width: 780px;
    margin: 0;
}

.help-banner {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    grid-template-areas:
        "copy search"
        "copy stats";
    row-gap: 18px;
}

.help-copy {
    grid-area: copy;
    padding-right: 14px;
}

.help-search-form {
    grid-area: search;
    align-self: end;
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.help-search-form button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #ffffff;
    color: var(--pro-primary);
    font-weight: 900;
}

.help-banner .hero-stats {
    grid-area: stats;
    margin-top: 0;
}

.help-layout {
    align-items: start;
}

.help-sidebar {
    top: 90px;
}

.sidebar-card {
    overflow: hidden;
}

.sidebar-card .section-head.compact {
    margin-bottom: 14px;
}

.help-doc-list {
    max-height: calc(100vh - 240px);
    overflow: auto;
    padding-right: 4px;
}

.help-doc-item {
    position: relative;
    padding: 16px 16px 16px 18px;
}

.help-doc-item::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    bottom: 14px;
    width: 3px;
    border-radius: 999px;
    background: transparent;
}

.help-doc-item:hover::before,
.help-doc-item.active::before {
    background: linear-gradient(180deg, #175cd3 0%, #0f9f9a 100%);
}

.help-doc-item span {
    line-height: 1.7;
}

.quick-links a {
    min-height: 46px;
    padding: 0 16px;
    font-weight: 800;
}

.article-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.94), rgba(255, 255, 255, 1) 140px), #ffffff;
}

.article-header {
    padding: 30px 32px 20px;
}

.article-header h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.14;
}

.article-header p {
    max-width: 860px;
    line-height: 1.9;
}

.article-prose {
    padding: 28px 32px 34px;
}

.article-prose > *:first-child {
    margin-top: 0;
}

.article-prose h2,
.article-prose h3 {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(203, 214, 229, 0.82);
}

.article-prose p,
.article-prose li {
    line-height: 1.95;
}

.article-prose img,
.article-prose table {
    max-width: 100%;
}

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

.related-card {
    grid-column: span 6;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.84), rgba(255, 255, 255, 1)), #ffffff;
}

.related-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px 18px;
}

.related-card:first-child p,
.related-card:first-child .related-kicker,
.related-card:first-child h3 {
    grid-column: 1;
}

.related-card:first-child a {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin-top: 0;
}

@media (max-width: 1160px) {
    .cases-banner,
    .updates-banner,
    .help-banner {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .cases-banner::before,
    .cases-banner::after {
        display: none;
    }

    .cases-cta-group,
    .updates-cta-group {
        min-width: 0;
        width: 100%;
    }

    .timeline-card.active,
    .related-card:first-child {
        grid-template-columns: 1fr;
    }

    .timeline-card.active .timeline-footer,
    .related-card:first-child a {
        grid-column: 1;
        grid-row: auto;
        align-self: start;
    }
}

@media (max-width: 900px) {
    .device-switch {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .case-entry:first-child .case-preview {
        border-right: 0;
        border-bottom: 1px solid rgba(203, 214, 229, 0.88);
    }

    .hero-stat strong {
        font-size: 24px;
    }

    .help-doc-list {
        max-height: none;
    }

    .article-header,
    .article-prose,
    .detail-head,
    .detail-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 640px) {
    .cases-cta-group,
    .updates-cta-group {
        padding: 14px;
    }

    .case-entry:first-child .case-detail,
    .overview-highlight,
    .timeline-card,
    .related-card {
        padding: 18px;
    }

    .article-header h2,
    .timeline-card.active h3,
    .case-entry:first-child .case-detail h3 {
        font-size: 24px;
    }
}

/* Enterprise-wide premium refinement */
:root {
    --pro-shell: #ecf2fb;
    --pro-shell-deep: #dfe9f7;
    --pro-panel-tint: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 1));
    --pro-accent-warm: #ffb24c;
}

body.home-page,
body.model-page,
body.versions-page,
body.downloads-page,
body.query-page,
body.cases-page,
body.updates-page,
body.help-page {
    background:
        radial-gradient(circle at top left, rgba(74, 144, 226, 0.10) 0, rgba(74, 144, 226, 0) 22%),
        radial-gradient(circle at top right, rgba(15, 159, 154, 0.08) 0, rgba(15, 159, 154, 0) 20%),
        linear-gradient(180deg, #f8fbff 0%, var(--pro-shell) 420px, #eef3fa 100%);
}

.page-wrap {
    width: min(100% - 48px, 1240px);
}

.topbar,
.model-topbar,
.versions-topbar,
.downloads-topbar,
.query-topbar,
.cases-topbar,
.updates-topbar,
.help-topbar {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.site-header,
.model-header,
.versions-header,
.downloads-header,
.query-header,
.cases-header,
.updates-header,
.help-header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(203, 214, 229, 0.92);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.header-inner,
.model-header-inner,
.versions-header-inner,
.downloads-header-inner,
.query-header-inner,
.cases-header-inner,
.updates-header-inner,
.help-header-inner {
    min-height: 78px;
}

.site-brand,
.model-brand,
.versions-brand,
.downloads-brand,
.query-brand,
.cases-brand,
.updates-brand,
.help-brand {
    font-size: 22px;
    font-weight: 900;
}

.site-nav,
.model-nav,
.versions-nav,
.downloads-nav,
.query-nav,
.cases-nav,
.updates-nav,
.help-nav {
    gap: 6px;
    padding: 5px;
    border-color: rgba(223, 231, 242, 0.92);
    background: rgba(248, 250, 252, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-nav a,
.model-nav a,
.versions-nav a,
.downloads-nav a,
.query-nav a,
.cases-nav a,
.updates-nav a,
.help-nav a {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
}

.primary-btn,
.hero-btn-primary,
.template-filter-bar button,
.model-search-form button,
.license-row button,
.download-actions .primary-btn,
.plan-actions .primary-btn,
.site-actions .primary-btn,
.model-header-actions .primary-btn,
.versions-header-actions .primary-btn,
.downloads-header-actions .primary-btn,
.query-header-actions .primary-btn,
.cases-header-actions .primary-btn,
.updates-header-actions .primary-btn,
.help-header-actions .primary-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #175cd3 0%, #1249a8 100%);
    box-shadow: 0 14px 30px rgba(23, 92, 211, 0.18);
}

.ghost-btn,
.hero-btn-secondary,
.template-filter-bar a,
.download-actions .ghost-btn,
.package-item .ghost-btn,
.cases-header-actions .ghost-btn,
.updates-header-actions .ghost-btn,
.help-header-actions .ghost-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
}

.small-btn {
    min-height: 38px;
    padding: 0 14px;
}

.hero,
.model-hero,
.versions-hero,
.downloads-hero,
.query-hero,
.cases-hero,
.updates-hero,
.help-hero {
    padding: 34px 0 30px;
}

.hero-slide-alt,
.model-search-box,
.versions-banner,
.downloads-banner,
.query-banner,
.cases-banner,
.updates-banner,
.help-banner {
    border-radius: 8px;
    border-color: rgba(211, 221, 234, 0.96);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.09);
}

.hero-slide-alt,
.versions-banner,
.downloads-banner,
.query-banner,
.cases-banner,
.updates-banner,
.help-banner {
    position: relative;
}

.hero-slide-alt::before,
.versions-banner::before,
.downloads-banner::before,
.query-banner::before,
.cases-banner::before,
.updates-banner::before,
.help-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #0e2342 0%, #175cd3 60%, #0f9f9a 100%);
    pointer-events: none;
}

.hero-slide-alt > *,
.versions-banner > *,
.downloads-banner > *,
.query-banner > *,
.cases-banner > *,
.updates-banner > *,
.help-banner > * {
    position: relative;
    z-index: 1;
}

.hero-stage {
    min-height: 620px;
    padding: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 30px;
    background: transparent;
}

.hero-stage-copy {
    max-width: none;
}

.hero-stage-copy h1,
.model-search-copy h1,
.versions-copy h1,
.downloads-copy h1,
.query-copy h1,
.cases-copy h1,
.updates-copy h1,
.help-copy h1 {
    max-width: 760px;
}

.hero-stage-copy p,
.model-search-copy p,
.versions-copy p,
.downloads-copy p,
.query-copy p,
.cases-copy p,
.updates-copy p,
.help-copy p {
    max-width: 700px;
}

.hero-stage-top {
    margin-bottom: 18px;
}

.hero-stage-no,
.hero-eyebrow,
.hero-kicker {
    min-height: 30px;
    border-radius: 8px;
}

.hero-stage-no {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.versions-cta-group,
.downloads-cta-group,
.query-cta-group,
.cases-cta-group,
.updates-cta-group {
    gap: 12px;
}

.hero-stage-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.hero-stage-metric,
.hero-stat {
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.hero-stage-metric {
    min-height: 92px;
    padding: 16px 16px 14px;
}

.hero-stage-metric strong,
.hero-stat strong {
    font-size: 26px;
    line-height: 1.05;
}

.hero-stage-metric span,
.hero-stat span {
    margin-top: 8px;
}

.hero-stage-visual {
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-scene-window {
    width: min(100%, 460px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 60px rgba(12, 21, 38, 0.20);
}

.hero-scene-head {
    border-bottom: 1px solid rgba(223, 231, 242, 0.9);
    background: linear-gradient(180deg, #ffffff, #f3f7fd);
}

.hero-floating-chip {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(223, 231, 242, 0.9);
    background: rgba(255, 255, 255, 0.92);
    color: var(--pro-text);
    box-shadow: 0 16px 28px rgba(12, 21, 38, 0.10);
}

.hero-side {
    gap: 20px;
}

.promo-card {
    min-height: 288px;
    padding: 22px;
    border-radius: 8px;
    border-color: rgba(223, 231, 242, 0.92);
    background: var(--pro-panel-tint);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.11);
}

.promo-card-tag,
.template-meta span,
.download-meta span,
.plan-top span,
.overview-meta span,
.card-label,
.timeline-meta span,
.article-tag,
.related-kicker,
.mini-title {
    border-radius: 8px;
    min-height: 28px;
    padding: 0 10px;
    background: #edf4ff;
}

.promo-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--pro-primary);
    font-size: 18px;
    font-weight: 900;
}

.promo-card-body strong {
    display: block;
    font-size: 24px;
    line-height: 1.2;
}

.promo-card-desc {
    display: block;
    margin-top: 10px;
    color: var(--pro-muted);
    line-height: 1.8;
}

.promo-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(223, 231, 242, 0.9);
}

.section-block,
.template-section,
.home-platform-section,
.product-workbench-section,
.launch-flow-section,
.template-guide-section,
.template-decision-section,
.audience-section,
.purchase-flow-section,
.knowledge-section,
.case-section,
.trust-section,
.bottom-cta,
.plans-section,
.service-section,
.compare-section,
.downloads-section,
.advantage-section,
.package-section,
.download-console-section,
.query-panel-wrap,
.query-console-section,
.query-service,
.help-overview-section,
.release-center-section,
.updates-overview,
.updates-detail,
.timeline-section,
.related-section {
    position: relative;
    padding: 14px 0 0;
}

.section-block::before,
.template-section::before,
.home-platform-section::before,
.product-workbench-section::before,
.launch-flow-section::before,
.template-guide-section::before,
.template-decision-section::before,
.audience-section::before,
.purchase-flow-section::before,
.knowledge-section::before,
.case-section::before,
.trust-section::before,
.plans-section::before,
.service-section::before,
.compare-section::before,
.downloads-section::before,
.advantage-section::before,
.package-section::before,
.download-console-section::before,
.query-panel-wrap::before,
.query-console-section::before,
.query-service::before,
.help-overview-section::before,
.release-center-section::before,
.updates-overview::before,
.updates-detail::before,
.timeline-section::before,
.related-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(23, 92, 211, 0), rgba(23, 92, 211, 0.14), rgba(15, 159, 154, 0.12), rgba(23, 92, 211, 0));
}

.section-head,
.section-title {
    margin-bottom: 22px;
}

.section-head h2,
.section-title h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.14;
}

.section-head p,
.section-title p {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.85;
}

.section-head a,
.panel-header a {
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--pro-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--pro-primary);
    font-weight: 800;
    text-decoration: none;
}

.platform-module-grid,
.product-workbench-layout,
.product-workbench-metrics,
.launch-flow-grid,
.template-guide-grid,
.template-decision-grid,
.audience-grid,
.purchase-flow-grid,
.download-console-layout,
.query-console-layout,
.query-after-sales-grid,
.template-proof-strip,
.help-overview-grid,
.release-center-grid {
    display: grid;
    gap: 20px;
}

.platform-module-grid,
.product-workbench-metrics,
.launch-flow-grid,
.template-guide-grid,
.template-decision-grid,
.audience-grid,
.purchase-flow-grid,
.query-after-sales-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.template-proof-strip,
.help-overview-grid,
.release-center-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-workbench-layout,
.download-console-layout,
.query-console-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: start;
}

.platform-module-card,
.workbench-metric-card,
.launch-flow-card,
.template-guide-card,
.template-decision-card,
.audience-card,
.purchase-flow-card,
.download-console-card,
.deploy-checklist-card,
.query-instruction-card,
.query-after-sales-card,
.product-workbench-ui,
.template-proof-card,
.help-overview-card,
.release-center-card {
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 8px;
    background: var(--pro-panel-tint);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.platform-module-card {
    grid-column: span 4;
}

.launch-flow-card,
.template-decision-card,
.purchase-flow-card {
    grid-column: span 4;
}

.template-guide-card,
.audience-card,
.workbench-metric-card,
.query-after-sales-card {
    grid-column: span 4;
}

.platform-module-card:hover,
.workbench-metric-card:hover,
.launch-flow-card:hover,
.template-guide-card:hover,
.template-decision-card:hover,
.audience-card:hover,
.purchase-flow-card:hover,
.download-console-card:hover,
.deploy-checklist-card:hover,
.query-instruction-card:hover,
.query-after-sales-card:hover,
.product-workbench-ui:hover,
.template-proof-card:hover,
.help-overview-card:hover,
.release-center-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 46px rgba(15, 23, 42, 0.10);
}

.platform-module-card span,
.workbench-metric-card span,
.launch-flow-card strong,
.template-decision-card strong,
.purchase-flow-card strong,
.deploy-checklist-card > span,
.query-instruction-card > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--pro-primary);
    font-size: 12px;
    font-weight: 900;
}

.template-proof-card span,
.help-overview-card span,
.release-center-card span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--pro-primary);
    font-size: 12px;
    font-weight: 900;
}

.platform-module-card h3,
.launch-flow-card h3,
.template-guide-card h3,
.template-decision-card h3,
.audience-card h3,
.purchase-flow-card h3,
.download-console-card h3,
.deploy-checklist-card h3,
.query-instruction-card h3,
.query-after-sales-card h3 {
    margin: 16px 0 10px;
    color: var(--pro-text);
    font-size: 22px;
    line-height: 1.24;
}

.template-proof-card h3,
.help-overview-card h3,
.release-center-card h3 {
    margin: 16px 0 10px;
    color: var(--pro-text);
    font-size: 22px;
    line-height: 1.24;
}

.platform-module-card p,
.launch-flow-card p,
.template-guide-card p,
.template-decision-card p,
.audience-card p,
.purchase-flow-card p,
.download-console-card p,
.deploy-checklist-card p,
.query-instruction-card p,
.query-after-sales-card p,
.workbench-metric-card p,
.template-proof-card p,
.help-overview-card p,
.release-center-card p {
    margin: 0;
    color: var(--pro-muted);
    line-height: 1.82;
}

.product-workbench-copy {
    padding: 8px 0;
}

.product-workbench-copy h2 {
    max-width: 760px;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.12;
}

.product-workbench-copy p {
    max-width: 720px;
    color: var(--pro-muted);
    line-height: 1.9;
}

.product-workbench-metrics {
    margin-top: 22px;
}

.workbench-metric-card strong {
    display: block;
    margin: 14px 0 8px;
    color: var(--pro-text);
    font-size: 30px;
    line-height: 1.05;
}

.product-workbench-ui {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1));
}

.workbench-shell {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 420px;
    border: 1px solid rgba(223, 231, 242, 0.86);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.workbench-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(180deg, #0f2747, #163b68);
    color: rgba(255, 255, 255, 0.82);
}

.workbench-sidebar strong {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.workbench-main {
    padding: 20px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.workbench-main-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(223, 231, 242, 0.92);
}

.workbench-main-head strong {
    color: var(--pro-text);
    font-size: 22px;
}

.workbench-main-head em {
    color: var(--pro-muted);
    font-style: normal;
}

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

.workbench-summary-grid span {
    min-height: 82px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 8px;
    background: linear-gradient(180deg, #eef5ff, #ffffff);
}

.workbench-table {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.workbench-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 8px;
    background: #ffffff;
}

.workbench-row strong,
.download-console-stat strong {
    display: block;
    color: var(--pro-text);
    font-size: 16px;
}

.workbench-row span {
    display: block;
    margin-top: 4px;
    color: var(--pro-muted);
    font-size: 13px;
}

.workbench-row em {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--pro-primary);
    font-style: normal;
    font-weight: 800;
}

.download-console-card,
.query-instruction-card,
.deploy-checklist-card {
    overflow: hidden;
}

.download-console-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.download-console-stat {
    min-height: 96px;
    padding: 16px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 8px;
    background: #ffffff;
}

.download-console-stat span {
    display: block;
    color: var(--pro-muted);
    font-size: 13px;
}

.download-console-stat strong {
    margin-top: 10px;
    font-size: 22px;
}

.download-console-visual {
    margin-top: 18px;
}

.download-console-window {
    padding: 18px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.download-console-head {
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #175cd3, #0f9f9a);
}

.download-console-bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.download-console-bars span {
    min-height: 70px;
    border-radius: 8px;
    background: linear-gradient(180deg, #eef4ff, #ffffff);
    border: 1px solid rgba(223, 231, 242, 0.92);
}

.download-console-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.download-console-list i {
    display: block;
    min-height: 48px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(223, 231, 242, 0.92);
}

.deploy-checklist-card ul,
.query-instruction-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.deploy-checklist-card li,
.query-instruction-card li {
    position: relative;
    padding-left: 18px;
    margin-top: 12px;
    color: var(--pro-muted);
    line-height: 1.85;
}

.deploy-checklist-card li::before,
.query-instruction-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #175cd3, #0f9f9a);
}

.deploy-checklist-card .ghost-btn {
    margin-top: 18px;
}

.template-grid,
.plans-grid,
.download-grid,
.service-grid,
.advantage-grid,
.result-grid {
    gap: 20px;
}

.template-card,
.plan-card,
.download-card,
.service-card,
.advantage-card,
.license-panel,
.result-panel,
.compare-table,
.package-item,
.result-item,
.domain-box,
.result-empty,
.knowledge-panel,
.case-card,
.trust-card,
.compare-card {
    border-radius: 8px;
    border-color: rgba(223, 231, 242, 0.92);
    background: var(--pro-panel-tint);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.template-card:hover,
.plan-card:hover,
.download-card:hover,
.service-card:hover,
.advantage-card:hover,
.compare-card:hover,
.knowledge-item:hover,
.case-card:hover,
.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 46px rgba(15, 23, 42, 0.10);
}

.template-filter-bar,
.model-search-box,
.license-row,
.device-switch,
.case-intro,
.sidebar-card {
    border-radius: 8px;
}

.model-search-box {
    padding: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 28px;
    background: var(--pro-panel-tint);
}

.model-search-form,
.help-search-form {
    padding: 10px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 1));
}

.template-filter-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    padding: 18px;
    background: var(--pro-panel-tint);
}

.template-filter-bar label {
    gap: 8px;
}

.template-filter-bar select,
.model-search-form input,
.license-row input,
.help-search-form input[type="text"] {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
}

.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-cloud a,
.keyword-cloud span,
.domain-tags span,
.template-tags span {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

.template-card {
    overflow: hidden;
}

.template-thumb {
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, #eef4ff, #dfeaf9);
}

.template-info {
    padding: 18px;
}

.template-info h3 {
    font-size: 20px;
    line-height: 1.28;
}

.template-info p {
    line-height: 1.82;
}

.plans-grid {
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
}

.plan-top h3 {
    font-size: 24px;
    line-height: 1.2;
}

.plan-price {
    padding: 18px 0;
    border-top: 1px solid rgba(223, 231, 242, 0.92);
    border-bottom: 1px solid rgba(223, 231, 242, 0.92);
    margin-top: 18px;
}

.plan-price strong {
    font-size: 42px;
    line-height: 1;
}

.plan-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.plan-list li {
    position: relative;
    padding: 0 0 0 18px;
    margin-top: 12px;
    line-height: 1.85;
}

.plan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #175cd3, #0f9f9a);
}

.plan-actions {
    margin-top: auto;
    padding-top: 18px;
}

.download-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
    align-items: stretch;
}

.download-thumb {
    padding: 22px;
    border-right: 1px solid rgba(223, 231, 242, 0.92);
    background: linear-gradient(180deg, #eef5ff, #f6f9ff);
}

.download-window {
    height: 100%;
    border: 1px solid rgba(203, 214, 229, 0.92);
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(23, 92, 211, 0.08);
}

.download-body {
    padding: 22px;
}

.download-body ul {
    margin-top: 16px;
    padding: 14px 16px;
}

.download-body li {
    line-height: 1.8;
}

.download-actions {
    margin-top: 18px;
    flex-wrap: wrap;
}

.advantage-card,
.service-card,
.compare-card,
.trust-card {
    padding: 22px;
}

.advantage-card strong,
.service-card strong {
    font-size: 28px;
    line-height: 1.05;
}

.advantage-card h3,
.service-card h3,
.compare-card h3 {
    margin: 14px 0 10px;
    font-size: 22px;
    line-height: 1.24;
}

.advantage-card p,
.service-card p,
.compare-card p {
    line-height: 1.82;
}

.query-layout {
    grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
    gap: 22px;
}

.license-panel,
.result-panel {
    padding: 28px;
}

.license-form label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--pro-text);
    font-weight: 800;
}

.license-row {
    padding: 12px;
}

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

.result-item {
    min-height: 116px;
    padding: 18px;
}

.result-item strong {
    display: block;
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.35;
    word-break: break-all;
}

.domain-box,
.result-empty {
    padding: 18px;
}

.knowledge-grid,
.trust-layout {
    gap: 22px;
}

.knowledge-panel {
    padding: 22px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.knowledge-item {
    border-radius: 8px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.78), rgba(255, 255, 255, 1));
}

.template-proof-strip {
    margin-top: 24px;
}

.template-proof-card,
.help-overview-card,
.release-center-card {
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1));
}

.template-proof-card {
    position: relative;
    overflow: hidden;
}

.template-proof-card::after,
.help-overview-card::after,
.release-center-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(23, 92, 211, 0.82), rgba(15, 159, 154, 0.66));
    opacity: 0.92;
}

.template-proof-card p,
.help-overview-card p,
.release-center-card p {
    max-width: 42ch;
}

.help-overview-card a,
.release-center-card a {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    color: var(--pro-primary);
    font-weight: 800;
    text-decoration: none;
}

.case-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 26px;
    align-items: stretch;
    margin-bottom: 24px;
}

.case-showcase-preview {
    padding: 22px;
    overflow: hidden;
}

.case-showcase-window {
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.case-showcase-top {
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f2747, #175cd3);
}

.case-showcase-hero {
    margin-top: 14px;
    min-height: 170px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(23, 92, 211, 0.16), rgba(15, 159, 154, 0.18)),
        linear-gradient(180deg, #eef5ff, #ffffff);
    border: 1px solid rgba(223, 231, 242, 0.92);
}

.case-showcase-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.case-showcase-grid span {
    min-height: 88px;
    border-radius: 8px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: linear-gradient(180deg, #f6f9ff, #ffffff);
}

.case-showcase-copy {
    min-height: 100%;
    padding: 10px 0;
}

.case-showcase-copy > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 900;
}

.case-showcase-copy h3 {
    margin: 16px 0 12px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    color: #ffffff;
}

.case-showcase-copy p,
.case-showcase-copy li {
    color: rgba(226, 232, 240, 0.84);
    line-height: 1.9;
}

.case-showcase-copy ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.case-showcase-copy li {
    position: relative;
    padding-left: 18px;
    margin-top: 12px;
}

.case-showcase-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
}

.case-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.help-overview-section,
.release-center-section {
    padding-top: 18px;
}

.help-overview-grid,
.release-center-grid {
    align-items: stretch;
}

.help-overview-card,
.release-center-card {
    position: relative;
    overflow: hidden;
}

.help-overview-card a {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    color: var(--pro-primary);
    font-weight: 800;
    text-decoration: none;
}

.case-slider {
    position: relative;
    padding: 0 58px;
}

.case-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.case-card {
    min-height: 260px;
    padding: 22px;
}

.case-card h3 {
    font-size: 24px;
    line-height: 1.2;
}

.case-card p {
    line-height: 1.85;
}

.trust-layout {
    align-items: stretch;
}

.trust-copy {
    padding: 8px 0;
}

.trust-copy h2 {
    max-width: 740px;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.12;
}

.trust-copy p,
.trust-copy li {
    color: var(--pro-muted);
    line-height: 1.9;
}

.trust-cards {
    display: grid;
    gap: 16px;
}

.trust-card strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

.bottom-cta {
    padding-top: 18px;
}

.bottom-cta-inner {
    padding: 30px 34px;
    border: 1px solid rgba(203, 214, 229, 0.92);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(14, 35, 66, 0.98) 0%, rgba(23, 92, 211, 0.94) 62%, rgba(15, 159, 154, 0.90) 100%);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}

.bottom-cta-inner h2,
.bottom-cta-inner p {
    color: #ffffff;
}

.bottom-cta-actions {
    gap: 12px;
}

.footer-grid,
.model-footer-grid,
.versions-footer-grid,
.downloads-footer-grid,
.query-footer-grid,
.cases-footer-grid,
.updates-footer-grid,
.help-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.site-footer,
.model-footer,
.versions-footer,
.downloads-footer,
.query-footer,
.cases-footer,
.updates-footer,
.help-footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer h4,
.model-footer h4,
.versions-footer h4,
.downloads-footer h4,
.query-footer h4,
.cases-footer h4,
.updates-footer h4,
.help-footer h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 14px;
}

.site-footer a,
.model-footer a,
.versions-footer a,
.downloads-footer a,
.query-footer a,
.cases-footer a,
.updates-footer a,
.help-footer a {
    display: block;
    margin-top: 10px;
    color: rgba(226, 232, 240, 0.76);
    text-decoration: none;
}

.footer-contact span,
.footer-contact em,
.footer-copy {
    color: rgba(226, 232, 240, 0.64);
}

.footer-contact strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.05;
}

.footer-copy {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Refined motion layer */
body.pro-motion-ready .pro-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(6px);
    transition:
        opacity 680ms cubic-bezier(.2, .8, .2, 1),
        transform 680ms cubic-bezier(.2, .8, .2, 1),
        filter 680ms cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--pro-motion-delay, 0ms);
    will-change: opacity, transform, filter;
}

body.pro-motion-ready .pro-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

body.pro-motion-ready .pro-float {
    animation: proFloat 7s cubic-bezier(.45, 0, .55, 1) infinite;
}

body.pro-motion-ready .pro-sheen {
    position: relative;
    overflow: hidden;
}

body.pro-motion-ready .pro-sheen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.26) 46%, transparent 62%);
    transform: translateX(-140%);
    opacity: 0;
}

body.pro-motion-ready .pro-sheen:hover::after {
    opacity: 1;
    animation: proSheen 960ms cubic-bezier(.2, .8, .2, 1);
}

.primary-btn,
.ghost-btn,
.hero-btn-primary,
.hero-btn-secondary,
.site-nav a,
.model-nav a,
.versions-nav a,
.downloads-nav a,
.query-nav a,
.cases-nav a,
.updates-nav a,
.help-nav a,
.template-filter-bar a,
.template-filter-bar button,
.model-search-form button,
.license-row button,
.download-actions a,
.plan-actions a,
.case-showcase-actions a,
.bottom-cta-actions a {
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 220ms ease,
        transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.primary-btn:active,
.ghost-btn:active,
.hero-btn-primary:active,
.hero-btn-secondary:active,
.template-filter-bar button:active,
.model-search-form button:active,
.license-row button:active {
    transform: translateY(0) scale(.985);
}

.template-card,
.plan-card,
.download-card,
.service-card,
.advantage-card,
.compare-card,
.knowledge-item,
.case-card,
.trust-card,
.case-entry,
.overview-card,
.timeline-card,
.related-card,
.platform-module-card,
.workbench-metric-card,
.launch-flow-card,
.template-guide-card,
.template-decision-card,
.audience-card,
.purchase-flow-card,
.download-console-card,
.deploy-checklist-card,
.query-instruction-card,
.query-after-sales-card,
.template-proof-card,
.help-overview-card,
.release-center-card {
    transition:
        border-color 220ms ease,
        box-shadow 260ms ease,
        transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.template-card:hover .template-thumb img,
.related-item:hover .related-thumb img,
.case-entry:hover .case-preview,
.download-card:hover .download-window,
.case-showcase-preview:hover .case-showcase-window {
    transform: scale(1.025);
}

.template-thumb img,
.related-thumb img,
.case-preview,
.download-window,
.case-showcase-window {
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1);
}

.site-header,
.model-header,
.versions-header,
.downloads-header,
.query-header,
.cases-header,
.updates-header,
.help-header {
    transition:
        background-color 220ms ease,
        box-shadow 260ms ease,
        border-color 220ms ease,
        transform 260ms ease;
}

body.pro-scrolled .site-header,
body.pro-scrolled .model-header,
body.pro-scrolled .versions-header,
body.pro-scrolled .downloads-header,
body.pro-scrolled .query-header,
body.pro-scrolled .cases-header,
body.pro-scrolled .updates-header,
body.pro-scrolled .help-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}

@keyframes proFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes proSheen {
    0% {
        transform: translateX(-140%);
    }

    100% {
        transform: translateX(140%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    body.pro-motion-ready .pro-reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 1160px) {
    .page-wrap {
        width: min(100% - 32px, 1240px);
    }

    .hero-stage,
    .download-card,
    .query-layout,
    .case-track,
    .platform-module-grid,
    .product-workbench-layout,
    .product-workbench-metrics,
    .launch-flow-grid,
    .template-guide-grid,
    .template-decision-grid,
    .audience-grid,
    .purchase-flow-grid,
    .download-console-layout,
    .query-console-layout,
    .query-after-sales-grid,
    .template-proof-strip,
    .help-overview-grid,
    .release-center-grid,
    .footer-grid,
    .model-footer-grid,
    .versions-footer-grid,
    .downloads-footer-grid,
    .query-footer-grid,
    .cases-footer-grid,
    .updates-footer-grid,
    .help-footer-grid,
    .result-grid,
    .template-filter-bar {
        grid-template-columns: 1fr;
    }

    .platform-module-card,
    .workbench-metric-card,
    .launch-flow-card,
    .template-guide-card,
    .template-decision-card,
    .audience-card,
    .purchase-flow-card,
    .query-after-sales-card {
        grid-column: span 1;
    }

    .workbench-shell {
        grid-template-columns: 1fr;
    }

    .download-thumb {
        border-right: 0;
        border-bottom: 1px solid rgba(223, 231, 242, 0.92);
    }

    .case-showcase {
        grid-template-columns: 1fr;
    }

    .case-slider {
        padding: 0;
    }

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

@media (max-width: 900px) {
    .page-wrap {
        width: min(100% - 24px, 1240px);
    }

    .hero-stage,
    .model-search-box {
        padding: 24px;
    }

    .hero-stage {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-stage-metrics,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .download-console-stats,
    .workbench-summary-grid,
    .case-showcase-grid {
        grid-template-columns: 1fr;
    }

    .promo-card,
    .template-card,
    .plan-card,
    .download-card,
    .service-card,
    .advantage-card,
    .compare-card,
    .trust-card,
    .knowledge-panel,
    .case-card,
    .template-proof-card,
    .help-overview-card,
    .release-center-card,
    .license-panel,
    .result-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .case-showcase-preview {
        padding: 18px;
    }

    .case-showcase-copy h3 {
        font-size: 28px;
    }

    .case-track {
        grid-template-columns: 1fr;
    }

    .bottom-cta-inner {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .page-wrap {
        width: min(100% - 18px, 1240px);
    }

    .site-nav a,
    .model-nav a,
    .versions-nav a,
    .downloads-nav a,
    .query-nav a,
    .cases-nav a,
    .updates-nav a,
    .help-nav a {
        padding: 0 12px;
    }

    .hero-stage-copy h1,
    .model-search-copy h1,
    .versions-copy h1,
    .downloads-copy h1,
    .query-copy h1,
    .cases-copy h1,
    .updates-copy h1,
    .help-copy h1,
    .trust-copy h2 {
        font-size: 28px;
    }

    .section-head h2,
    .section-title h2 {
        font-size: 26px;
    }

    .case-showcase-window,
    .download-console-window {
        padding: 14px;
    }

    .case-showcase-hero {
        min-height: 132px;
    }
}
