/* Solutions & use-case library */
.breadcrumbs-wrapper {
    margin-top: var(--nav-h);
    padding: 12px 0;
    border-color: #e5e9ef;
    background: #f7f8fa;
}

.breadcrumbs a { color: var(--primary-color); }
.breadcrumbs li::after { content: '›'; }

.uc-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #08101e;
}

.uc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px, 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 95%);
    mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.uc-hero-index { padding: 7rem 0 0; }
.uc-hero-grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 5rem; align-items: center; }
.uc-hero-copy { position: relative; z-index: 2; padding-bottom: 5rem; }
.uc-hero-media { position: relative; z-index: 2; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.uc-hero-media img { display: block; width: 100%; height: auto; }

.uc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--primary-color);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.uc-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.uc-hero .uc-eyebrow { color: #ff7b8b; }

.uc-hero h1,
.uc-detail-hero h1 {
    max-width: 830px;
    margin: 1.15rem 0 1.45rem;
    color: #fff;
    font-size: clamp(3rem, 5vw, 5.3rem);
    line-height: 1.01;
    letter-spacing: -.06em;
}

.uc-hero-copy > p,
.uc-category-hero-grid > div > p,
.uc-detail-hero-grid > div > p {
    max-width: 650px;
    color: #aab5c6;
    font-size: 1.08rem;
    line-height: 1.75;
}

.uc-hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.uc-text-link { color: #fff; font-weight: 700; text-decoration: none; }
.uc-text-link:hover { color: #ff7b8b; }

.uc-network { position: relative; min-height: 500px; }
.uc-network > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.uc-network > svg circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; stroke-dasharray: 5 8; }
.uc-network-center { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; width: 132px; height: 132px; place-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(19,31,49,.94); box-shadow: 0 0 0 16px rgba(255,255,255,.025), 0 28px 70px rgba(0,0,0,.35); transform: translate(-50%,-50%); text-align: center; }
.uc-network-center span { color: #fff; font-size: 1.4rem; font-weight: 800; }
.uc-network-center small { color: #7f8da2; font-size: .72rem; }

.uc-node { position: absolute; z-index: 4; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: #fff; background: #142035; box-shadow: 0 15px 35px rgba(0,0,0,.28); }
.uc-node svg, .uc-icon svg { width: 26px; height: 26px; stroke-width: 1.7; }
.uc-node-1 { left: 8%; top: 17%; }.uc-node-2 { left: 42%; top: 3%; }.uc-node-3 { right: 7%; top: 20%; }.uc-node-4 { right: 2%; top: 55%; }.uc-node-5 { right: 22%; bottom: 3%; }.uc-node-6 { left: 34%; bottom: 5%; }.uc-node-7 { left: 3%; bottom: 19%; }.uc-node-8 { left: 16%; top: 45%; }
.uc-node:nth-of-type(2n) { color: #ff6a7c; }

.uc-summary-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.11); }
.uc-summary-strip > div { display: flex; align-items: baseline; gap: .75rem; padding: 1.5rem 2rem; border-right: 1px solid rgba(255,255,255,.1); }
.uc-summary-strip > div:first-child { padding-left: 0; }
.uc-summary-strip strong { color: #fff; font-size: 1.7rem; letter-spacing: -.04em; }
.uc-summary-strip span { color: #7f8da2; font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; }

.uc-library, .uc-category-content, .uc-results-section, .uc-related-section { padding: 7rem 0; background: #f4f6f8; }
.uc-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.uc-section-head.compact { margin-bottom: 2rem; }
.uc-section-head h2, .uc-benefit-panel h2 { margin: .8rem 0 0; color: var(--ink); font-size: clamp(2.2rem,4vw,3.4rem); line-height: 1.08; letter-spacing: -.055em; }

.uc-search { display: flex; align-items: center; gap: .7rem; width: min(100%, 330px); padding: .85rem 1rem; border: 1px solid #d9dfe7; border-radius: 12px; background: #fff; }
.uc-search svg { width: 20px; color: #7a8798; }
.uc-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }

.uc-category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.15rem; }
.uc-category-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #dfe4ea; border-radius: 20px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.uc-category-card:hover { border-color: #cbd2dc; box-shadow: 0 22px 46px rgba(11,18,32,.1); transform: translateY(-6px); }
.uc-category-card[hidden] { display: none; }
.uc-category-media { position: relative; display: block; height: 180px; overflow: hidden; background: #eef1f4; }
.uc-category-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.uc-category-card:hover .uc-category-media img { transform: scale(1.05); }
.uc-category-media .uc-icon { position: absolute; left: .9rem; bottom: .9rem; background: rgba(255,255,255,.94); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.uc-category-media .uc-card-count { position: absolute; top: .9rem; right: .9rem; float: none; margin: 0; padding: .3rem .55rem; border-radius: 7px; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.uc-category-main { flex: 1; padding: 1.6rem 1.6rem 1.2rem; color: inherit; text-decoration: none; }
.uc-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px; color: var(--primary-color); background: #fff0f2; }
.uc-icon-large { width: 70px; height: 70px; border-radius: 20px; }
.uc-icon-large svg { width: 36px; height: 36px; }
.uc-card-count { float: right; margin-top: -42px; color: #8b96a6; font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.uc-category-main h3 { margin: 0 0 .65rem; color: var(--ink); font-size: 1.22rem; letter-spacing: -.025em; }
.uc-category-main p { color: #697588; font-size: .86rem; line-height: 1.62; }
.uc-case-links { border-top: 1px solid #edf0f3; }
.uc-case-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.6rem; border-bottom: 1px solid #edf0f3; color: #4e5b6d; font-size: .76rem; font-weight: 600; text-decoration: none; }
.uc-case-links a:hover { color: var(--primary-color); background: #fff8f9; }
.uc-case-links b { color: #a3adba; }
.uc-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.6rem; color: var(--ink); font-size: .79rem; font-weight: 800; text-decoration: none; }
.uc-card-footer b { color: var(--primary-color); font-size: 1.1rem; }
.uc-no-results { padding: 3rem; border-radius: 16px; color: #6b7280; background: #fff; text-align: center; }

/* Category */
.uc-category-hero { padding: 5.5rem 0; }
.uc-back { position: relative; z-index: 2; display: inline-block; margin-bottom: 2.4rem; color: #a9b5c6; font-size: .8rem; font-weight: 700; text-decoration: none; }
.uc-back:hover { color: #fff; }
.uc-category-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 360px; gap: 5rem; align-items: center; }
.uc-category-hero .uc-icon-large { display: inline-grid; margin-right: 1rem; vertical-align: middle; }
.uc-category-hero .uc-eyebrow { vertical-align: middle; }
.uc-category-media { height: 300px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.uc-category-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.uc-content-grid { display: grid; grid-template-columns: 245px 1fr; gap: 4rem; align-items: start; }
.uc-side-nav { position: sticky; top: calc(var(--nav-h) + 24px); overflow: hidden; border: 1px solid #dde3e9; border-radius: 16px; background: #fff; }
.uc-side-nav > strong { display: block; padding: 1rem 1.1rem; border-bottom: 1px solid #e6e9ed; color: #8b96a5; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.uc-side-nav a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .82rem 1.1rem; border-bottom: 1px solid #edf0f3; color: #536074; font-size: .75rem; font-weight: 700; text-decoration: none; }
.uc-side-nav a:last-child { border: 0; }
.uc-side-nav a b { display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 7px; color: #8a95a5; background: #f1f3f6; font-size: .62rem; }
.uc-side-nav a:hover, .uc-side-nav a.active { color: var(--primary-color); background: #fff5f6; }
.uc-side-nav a.active { box-shadow: inset 3px 0 var(--primary-color); }

.uc-case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.uc-case-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe4ea; border-radius: 18px; color: inherit; background: #fff; text-decoration: none; transition: .22s ease; }
.uc-case-card:hover { border-color: rgba(239,35,60,.35); box-shadow: 0 18px 38px rgba(11,18,32,.09); transform: translateY(-5px); }
.uc-case-media { position: relative; height: 175px; overflow: hidden; background: #eef1f4; }
.uc-case-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.uc-case-card:hover .uc-case-media img { transform: scale(1.05); }
.uc-case-number { position: absolute; left: .85rem; bottom: .85rem; display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .5rem; border-radius: 8px; color: var(--ink); background: rgba(255,255,255,.92); font-size: .72rem; font-weight: 800; letter-spacing: .08em; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.uc-case-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.uc-case-card h3 { margin: 0 0 .6rem; color: var(--ink); font-size: 1.2rem; }
.uc-case-card p { flex: 1; margin: 0 0 1.1rem; color: #697588; font-size: .88rem; line-height: 1.65; }
.uc-case-action { color: var(--primary-color); font-size: .78rem; font-weight: 800; }

.uc-benefit-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 4rem; margin-top: 5rem; padding: 3rem; border-radius: 22px; color: #fff; background: #0d1727; }
.uc-benefit-panel h2 { color: #fff; font-size: 2.4rem; }
.uc-benefit-panel p { margin-top: 1rem; color: #95a2b5; line-height: 1.7; }
.uc-benefit-panel ul { display: grid; gap: .7rem; list-style: none; }
.uc-benefit-panel li { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; color: #d9e0ea; background: rgba(255,255,255,.035); font-size: .84rem; }
.uc-benefit-panel li span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #071019; background: #42d9a8; font-size: .7rem; }

/* Detail */
.uc-detail-hero { position: relative; overflow: hidden; padding: 5rem 0 6rem; color: #fff; background: #08101e; }
.uc-detail-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .6fr; gap: 5rem; align-items: center; }
.uc-detail-hero-grid .btn { margin-top: 2rem; }
.uc-detail-media { height: 340px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.uc-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.uc-story-section { padding: 7rem 0; background: #fff; }
.uc-story-section.dark { color: #fff; background: #101a2b; }
.uc-story-grid { display: grid; grid-template-columns: 180px 1fr; gap: 5rem; }
.uc-story-index span, .uc-story-index b { display: block; }
.uc-story-index span { margin-bottom: .5rem; color: var(--primary-color); font-size: 2rem; font-weight: 800; }
.uc-story-index b { color: #8793a5; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.uc-story-copy { max-width: 800px; }
.uc-story-copy h2 { margin-bottom: 1.5rem; color: var(--ink); font-size: clamp(2.2rem,4vw,3.6rem); line-height: 1.08; letter-spacing: -.055em; }
.uc-story-copy > p { color: #687386; font-size: 1.08rem; line-height: 1.85; }
.uc-story-section.dark .uc-story-copy h2 { color: #fff; }
.uc-story-section.dark .uc-story-copy > p { color: #a3aec0; }
.uc-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: center; margin-top: 3rem; }
.uc-flow > div { min-height: 125px; padding: 1.2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.035); }
.uc-flow span { display: grid; width: 28px; height: 28px; margin-bottom: 1rem; place-items: center; border-radius: 8px; color: #fff; background: var(--primary-color); font-size: .7rem; }
.uc-flow b { color: #d9e0ea; font-size: .82rem; line-height: 1.4; }
.uc-flow > i { color: #546178; font-style: normal; }

.uc-results-section { background: #f4f6f8; }
.uc-results-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.uc-results-grid > div { padding: 1.7rem; border: 1px solid #dfe4ea; border-radius: 17px; background: #fff; }
.uc-results-grid span { color: var(--primary-color); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.uc-results-grid h3 { margin: 1.5rem 0 .65rem; color: var(--ink); font-size: 1.05rem; }
.uc-results-grid p { color: #738095; font-size: .8rem; line-height: 1.55; }

.uc-related-section { background: #fff; }
.uc-related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.uc-related-grid a { padding: 1.8rem; border: 1px solid #dfe4ea; border-radius: 17px; color: inherit; text-decoration: none; transition: .2s ease; }
.uc-related-grid a:hover { border-color: rgba(239,35,60,.35); box-shadow: 0 16px 35px rgba(11,18,32,.08); transform: translateY(-4px); }
.uc-related-grid h3 { color: var(--ink); font-size: 1.12rem; }
.uc-related-grid p { margin: .7rem 0 1.2rem; color: #6c788a; font-size: .85rem; line-height: 1.6; }
.uc-related-grid b { color: var(--primary-color); font-size: .78rem; }

.seo-cta-section { background: #f4f6f8; }
.seo-cta-section .cta-content { padding: 3.5rem 2.5rem; border-radius: 26px; background: linear-gradient(135deg, #e91f39, #a71228); box-shadow: 0 26px 60px rgba(193,23,46,.2); }
.seo-cta-section .btn-primary { color: var(--ink); border-color: #fff; background: #fff; box-shadow: none; }
.seo-cta-section .btn-secondary { border-color: rgba(255,255,255,.4); }

@media (max-width: 1050px) {
    .uc-category-grid { grid-template-columns: repeat(2,1fr); }
    .uc-hero-grid { gap: 2rem; }
    .uc-content-grid { grid-template-columns: 210px 1fr; gap: 2rem; }
    .uc-results-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
    .uc-hero-index { padding-top: 5rem; }
    .uc-hero-grid, .uc-category-hero-grid, .uc-detail-hero-grid { grid-template-columns: 1fr; }
    .uc-hero-copy { padding-bottom: 1rem; text-align: center; }
    .uc-hero-copy .uc-eyebrow, .uc-hero-actions { justify-content: center; }
    .uc-hero-copy > p { margin-inline: auto; }
    .uc-network { min-height: 420px; }
    .uc-summary-strip { margin-top: 2rem; }
    .uc-category-media { height: 230px; }
    .uc-content-grid { grid-template-columns: 1fr; }
    .uc-side-nav { position: static; display: flex; overflow-x: auto; padding: .5rem; border-radius: 13px; }
    .uc-side-nav > strong { display: none; }
    .uc-side-nav a { flex: 0 0 auto; border: 0; border-radius: 9px; }
    .uc-side-nav a.active { box-shadow: none; }
    .uc-benefit-panel { grid-template-columns: 1fr; gap: 2rem; }
    .uc-story-grid { grid-template-columns: 110px 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
    .seo-cta-section .cta-content { padding: 2.5rem 1.4rem; }
    .uc-hero h1, .uc-detail-hero h1 { font-size: 2.75rem; }
    .uc-hero-index { padding-top: 4rem; }
    .uc-network { min-height: 330px; transform: scale(.9); }
    .uc-node { width: 48px; height: 48px; border-radius: 13px; }
    .uc-node svg { width: 21px; height: 21px; }
    .uc-network-center { width: 105px; height: 105px; }
    .uc-summary-strip > div { display: block; padding: 1.1rem .5rem; text-align: center; }
    .uc-summary-strip strong, .uc-summary-strip span { display: block; }
    .uc-summary-strip strong { font-size: 1.25rem; }
    .uc-summary-strip span { margin-top: .25rem; font-size: .52rem; }
    .uc-library, .uc-category-content, .uc-results-section, .uc-related-section, .uc-story-section { padding: 4.5rem 0; }
    .uc-section-head { align-items: stretch; flex-direction: column; }
    .uc-section-head h2, .uc-benefit-panel h2 { font-size: 2.15rem; }
    .uc-search { width: 100%; }
    .uc-category-grid, .uc-case-grid, .uc-results-grid, .uc-related-grid { grid-template-columns: 1fr; }
    .uc-category-hero, .uc-detail-hero { padding: 3.8rem 0 4.5rem; }
    .uc-category-hero .uc-icon-large { display: grid; margin: 0 0 1.5rem; }
    .uc-benefit-panel { margin-top: 3rem; padding: 1.5rem; }
    .uc-story-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .uc-story-index { display: flex; align-items: center; gap: .7rem; }
    .uc-story-index span { margin: 0; font-size: 1.3rem; }
    .uc-story-copy h2 { font-size: 2.15rem; }
    .uc-flow { grid-template-columns: 1fr; }
    .uc-flow > i { transform: rotate(90deg); text-align: center; }
    .uc-detail-media { height: 240px; }
}
