:root {
    --dj-bg: #0f1115;
    --dj-panel: #1a1d24;
    --dj-text: #e5e9f0;
    --dj-muted: #c0c8d0;
    --dj-line: rgba(192, 200, 208, 0.1);
    --dj-footer: #0b1a1a;
    --dj-on-accent: #0b1a1a;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dj-mirror {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    background: var(--dj-bg);
    color: var(--dj-text);
    font-size: 16px;
    line-height: 1.7;
}
a { color: var(--tpl-accent, #00e5a0); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; }
.dj-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dj-muted { color: var(--dj-muted); margin: 0; }
main { padding-top: 72px; }

/* 导航 */
.dj-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 72px;
    background: rgba(15, 17, 21, 0.85);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dj-line);
}
.dj-nav__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.dj-logo { font-weight: 800; font-size: 1.6rem; color: var(--tpl-accent); letter-spacing: 0.01em; white-space: nowrap; }
.dj-logo:hover { text-decoration: none; }
.dj-menu { display: flex; gap: 6px 32px; font-size: 16px; }
.dj-menu a { position: relative; color: var(--dj-muted); font-weight: 500; padding: 8px 0; }
.dj-menu a:hover { color: #fff; text-decoration: none; }
.dj-menu a.is-active { color: var(--tpl-accent); }
.dj-menu a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tpl-accent); }
@media (max-width: 900px) {
    .dj-menu { gap: 4px 18px; font-size: 14px; overflow-x: auto; white-space: nowrap; }
    .dj-logo { font-size: 1.25rem; }
}
@media (max-width: 640px) { .dj-menu a:nth-child(2), .dj-menu a:nth-child(3) { display: none; } }

/* 按钮 */
.dj-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 8px;
    font-weight: 600; font-size: 16px; background: var(--tpl-accent); color: var(--dj-on-accent);
    border: 1px solid var(--tpl-accent); transition: transform .15s, box-shadow .15s;
}
.dj-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 22px color-mix(in srgb, var(--tpl-accent) 35%, transparent); }
.dj-btn--ghost { background: transparent; color: var(--tpl-accent); }
.dj-btn--lg { padding: 16px 40px; font-size: 17.6px; }
.dj-btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* 首屏 */
.dj-hero {
    position: relative; display: flex; align-items: center; min-height: 612px;
    margin-top: -72px; padding: 144px 0 100px; overflow: hidden;
    background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--tpl-accent) 6%, transparent) 0%, var(--dj-bg) 70%);
}
.dj-hero__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(192, 200, 208, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 200, 208, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}
.dj-hero__row { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; width: 100%; }
.dj-hero__copy { max-width: 620px; }
.dj-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-accent); }
.dj-hero h1 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.dj-hero__lead { margin: 0 0 32px; font-size: 19.2px; color: var(--dj-muted); max-width: 500px; }
.dj-hero__orbit {
    position: relative; justify-self: center; width: 300px; max-width: 80%; aspect-ratio: 1;
    border: 2px dashed color-mix(in srgb, var(--tpl-accent) 45%, transparent); border-radius: 50%;
    animation: dj-spin 24s linear infinite;
}
.dj-hero__orbit i {
    position: absolute; right: -1px; top: 62%; width: 18px; height: 18px; border-radius: 50%;
    background: var(--tpl-accent); box-shadow: 0 0 22px var(--tpl-accent);
}
@keyframes dj-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dj-hero__orbit { animation: none; } html { scroll-behavior: auto; } }
.dj-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 28px; line-height: 1; color: var(--tpl-accent); animation: dj-bob 1.8s ease-in-out infinite; }
.dj-scroll:hover { text-decoration: none; }
@keyframes dj-bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 720px) {
    .dj-hero__row { grid-template-columns: 1fr; }
    .dj-hero__orbit { display: none; }
    .dj-hero { min-height: 0; padding-bottom: 88px; }
}

/* 通用区块 */
.dj-section { padding: 100px 0; }
.dj-section h2, .dj-cta h2 { margin: 0 0 16px; font-size: 32px; font-weight: 700; color: var(--dj-text); }
.dj-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 720px) { .dj-grid-2 { grid-template-columns: 1fr; gap: 32px; } .dj-section { padding: 64px 0; } }
.dj-pain p { margin: 0 0 14px; color: var(--dj-muted); }
.dj-spot {
    display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 16px;
    background: var(--dj-panel); border: 1px solid var(--dj-line); color: var(--dj-text);
    border-left: 3px solid var(--tpl-accent);
}
.dj-spot:hover { text-decoration: none; border-color: var(--tpl-accent); }
.dj-spot__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--tpl-accent); }
.dj-spot strong { font-size: 22px; line-height: 1.4; color: #fff; }
.dj-spot__sum { color: var(--dj-muted); font-size: 15px; }
.dj-spot time { font-size: 13px; color: var(--dj-muted); opacity: .8; }

/* 方案步骤 */
.dj-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.dj-steps li { padding-left: 20px; border-left: 3px solid var(--dj-line); }
.dj-steps li.is-first { border-left-color: var(--tpl-accent); }
.dj-steps h3 { margin: 0 0 4px; font-size: 24px; font-weight: 600; }
.dj-steps h3 a { color: var(--dj-text); }
.dj-steps h3 span { color: var(--tpl-accent); margin-right: 4px; }
.dj-steps p { margin: 0; color: var(--dj-muted); }
.dj-visual { border-radius: 16px; overflow: hidden; background: var(--dj-panel); border: 1px solid var(--dj-line); height: 320px; display: flex; }
.dj-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-visual__ph, .dj-ph {
    flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--tpl-accent);
    background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--tpl-accent) 22%, transparent), var(--dj-panel) 70%);
}
.dj-visual__ph { font-size: 96px; }

