:root {
    --bg: #07111f;
    --bg-soft: #0d1b2f;
    --card: rgba(255, 255, 255, 0.08);
    --card-strong: rgba(255, 255, 255, 0.14);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f4f7fb;
    --muted: #aab8cc;
    --gold: #d8b46a;
    --blue: #38bdf8;
    --cyan: #5eead4;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.7;
    background:
        radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.22), transparent 26%),
        radial-gradient(circle at 78% 6%, rgba(216, 180, 106, 0.16), transparent 24%),
        linear-gradient(135deg, #06101d 0%, #0b1528 48%, #040812 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 72%);
    z-index: -1;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 24, 0.78);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 12, 24, 0.94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    padding: 4px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
    letter-spacing: 0.02em;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    color: #dfe7f3;
}

.site-nav a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.lang-switch {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.btn-primary {
    color: #06101d;
    background: linear-gradient(135deg, #f4d58d, #d8b46a 48%, #7dd3fc);
    box-shadow: 0 12px 28px rgba(216, 180, 106, 0.25);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.2);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero-section,
.page-hero {
    position: relative;
    padding: 104px 0 80px;
}

.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 106, 0.42), transparent);
}

.hero-grid,
.two-col,
.detail-grid,
.article-layout,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

h3 {
    line-height: 1.35;
}

.hero-copy p,
.page-hero p,
.rich-text p,
.service-card p,
.article-card p,
.cta-box p {
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 620px;
}

.hero-stats div,
.credential-card,
.step-card,
.contact-card,
.topic-card,
.qr-panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-stats div {
    padding: 18px;
}

.hero-stats strong {
    display: block;
    color: var(--gold);
    font-size: 26px;
    line-height: 1.1;
}

.hero-stats span {
    color: var(--muted);
    font-size: 13px;
}

.hero-panel {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
}

.hero-panel img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(4, 8, 18, 0.72));
}

.floating-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(6, 16, 29, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card span {
    color: var(--muted);
}

.section {
    padding: 86px 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.service-grid,
.article-grid,
.credential-grid,
.steps-grid,
.qr-list {
    display: grid;
    gap: 22px;
}

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

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

.service-card,
.article-card {
    position: relative;
    min-height: 280px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
    overflow: hidden;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-card::before,
.article-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 42%);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.service-card > *,
.article-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover,
.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 180, 106, 0.5);
    background: var(--card-strong);
}

.service-card:hover::before,
.article-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: #06101d;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--blue));
}

.service-card h4 {
    margin: -8px 0 12px;
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
}

.service-card ul,
.topic-card ul {
    padding-left: 18px;
    color: var(--muted);
}

.service-card em,
.text-link {
    color: var(--gold);
    font-style: normal;
    font-weight: 800;
}

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

.article-card {
    min-height: 230px;
}

.article-card span,
.article-card time {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.cta-section {
    padding: 40px 0 96px;
}

.cta-box {
    padding: 46px;
    border: 1px solid rgba(216, 180, 106, 0.38);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(216, 180, 106, 0.14), rgba(56, 189, 248, 0.1));
    text-align: center;
    box-shadow: var(--shadow);
}

.page-hero {
    text-align: center;
}

.page-hero .container {
    max-width: 900px;
}

.page-hero h1,
.page-hero p {
    margin-left: auto;
    margin-right: auto;
}

.rich-text {
    font-size: 17px;
}

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

.credential-card {
    padding: 28px;
    text-align: center;
}

.credential-card strong {
    display: block;
    color: var(--gold);
    font-size: 34px;
}

.credential-card span {
    color: var(--muted);
}

.detail-grid,
.article-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
}

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

.step-card,
.qr-panel,
.contact-card,
.topic-card {
    padding: 28px;
}

.step-card span {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold);
    font-weight: 900;
}

.qr-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    margin: 18px auto;
    border-radius: 22px;
    color: #07111f;
    font-weight: 900;
    letter-spacing: 0.18em;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 50%, transparent 50%),
        linear-gradient(rgba(0, 0, 0, 0.1) 50%, transparent 50%),
        #ffffff;
    background-size: 18px 18px;
}

.sticky {
    position: sticky;
    top: 100px;
}

.article-content {
    padding: 36px;
    border-radius: 28px;
    color: #dce7f6;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.article-content p {
    font-size: 18px;
}

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

.qr-list {
    grid-template-columns: repeat(3, 1fr);
}

