:root {
    --dft-primary: #4f46e5; --dft-primary-2: #6366f1; --dft-accent: #06b6d4;
    --dft-ink: #0f172a; --dft-ink-2: #475569; --dft-ink-3: #8ea0b8;
    --dft-line: #e5eaf3; --dft-bg: #ffffff; --dft-bg-page: #f6f8fd;
    --dft-dark: #0f172a; --dft-radius: 18px; --dft-shadow: 0 18px 44px rgba(30, 41, 82, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
.dft-body { font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--dft-ink); background: var(--dft-bg-page); -webkit-font-smoothing: antialiased; }
.dft-body a { text-decoration: none; color: inherit; }
.dft-body button, .dft-body input { font: inherit; }
.dft-body img { display: block; max-width: 100%; }
.dft-body :focus-visible { outline: 3px solid #a5b4fc; outline-offset: 3px; }
.dft-shell { max-width: 1210px; padding: 0 30px; margin: 0 auto; }

/* ===== 顶栏 ===== */
.dft-topbar { position: sticky; top: 0; z-index: 1200; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--dft-line); }
.dft-topbar.scrolled { box-shadow: 0 8px 26px rgba(30, 41, 82, .07); }
.dft-topbar-inner { height: 76px; display: flex; align-items: center; gap: 26px; }
.dft-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; color: var(--dft-ink); min-width: 0; overflow-wrap: anywhere; }
.dft-brand img { width: 32px; height: 32px; object-fit: contain; flex: none; }
.dft-nav { margin-left: auto; display: flex; align-items: center; gap: 3px; }
.dft-nav a { color: var(--dft-ink-2); padding: 8px 13px; font-size: 13px; border-radius: 9px; white-space: nowrap; transition: color .18s, background .18s; }
.dft-nav a:hover { color: var(--dft-primary); background: #eef0fd; }
.dft-top-ops { display: flex; gap: 10px; flex: none; align-items: center; }
.dft-small-button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; font-size: 13px; font-weight: 600; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--dft-primary), var(--dft-primary-2)); box-shadow: 0 6px 16px rgba(79, 70, 229, .28); transition: transform .18s, box-shadow .18s; white-space: nowrap; }
.dft-small-button span { font-size: 15px; }
.dft-small-button:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(79, 70, 229, .36); }
.dft-small-button.dft-ghost { background: #fff; color: var(--dft-primary); border: 1px solid #c7d2fe; box-shadow: none; }
.dft-small-button.dft-ghost:hover { background: #f3f4ff; }
.dft-menu-btn { display: none; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--dft-line); border-radius: 10px; background: #fff; cursor: pointer; flex: none; }
.dft-menu-btn i { display: block; width: 18px; height: 2px; background: var(--dft-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.dft-menu-btn[aria-expanded=true] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dft-menu-btn[aria-expanded=true] i:nth-child(2) { opacity: 0; }
.dft-menu-btn[aria-expanded=true] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.dft-nav-mask { position: fixed; inset: 0; z-index: 1100; background: rgba(15, 23, 42, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.dft-nav-mask.show { opacity: 1; pointer-events: auto; }

/* ===== Hero ===== */
.dft-hero { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 72px; background: linear-gradient(180deg, #eef1fd 0%, var(--dft-bg-page) 100%); }
.dft-hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.dft-glow-a { width: 480px; height: 480px; top: -180px; right: -80px; background: rgba(99, 102, 241, .22); }
.dft-glow-b { width: 420px; height: 420px; bottom: -200px; left: -100px; background: rgba(6, 182, 212, .16); }
.dft-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.dft-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: 2.2px; color: var(--dft-primary); }
.dft-eyebrow i { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--dft-primary), var(--dft-accent)); }
.dft-hero-copy h1 { margin-top: 20px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.34; letter-spacing: -1.3px; font-weight: 800; color: var(--dft-ink); overflow-wrap: anywhere; }
.dft-hero-copy h1 em { font-style: normal; color: var(--dft-primary); }
.dft-hl { position: relative; color: var(--dft-primary); }
.dft-hl:after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 9px; background: linear-gradient(90deg, rgba(99, 102, 241, .25), rgba(6, 182, 212, .22)); border-radius: 4px; z-index: -1; }
.dft-hero-copy > p { margin-top: 20px; font-size: 15px; line-height: 1.9; color: var(--dft-ink-2); }
.dft-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.dft-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; padding: 14px 28px; font-size: 14px; font-weight: 650; border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s; }
.dft-button span { font-size: 16px; }
.dft-button:hover { transform: translateY(-2px); }
.dft-primary { color: #fff; background: linear-gradient(135deg, var(--dft-primary), var(--dft-primary-2)); box-shadow: 0 10px 26px rgba(79, 70, 229, .32); }
.dft-primary:hover { box-shadow: 0 14px 32px rgba(79, 70, 229, .42); }
.dft-outline { color: var(--dft-primary); background: #fff; border-color: #c7d2fe; }
.dft-outline:hover { background: #f3f4ff; }
.dft-white { color: var(--dft-primary); background: #fff; }
.dft-white:hover { background: #f4f5ff; }
.dft-trust { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 26px; }
.dft-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--dft-ink-2); }
.dft-trust i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e5faf1; color: #0d9f6e; font-size: 10px; font-style: normal; font-weight: 800; }
.dft-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.dft-visual-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(99, 102, 241, .35); pointer-events: none; }
.dft-ring-1 { width: 330px; height: 330px; animation: dft-spin 46s linear infinite; }
.dft-ring-2 { width: 420px; height: 420px; border-color: rgba(6, 182, 212, .25); animation: dft-spin 60s linear infinite reverse; }
@keyframes dft-spin { to { transform: rotate(360deg); } }
.dft-license-card { position: relative; width: min(400px, 100%); padding: 26px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border: 1px solid #e6e9fb; border-radius: 22px; box-shadow: var(--dft-shadow); }
.dft-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--dft-line); }
.dft-card-kicker { font-size: 9px; letter-spacing: 1.6px; color: var(--dft-ink-3); font-weight: 700; }
.dft-card-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--dft-primary); font-weight: 650; }
.dft-card-live i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .14); }
.dft-card-symbol { display: grid; place-items: center; width: 56px; height: 56px; margin: 20px 0 14px; border-radius: 16px; background: linear-gradient(135deg, #eef0fd, #e4f7fb); }
.dft-card-symbol img { width: 28px; height: 28px; }
.dft-license-card h2 { font-size: 21px; font-weight: 750; }
.dft-license-card > p { margin-top: 6px; font-size: 12px; color: var(--dft-ink-3); }
.dft-card-targets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dft-card-targets span { font-size: 11px; color: var(--dft-primary); background: #eef0fd; border: 1px solid #dfe3fc; padding: 5px 11px; border-radius: 8px; }
.dft-card-rows { display: grid; gap: 11px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dft-line); }
.dft-card-rows div { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; }
.dft-card-rows span { color: var(--dft-ink-3); flex: none; }
.dft-card-rows b { color: var(--dft-ink); font-weight: 600; text-align: right; }
.dft-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--dft-line); font-size: 11px; color: var(--dft-ink-3); }
.dft-card-bottom b { font-size: 17px; color: var(--dft-primary); }
.dft-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid #e6e9fb; border-radius: 14px; box-shadow: 0 12px 30px rgba(30, 41, 82, .12); }
.dft-float > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #eef0fd, #e4f7fb); color: var(--dft-primary); font-weight: 800; font-size: 12px; }
.dft-float strong { display: block; font-size: 12px; color: var(--dft-ink); }
.dft-float small { display: block; margin-top: 2px; font-size: 10px; color: var(--dft-ink-3); }
.dft-float-a { top: 12%; left: -12px; animation: dft-float 5s ease-in-out infinite; }
.dft-float-b { bottom: 10%; right: -10px; animation: dft-float 6s ease-in-out infinite reverse; }
@keyframes dft-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ===== 查询区 ===== */
.dft-query-wrap { padding: 62px 0; }
.dft-query-card { position: relative; padding: 30px 34px; background: #fff; border: 1px solid var(--dft-line); border-radius: 20px; box-shadow: 0 16px 40px rgba(30, 41, 82, .07); display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px 34px; align-items: center; }
.dft-query-heading { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.dft-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: linear-gradient(135deg, #eef0fd, #e4f7fb); }
.dft-icon img { width: 22px; height: 22px; }
.dft-query-heading h2 { font-size: 20px; font-weight: 750; }
.dft-query-heading p { margin-top: 5px; font-size: 12px; color: var(--dft-ink-3); }
.dft-query-form { display: flex; gap: 9px; min-width: 0; }
.dft-query-form input { flex: 1; min-width: 0; height: 50px; background: #f6f8fd; border: 1px solid #e2e7f5; border-radius: 11px; padding: 0 16px; font-size: 13px !important; color: var(--dft-ink); }
.dft-query-form input:focus { outline: 2px solid #a5b4fc; outline-offset: 1px; background: #fff; }
.dft-query-form input::placeholder { color: #9aa8bf; }
.dft-query-form button { display: inline-flex; align-items: center; gap: 8px; height: 50px; border: 0; border-radius: 11px; padding: 0 24px; background: linear-gradient(135deg, var(--dft-primary), var(--dft-primary-2)); color: #fff; font-size: 13px !important; font-weight: 650; cursor: pointer; white-space: nowrap; box-shadow: 0 8px 20px rgba(79, 70, 229, .3); transition: transform .18s; }
.dft-query-form button:hover { transform: translateY(-1px); }
.dft-query-result { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; padding: 14px 18px; border-radius: 11px; overflow-wrap: anywhere; }
.dft-query-result img { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.dft-query-result strong { display: block; font-size: 13px; }
.dft-query-result small { display: block; margin-top: 4px; font-size: 12px; }
.dft-result-ok { background: #eefaf3; color: #147a52; }
.dft-result-warn { background: #fff8e8; color: #93631c; }
.dft-result-bad { background: #fff0ee; color: #b04339; }
.dft-query-note { grid-column: 1 / -1; font-size: 11px; color: var(--dft-ink-3); }

/* ===== 通用区块 ===== */
.dft-section { padding: 84px 0; }
.dft-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 38px; }
.dft-section-head h2 { margin-top: 12px; font-size: 29px; font-weight: 800; letter-spacing: -.6px; }
.dft-section-head > p { max-width: 280px; font-size: 13px; line-height: 1.85; color: var(--dft-ink-2); }
.dft-benefits { background: #fff; }
.dft-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dft-feature-grid article { position: relative; padding: 26px 24px 22px; background: var(--dft-bg-page); border: 1px solid var(--dft-line); border-radius: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.dft-feature-grid article:hover { transform: translateY(-4px); box-shadow: var(--dft-shadow); border-color: #c7d2fe; }
.dft-feature-grid .dft-icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 15px; }
.dft-feature-grid h3 { font-size: 15px; font-weight: 700; }
.dft-feature-grid p { margin-top: 8px; font-size: 12px; line-height: 1.85; color: var(--dft-ink-2); }
.dft-feature-no { position: absolute; right: 18px; top: 16px; font: 700 22px/1 "Segoe UI", sans-serif; color: #d8defa; }

/* ===== 流程 ===== */
.dft-steps { background: var(--dft-bg-page); }
.dft-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: none; }
.dft-step { position: relative; padding: 28px 30px 26px; background: #fff; border: 1px solid var(--dft-line); border-radius: 16px; }
.dft-step:not(:last-child):after { content: ""; position: absolute; right: -31px; top: 50%; width: 22px; height: 2px; background: linear-gradient(90deg, #c7d2fe, #e4f7fb); }
.dft-step-no { display: inline-block; font: 800 15px/1 "Segoe UI", sans-serif; color: #fff; background: linear-gradient(135deg, var(--dft-primary), var(--dft-primary-2)); border-radius: 8px; padding: 7px 11px; margin-bottom: 17px; }
.dft-step h3 { font-size: 17px; font-weight: 700; }
.dft-step p { margin-top: 8px; font-size: 12px; line-height: 1.85; color: var(--dft-ink-2); }

/* ===== CTA ===== */
.dft-cta { padding: 0; background: linear-gradient(120deg, #1e1b4b 0%, #312e81 45%, #155e75 100%); position: relative; overflow: hidden; }
.dft-cta-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.dft-dot-1 { width: 340px; height: 340px; right: -110px; top: -160px; background: radial-gradient(circle, rgba(129, 140, 248, .35), transparent 68%); }
.dft-dot-2 { width: 300px; height: 300px; left: -90px; bottom: -170px; background: radial-gradient(circle, rgba(34, 211, 238, .25), transparent 68%); }
.dft-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 58px 30px; }
.dft-cta-copy span { font-size: 10px; letter-spacing: 2.4px; color: #a5b4fc; font-weight: 700; }
.dft-cta-copy h2 { margin-top: 12px; font-size: 28px; color: #fff; font-weight: 800; letter-spacing: -.5px; }
.dft-cta-copy p { margin-top: 10px; font-size: 13px; color: #b6c0ee; }

/* ===== 页脚 ===== */
.dft-footer { background: var(--dft-dark); color: #8fa0bd; }
.dft-footer-main { display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px; padding: 54px 0 40px; }
.dft-foot-brand .dft-brand { color: #fff; }
.dft-foot-brand p { margin-top: 14px; font-size: 12px; line-height: 1.85; max-width: 240px; }
.dft-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dft-footer-links h4 { font-size: 12px; color: #d7def2; margin-bottom: 16px; font-weight: 650; }
.dft-footer-links a, .dft-footer-links span { display: block; font-size: 12px; margin-bottom: 10px; color: #8fa0bd; overflow-wrap: anywhere; }
.dft-footer-links a:hover { color: #fff; }
.dft-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; padding: 19px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 11px; color: #64748b; }

/* ===== 系统注入 dialog 兜底 ===== */
.dft-body dialog { border: 1px solid var(--dft-line); border-radius: 14px; padding: 22px; box-shadow: var(--dft-shadow); }
.dft-body dialog [data-cancel], .dft-body dialog button[type=submit] { padding: 9px 18px; border: 1px solid var(--dft-line); border-radius: 9px; background: #fff; cursor: pointer; }
.dft-body dialog button[type=submit] { background: var(--dft-primary); color: #fff; border-color: var(--dft-primary); }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
    .dft-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .dft-float-a { left: 0; } .dft-float-b { right: 0; }
}
@media (max-width: 900px) {
    .dft-topbar-inner { height: 68px; gap: 14px; }
    .dft-top-ops { display: none; }
    .dft-menu-btn { display: flex; margin-left: auto; }
    .dft-nav { visibility: hidden; position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 20px 24px; margin: 0; max-height: calc(100dvh - 68px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--dft-line); box-shadow: 0 24px 40px rgba(15, 23, 42, .14); opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
    .dft-nav.show { visibility: visible; opacity: 1; transform: none; }
    .dft-nav a { font-size: 14px; padding: 11px 13px; }
    .dft-hero { padding-top: 58px; }
    .dft-hero-grid { grid-template-columns: 1fr; gap: 52px; }
    .dft-hero-copy { text-align: center; }
    .dft-hero-copy .dft-eyebrow { justify-content: center; }
    .dft-hero-copy > p { max-width: 480px; margin-left: auto; margin-right: auto; }
    .dft-actions, .dft-trust { justify-content: center; }
    .dft-visual { min-height: 400px; }
    .dft-query-card { grid-template-columns: 1fr; gap: 20px; }
    .dft-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .dft-section-head > p { max-width: none; }
    .dft-step:not(:last-child):after { display: none; }
    .dft-footer-main { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 600px) {
    .dft-shell { padding-left: 20px; padding-right: 20px; }
    .dft-brand { font-size: 16px; }
    .dft-hero { padding-top: 44px; }
    .dft-hero-copy h1 { font-size: 31px; line-height: 1.42; letter-spacing: -.8px; }
    .dft-hero-copy > p { font-size: 13px; }
    .dft-button { padding: 13px 22px; font-size: 13px; }
    .dft-float { display: none; }
    .dft-ring-1 { width: 260px; height: 260px; } .dft-ring-2 { width: 330px; height: 330px; }
    .dft-license-card { padding: 21px; border-radius: 18px; }
    .dft-card-rows div { font-size: 11px; }
    .dft-query-card { padding: 24px 20px; }
    .dft-query-form { flex-direction: column; }
    .dft-query-form button { width: 100%; justify-content: center; }
    .dft-feature-grid { grid-template-columns: 1fr; }
    .dft-step-grid { grid-template-columns: 1fr; gap: 18px; }
    .dft-cta-inner { flex-direction: column; align-items: flex-start; padding: 46px 20px; }
    .dft-cta-copy h2 { font-size: 23px; }
    .dft-footer-links { grid-template-columns: 1fr 1fr; }
    .dft-section { padding: 58px 0; }
    .dft-section-head h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dft-body * { transition: none !important; animation: none !important; }
}