/* 数据 */
.dj-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; text-align: center; }
.dj-stat { background: var(--dj-panel); border: 1px solid var(--dj-line); border-radius: 12px; padding: 32px 24px; }
.dj-stat strong { display: block; font-size: 48px; line-height: 1.5; margin-bottom: 10px; font-weight: 800; color: var(--tpl-accent); }
.dj-stat span { font-size: 16px; color: var(--dj-text); }
@media (max-width: 700px) { .dj-stats { grid-template-columns: 1fr; gap: 16px; } }

/* 资讯列表 */
.dj-news-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .dj-news-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dj-news-list { grid-template-columns: 1fr; } }
.dj-news-item { display: flex; flex-direction: column; background: var(--dj-panel); border: 1px solid var(--dj-line); border-radius: 16px; overflow: hidden; transition: border-color .15s, transform .15s; }
.dj-news-item:hover { border-color: color-mix(in srgb, var(--tpl-accent) 55%, transparent); transform: translateY(-2px); }
.dj-news-item__thumb { display: flex; aspect-ratio: 16 / 9; }
.dj-news-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-ph { font-size: 56px; }
.dj-news-item__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.dj-news-item time { font-size: 13px; color: var(--dj-muted); opacity: .8; }
.dj-news-item h2, .dj-news-item h3 { margin: 6px 0 8px; font-size: 18px; line-height: 1.45; }
.dj-news-item h2 a, .dj-news-item h3 a { color: #fff; }
.dj-news-item h2 a:hover, .dj-news-item h3 a:hover { color: var(--tpl-accent); text-decoration: none; }
.dj-news-item p { margin: 0 0 12px; font-size: 14px; color: var(--dj-muted); }
.dj-readmore { margin-top: auto; font-size: 14px; font-weight: 600; }
.dj-more { text-align: center; margin-top: 40px; }
.dj-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--dj-muted); background: var(--dj-panel); border-radius: 16px; }
.dj-listhead { padding: 32px 0 8px; }
.dj-listhead h1 { margin: 0 0 8px; font-size: 36px; color: #fff; }
.dj-listhead + .dj-news-list { margin-top: 24px; }

/* FAQ：整宽分割线手风琴 */
.dj-faq details { padding: 20px 0; border-bottom: 1px solid var(--dj-line); }
.dj-faq details:first-of-type { border-top: 1px solid var(--dj-line); }
.dj-faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.dj-faq summary::-webkit-details-marker { display: none; }
.dj-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--tpl-accent); transition: transform .2s; }
.dj-faq details[open] summary::after { content: "−"; }
.dj-faq p { margin: 12px 0 0; color: var(--dj-muted); max-width: 860px; }
.dj-faq h2 { margin-bottom: 24px !important; }

/* CTA */
.dj-cta { padding: 100px 0; text-align: center; background: radial-gradient(circle, color-mix(in srgb, var(--tpl-accent) 8%, transparent) 0%, var(--dj-bg) 70%); }
.dj-cta h2 { font-size: 40px; }
.dj-cta p { margin: 0 0 32px; color: var(--dj-muted); font-size: 18px; }