.qr-list .qr-placeholder {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qr-list span {
    display: block;
    text-align: center;
    color: var(--muted);
}

.site-footer {
    padding: 62px 0 90px;
    color: var(--muted);
    background: rgba(4, 8, 18, 0.74);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 32px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--text);
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.mobile-consult {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.delay-1 {
    transition-delay: 0.12s;
}

@media (max-width: 1040px) {
    .site-nav {
        gap: 14px;
    }

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

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

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-wrap {
        min-height: 66px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand small {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 66px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(5, 12, 24, 0.96);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    .hero-section,
    .page-hero {
        padding: 70px 0 56px;
    }

    .hero-grid,
    .two-col,
    .detail-grid,
    .article-layout,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel img {
        min-height: 260px;
    }

    .hero-stats,
    .service-grid,
    .service-grid.large,
    .article-grid,
    .credential-grid,
    .steps-grid,
    .qr-list {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .sticky {
        position: static;
    }

    .mobile-consult {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 120;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(5, 12, 24, 0.9);
        backdrop-filter: blur(16px);
    }

    .mobile-consult a {
        padding: 10px;
        border-radius: 12px;
        text-align: center;
        font-weight: 800;
        color: #06101d;
        background: linear-gradient(135deg, #f4d58d, #7dd3fc);
    }

    .site-footer {
        padding-bottom: 120px;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 38px;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stats div,
    .service-card,
    .article-card,
    .contact-card,
    .topic-card,
    .qr-panel,
    .article-content {
        padding: 22px;
        border-radius: 22px;
    }

    .cta-box {
        padding: 30px 20px;
    }
}

/* Homepage enrichment */
.home-hero {
    padding-top: 118px;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.18), transparent 62%);
    filter: blur(4px);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 48px;
    align-items: center;
}

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

.home-proof-card,
.home-terminal,
.home-process-step,
.home-scenario-card,
.cb-visual-card,
.cb-article-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.home-proof-card {
    min-height: 122px;
    padding: 18px;
    border-radius: 22px;
}

.home-proof-card strong {
    display: block;
    color: var(--gold);
    font-size: 26px;
    line-height: 1.1;
}

.home-proof-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.home-terminal {
    position: relative;
    padding: 22px;
    border-radius: 32px;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.home-terminal::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 18% 20%, rgba(216, 180, 106, 0.2), transparent 30%),
        radial-gradient(circle at 82% 10%, rgba(56, 189, 248, 0.22), transparent 30%);
    pointer-events: none;
}

.home-terminal > * {
    position: relative;
    z-index: 1;
}

.terminal-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 18px;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

.terminal-top span:nth-child(2) {
    background: var(--blue);
}

.terminal-top span:nth-child(3) {
    background: var(--cyan);
}

.terminal-top em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.terminal-metrics div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.075);
}

.terminal-metrics small,
.terminal-metrics strong {
    display: block;
}

.terminal-metrics small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.terminal-metrics strong {
    margin-top: 6px;
    color: var(--text);
    font-size: 20px;
}

.curve-board {
    padding: 12px;
    border-radius: 22px;
    background: rgba(4, 8, 18, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.curve-board svg {
    width: 100%;
    height: auto;
}

.grid-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
}

.curve-line {
    fill: none;
    stroke: url(#homeCurveGradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
}

.curve-fill {
    fill: rgba(56, 189, 248, 0.12);
    opacity: 0;
}

.curve-board.is-active .curve-line {
    animation: drawCurve 1.4s ease forwards;
}

.curve-board.is-active .curve-fill {
    animation: fadeCurve 1s ease 0.55s forwards;
}

.terminal-list {
    margin-top: 18px;
}

.terminal-list p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #dce7f6;
}

.terminal-list p span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(94, 234, 212, 0.72);
}

.home-about-band {
    background: linear-gradient(90deg, rgba(216, 180, 106, 0.08), rgba(56, 189, 248, 0.055), transparent);
}

.home-process-section,
.home-scenarios-section {
    position: relative;
}

.home-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-process::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 106, 0.5), transparent);
}

.home-process-step {
    position: relative;
    z-index: 1;
    min-height: 238px;
    padding: 24px;
    border-radius: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.home-process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: #06101d;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--blue));
}

.home-process-step p,
.home-scenario-card p,
.cb-article-card p,
.cb-visual-list p {
    color: var(--muted);
}

.home-process-step.is-active {
    transform: translateY(-8px);
    border-color: rgba(216, 180, 106, 0.62);
    background: linear-gradient(180deg, rgba(216, 180, 106, 0.16), rgba(255, 255, 255, 0.055));
}

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

.home-scenario-card {
    position: relative;
    min-height: 270px;
    padding: 28px;
    border-radius: 28px;
    overflow: hidden;
}

