:root {
    --fd-blue: #2879f5;
    --fd-blue-deep: #1558cf;
    --fd-navy: #082657;
    --fd-ink: #13233f;
    --fd-muted: #6f8099;
    --fd-line: #dce7f5;
    --fd-soft: #f3f7fd;
    --fd-cyan: #44d6e8;
    --fd-orange: #ff9d2e;
    --fd-shadow: 0 24px 70px rgba(16, 65, 143, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wx-feature-detail { min-width: 320px; overflow-x: clip; color: var(--fd-ink); background: #fff; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.wx-feature-detail a { text-decoration: none; }
.fd-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.fd-nav-toggle { display: none; }

/* Shared database navigation */
.wx-feature-detail #nav { position: sticky; z-index: 1500; top: 0; height: 78px; color: #2a3b55; background: rgba(255,255,255,.98) !important; box-shadow: 0 8px 28px rgba(11,48,104,.09); }
.wx-feature-detail #nav .pull-left img { filter: none; }
.wx-feature-detail #nav .pull-right > .item,
.wx-feature-detail #nav .wx-product-trigger,
.wx-feature-detail #nav .wx-function-trigger,
.wx-feature-detail #nav .wx-content-trigger { color: #2a3b55 !important; }
.wx-feature-detail #nav .pull-right > .item.is-current { color: var(--fd-blue) !important; }
.wx-feature-detail #nav .pull-right > .item.is-current::after { content: ""; position: absolute; right: 0; bottom: 11px; left: 0; height: 3px; border-radius: 3px; background: var(--fd-blue); }
.wx-feature-detail #nav .demoCenter { color: #fff; border-color: var(--fd-blue); background: var(--fd-blue); }
.wx-feature-detail #nav .demoCenter.download { border-color: #cfe0f8; background: #f4f8fe; }
.wx-feature-detail #nav .demoCenter.download a { color: var(--fd-blue) !important; }

/* Hero */
.fd-hero { position: relative; min-height: 560px; overflow: hidden; color: #fff; background: radial-gradient(circle at 84% 12%, rgba(76,183,255,.58), transparent 29%), radial-gradient(circle at 12% 100%, rgba(39,121,245,.54), transparent 35%), linear-gradient(120deg,#071e47 0%,#0e4bb5 56%,#2787f5 100%); }
.fd-hero::before { content: ""; position: absolute; top: -340px; right: -130px; width: 720px; height: 720px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 95px rgba(255,255,255,.025), 0 0 0 190px rgba(255,255,255,.018); }
.fd-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.8fr); gap: 86px; align-items: center; min-height: 560px; padding: 58px 0 76px; }
.fd-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; color: rgba(223,241,255,.66); font-size: 13px; }
.fd-breadcrumb a { color: rgba(236,247,255,.82); }
.fd-breadcrumb b { color: #fff; font-weight: 500; }
.fd-kicker { display: inline-flex; align-items: center; gap: 12px; color: #bfe3ff; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.fd-kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--fd-orange); }
.fd-hero h1 { margin: 20px 0 19px; color: #fff; font-size: clamp(48px,5.5vw,72px); line-height: 1.15; letter-spacing: -.045em; }
.fd-hero-copy > p { max-width: 660px; margin: 0; color: rgba(232,245,255,.84); font-size: 17px; line-height: 1.9; }
.fd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 31px; }
.fd-button { display: inline-flex; min-width: 154px; height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid rgba(255,255,255,.32); border-radius: 9px; color: #fff; font-size: 15px; font-weight: 700; transition: transform .2s ease, filter .2s ease; }
.fd-button:hover { color: #fff; filter: brightness(1.04); transform: translateY(-2px); }
.fd-button--primary { border-color: var(--fd-orange); background: var(--fd-orange); box-shadow: 0 13px 30px rgba(255,157,46,.22); }
.fd-button--ghost { background: rgba(255,255,255,.07); }
.fd-hero-visual { position: relative; min-height: 390px; }
.fd-icon-orbit { position: absolute; top: 25px; right: 45px; display: flex; width: 300px; height: 300px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.02); }
.fd-icon-orbit::before,.fd-icon-orbit::after { content: ""; position: absolute; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 50%; background: var(--fd-cyan); box-shadow: 0 6px 18px rgba(3,24,65,.35); }
.fd-icon-orbit::before { top: 19px; right: 48px; }
.fd-icon-orbit::after { bottom: 12px; left: 62px; background: var(--fd-orange); }
.fd-icon-orbit i { display: flex; width: 148px; height: 148px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.4); border-radius: 34px; color: var(--fd-blue); background: #fff; font-size: 73px; box-shadow: 0 30px 65px rgba(4,31,83,.32); transform: rotate(-4deg); }
.fd-data-card { position: absolute; z-index: 2; min-width: 150px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.42); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 18px 42px rgba(4,31,83,.22); }
.fd-data-card small { display: block; color: #7f8da1; font-size: 12px; }
.fd-data-card strong { display: block; margin-top: 7px; color: var(--fd-blue); font-size: 20px; }
.fd-data-card--one { top: 0; left: 0; }
.fd-data-card--two { right: 0; bottom: 18px; }
.fd-link-line { position: absolute; top: 80px; bottom: 68px; left: 98px; width: 1px; border-left: 1px dashed rgba(255,255,255,.34); transform: rotate(-46deg); transform-origin: bottom; }

/* Database-managed content */
.fd-section { padding: 110px 0; background: #fff; }
.fd-intro { max-width: 820px; margin-bottom: 50px; }
.fd-intro > span,.fd-flow > div > span,.fd-value > div > span,.fd-siblings header span,.fd-cta span { color: var(--fd-blue); font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.fd-intro h2,.fd-flow h2,.fd-value h2,.fd-siblings h2,.fd-cta h2 { margin: 14px 0 14px; color: var(--fd-ink); font-size: clamp(30px,3.3vw,44px); line-height: 1.35; letter-spacing: -.035em; }
.fd-intro p,.fd-flow > div > p { margin: 0; color: var(--fd-muted); font-size: 16px; line-height: 1.9; }
.fd-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.fd-feature-grid article { position: relative; min-height: 210px; overflow: hidden; padding: 34px 36px; border: 1px solid var(--fd-line); border-radius: 17px; background: linear-gradient(145deg,#fff 0%,#f5f9ff 100%); transition: border .2s ease, transform .2s ease, box-shadow .2s ease; }
.fd-feature-grid article:hover { border-color: #a9caf8; box-shadow: 0 20px 45px rgba(24,81,165,.1); transform: translateY(-3px); }
.fd-feature-grid article::after { content: ""; position: absolute; top: -48px; right: -48px; width: 135px; height: 135px; border: 1px solid #d9e9fd; border-radius: 50%; box-shadow: 0 0 0 22px #f4f8fe; }
.fd-feature-grid article > span { position: relative; z-index: 2; color: var(--fd-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.fd-feature-grid h3 { position: relative; z-index: 2; margin: 23px 0 12px; color: var(--fd-ink); font-size: 23px; }
.fd-feature-grid p { position: relative; z-index: 2; max-width: 480px; margin: 0; color: var(--fd-muted); font-size: 15px; line-height: 1.8; }
.fd-flow { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 80px; align-items: start; margin-top: 100px; padding: 60px; border-radius: 22px; color: #fff; background: linear-gradient(130deg,#082858,#0f55c5 68%,#287ff1); box-shadow: var(--fd-shadow); }
.fd-flow > div > span { color: #7edff1; }
.fd-flow h2 { color: #fff; font-size: 34px; }
.fd-flow > div > p { color: rgba(231,244,255,.74); }
.fd-flow ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fd-flow li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.07); }
.fd-flow li b { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 11px; color: #fff; background: rgba(87,196,255,.2); font-size: 12px; }
.fd-flow li strong { display: block; color: #fff; font-size: 16px; }
.fd-flow li span { display: block; margin-top: 5px; color: rgba(231,244,255,.68); font-size: 13px; }
.fd-value { display: grid; grid-template-columns: minmax(340px,.8fr) minmax(0,1.2fr); gap: 86px; align-items: center; margin-top: 100px; }
.fd-value ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin: 0; padding: 0; list-style: none; }
.fd-value li { position: relative; min-height: 108px; padding: 28px 25px 25px 58px; border: 1px solid var(--fd-line); border-radius: 15px; color: #52637c; background: #fff; font-size: 15px; line-height: 1.75; box-shadow: 0 12px 32px rgba(27,73,137,.06); }
.fd-value li::before { content: "✓"; position: absolute; top: 28px; left: 24px; display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--fd-blue); font-size: 12px; }
.fd-empty { padding: 80px 30px; border: 1px dashed #bdd3f1; border-radius: 18px; text-align: center; background: var(--fd-soft); }
.fd-empty h2 { margin: 0 0 12px; color: var(--fd-ink); font-size: 30px; }
.fd-empty p { margin: 0; color: var(--fd-muted); }

/* Sibling functions */
.fd-siblings { padding: 105px 0; background: linear-gradient(180deg,#f6f9fe,#edf4fd); }
.fd-siblings header { max-width: 760px; margin: 0 auto 45px; text-align: center; }
.fd-sibling-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.fd-sibling-grid a { display: flex; min-height: 235px; flex-direction: column; padding: 28px; border: 1px solid #d9e6f6; border-radius: 17px; color: var(--fd-ink); background: rgba(255,255,255,.94); box-shadow: 0 14px 35px rgba(23,67,132,.07); transition: transform .2s ease, border .2s ease; }
.fd-sibling-grid a:hover,.fd-sibling-grid a.is-current { border-color: #8dbbf8; transform: translateY(-3px); }
.fd-sibling-grid a.is-current { background: linear-gradient(145deg,#fff,#e9f3ff); }
.fd-sibling-grid i { color: var(--fd-blue); font-size: 34px; }
.fd-sibling-grid strong { margin-top: 22px; color: var(--fd-ink); font-size: 19px; }
.fd-sibling-grid span { flex: 1; margin-top: 10px; color: var(--fd-muted); font-size: 13px; line-height: 1.7; }
.fd-sibling-grid b { margin-top: 20px; color: var(--fd-blue); font-size: 13px; }

/* CTA */
.fd-cta { padding: 94px 0; color: #fff; background: #071e43; }
.fd-cta > .fd-container { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 50px; align-items: center; }
.fd-cta span { color: #6bdcf0; }
.fd-cta h2 { margin-bottom: 10px; color: #fff; font-size: 34px; }
.fd-cta p { margin: 0; color: rgba(229,242,255,.7); font-size: 15px; }
.fd-cta nav { display: flex; gap: 13px; }
.fd-back-top { position: fixed; z-index: 1200; right: 24px; bottom: 28px; display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 12px; color: #fff; background: var(--fd-blue); box-shadow: 0 12px 28px rgba(31,109,229,.28); cursor: pointer; }

@media (max-width: 1100px) {
    .fd-hero-grid { grid-template-columns: minmax(0,1fr) 390px; gap: 45px; }
    .fd-sibling-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
    .fd-nav-toggle { position: absolute; top: 21px; right: 22px; display: block; width: 38px; height: 34px; border: 0; background: transparent; }
    .fd-nav-toggle::before,.fd-nav-toggle::after,.fd-nav-toggle span { content: ""; position: absolute; right: 6px; left: 6px; height: 2px; border-radius: 2px; background: #24518e; transition: transform .2s ease, top .2s ease, opacity .2s ease; }
    .fd-nav-toggle::before { top: 8px; }.fd-nav-toggle span { top: 16px; }.fd-nav-toggle::after { top: 24px; }
    .wx-feature-detail #nav.fd-menu-open .fd-nav-toggle::before { top: 16px; transform: rotate(45deg); }
    .wx-feature-detail #nav.fd-menu-open .fd-nav-toggle::after { top: 16px; transform: rotate(-45deg); }
    .wx-feature-detail #nav.fd-menu-open .fd-nav-toggle span { opacity: 0; }
    .wx-feature-detail #nav .pull-right { display: none; }
    .wx-feature-detail #nav.fd-menu-open { height: auto; min-height: 78px; }
    .wx-feature-detail #nav.fd-menu-open .pull-right { display: flex; height: auto; max-height: calc(100vh - 78px); flex-direction: column; overflow-y: auto; padding: 80px 24px 22px; background: #fff; }
    .wx-feature-detail #nav.fd-menu-open .pull-right > .item { min-height: 46px; color: #263c5e !important; }
    .wx-feature-detail #nav.fd-menu-open .demoCenter { width: 100%; margin: 7px 0 0; }
    .fd-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 60px; }
    .fd-hero-copy { max-width: 720px; }
    .fd-hero-visual { min-height: 350px; }
    .fd-flow,.fd-value { grid-template-columns: 1fr; gap: 42px; }
    .fd-sibling-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .fd-cta > .fd-container { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .fd-container { width: min(100% - 30px,1200px); }
    .fd-hero { min-height: 0; }
    .fd-hero-grid { gap: 20px; padding: 42px 0 58px; }
    .fd-breadcrumb { margin-bottom: 26px; }
    .fd-hero h1 { font-size: 43px; }
    .fd-hero-copy > p { font-size: 15px; }
    .fd-actions,.fd-cta nav { align-items: stretch; flex-direction: column; }
    .fd-button { width: 100%; }
    .fd-hero-visual { min-height: 300px; transform: scale(.88); transform-origin: center; }
    .fd-icon-orbit { right: 50%; margin-right: -150px; }
    .fd-data-card--one { left: 2px; }.fd-data-card--two { right: 2px; }
    .fd-section,.fd-siblings { padding: 76px 0; }
    .fd-feature-grid,.fd-value ul,.fd-sibling-grid { grid-template-columns: 1fr; }
    .fd-feature-grid article { min-height: 190px; padding: 29px 27px; }
    .fd-flow { margin-top: 72px; padding: 34px 24px; }
    .fd-flow h2,.fd-cta h2 { font-size: 29px; }
    .fd-value { margin-top: 72px; }
    .fd-sibling-grid a { min-height: 205px; }
    .fd-cta { padding: 72px 0; }
    .fd-back-top { right: 15px; bottom: 18px; }
}
