/* Shared product navigation and the two product families. */
.nav-products { position: relative; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
.header nav { gap: 22px; }
.products-toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 12px 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.menu-chevron { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.products-toggle[aria-expanded=true] .menu-chevron { transform: rotate(225deg); margin-top: 4px; }
.product-menu { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); width: min(960px,calc(100vw - 96px)); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 34px; padding: 26px 30px 18px; color: #152436; background: #fff; border: 1px solid #dde5ee; border-radius: 12px; box-shadow: 0 22px 80px #02091438; }
.menu-backdrop { position: fixed; inset: 0; z-index: 9; background: #02091455; backdrop-filter: blur(4px); }
body.navigation-open { overflow: visible; }
.product-menu-top { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid #e1e7ef; }
.product-menu-top>span { font-size: 17px; font-weight: 600; }
.product-menu-top>a { font-size: 13px; color: #64758b; }
.menu-group-heading { padding: 0 10px 12px; }
.menu-group-heading>strong { display: block; font-size: 13px; color: #526981; font-weight: 600; }
.menu-group-heading>span { font-size: 12px; color: #8b99a9; display: block; margin-top: 3px; }
.header .menu-product { display: flex; align-items: center; gap: 16px; padding: 15px 12px; min-height: 82px; border-radius: 7px; line-height: 1.5; transition: background .2s; }
.menu-product:hover,.menu-product:focus-visible { background: #f0f5fa; }
.menu-product-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; color: #d62342; background: #fff1f3; border-radius: 8px; }
.menu-group:nth-of-type(3) .menu-product-icon { color: #2e6e9b; background: #edf5fc; }
.menu-product-icon svg { width: 24px; height: 24px; }
.menu-product-copy>strong { display: block; font-size: 15px; font-weight: 600; }
.menu-product-copy>small { display: block; font-size: 13px; color: #7d8b9e; margin-top: 5px; }
.header .menu-agent { display: flex; align-items: center; gap: 12px; background: #eef5fb; border: 1px solid #e0ebf4; border-radius: 7px; margin: 10px 12px 0; padding: 12px; }
.menu-agent>svg { width: 23px; height: 23px; flex: 0 0 23px; color: #38779e; }
.menu-agent strong { display: block; font-size: 14px; font-weight: 600; }
.menu-agent small { display: block; font-size: 12px; color: #6c8298; margin-top: 3px; }
.menu-footnote { font-size: 13px; color: #8492a3; border-top: 1px solid #e8edf2; margin: 10px 12px 0; padding-top: 19px; }
.product-menu-bottom { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #e1e7ef; padding-top: 16px; font-size: 13px; }
.product-menu-bottom>p { color: #8492a3; }
.product-menu-bottom>a { color: #355b7d; white-space: nowrap; }
.hero .actions { gap: 12px; }
.hero .eyebrow { letter-spacing: 1.4px; }

.family-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; margin-top: 30px; }
.product-family { display: flex; flex-direction: column; min-width: 0; padding: 26px 30px 20px; border: 1px solid #dce2e9; border-top: 3px solid var(--red); background: linear-gradient(135deg,#fafbfc,#fff); }
.huolang-family { border-top-color: #2e77a7; background: linear-gradient(135deg,#f1f7fa,#fff); }
.family-heading>span { display: block; color: #798698; font-size: 12px; letter-spacing: 1.8px; margin-bottom: 10px; }
.family-heading h3 { font-size: 28px; line-height: 1.5; font-weight: 600; }
.family-heading>p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.family-products { display: flex; flex: 1; flex-direction: column; margin-top: 20px; }
.family-product { display: grid; grid-template-columns: 1fr 10px; gap: 4px 15px; border-top: 1px solid #dfe5eb; padding: 14px 0; }
.family-product strong { font-size: 18px; font-weight: 500; line-height: 1.5; }
.family-product>span { font-size: 14px; color: #7b8798; }
.family-product>i { grid-column: 2; grid-row: 1/3; width: 6px; height: 6px; background: #a5b1c0; align-self: center; transition: background .2s; }
.family-product:hover strong { color: var(--red); }
.family-product:hover i { background: var(--red); }
.family-bottom { display: flex; gap: 20px; padding-top: 18px; border-top: 1px solid #dfe5eb; color: #7b8798; font-size: 13px; margin-top: auto; }
.secondary-detail { display: inline-block; margin-left: 18px; font-size: 14px; color: #acbbcf; }
.secondary-detail:hover { color: #fff; }
.scenario-details { flex-wrap: wrap; gap: 12px 30px; }
.scenario-details .scenario-note { flex: 0 0 100%; color: #8092ab; font-size: 13px; margin: 0; }

/* The Huolang family uses aligned, uncropped demonstration screenshots. */
.huolang-section { background: #eaf4ff; }
.huolang-section .product-heading-description p { color: var(--muted); }
.huolang-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
.huolang-product { min-width: 0; }
.huolang-product-heading { min-height: 96px; }
.huolang-product-heading h3 { font-size: 24px; line-height: 1.5; margin-bottom: 6px; font-weight: 600; }
.huolang-product-heading p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.huolang-product figure { margin: 0; }
.huolang-product img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; border: 1px solid #dfe5ec; }
.huolang-product figcaption { font-size: 13px; color: #7d8999; padding: 8px 0; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 37px; }
.product-actions .text-link { margin-top: 0; padding-bottom: 4px; font-size: 14px; }
.quiet-link { font-size: 14px; color: #64748a; border-bottom: 1px solid #ccd4dd; padding-bottom: 4px; }
.platform-link { font-size: 14px; color: #fff; padding: 9px 16px; background: #1d506e; }
.platform-link:hover { background: #153d56; }
.agent-preview { display: grid; grid-template-columns: minmax(160px,.65fr) minmax(0,1fr) auto; gap: 30px; align-items: center; border-top: 1px solid #ccd7e2; margin-top: 24px; padding-top: 18px; }
.product-status { font-size: 12px; letter-spacing: .7px; color: #7b8da2; }
.agent-preview h3 { font-size: 23px; font-weight: 500; margin-top: 3px; }
.agent-preview p { color: #6d7b8d; font-size: 14px; line-height: 1.8; }
.agent-preview .text-link { font-size: 14px; margin-top: 0; }
.application-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
.application-strip>div { display: block; }
.application-strip strong { display: block; margin-bottom: 5px; }
.application-strip span { font-size: 13px; }

/* Product overview pages: a clear, usable foundation for the detailed pages. */
.product-page { background: #f7f9fb; }
.product-masthead { color: #fff; background: radial-gradient(ellipse at 80% 30%,#15324d,#080f1b 75%); padding: 145px 0 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: #8b9ab0; font-size: 13px; margin-bottom: 40px; }
.breadcrumbs a:hover { color: #fff; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 64px; align-items: center; }
.detail-copy .eyebrow { color: #a1b7ce; }
.detail-copy h1 { font-size: clamp(30px,3.1vw,52px); line-height: 1.5; letter-spacing: -1px; margin-bottom: 16px; }
.detail-label { font-size: 18px; color: #c8d5e5; }
.detail-description { font-size: 16px; color: #99adc5; line-height: 1.9; margin-top: 20px; max-width: 510px; }
.detail-copy .actions { margin-top: 30px; flex-wrap: wrap; gap: 12px; }
.detail-visual { margin: 0; min-width: 0; }
.detail-visual img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: contain; border: 1px solid #ffffff24; }
.detail-visual figcaption { font-size: 13px; color: #8da3be; margin-top: 12px; }
.detail-direction { padding: 48px 0; }
.detail-direction>.container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.detail-direction h2 { font-size: 28px; font-weight: 500; margin-bottom: 14px; }
.detail-direction .eyebrow { margin-bottom: 12px; }
.detail-direction p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.9; }
.detail-direction ul { margin: 0; padding: 0; list-style: none; }
.detail-direction li { font-size: 17px; padding: 14px 0 14px 20px; border-bottom: 1px solid #dbe1e8; position: relative; }
.detail-direction li:before { content: ''; position: absolute; width: 5px; height: 5px; left: 0; top: 25px; background: var(--red); }
.related-products { padding: 0 0 48px; }
.related-products>.container { border-top: 1px solid #dce3eb; padding-top: 28px; }
.related-products h2 { font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.related-products>.container>div { display: flex; flex-wrap: wrap; gap: 16px 30px; }
.related-products a { font-size: 15px; color: #64738a; border-bottom: 1px solid #c8d1dc; padding-bottom: 4px; }
.related-products a:hover { color: var(--red); }
.agent-visual { border: 1px solid #ffffff24; padding: 30px; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg,#0c2134,#102b40); }
.agent-visual>span { font-size: 12px; letter-spacing: 3px; color: #81a5c5; }
.agent-orbit { border: 1px solid #507395; border-radius: 50%; padding: 20px 44px; margin: 25px 0; transform: rotate(-8deg); }
.agent-orbit>div { text-align: center; font-size: 43px; transform: rotate(8deg); }
.agent-orbit small { display: block; font-size: 14px; color: #8bacc9; margin-top: 4px; }
.agent-visual ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; padding: 0; margin: 0; color: #bed2e3; font-size: 14px; }
.agent-visual>p { margin-top: 20px; font-size: 13px; color: #809bb4; }

@media(min-width:761px) and (max-width:1250px) {
 .header nav { gap: 14px; }
 .header-identity { flex-direction: column; align-items: flex-start; gap: 5px; }
 .header-company { border: 0; padding: 0; font-size: 12px; }
 .family-heading h3 { font-size: 25px; }
 .family-heading>span { letter-spacing: 1px; }
 .family-product strong { font-size: 17px; }
 .detail-layout { gap: 36px; }
}
@media(max-width:999px) {
 .product-family { padding: 24px; }
 .family-heading>span { font-size: 11px; letter-spacing: .5px; }
 .family-heading h3 { font-size: 25px; }
 .family-product strong { font-size: 17px; }
 .family-bottom { gap: 15px; font-size: 12px; }
 .detail-layout { gap: 32px; }
 .detail-copy .button { padding: 12px 16px; font-size: 13px; }
}
@media(max-width:760px) {
 .header nav { max-height: calc(100svh - 108px); overflow-y: auto; }
 .nav-products { width: 100%; }
 .products-toggle { width: 100%; justify-content: space-between; padding: 12px 0; }
 .header nav { background: #fff; color: #152436; padding: 12px 20px 22px; box-shadow: 0 18px 45px #0002; }
 .header nav>a { border-color: #e5ebf2; }
 .product-menu { position: static; transform: none; display: block; width: 100%; max-width: none; padding: 12px 0 0; border: 0; box-shadow: none; background: transparent; }
 .product-menu-top { display: none; }
 .menu-group { margin-bottom: 18px; }
 .menu-group-heading { padding: 2px 0 8px; border-bottom: 1px solid #e4ebf2; }
 .header .menu-product { padding: 10px 0; min-height: 70px; border: 0; gap: 12px; }
 .menu-product-copy>strong { font-size: 14px; }
 .menu-product-copy>small { font-size: 12px; }
 .menu-product-icon { width: 34px; height: 34px; flex-basis: 34px; }
 .menu-product-icon svg { width: 21px; height: 21px; }
 .header .menu-agent { margin: 8px 0 0; padding: 12px; }
 .menu-footnote { display: none; }
 .product-menu-bottom { display: block; padding-bottom: 14px; }
 .product-menu-bottom>p { display: none; }
 .hero .eyebrow { font-size: 10px; letter-spacing: .35px; }
 .hero .button { padding: 13px 15px; font-size: 13px; }
 .family-grid { grid-template-columns: 1fr; gap: 24px; }
 .family-heading>span { font-size: 11px; }
 .family-heading>p { font-size: 14px; }
 .family-product strong { font-size: 17px; }
 .family-product>span { font-size: 13px; }
 .family-bottom { padding-top: 16px; margin-top: 8px; }
 .secondary-detail { display: inline-block; margin-top: 12px; }
 .scenario-details .scenario-note { font-size: 12px; }
 .huolang-grid { grid-template-columns: 1fr; gap: 32px; }
 .huolang-product-heading { min-height: 0; margin-bottom: 18px; }
 .huolang-product-heading h3 { font-size: 23px; }
 .huolang-product-heading p { font-size: 14px; }
 .huolang-product figcaption { font-size: 12px; }
 .product-actions { flex-wrap: wrap; }
 .product-actions .text-link,.quiet-link,.platform-link { font-size: 13px; }
 .agent-preview { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; padding-top: 24px; }
 .agent-preview .text-link { justify-self: start; }
 .agent-preview p { font-size: 14px; }
 .application-strip { grid-template-columns: 1fr; }
 .product-masthead { padding: 145px 0 40px; }
 .breadcrumbs { font-size: 12px; gap: 8px; margin-bottom: 30px; }
 .detail-layout { grid-template-columns: 1fr; gap: 36px; }
 .detail-copy h1 { font-size: 32px; }
 .detail-description { font-size: 15px; }
 .detail-label { font-size: 16px; }
 .detail-direction { padding: 32px 0; }
 .detail-direction>.container { grid-template-columns: 1fr; gap: 20px; }
 .detail-direction h2 { font-size: 25px; }
 .detail-direction p:not(.eyebrow) { font-size: 15px; }
 .detail-direction li { font-size: 16px; }
 .related-products a { font-size: 14px; }
 .agent-visual { min-height: 290px; padding: 25px 15px; }
}