.home-scenario-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -46px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 28px solid rgba(56, 189, 248, 0.09);
}

.home-scenario-card span,
.cb-article-card span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #06101d;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.home-final-cta .eyebrow {
    justify-content: center;
}

/* CB topic module */
.cb-hero {
    background: radial-gradient(circle at 86% 20%, rgba(216, 180, 106, 0.14), transparent 34%);
}

.cb-visual-card {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.cb-visual-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(216, 180, 106, 0.16);
}

.cb-visual-card > * {
    position: relative;
    z-index: 1;
}

.cb-visual-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.cb-visual-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    color: #06101d;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--blue));
}

.cb-visual-title strong,
.cb-visual-title em {
    display: block;
}

.cb-visual-title em {
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
}

.cb-visual-list p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cb-visual-list b {
    color: var(--gold);
}

.cb-qr {
    margin-top: 24px;
    margin-left: 0;
}

.cb-intro-section {
    background: rgba(255, 255, 255, 0.025);
}

.cb-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cb-article-card {
    min-height: 310px;
    padding: 30px;
    border-radius: 30px;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.cb-article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 180, 106, 0.55);
    background: var(--card-strong);
}

.cb-article-card time,
.cb-article-card em {
    display: block;
    color: var(--gold);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.cb-article-card em {
    margin-top: 18px;
}

.cb-detail-layout .article-content {
    border-color: rgba(216, 180, 106, 0.26);
}

@keyframes drawCurve {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeCurve {
    to {
        opacity: 1;
    }
}

@media (max-width: 1040px) {
    .home-proof-grid,
    .home-scenario-grid,
    .cb-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-process::before {
        display: none;
    }
}

@media (max-width: 820px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-proof-grid,
    .home-process,
    .home-scenario-grid,
    .cb-article-grid,
    .terminal-metrics {
        grid-template-columns: 1fr;
    }

    .home-terminal,
    .cb-visual-card {
        transform: none !important;
    }
}

@media (max-width: 520px) {
    .home-proof-card,
    .home-process-step,
    .home-scenario-card,
    .cb-visual-card,
    .cb-article-card {
        padding: 22px;
        border-radius: 22px;
    }

    .home-hero {
        padding-top: 74px;
    }
}

/* Rich image presentation */
.image-card {
    padding: 0;
}

.image-card::before {
    pointer-events: none;
}

.home-hero-visual {
    position: relative;
    min-height: 640px;
    transform-style: preserve-3d;
    transition: transform 0.25s ease;
}

.home-hero-image,
.home-band-image,
.service-card-image,
.scenario-card-image,
.article-card-image,
.cb-hero-photo,
.cb-article-image,
.article-cover,
.advisor-side-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.home-hero-image {
    height: 560px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.home-hero-image::after,
.home-band-image::after,
.service-card-image::after,
.scenario-card-image::after,
.article-card-image::after,
.cb-hero-photo::after,
.cb-article-image::after,
.article-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.02), rgba(4, 8, 18, 0.52));
    pointer-events: none;
}

.home-hero-image img,
.home-band-image img,
.service-card-image img,
.scenario-card-image img,
.article-card-image img,
.cb-hero-photo img,
.cb-article-image img,
.article-cover img,
.advisor-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.image-card:hover img,
.home-hero-visual:hover .home-hero-image img,
.cb-visual-card:hover .cb-hero-photo img,
.image-reveal.is-image-active img {
    transform: scale(1.09);
}

.home-terminal-overlay {
    position: absolute;
    left: -26px;
    right: 34px;
    bottom: -8px;
    z-index: 3;
    background: rgba(6, 16, 29, 0.78);
}

.home-terminal-overlay .curve-board {
    background: rgba(4, 8, 18, 0.72);
}

.home-image-band {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: center;
}

.home-band-image {
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.home-band-copy {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.055);
}

.service-card.image-card,
.article-card.image-card,
.cb-article-card.image-card,
.home-scenario-card.image-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.service-card-image {
    height: 168px;
    border-radius: 28px 28px 0 0;
}

.service-card-body,
.article-card-body,
.scenario-card-body,
.cb-article-body {
    position: relative;
    z-index: 1;
    padding: 26px;
}

.service-card-body .service-icon {
    margin-top: -54px;
    margin-bottom: 18px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
}

.scenario-card-image {
    height: 190px;
    border-radius: 28px 28px 0 0;
}

.home-scenario-card.image-card::after {
    display: none;
}

.scenario-card-body {
    min-height: 236px;
}

