/* =========================================================
   富源晟科技 · 首页 home.css
   仅 index.html 加载：首屏 Banner、数据条、产品卡、能力卡、案例、合作伙伴
   ========================================================= */

.slider-nav.next { right:30px; }
.slider-nav.prev { left:30px; }
.fx-slice { position:relative; display:block; width:128px; height:100%; overflow:hidden; cursor:pointer; }
.fx-slice::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(6, 10, 18, .15) 0%, rgba(6, 10, 18, 0) 40%, rgba(6, 10, 18, .8) 100%); }
.fx-slice:hover .fx-slice-dot { transform:scaleX(1); }
.fx-slice:hover .fx-slice-img { filter:saturate(1.1) brightness(1); transform:scale(1.08); }
.fx-strip-item:last-child { border-right:none; }
.fx-text { position:absolute; left:78px; right:32px; bottom:0; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .45s ease, visibility .45s ease; }
.fx-text .fx-btns { opacity:0; transform:translateY(26px); }
.fx-text .fx-desc { opacity:0; transform:translateY(26px); }
.fx-text .fx-eyebrow { opacity:0; transform:translateY(26px); }
.fx-text .fx-headline { opacity:0; transform:translateY(26px); }
.fx-text.is-active { opacity:1; visibility:visible; pointer-events:auto; }
.fx-text.is-active .fx-btns { animation:fxRise .9s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay:.5s; }
.fx-text.is-active .fx-desc { animation:fxRise .9s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay:.38s; }
.fx-text.is-active .fx-eyebrow { animation:fxRise .9s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay:.12s; }
.fx-text.is-active .fx-headline { animation:fxRise .9s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay:.24s; }
.fys-cap::before { content:''; position:absolute; left:0; top:-1px; width:100%; height:2px; background:var(--fx-brand); transform:scaleX(0); transform-origin:left; transition:transform .45s cubic-bezier(.25, 1, .5, 1); }
.fys-cap:hover .fys-cap-top i { color:var(--fx-brand); }
.fys-cap:hover::before { transform:scaleX(1); }
.fys-case-body span { flex-shrink:0; font-size:11px; letter-spacing:.16em; color:#c2c6cd; padding-top:4px; }
.fys-case-media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(6, 10, 18, 0) 35%, rgba(6, 10, 18, .78) 100%); }
.fys-logo-text { min-width:0; display:flex; flex-direction:column; gap:5px; }
.fys-marquee-group li:hover .fys-logo-mark { color:var(--fx-brand); }
.fys-marquee-group li:hover .fys-logo-name { color:var(--fx-ink); }
.fys-marquee:focus-within .fys-marquee-track { animation-play-state:paused; }
.fys-partners { background:#fafbfc; overflow:hidden; }
.fys-product-body p { font-size:13px; line-height:1.85; color:var(--fx-muted); margin-bottom:20px; flex:1; }
.fys-product-spec span { font-size:11.5px; color:#8b919c; letter-spacing:.02em; }
.fys-product-spec span b { display:block; font-size:12.5px; font-weight:500; color:var(--fx-ink); margin-top:4px; }
.fys-product:hover .fys-product-more { gap:12px; }
.fys-product:hover .fys-product-num { color:rgba(255, 255, 255, .30); }
@media (max-width: 1240px) {
    .fx-slice { width:108px; }
}
@media (max-width: 1080px) {
    .fx-slice { width:88px; }
    .fys-caps { grid-template-columns:repeat(2, 1fr); }
    .fys-cases { grid-template-columns:repeat(2, 1fr); }
    .fys-products { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .fys-partners-head { flex-direction:column; align-items:flex-start; gap:20px; margin-bottom:28px; }
    .fys-partners-title h2 { font-size:23px; }
}
@media (max-width: 768px) {
    .fx-strip-inner { padding-left:20px; padding-right:20px; grid-template-columns:repeat(2, 1fr); }
    .fx-strip-item:nth-child(2n) { border-right:none; }
    .fys-caps { grid-template-columns:1fr; }
    .fys-cases { grid-template-columns:1fr; }
    .fys-logo-mark { width:28px; height:28px; }
    .fys-logo-name { font-size:13px; }
    .fys-logo-sub { font-size:8.5px; letter-spacing:.08em; }
    .fys-marquee-group li { width:178px; height:88px; margin-right:10px; gap:10px; padding:0 14px; }
    .fys-products { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .fx-text.is-active .fx-btns { animation:none; opacity:1; transform:none; }
    .fx-text.is-active .fx-desc { animation:none; opacity:1; transform:none; }
    .fx-text.is-active .fx-eyebrow { animation:none; opacity:1; transform:none; }
    .fx-text.is-active .fx-headline { animation:none; opacity:1; transform:none; }
    .fys-marquee { overflow-x:auto; }
    .fys-marquee-track { animation:none; }
}
.fx-hero .fx-btn-line { border:1px solid rgba(11, 21, 36, .18); color:var(--lt-ink); background:rgba(255, 255, 255, .6); }
.fx-hero .fx-btn-line:hover { border-color:var(--lt-brand); color:var(--lt-brand); transform:translateY(-2px); }
.fx-hero .fx-hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.fx-hero .fx-hero-tags { margin-top:30px; }
.fx-hero .fx-hero-tags li { color:var(--lt-ink-2); background:rgba(255, 255, 255, .8); border:1px solid rgba(22, 103, 255, .18); font-weight:500; }
.fx-hero .fx-prog.is-active span { background:var(--lt-brand); }
.fx-hero .fx-shot { display:none; position:absolute; right:4.6%; top:50%; transform:translateY(-50%); width:38%; max-width:720px; height:430px; border-radius:22px; overflow:hidden; background:#fff; box-shadow:0 42px 72px -40px rgba(11, 21, 36, .45), 0 0 0 1px rgba(11, 21, 36, .06); z-index:3; }
.fx-hero .fx-shot img { display:block; width:100%; height:100%; object-fit:cover; }
.fx-hero .fx-shot-tag { position:absolute; left:16px; bottom:16px; z-index:2; display:inline-flex; align-items:center; gap:7px; height:34px; padding:0 15px; border-radius:999px; background:rgba(11, 21, 36, .62); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); color:#fff; font-size:12.5px; font-weight:600; letter-spacing:.3px; }
.fx-hero .fx-shot-tag i { color:#7FB6FF; font-size:12px; }
.fys-partners .fys-marquee-group li { border-color:var(--lt-line); }
@media (max-width: 1180px) {
    .fx-hero .fx-shot { width:33%; height:340px; }
}
@media (max-width: 960px) {
    .fx-hero .fx-shot { display:none; }
}
.fx-caption.is-active { opacity:1; transform:none; pointer-events:auto; }
.fx-prog.is-active span { background:#fff; width:46px; }
.fx-prog.is-active:hover span { background:#fff; }
.fx-strip-inner { max-width:1320px; margin:0 auto; padding:0 32px; display:grid; grid-template-columns:repeat(4, 1fr); }
.fx-strip-item { padding:6px 28px; border-right:1px solid var(--fx-line); border-left:1px solid var(--line); }
.fx-strip-item span { display:block; font-size:13.5px; letter-spacing:.18em; color:var(--ink-2); margin-bottom:8px; }
.fx-strip-item strong { font-size:clamp(24px, 3vw, 32px); font-weight:700; color:var(--ink); letter-spacing:-.02em; display:flex; align-items:baseline; gap:6px; margin-top:8px; line-height:1.1; }
.fx-strip-item strong b { font-weight:700; font-variant-numeric:tabular-nums; }
.fx-strip-item strong em { font-style:normal; font-size:13px; color:var(--ink-3); letter-spacing:.04em; font-weight:400; }
.fx-strip-item:first-child { border-left:0; }
.fys-cap { position:relative; padding:30px; border-right:1px solid var(--fx-line); border-bottom:1px solid var(--fx-line); transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; border-color:var(--lt-line); background:#fff; border-radius:var(--radius); border:1px solid var(--line); }
.fys-cap h3 { font-size:17px; font-weight:500; color:var(--fx-ink); margin-bottom:10px; letter-spacing:.01em; }
.fys-cap p { font-size:14px; line-height:1.75; color:var(--ink-2); }
.fys-cap-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.fys-cap-top em { font-style:normal; font-size:13px; letter-spacing:.06em; color:var(--ink-3); font-weight:500; }
.fys-cap-top i { font-size:19px; color:var(--brand); transition:color .3s ease; background:var(--brand-soft); display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:14px; }
.fys-cap:hover { background:#fcfcfd; transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent; }
.fys-caps { display:grid; grid-template-columns:repeat(3, 1fr); border-top:1px solid var(--fx-line); border-left:1px solid var(--fx-line); background:#fff; gap:20px; }
.fys-case { display:block; overflow:hidden; background:#fff; }
.fys-case-body { padding:18px 4px 0; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.fys-case-body h4 { font-size:17px; margin-bottom:6px; transition:color .22s ease; }
.fys-case-body p { font-size:14px; color:var(--ink-2); line-height:1.7; }
.fys-case-media { position:relative; height:260px; overflow:hidden; background:var(--soft); aspect-ratio:4 / 3; border-radius:var(--radius); }
.fys-case-media img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.fys-case-tag { position:absolute; top:16px; left:16px; padding:5px 13px; border-radius:999px; background:rgba(255, 255, 255, .94); backdrop-filter:blur(6px); font-size:12px; font-weight:500; color:var(--ink); }
.fys-case:hover .fys-case-body h4 { color:var(--brand); }
.fys-case:hover .fys-case-media img { transform:scale(1.06); }
.fys-cases { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.fys-logo-mark { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; color:#c2c8d2; transition:color .3s ease; flex-shrink:0; }
.fys-logo-mark svg { width:26px; height:26px; fill:none; stroke:var(--brand); stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; }
.fys-logo-name { font-size:14.5px; font-weight:500; line-height:1.2; letter-spacing:.01em; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition:color .3s ease; display:block; }
.fys-logo-sub { font-size:11px; font-weight:500; line-height:1.3; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; }
.fys-marquee { position:relative; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.fys-marquee-group { display:flex; align-items:center; flex:0 0 auto; margin:0; padding:0; list-style:none; gap:16px; padding-right:16px; }
.fys-marquee-group li { flex:0 0 auto; width:214px; height:104px; margin-right:12px; display:flex; align-items:center; gap:13px; padding:16px 22px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 1px 3px rgba(11, 17, 32, .035); transition:border-color .25s ease, box-shadow .25s ease; min-width:246px; }
.fys-marquee-group li:hover { border-color:#CFDDF5; box-shadow:var(--shadow-sm); transform:translateY(-3px); }
.fys-marquee-track { display:flex; width:max-content; animation:fys-marquee 46s linear infinite; }
.fys-marquee:hover .fys-marquee-track { animation-play-state:paused; }
.fys-partners-head { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:36px; }
.fys-partners-more { display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; padding:11px 22px; font-size:14.5px; font-weight:500; color:var(--brand); background:#fff; border:1px solid #e7e9ee; border-radius:999px; box-shadow:0 3px 14px rgba(11, 17, 32, .06); transition:border-color .22s ease; padding-bottom:2px; border-bottom:1px solid transparent; white-space:nowrap; }
.fys-partners-more i { font-size:12px; transition:transform .22s ease; }
.fys-partners-more:hover { color:var(--fx-brand); border-color:var(--brand); box-shadow:0 8px 22px rgba(11, 17, 32, .1); transform:translateY(-2px); text-decoration:none; }
.fys-partners-more:hover i { transform:translateX(4px); }
.fys-partners-title { max-width:640px; }
.fys-partners-title h2 { margin:10px 0 12px; font-size:clamp(26px, 3vw, 38px); font-weight:500; line-height:1.25; letter-spacing:.01em; color:var(--fx-ink); }
.fys-partners-title p { margin:0; font-size:15.5px; line-height:1.8; color:var(--ink-2); max-width:620px; margin-top:14px; }
.fys-product { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; border-color:var(--lt-line); border-radius:var(--radius); overflow:hidden; }
.fys-product-body { padding:26px 26px 28px; display:flex; flex-direction:column; flex:1; gap:10px; }
.fys-product-body > p { font-size:14px; color:var(--ink-2); line-height:1.7; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; min-height:48px; }
.fys-product-body h3 { font-size:20px; font-weight:500; color:var(--fx-ink); margin-bottom:12px; letter-spacing:.01em; }
.fys-product-cat { font-size:12px; letter-spacing:.06em; color:var(--brand); margin-bottom:12px; text-transform:uppercase; }
.fys-product-chips { display:flex; flex-wrap:wrap; gap:6px; margin:18px 0 16px; padding:0; list-style:none; }
.fys-product-chips li { font-size:12px; line-height:1.4; color:var(--ink-2); padding:4px 10px; background:var(--soft); border:1px solid #EDF3FB; letter-spacing:.02em; transition:color .2s ease, border-color .2s ease, background .2s ease; border-radius:6px; }
.fys-product-media { position:relative; height:236px; background:#eef0f3; display:flex; align-items:center; justify-content:center; overflow:hidden; aspect-ratio:4 / 3; padding:0; }
.fys-product-media img { width:100%; height:100%; object-fit:contain; transition:transform .45s ease; }
.fys-product-more { display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:500; color:var(--brand); padding-top:8px; border-top:1px solid var(--fx-line); margin-top:auto; width:100%; transition:gap .25s ease; }
.fys-product-more i { font-size:11px; transition:transform .22s ease; }
.fys-product-num { position:absolute; right:20px; bottom:10px; font-size:44px; font-weight:700; line-height:1; letter-spacing:-.04em; color:rgba(11, 21, 36, .10); transition:color .4s ease; top:12px; pointer-events:none; }
.fys-product-spec { display:flex; gap:26px; flex-wrap:wrap; padding-top:16px; border-top:1px dashed var(--line); padding:14px 0; margin:2px 0; border-bottom:1px dashed var(--line); font-size:12.5px; color:var(--ink-3); }
.fys-product-spec b { display:block; margin-top:3px; font-size:14px; font-weight:600; color:var(--ink); }
.fys-product-tag { position:absolute; left:16px; top:16px; padding:4px 11px; background:rgba(255, 255, 255, .94); color:var(--brand); font-size:12px; letter-spacing:.16em; border-radius:999px; font-weight:500; box-shadow:0 2px 10px rgba(11, 21, 36, .12); }
.fys-product:hover { border-color:transparent; transform:translateY(-5px); box-shadow:var(--shadow); }
.fys-product:hover .fys-product-media img { transform:scale(1.04); }
.fys-product:hover .fys-product-more i { transform:translateX(4px); }
.fys-products { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.fys-sec--tight { padding:72px 0; }
@media (max-width: 960px) {
    .fx-strip-inner { grid-template-columns:repeat(2, 1fr); row-gap:12px; }
    .fx-strip-item:nth-child(3) { border-left:0; }
    .fys-caps { grid-template-columns:repeat(2, 1fr); }
    .fys-cases { grid-template-columns:repeat(2, 1fr); }
    .fys-products { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .fx-strip-item { padding:8px 16px; }
    .fx-strip-item strong { font-size:22px; }
    .fys-caps { grid-template-columns:1fr; }
    .fys-case-media { aspect-ratio:16 / 11; }
    .fys-cases { grid-template-columns:1fr; }
    .fys-product-media { height:190px; }
    .fys-products { grid-template-columns:1fr; }
}
.fx-arrow { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; border:1px solid rgba(255, 255, 255, .3); border-radius:50%; background:rgba(255, 255, 255, .14); color:#fff; font-size:13px; line-height:1; cursor:pointer; transition:background .22s ease, border-color .22s ease, transform .18s ease; }
.fx-arrow i { pointer-events:none; }
.fx-arrow.next i { margin-left:1px; }
.fx-arrow.prev i { margin-right:1px; }
.fx-arrow:active { transform:scale(.92); }
.fx-arrow:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.fx-arrow:hover { background:var(--brand); border-color:var(--brand); transform:translateY(-1px); }
.fx-arrows { display:flex; align-items:center; gap:8px; }
.fx-controls { position:absolute; left:0; right:0; bottom:92px; z-index:4; display:flex; justify-content:center; pointer-events:none; }
.fx-counter { font-size:12px; letter-spacing:.1em; color:rgba(255, 255, 255, .7); font-variant-numeric:tabular-nums; white-space:nowrap; user-select:none; }
.fx-counter b { font-size:17px; font-weight:700; color:#fff; margin-right:2px; }
.fx-hero { position:relative; margin-top:var(--hdr); display:block; aspect-ratio:15 / 5; height:auto; min-height:0; max-height:820px; background:var(--deep); overflow:hidden; isolation:isolate; }
.fx-hero .fx-media { filter:none; background-image:none; background-size:auto; }
.fx-hero .fx-slide .fx-media { filter:none; background-image:none; background-size:auto; }
.fx-hero .fx-slide[data-slide="2"] .fx-media { filter:none; background-image:none; background-size:auto; }
.fx-hero::after { content:''; position:absolute; left:0; right:0; bottom:0; height:90px; z-index:3; pointer-events:none; background:linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 100%); }
.fx-inner { display:flex; align-items:center; gap:18px; padding:9px 16px; border-radius:999px; background:rgba(8, 21, 39, .42); -webkit-backdrop-filter:blur(8px) saturate(1.2); backdrop-filter:blur(8px) saturate(1.2); border:1px solid rgba(255, 255, 255, .2); box-shadow:0 8px 24px -12px rgba(8, 21, 39, .5); pointer-events:auto; }
.fx-media { position:absolute; inset:0; display:block; margin:0; padding:0; overflow:hidden; background:none; transform:none; transition:none; }
.fx-media img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center center; filter:none; }
.fx-no-anim .fx-media { transition:none !important; }
.fx-no-anim .fx-slide { transition:none !important; }
.fx-prog { position:relative; width:40px; height:3px; padding:0; border:0; border-radius:999px; background:rgba(255, 255, 255, .3); overflow:hidden; cursor:pointer; transition:width .3s cubic-bezier(.4, 0, .2, 1), background .25s ease; }
.fx-prog span { position:absolute; top:0; bottom:0; left:0; width:0; background:var(--brand); border-radius:inherit; }
.fx-prog.is-active { width:64px; }
.fx-prog:hover { background:rgba(255, 255, 255, .5); }
.fx-progress { display:flex; align-items:center; gap:8px; }
.fx-slide { position:absolute; inset:0; opacity:0; z-index:1; transform:translateX(100%); transition:transform .65s cubic-bezier(.4, 0, .2, 1); will-change:transform; }
.fx-slide.is-active { opacity:1; z-index:2; transform:translateX(0); }
.fx-slide:first-child { transform:translateX(0); }
.fx-strip { position:relative; z-index:5; width:min(1200px, calc(100% - 48px)); margin:-56px auto 0; padding:28px 8px; background:#fff; border:1px solid var(--fx-line); border-radius:20px; box-shadow:var(--shadow); }
.fx-veil { position:absolute; inset:0; z-index:2; pointer-events:none; background:linear-gradient(180deg, rgba(9, 20, 38, .12) 0%, rgba(9, 20, 38, .03) 32%, rgba(9, 20, 38, 0) 60%); }
.fx-veil::before { content:none; }
body.fx-flat .fx-hero { max-height:700px; }
body.fx-nohero .fx-hero { display:none; }
body.fx-nohero .fx-strip { margin-top:calc(var(--hdr) + 24px); }
@media (max-width: 1240px) {
    .fx-hero { max-height:620px; }
}
@media (max-width: 1024px) {
    .fx-controls { bottom:78px; }
    .fx-hero { aspect-ratio:2 / 1; max-height:560px; }
    .fx-strip { margin-top:-44px; padding:22px 4px; border-radius:18px; }
}
@media (max-width: 768px) {
    .fx-arrow { width:36px; height:36px; font-size:12px; }
    .fx-controls { bottom:58px; }
    .fx-counter { font-size:11px; letter-spacing:.06em; }
    .fx-counter b { font-size:15px; }
    .fx-hero { aspect-ratio:3 / 2; max-height:560px; }
    .fx-hero::after { height:64px; }
    .fx-inner { gap:12px; padding:7px 12px; }
    .fx-media img { object-position:7% center; }
    .fx-prog { width:26px; }
    .fx-prog.is-active { width:46px; }
    .fx-progress { gap:6px; }
    .fx-strip { width:calc(100% - 40px); margin-top:-36px; padding:18px 4px; border-radius:16px; }
}
@media (max-width: 520px) {
    .fx-hero { min-height:340px; }
}
@media (min-width: 2300px) {
    .fx-hero { aspect-ratio:auto; height:820px; }
}
@media (prefers-reduced-motion: reduce) {
    .fx-media { transition:none; transform:none; }
    .fx-slide { transition:none; }
}