/* 页脚 */
.dj-footer { padding: 60px 0 30px; background: var(--dj-footer); color: var(--dj-muted); font-size: 15px; }
.dj-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .dj-footer__grid { grid-template-columns: 1fr 1fr; } .dj-footer__grid > div:first-child { grid-column: 1 / -1; } }
.dj-footer p { margin: 0 0 10px; }
.dj-footer__brand { font-size: 24px; font-weight: 800; color: var(--tpl-accent); }
.dj-footer__h { color: #fff; font-weight: 600; font-size: 18px; }
.dj-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dj-footer a { color: var(--dj-muted); }
.dj-footer a:hover { color: var(--tpl-accent); text-decoration: none; }
.dj-footer__copy { margin: 30px 0 0 !important; padding-top: 20px; border-top: 1px solid var(--dj-line); font-size: 14px; text-align: center; color: #8f9bb0; }

/* 文章页 */
.dj-article { max-width: 860px; margin: 24px auto 32px; padding: 36px 40px 40px; background: var(--dj-panel); border: 1px solid var(--dj-line); border-radius: 16px; }
@media (max-width: 640px) { .dj-article { padding: 24px 18px 28px; } }
.dj-article h1 { margin: 0 0 12px; font-size: 34px; font-weight: 800; color: #fff; }
.dj-article__time { font-size: 14px; color: var(--dj-muted); }
.dj-article__cover { margin: 24px 0 0; }
.dj-article__cover img { width: 100%; height: auto; border-radius: 12px; display: block; }
.dj-article__sum { margin: 24px 0 0; padding: 14px 18px; border-left: 3px solid var(--tpl-accent); background: rgba(255, 255, 255, 0.03); border-radius: 0 8px 8px 0; color: var(--dj-muted); }
.dj-article__body { margin-top: 24px; font-size: 17px; line-height: 1.9; color: var(--dj-text); }
.dj-article__body p { margin: 0 0 1.2em; }
.dj-article__body h2 { margin: 1.8em 0 .7em; font-size: 26px; color: #fff; padding-left: 12px; border-left: 3px solid var(--tpl-accent); }
.dj-article__body h3 { margin: 1.5em 0 .6em; font-size: 21px; color: #fff; }
.dj-article__body h4 { margin: 1.3em 0 .5em; font-size: 18px; color: #fff; }
.dj-article__body ul, .dj-article__body ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.dj-article__body li { margin: .3em 0; }
.dj-article__body blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 3px solid var(--tpl-accent); background: rgba(255, 255, 255, 0.04); color: var(--dj-muted); border-radius: 0 8px 8px 0; }
.dj-article__body img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 1em 0; }
.dj-article__body a { text-decoration: underline; text-underline-offset: 3px; }
.dj-article__body strong { color: #fff; }
.dj-article__back { margin: 28px 0 0; }
.dj-article__back .dj-btn { padding: 10px 22px; font-size: 14px; }

/* 共享组件：面包屑 / 分页 / 上下篇 / 相关 / 回到顶部 */
.tpl-breadcrumb { font-size: 14px; margin: 24px 0 0; color: var(--dj-muted); }
.tpl-breadcrumb__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dj-article + .tpl-related, .tpl-related { max-width: 1280px; }
.tpl-breadcrumb__item:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.tpl-breadcrumb a { color: var(--dj-muted); }
.tpl-breadcrumb a:hover { color: var(--tpl-accent); }
.tpl-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 40px 0 8px; }
.tpl-pager a, .tpl-pager span { min-width: 40px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--dj-line); text-align: center; font-size: 14px; color: var(--dj-text); background: var(--dj-panel); }
.tpl-pager a:hover { border-color: var(--tpl-accent); text-decoration: none; }
.tpl-pager .is-current { background: var(--tpl-accent); color: var(--dj-on-accent); border-color: var(--tpl-accent); font-weight: 800; }
.tpl-pager__gap, .tpl-pager__info { border: 0 !important; background: transparent !important; color: var(--dj-muted) !important; }
.tpl-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 0; }
@media (max-width: 640px) { .tpl-postnav { grid-template-columns: 1fr; } }
.tpl-postnav__item { background: var(--dj-bg); border: 1px solid var(--dj-line); border-radius: 12px; padding: 14px 16px; }
.tpl-postnav__item--next { text-align: right; }
.tpl-postnav__label { display: block; font-size: 12px; color: var(--dj-muted); margin-bottom: 4px; }
.tpl-postnav a { color: #fff; font-weight: 600; }
.tpl-postnav a:hover { color: var(--tpl-accent); text-decoration: none; }
.tpl-postnav__none { color: var(--dj-muted); }
.tpl-related { margin: 8px 0 72px; }
.tpl-related__title { font-size: 24px; margin: 0 0 18px; color: #fff; }
.tpl-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tpl-related__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tpl-related__list { grid-template-columns: 1fr; } }
.tpl-related__item a { display: block; background: var(--dj-panel); border: 1px solid var(--dj-line); border-radius: 12px; overflow: hidden; padding-bottom: 14px; color: var(--dj-text); height: 100%; }
.tpl-related__item a:hover { border-color: var(--tpl-accent); text-decoration: none; }
.tpl-related__item img { width: 100%; height: 130px; object-fit: cover; display: block; }
.tpl-related__name { display: block; padding: 14px 16px 4px; font-weight: 600; font-size: 15px; line-height: 1.5; }
.tpl-related__item time { padding: 0 16px; font-size: 12px; color: var(--dj-muted); }
.tpl-totop { position: fixed; right: 20px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--tpl-accent); color: var(--dj-on-accent); font-weight: 900; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.tpl-totop.is-visible { opacity: 1; pointer-events: auto; }
.tpl-totop:hover { text-decoration: none; }