.article-card-image,
.cb-article-image {
    height: 188px;
    border-radius: 28px 28px 0 0;
}

.article-card-body span,
.cb-article-body span {
    position: relative;
    z-index: 2;
}

.cb-visual-photo {
    padding: 0;
}

.cb-hero-photo {
    height: 500px;
    border-radius: 30px;
}

.cb-visual-panel {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(6, 16, 29, 0.78);
    backdrop-filter: blur(18px);
}

.cb-visual-panel .cb-visual-title {
    margin-bottom: 14px;
}

.cb-visual-panel .cb-visual-list p {
    padding: 10px 0;
}

.article-cover {
    height: 360px;
    margin: 0 0 30px;
    border-radius: 24px;
}

.advisor-side-image {
    height: 190px;
    margin: 18px 0;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.image-reveal {
    opacity: 0.86;
}

.image-reveal.is-image-active {
    opacity: 1;
}

@media (max-width: 1040px) {
    .home-hero-visual {
        min-height: 580px;
    }

    .home-image-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .home-hero-visual {
        min-height: auto;
        transform: none !important;
    }

    .home-hero-image,
    .cb-hero-photo {
        height: 380px;
    }

    .home-terminal-overlay {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: -48px;
    }

    .home-band-image,
    .article-cover {
        height: 280px;
    }
}

@media (max-width: 520px) {
    .service-card-body,
    .article-card-body,
    .scenario-card-body,
    .cb-article-body {
        padding: 22px;
    }

    .home-hero-image,
    .cb-hero-photo {
        height: 300px;
        border-radius: 24px;
    }

    .home-terminal-overlay {
        margin-top: -28px;
    }

    .service-card-image,
    .scenario-card-image,
    .article-card-image,
    .cb-article-image {
        height: 170px;
        border-radius: 22px 22px 0 0;
    }
}

/* Premium homepage refresh */
.home-hero {
    padding: 132px 0 104px;
    background:
        radial-gradient(circle at 12% 22%, rgba(56, 189, 248, 0.18), transparent 32%),
        radial-gradient(circle at 84% 16%, rgba(216, 180, 106, 0.18), transparent 30%);
}

.home-hero::before {
    right: -180px;
    top: -80px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.16), transparent 58%);
}

.home-hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
    gap: 66px;
}

.home-hero .hero-copy h1 {
    max-width: 720px;
    margin-bottom: 26px;
    font-size: clamp(46px, 5.6vw, 78px);
}

.home-hero .hero-copy > p {
    max-width: 650px;
    color: #c2cfdf;
    font-size: 18px;
}

.home-proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
    margin-top: 30px;
}

.home-proof-card {
    min-height: 104px;
    padding: 16px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.home-proof-card strong {
    font-size: 24px;
}

.home-hero-visual {
    min-height: 640px;
}

.home-visual-shell {
    position: relative;
    min-height: 640px;
}

.home-visual-main,
.home-visual-side,
.home-band-image,
.home-service-image,
.home-scenario-image,
.home-insight-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.home-visual-main::after,
.home-visual-side::after,
.home-band-image::after,
.home-service-image::after,
.home-scenario-image::after,
.home-insight-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.02), rgba(4, 8, 18, 0.54));
    pointer-events: none;
}

.home-visual-main img,
.home-visual-side img,
.home-band-image img,
.home-service-image img,
.home-scenario-image img,
.home-insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.home-visual-main {
    height: 560px;
    border-radius: 42px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.home-visual-side {
    position: absolute;
    left: -28px;
    bottom: 58px;
    z-index: 3;
    width: 230px;
    height: 172px;
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.home-market-card,
.home-visual-float {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 16, 29, 0.78);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(20px);
}

.home-market-card {
    top: 34px;
    right: -10px;
    width: 270px;
    padding: 20px;
    border-radius: 26px;
}

.home-market-card span,
.home-market-card strong {
    display: block;
}

.home-market-card span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-market-card strong {
    margin-top: 8px;
    color: var(--text);
    font-size: 18px;
}

.home-market-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.home-visual-float {
    right: 26px;
    bottom: 24px;
    width: min(430px, calc(100% - 120px));
    padding: 18px;
    border-radius: 28px;
}

.home-visual-float .terminal-top {
    padding-bottom: 12px;
}

.home-visual-float .terminal-metrics {
    margin: 14px 0;
}

.home-visual-float .curve-board {
    padding: 8px;
    border-radius: 18px;
    background: rgba(4, 8, 18, 0.64);
}

.home-visual-float .curve-board svg {
    height: 118px;
}

.home-about-band {
    background:
        linear-gradient(90deg, rgba(216, 180, 106, 0.09), rgba(56, 189, 248, 0.045), transparent),
        rgba(255, 255, 255, 0.012);
}

.home-image-band {
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
    gap: 56px;
}

.home-band-copy {
    padding: 46px;
    border-color: rgba(216, 180, 106, 0.18);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.home-band-copy p {
    color: #c0ccdc;
}

.home-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 24px;
}

.home-method-grid div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.home-method-grid strong,
.home-method-grid span {
    display: block;
}

.home-method-grid strong {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.home-method-grid span {
    margin-top: 8px;
    color: #dce7f6;
    font-size: 14px;
    font-weight: 700;
}

.home-band-image {
    height: 500px;
    border-radius: 38px;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.home-section-title {
    max-width: 820px;
}

.home-section-title p {
    max-width: 690px;
    color: var(--muted);
    font-size: 17px;
}

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

.home-service-card {
    display: grid !important;
    grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
    min-height: 316px !important;
    padding: 0 !important;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.home-service-image {
    height: 100% !important;
    min-height: 316px;
    border-width: 0 1px 0 0;
    border-radius: 34px 0 0 34px !important;
}

.home-service-body {
    display: grid;
    align-content: center;
    padding: 34px !important;
}

.home-service-body .service-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 20px;
    border-radius: 15px;
    font-size: 22px;
}

.home-service-body h3 {
    margin-bottom: 12px;
}

.home-service-body h4 {
    margin: 0 0 14px;
}

.home-service-body p {
    color: var(--muted);
}

.home-process {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-process::before {
    top: 29px;
    left: 5%;
    right: 5%;
}

.home-process-step {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.home-process-step span {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    font-size: 13px;
}

.home-process-step h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.home-process-step p {
    margin-bottom: 0;
    font-size: 14px;
}

.home-scenario-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-scenario-item {
    min-height: auto;
    padding: 0;
    border-radius: 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.home-scenario-item.is-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.home-scenario-image {
    height: 210px;
    border-radius: 32px 32px 0 0 !important;
}

.home-scenario-item.is-featured .home-scenario-image {
    height: 364px;
}

.home-scenario-body {
    min-height: auto;
    padding: 26px !important;
}

.home-scenario-item.is-featured .home-scenario-body {
    padding: 32px !important;
}

.home-scenario-body span {
    margin-bottom: 14px;
}

.home-scenario-body p {
    margin-bottom: 0;
}

.home-insight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-insight-card {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.036));
}

.home-insight-image {
    height: 100% !important;
    min-height: 214px;
    border-width: 0 1px 0 0;
    border-radius: 28px 0 0 28px !important;
}

.home-insight-body {
    display: grid;
    align-content: center;
    padding: 26px !important;
}

.home-insight-body h3 {
    margin: 8px 0 10px;
}

.home-insight-body p {
    margin-bottom: 14px;
    font-size: 15px;
}

.home-final-cta {
    padding-top: 54px;
}

.home-final-cta .cta-box {
    position: relative;
    overflow: hidden;
    padding: 58px;
    border-color: rgba(216, 180, 106, 0.42);
    background:
        radial-gradient(circle at 15% 18%, rgba(216, 180, 106, 0.24), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(56, 189, 248, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
}

.home-final-cta .cta-box::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    pointer-events: none;
}

.home-final-cta .cta-box > * {
    position: relative;
    z-index: 1;
}

.home-final-cta .cta-box p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.home-service-card:hover .home-service-image img,
.home-scenario-item:hover .home-scenario-image img,
.home-insight-card:hover .home-insight-image img,
.home-hero-visual:hover .home-visual-main img {
    transform: scale(1.08);
}

.publication-section {
    background: linear-gradient(90deg, rgba(216, 180, 106, 0.07), rgba(56, 189, 248, 0.035), transparent);
}

.publication-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 48px;
    align-items: center;
}

.book-cover-card {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(216, 180, 106, 0.24);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.book-cover-card img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.publication-copy {
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.055);
}

.publication-copy p {
    color: var(--muted);
    font-size: 17px;
}

.publication-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.publication-points div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.publication-points strong,
.publication-points span {
    display: block;
}

.publication-points strong {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.publication-points span {
    margin-top: 8px;
    color: #dce7f6;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1040px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-visual,
    .home-visual-shell {
        min-height: 610px;
    }

    .home-service-card {
        grid-template-columns: 1fr;
    }

    .home-service-image {
        height: 240px !important;
        min-height: 240px;
        border-width: 0 0 1px;
        border-radius: 34px 34px 0 0 !important;
    }

    .home-scenario-mosaic,
    .home-insight-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .publication-grid {
        grid-template-columns: 1fr;
    }

    .book-cover-card {
        max-width: 560px;
    }

    .home-scenario-item.is-featured {
        grid-column: span 2;
        grid-row: auto;
    }

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

@media (max-width: 820px) {
    .home-hero {
        padding: 82px 0 64px;
    }

    .home-hero .hero-copy h1 {
        font-size: clamp(38px, 10vw, 58px);
    }

    .home-proof-grid,
    .home-service-grid,
    .home-process,
    .home-scenario-mosaic,
    .home-insight-list,
    .home-method-grid,
    .publication-points {
        grid-template-columns: 1fr;
    }

    .home-hero-visual,
    .home-visual-shell {
        min-height: auto;
    }

    .home-visual-main {
        height: 390px;
        border-radius: 30px;
    }

    .home-visual-side,
    .home-market-card,
    .home-visual-float {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
        width: auto;
        margin-top: 14px;
    }

    .home-visual-side {
        height: 220px;
    }

    .home-image-band {
        grid-template-columns: 1fr;
    }

    .home-band-copy {
        padding: 30px;
    }

    .home-band-image {
        height: 320px;
    }

    .home-service-card,
    .home-insight-card {
        grid-template-columns: 1fr;
    }

    .home-insight-image {
        height: 210px !important;
        min-height: 210px;
        border-width: 0 0 1px;
        border-radius: 28px 28px 0 0 !important;
    }

    .home-scenario-item.is-featured {
        grid-column: auto;
    }

    .home-scenario-item.is-featured .home-scenario-image,
    .home-scenario-image {
        height: 220px;
    }

    .home-final-cta .cta-box {
        padding: 38px 24px;
    }

    .publication-copy {
        padding: 30px;
    }
}

@media (max-width: 520px) {
    .home-proof-grid {
        gap: 10px;
    }

    .home-proof-card,
    .home-process-step {
        padding: 18px;
        border-radius: 18px;
    }

    .home-visual-main {
        height: 310px;
        border-radius: 24px;
    }

    .home-visual-side,
    .home-market-card,
    .home-visual-float,
    .home-band-copy,
    .home-service-card,
    .home-scenario-item,
    .home-insight-card {
        border-radius: 22px;
    }

    .home-service-image,
    .home-scenario-image,
    .home-scenario-item.is-featured .home-scenario-image,
    .home-insight-image {
        height: 190px !important;
        min-height: 190px;
        border-radius: 22px 22px 0 0 !important;
    }

    .home-service-body,
    .home-scenario-body,
    .home-scenario-item.is-featured .home-scenario-body,
    .home-insight-body {
        padding: 22px !important;
    }
}


/* Traditional homepage carousel */
.home-carousel-hero {
    padding: 104px 0 72px;
}

.home-carousel-hero .container {
    position: relative;
}

.home-carousel {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 38px;
    background: #07111f;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42);
}

.home-carousel-track,
.home-carousel-slide {
    position: absolute;
    inset: 0;
}

.home-carousel-slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.7s ease, visibility 0.7s ease, transform 1.2s ease;
}

.home-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.home-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 5.8s ease;
}

.home-carousel-slide.is-active img {
    transform: scale(1);
}

.home-carousel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 8, 18, 0.88) 0%, rgba(4, 8, 18, 0.72) 38%, rgba(4, 8, 18, 0.24) 72%, rgba(4, 8, 18, 0.42) 100%),
        linear-gradient(180deg, rgba(4, 8, 18, 0.12), rgba(4, 8, 18, 0.72));
}

.home-carousel-content {
    position: absolute;
    left: clamp(28px, 7vw, 76px);
    top: 50%;
    z-index: 3;
    width: min(720px, calc(100% - 150px));
    transform: translateY(-50%);
}

.home-carousel-content h1,
.home-carousel-content h2 {
    margin: 16px 0 22px;
    color: var(--text);
    font-size: clamp(42px, 5.3vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.home-carousel-content h2 {
    max-width: 760px;
    font-size: clamp(38px, 4.7vw, 68px);
}

.home-carousel-content p {
    max-width: 650px;
    margin: 0;
    color: #d5dfec;
    font-size: 18px;
    line-height: 1.82;
}

.home-carousel-content .hero-actions {
    margin-top: 30px;
}

.home-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    background: rgba(6, 16, 29, 0.48);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-carousel-arrow:hover {
    border-color: rgba(216, 180, 106, 0.78);
    background: rgba(216, 180, 106, 0.22);
    transform: translateY(-50%) scale(1.06);
}

.home-carousel-arrow.is-prev {
    left: 24px;
}

.home-carousel-arrow.is-next {
    right: 24px;
}

.home-carousel-dots {
    position: absolute;
    left: clamp(28px, 7vw, 76px);
    bottom: 34px;
    z-index: 6;
    display: flex;
    gap: 10px;
}

.home-carousel-dots button {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.home-carousel-dots button.is-active {
    width: 54px;
    background: linear-gradient(90deg, var(--gold), var(--blue));
}

.home-carousel-proof {
    max-width: none;
    margin-top: 18px;
}

.home-carousel-proof .home-proof-card {
    background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 1040px) {
    .home-carousel {
        min-height: 540px;
    }

    .home-carousel-content {
        width: min(680px, calc(100% - 118px));
    }
}

@media (max-width: 820px) {
    .home-carousel-hero {
        padding: 70px 0 52px;
    }

    .home-carousel {
        min-height: 520px;
        border-radius: 28px;
    }

    .home-carousel-overlay {
        background:
            linear-gradient(90deg, rgba(4, 8, 18, 0.86), rgba(4, 8, 18, 0.42)),
            linear-gradient(180deg, rgba(4, 8, 18, 0.12), rgba(4, 8, 18, 0.82));
    }

    .home-carousel-content {
        left: 28px;
        top: auto;
        bottom: 76px;
        width: calc(100% - 56px);
        transform: none;
    }

    .home-carousel-content h1,
    .home-carousel-content h2 {
        margin: 12px 0 16px;
        font-size: clamp(34px, 8.5vw, 52px);
    }

    .home-carousel-content p {
        font-size: 16px;
    }

    .home-carousel-arrow {
        top: auto;
        bottom: 18px;
        width: 40px;
        height: 40px;
        font-size: 28px;
        transform: none;
    }

    .home-carousel-arrow:hover {
        transform: scale(1.04);
    }

    .home-carousel-arrow.is-prev {
        left: auto;
        right: 74px;
    }

    .home-carousel-arrow.is-next {
        right: 26px;
    }

    .home-carousel-dots {
        left: 28px;
        bottom: 36px;
    }
}

@media (max-width: 520px) {
    .home-carousel-hero {
        padding-top: 54px;
    }

    .home-carousel {
        min-height: 560px;
        border-radius: 22px;
    }

    .home-carousel-slide img {
        object-position: center;
    }

    .home-carousel-content {
        left: 20px;
        bottom: 86px;
        width: calc(100% - 40px);
    }

    .home-carousel-content h1,
    .home-carousel-content h2 {
        font-size: clamp(31px, 10vw, 42px);
    }

    .home-carousel-content .hero-actions {
        align-items: stretch;
        width: 100%;
        margin-top: 22px;
    }

    .home-carousel-content .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .home-carousel-dots {
        left: 20px;
        bottom: 38px;
    }

    .home-carousel-dots button {
        width: 24px;
    }

    .home-carousel-dots button.is-active {
        width: 40px;
    }
}


/* Homepage fullscreen carousel and transparent header */
body.is-home .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.46), rgba(4, 8, 18, 0));
    box-shadow: none;
}

body.is-home .site-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 24, 0.94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

body.is-home .home-carousel-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
}

body.is-home .home-carousel-hero > .container {
    width: 100%;
    max-width: none;
}

body.is-home .home-carousel {
    min-height: 100vh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.is-home .home-carousel-content {
    top: 54%;
    left: max(72px, calc((100vw - 1180px) / 2 + 20px));
    width: min(760px, calc(100% - 170px));
}

body.is-home .home-carousel-content h1,
body.is-home .home-carousel-content h2 {
    text-shadow: 0 20px 58px rgba(0, 0, 0, 0.42);
}

body.is-home .home-carousel-dots {
    left: max(72px, calc((100vw - 1180px) / 2 + 20px));
    bottom: 58px;
}

body.is-home .home-carousel-arrow.is-prev {
    left: 32px;
}

body.is-home .home-carousel-arrow.is-next {
    right: 32px;
}

body.is-home .home-carousel-proof {
    width: min(1180px, calc(100% - 40px));
    margin: 24px auto 0;
}

@media (max-width: 820px) {
    body.is-home .home-carousel-hero {
        padding: 0;
    }

    body.is-home .home-carousel {
        min-height: 100vh;
        min-height: 100svh;
        border-radius: 0;
    }

    body.is-home .home-carousel-content {
        left: 28px;
        bottom: 98px;
        width: calc(100% - 56px);
    }

    body.is-home .home-carousel-dots {
        left: 28px;
        bottom: 50px;
    }

    body.is-home .home-carousel-arrow.is-prev {
        left: auto;
        right: 74px;
    }

    body.is-home .home-carousel-arrow.is-next {
        right: 26px;
    }
}

@media (max-width: 520px) {
    body.is-home .home-carousel-content {
        left: 20px;
        bottom: 96px;
        width: calc(100% - 40px);
    }

    body.is-home .home-carousel-dots {
        left: 20px;
        bottom: 46px;
    }
}


/* Refined homepage proof strip */
.home-proof-grid.home-carousel-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
}

.home-proof-grid.home-carousel-proof .home-proof-card {
    position: relative;
    overflow: hidden;
    min-height: 126px;
    padding: 24px 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
        rgba(6, 16, 29, 0.72);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.home-proof-grid.home-carousel-proof .home-proof-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--gold), var(--blue));
}

.home-proof-grid.home-carousel-proof .home-proof-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 180, 106, 0.18), transparent 66%);
    pointer-events: none;
}

.home-proof-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--text);
    line-height: 1;
    white-space: nowrap;
}

.home-proof-value span {
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.home-proof-value em {
    color: var(--gold);
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
}

.home-proof-label {
    display: block;
    max-width: 180px;
    margin-top: 14px;
    color: #b8c7da;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .home-proof-grid.home-carousel-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-proof-grid.home-carousel-proof {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-proof-grid.home-carousel-proof .home-proof-card {
        min-height: 0;
        padding: 20px 20px 18px;
        border-radius: 18px;
    }

    .home-proof-label {
        max-width: none;
    }
}


/* Consultation scenarios layout refinement */
.home-scenario-mosaic {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    grid-auto-flow: dense;
    align-items: stretch;
}

.home-scenario-item {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
    overflow: hidden;
}

.home-scenario-item.is-featured {
    display: grid !important;
    grid-row: span 3;
    grid-template-rows: minmax(380px, 1fr) auto;
}

.home-scenario-item:not(.is-featured) {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);
}

.home-scenario-image {
    height: 100%;
    min-height: 226px;
    border-radius: 0 !important;
}

.home-scenario-item.is-featured .home-scenario-image {
    height: auto;
    min-height: 380px;
}

.home-scenario-item:not(.is-featured) .home-scenario-image {
    border-width: 0 1px 0 0;
}

.home-scenario-image::after {
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.02), rgba(4, 8, 18, 0.34));
}

.home-scenario-body {
    display: grid;
    align-content: center;
    padding: 28px !important;
}

.home-scenario-item.is-featured .home-scenario-body {
    padding: 34px !important;
}

.home-scenario-body span {
    width: fit-content;
    margin-bottom: 16px;
    box-shadow: 0 12px 26px rgba(94, 234, 212, 0.16);
}

.home-scenario-body h3 {
    margin-bottom: 12px;
}

.home-scenario-item.is-featured .home-scenario-body h3 {
    font-size: 28px;
}

.home-scenario-body p {
    color: #c2cfdf;
}

@media (max-width: 1040px) {
    .home-scenario-mosaic {
        grid-template-columns: 1fr;
    }

    .home-scenario-item.is-featured {
        grid-row: auto;
    }

    .home-scenario-item:not(.is-featured) {
        grid-template-columns: 230px minmax(0, 1fr);
    }
}

@media (max-width: 820px) {
    .home-scenario-item.is-featured,
    .home-scenario-item:not(.is-featured) {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-scenario-item.is-featured .home-scenario-image,
    .home-scenario-image {
        height: 240px !important;
        min-height: 240px;
        border-width: 0 0 1px;
        border-radius: 0 !important;
    }

    .home-scenario-item.is-featured .home-scenario-body h3 {
        font-size: 24px;
    }
}

@media (max-width: 520px) {
    .home-scenario-item.is-featured .home-scenario-image,
    .home-scenario-image {
        height: 190px !important;
        min-height: 190px;
    }
}

/* Five-card consultation scenario balance */
.home-scenario-item.is-featured {
    grid-row: span 4;
    grid-template-rows: minmax(460px, 1fr) auto;
}

.home-scenario-item.is-featured .home-scenario-image {
    min-height: 460px;
}

@media (max-width: 1040px) {
    .home-scenario-item.is-featured {
        grid-row: auto;
        grid-template-rows: auto;
    }

    .home-scenario-item.is-featured .home-scenario-image {
        min-height: 320px;
    }
}
