/* ============================================================
   premium.css — 高级感主题覆盖层
   加载于 styles.css 之后，仅覆盖视觉层；
   所有 CMS 文本钩子、GSAP 动画钩子、锚点结构保持不变。
   ============================================================ */

:root {
    --qd-ink: #060b16;
    --qd-ink-deep: #05070f;
    --qd-surface: rgba(151, 183, 255, 0.05);
    --qd-surface-soft: rgba(151, 183, 255, 0.028);
    --qd-line: rgba(158, 190, 255, 0.13);
    --qd-line-strong: rgba(158, 190, 255, 0.24);
    --qd-text: #edf3ff;
    --qd-muted: #92a0bd;
    --qd-accent: #7dd3fc;
    --qd-accent-deep: #5eb9ff;
    --qd-violet: #a78bfa;
    --qd-grad-text: linear-gradient(115deg, #ffffff 15%, #b7d8ff 55%, #9aa8ff 100%);
    --qd-grad-accent: linear-gradient(120deg, #7dd3fc, #8fa8ff 55%, #b39dff);
    --qd-card-shadow: 0 24px 60px rgba(3, 8, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --qd-card-hover: 0 34px 80px rgba(2, 6, 16, 0.62), 0 0 0 1px rgba(125, 211, 252, 0.14), 0 22px 70px rgba(96, 165, 250, 0.12);
    --qd-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- 基底氛围 ---------- */

body {
    background:
        radial-gradient(64rem 42rem at 88% -6%, rgba(94, 183, 255, 0.09), transparent 62%),
        radial-gradient(54rem 38rem at -12% 34%, rgba(150, 120, 255, 0.075), transparent 60%),
        radial-gradient(46rem 30rem at 50% 118%, rgba(94, 183, 255, 0.05), transparent 60%),
        linear-gradient(180deg, #070d1a 0%, #060b16 44%, #05080f 100%);
    color: var(--qd-text);
}

::selection {
    background: rgba(125, 211, 252, 0.3);
    color: #ffffff;
}

html { scrollbar-color: rgba(148, 180, 255, 0.28) transparent; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(148, 180, 255, 0.22);
    border-radius: 8px;
    border: 3px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(148, 180, 255, 0.4); }

section[id] { scroll-margin-top: 72px; }

/* ---------- 导航栏 ---------- */

.navbar {
    background: linear-gradient(180deg, rgba(6, 11, 22, 0.6), rgba(6, 11, 22, 0.28));
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid rgba(158, 190, 255, 0.08);
    transition: background 0.45s var(--qd-ease), border-color 0.45s var(--qd-ease), box-shadow 0.45s var(--qd-ease);
}

.navbar.scrolled {
    background: rgba(5, 9, 18, 0.82);
    border-bottom-color: rgba(158, 190, 255, 0.12);
    box-shadow: 0 18px 50px rgba(2, 6, 16, 0.45);
}

.logo-text {
    font-weight: 800;
    letter-spacing: 0.02em;
    background: var(--qd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo-sub {
    color: var(--qd-muted);
    letter-spacing: 0.52em;
    font-size: 10px;
}

.nav-menu { gap: 6px; }

.nav-menu a {
    position: relative;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    color: var(--qd-muted);
    transition: color 0.3s var(--qd-ease), background 0.3s var(--qd-ease);
}

.nav-menu a::after {
    left: 50%;
    bottom: 2px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--qd-grad-accent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
}

.nav-menu a:hover { color: var(--qd-text); background: rgba(151, 183, 255, 0.07); }
.nav-menu a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-menu a.active { color: #ffffff; }
.nav-menu a.active::after { transform: translateX(-50%) scaleX(1); }

/* ---------- Hero ---------- */

.hero { overflow: hidden; }

.hero::before {
    content: "";
    position: absolute;
    inset: -12% -18% 0;
    background:
        radial-gradient(52rem 34rem at 80% 16%, rgba(94, 183, 255, 0.15), transparent 62%),
        radial-gradient(44rem 30rem at 6% 78%, rgba(150, 120, 255, 0.11), transparent 62%),
        radial-gradient(30rem 20rem at 46% 4%, rgba(125, 211, 252, 0.07), transparent 60%);
    pointer-events: none;
}

.hero-content,
.hero-product-visual { position: relative; z-index: 2; }

.hero-background { z-index: 1; }

.particle {
    border-radius: 50%;
    background: rgba(174, 214, 255, 0.85);
    box-shadow: 0 0 12px 2px rgba(125, 211, 252, 0.45);
    opacity: 0.5;
}

.hero-title {
    font-size: clamp(46px, 6.4vw, 86px);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

.title-line {
    background: var(--qd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 18px 44px rgba(88, 148, 255, 0.22));
}

.hero-subtitle {
    color: var(--qd-muted);
    font-size: clamp(15px, 1.5vw, 18px);
    letter-spacing: 0.14em;
}

.hero-product-visual { filter: none; }

/* Hero 统计条 */

.hero-stats {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(151, 183, 255, 0.06), rgba(151, 183, 255, 0.025));
    border: 1px solid var(--qd-line);
    border-radius: 18px;
    padding: 24px 38px;
    gap: 46px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--qd-card-shadow);
}

.stat { position: relative; }
.stat + .stat {
    border-left: 1px solid var(--qd-line);
    padding-left: 46px;
}

.stat-number {
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    background: var(--qd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    color: var(--qd-muted);
    font-size: 12.5px;
    letter-spacing: 0.2em;
    margin-top: 8px;
}

.scroll-indicator span { color: var(--qd-muted); letter-spacing: 0.3em; font-size: 11px; }
.scroll-arrow { border-color: var(--qd-accent) !important; opacity: 0.75; }

/* ---------- 按钮 ---------- */

.btn {
    border-radius: 12px;
    padding: 15px 34px;
    letter-spacing: 0.06em;
    transition: transform 0.35s var(--qd-ease), box-shadow 0.35s var(--qd-ease),
        background 0.35s var(--qd-ease), border-color 0.35s var(--qd-ease), color 0.35s var(--qd-ease);
}

.btn-primary {
    background: linear-gradient(135deg, #6ec1ff 0%, #7dd3fc 42%, #9f8cff 100%);
    color: #071018;
    box-shadow: 0 12px 32px rgba(96, 165, 250, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(96, 165, 250, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    border: 1px solid rgba(158, 190, 255, 0.3);
    color: #dbe7ff;
    background: rgba(151, 183, 255, 0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(151, 183, 255, 0.13);
    border-color: rgba(125, 211, 252, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(3, 8, 20, 0.45);
}

.btn-douyin {
    border: 1px solid rgba(37, 244, 238, 0.38);
    color: #eafdff;
    background:
        linear-gradient(135deg, rgba(37, 244, 238, 0.13), rgba(254, 44, 85, 0.15)),
        rgba(7, 17, 28, 0.46);
}

.btn-douyin:hover {
    background:
        linear-gradient(135deg, rgba(37, 244, 238, 0.24), rgba(254, 44, 85, 0.26)),
        rgba(7, 17, 28, 0.6);
    border-color: rgba(37, 244, 238, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(254, 44, 85, 0.16);
}

/* ---------- 区块节奏与标题 ---------- */

.about, .services, .business, .ai-services, .social, .contact {
    padding: clamp(92px, 11vw, 148px) 0;
    background: transparent;
    position: relative;
}

.services, .social {
    background: linear-gradient(180deg, rgba(151, 183, 255, 0.035), rgba(151, 183, 255, 0.012));
    border-top: 1px solid rgba(158, 190, 255, 0.07);
    border-bottom: 1px solid rgba(158, 190, 255, 0.07);
}

.section-eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: #7fb2e6;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    vertical-align: middle;
    margin: 0 16px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.55));
}

.section-eyebrow::after {
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.55), transparent);
}

.section-title {
    font-size: clamp(30px, 3.6vw, 44px);
    letter-spacing: 0.015em;
    line-height: 1.25;
}

.title-accent {
    background: var(--qd-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-subtitle {
    color: var(--qd-muted);
    font-size: 15.5px;
    letter-spacing: 0.06em;
    margin-top: 16px;
}

/* ---------- 玻璃卡片（通用） ---------- */

.tech-card,
.service-item,
.business-card,
.ai-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--qd-surface), var(--qd-surface-soft));
    border: 1px solid var(--qd-line);
    border-radius: 18px;
    box-shadow: var(--qd-card-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.4s var(--qd-ease), border-color 0.4s var(--qd-ease), box-shadow 0.4s var(--qd-ease);
}

.tech-card::before,
.ai-card::before { display: none; }

.tech-card::after,
.service-item::after,
.business-card::after,
.ai-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.055) 46%, transparent 60%);
    transform: translateX(-130%);
    transition: transform 0.9s var(--qd-ease);
    pointer-events: none;
}

.tech-card:hover,
.service-item:hover,
.business-card:hover,
.ai-card:hover {
    transform: translateY(-6px);
    border-color: rgba(125, 211, 252, 0.38);
    box-shadow: var(--qd-card-hover);
}

.tech-card:hover::after,
.service-item:hover::after,
.business-card:hover::after,
.ai-card:hover::after { transform: translateX(130%); }

/* ---------- 关于我们 ---------- */

.about-text h3 {
    font-size: clamp(24px, 2.4vw, 32px);
    letter-spacing: 0.02em;
}

.about-text p { color: var(--qd-muted); }

.about-features { gap: 12px; }

.feature {
    flex-direction: row;
    align-items: center;
    gap: 9px;
    background: rgba(151, 183, 255, 0.06);
    border: 1px solid var(--qd-line);
    border-radius: 999px;
    padding: 10px 20px 10px 14px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color 0.35s var(--qd-ease), background 0.35s var(--qd-ease);
}

.feature:hover {
    border-color: rgba(125, 211, 252, 0.4);
    background: rgba(151, 183, 255, 0.1);
}

.feature-icon { font-size: 20px; }
.feature span { color: var(--qd-text); font-size: 14px; letter-spacing: 0.06em; }

.about-visual { gap: 18px; }

.tech-card { padding: 26px 20px; }
.tech-icon { font-size: 34px; }
.tech-card h4 { color: var(--qd-text); font-size: 15px; letter-spacing: 0.1em; }

/* ---------- 服务 ---------- */

.service-item { padding: 30px 28px; }

.service-item h4 {
    font-size: 18px;
    letter-spacing: 0.04em;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--qd-line);
    position: relative;
}

.service-item h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--qd-grad-accent);
}

.service-item li { color: var(--qd-muted); font-size: 14.5px; }

.service-item li::before {
    background: var(--qd-grad-accent) !important;
    box-shadow: none !important;
    opacity: 0.85;
}

.service-link { text-decoration: none; }

/* ---------- 旗下业务 / 社交媒体卡片 ---------- */

.business-card { padding: 28px; }

.business-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(125, 211, 252, 0.16), rgba(167, 139, 250, 0.14));
    border: 1px solid rgba(158, 190, 255, 0.2);
}

.business-content h3 {
    color: var(--qd-text);
    font-size: 18px;
    letter-spacing: 0.03em;
}

.business-content p { color: var(--qd-muted); font-size: 14px; }

.business-action {
    color: var(--qd-accent);
    font-size: 13px;
    letter-spacing: 0.18em;
}

/* ---------- AI 业务 ---------- */

.ai-grid { gap: 22px; }

.ai-card { padding: 32px 28px; }

.ai-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, rgba(125, 211, 252, 0.28), rgba(167, 139, 250, 0.24));
    border: 1px solid rgba(158, 190, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 26px rgba(56, 120, 200, 0.2);
    color: #c9ecff;
}

/* styles.css:570 将 svg 的 color 设为近黑（var(--darker-bg)），此处覆盖为亮色描边 + 辉光 */
.ai-icon svg {
    width: 26px;
    height: 26px;
    color: #c9ecff;
    stroke: #c9ecff;
    filter: drop-shadow(0 0 7px rgba(125, 211, 252, 0.55));
}

.ai-card h3 { color: var(--qd-text); font-size: 18px; letter-spacing: 0.03em; }
.ai-card p { color: var(--qd-muted); font-size: 14.5px; }

.ai-features li { color: var(--qd-muted); font-size: 13.5px; }

.ai-features li::before {
    background: var(--qd-grad-accent);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

/* ---------- 联系我们 ---------- */

.contact-item {
    background: linear-gradient(180deg, var(--qd-surface), var(--qd-surface-soft));
    border: 1px solid var(--qd-line);
    border-radius: 16px;
    padding: 22px 24px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.35s var(--qd-ease), border-color 0.35s var(--qd-ease);
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 211, 252, 0.36);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(125, 211, 252, 0.16), rgba(167, 139, 250, 0.14));
    border: 1px solid rgba(158, 190, 255, 0.2);
}

.contact-text h4 { color: var(--qd-text); font-size: 15px; letter-spacing: 0.12em; }
.contact-text p { color: var(--qd-muted); }

.photo-frame {
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 10px;
    background:
        linear-gradient(180deg, #0a1322, #080f1d) padding-box,
        linear-gradient(135deg, rgba(125, 211, 252, 0.55), rgba(167, 139, 250, 0.4) 60%, rgba(125, 211, 252, 0.15)) border-box;
    box-shadow: 0 30px 80px rgba(2, 6, 16, 0.55), 0 0 50px rgba(96, 165, 250, 0.1);
    transition: transform 0.45s var(--qd-ease), box-shadow 0.45s var(--qd-ease);
}

.photo-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 96px rgba(2, 6, 16, 0.65), 0 0 70px rgba(96, 165, 250, 0.16);
}

.photo-frame img { border-radius: 13px; }

/* ---------- 页脚 ---------- */

.footer {
    background: linear-gradient(180deg, transparent, rgba(3, 7, 16, 0.65));
    border-top: 1px solid rgba(158, 190, 255, 0.1);
}

.footer-brand h3 {
    background: var(--qd-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 22px;
}

.footer-brand p { color: var(--qd-muted); letter-spacing: 0.08em; }

.footer-links a {
    color: var(--qd-muted);
    transition: color 0.3s var(--qd-ease);
}

.footer-links a:hover { color: #ffffff; }

/* ---------- 响应式 ---------- */

@media (max-width: 768px) {
    .nav-menu {
        background: rgba(5, 9, 18, 0.94);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(158, 190, 255, 0.12);
        box-shadow: 0 30px 70px rgba(2, 6, 16, 0.55);
        padding: 18px 0 22px;
    }

    .nav-menu a { padding: 13px 26px; font-size: 15px; }

    .hero { padding-top: 120px; }

    .scroll-indicator { display: none; }

    .hero-stats {
        width: 100%;
        justify-content: space-between;
        gap: 0;
        padding: 20px 22px;
    }

    .stat + .stat {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .stat { flex: 1; text-align: center; }

    .section-eyebrow { letter-spacing: 0.3em; }
    .section-eyebrow::before,
    .section-eyebrow::after { width: 18px; margin: 0 10px; }
}

/* ---------- 降低动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
    .btn,
    .tech-card,
    .service-item,
    .business-card,
    .ai-card,
    .contact-item,
    .feature,
    .photo-frame {
        transition: none;
    }

    .tech-card:hover::after,
    .service-item:hover::after,
    .business-card:hover::after,
    .ai-card:hover::after { transform: translateX(-130%); }
}

/* ============================================================
   质感精修层（polish pass · 2026-09-02）
   字体渲染 / 微颗粒材质 / 按钮高光按压 / 卡片内高光弹性悬停 /
   云图舞台光 / 图标瓷砖统一 / 排版平衡
   ============================================================ */

/* ---------- 字体渲染精修 ---------- */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
}

.hero-title,
.section-title {
    text-wrap: balance;
}

/* ---------- 全局微颗粒（消除渐变色带、增加物理质感） ---------- */

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ---------- 按钮质感：顶部高光 + 按压反馈 ---------- */

.btn {
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 46%;
    border-radius: 11px 11px 40% 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
    opacity: 0.85;
    pointer-events: none;
    transition: opacity var(--qd-dur-base) var(--qd-ease);
}

.btn:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.08s;
}

.btn:active::before { opacity: 0.5; }

.btn-secondary::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)); }
.btn-douyin::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)); }

/* ---------- 卡片：内高光 + 更细腻的悬停弹性 ---------- */

.tech-card,
.service-item,
.business-card,
.ai-card {
    border-color: rgba(158, 190, 255, 0.11);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 60px rgba(3, 8, 20, 0.5);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s var(--qd-ease),
        box-shadow 0.45s var(--qd-ease);
}

.tech-card:hover,
.service-item:hover,
.business-card:hover,
.ai-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.09) inset,
        0 34px 80px rgba(2, 6, 16, 0.62),
        0 0 0 1px rgba(125, 211, 252, 0.16),
        0 22px 70px rgba(96, 165, 250, 0.14);
}

/* 卡片内图标瓷砖：悬停轻浮 */
.tech-icon,
.business-icon,
.ai-icon,
.contact-icon {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s var(--qd-ease);
}

.tech-card:hover .tech-icon,
.business-card:hover .business-icon,
.ai-card:hover .ai-icon,
.contact-item:hover .contact-icon {
    transform: translateY(-2px) scale(1.05);
}

/* ---------- 图标瓷砖统一化（关于我们 tech-card） ---------- */

.tech-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: linear-gradient(140deg, rgba(125, 211, 252, 0.16), rgba(167, 139, 250, 0.14));
    border: 1px solid rgba(158, 190, 255, 0.2);
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ---------- Hero 云图舞台光 ---------- */

.hero-product-visual { position: relative; }

.hero-product-visual::after {
    display: none;
}

/* ---------- 统计条：更通透的玻璃 ---------- */

.hero-stats {
    background: linear-gradient(180deg, rgba(151, 183, 255, 0.085), rgba(151, 183, 255, 0.028));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 24px 60px rgba(3, 8, 20, 0.5);
}

/* ---------- 导航当前区块胶囊 ---------- */

.nav-menu a.active {
    background: rgba(151, 183, 255, 0.09);
}

/* ---------- 粒子降噪 ---------- */

.particle { opacity: 0.38; box-shadow: 0 0 10px 2px rgba(125, 211, 252, 0.38); }

/* ---------- 页脚链接细节 ---------- */

.footer-links a {
    padding: 4px 2px;
    transition: color 0.25s var(--qd-ease);
}

.footer-links a:hover { opacity: 1; }

/* ---------- 降低动效偏好下关闭颗粒与光效 ---------- */

@media (prefers-reduced-motion: reduce) {
    body::after { display: none; }
}

/* ============================================================
   交互动效层（配合 motion-plus.js · 2026-09-02）
   标题流光 / 卡片聚光灯 / 区块标题入场 / 滚动进度条
   ============================================================ */

/* ---------- Hero 标题渐变流光 ---------- */

.title-line {
    background-size: 200% 100%;
    animation: qy-title-shimmer 8s ease-in-out infinite alternate;
}

@keyframes qy-title-shimmer {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

/* ---------- 卡片聚光灯（辉光跟随指针） ---------- */

.tech-card::before,
.service-item::before,
.business-card::before,
.ai-card::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, 0.13), transparent 65%);
    opacity: 0;
    transition: opacity 0.45s var(--qd-ease);
    pointer-events: none;
    z-index: 0;
}

.tech-card:hover::before,
.service-item:hover::before,
.business-card:hover::before,
.ai-card:hover::before { opacity: 1; }

/* ---------- 区块标题叙事入场（motion-plus 激活后） ---------- */

.motion-plus .mp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s var(--qd-ease),
        transform 0.7s var(--qd-ease);
    will-change: opacity, transform;
}

.motion-plus .mp-reveal.mp-in {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* ---------- 顶部滚动进度条 ---------- */

.qy-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #2f7ceb 50%, #8b7cf6);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1500;
    pointer-events: none;
}

/* ---------- 降级 ---------- */

@media (prefers-reduced-motion: reduce) {
    .title-line { animation: none; }
    .qy-progress-bar { display: none; }
}

/* ============================================================
   主题切换（theme-toggle.js 配套）
   ============================================================ */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(158, 190, 255, 0.25);
    background: rgba(151, 183, 255, 0.08);
    color: #cfe6ff;
    cursor: pointer;
    transition:
        color 0.3s var(--qd-ease),
        border-color 0.3s var(--qd-ease),
        background 0.3s var(--qd-ease),
        transform 0.3s var(--qd-ease);
}

.theme-toggle:hover {
    color: #ffffff;
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(151, 183, 255, 0.14);
    transform: translateY(-1px);
}

.theme-toggle svg { width: 18px; height: 18px; }

.theme-toggle .icon-sun { display: none; }

html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

@media (max-width: 768px) {
    .theme-toggle { width: 36px; height: 36px; }
}

/* ============================================================
   Hero 点阵地球（cobe WebGL，net-globe.js 驱动）
   .net-globe-stage 定位在原 SVG 球体中心 (51.7%, 45.7%)，
   canvas 失败时回退显示 SVG 线框球（html.webgl-fallback）
   ============================================================ */

.net-globe-stage {
    position: absolute;
    left: 21.7%;
    top: 2.8%;
    width: 60%;
    aspect-ratio: 1 / 1;
    z-index: 1;
}

.net-globe-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* WebGL 正常时隐藏 SVG 降级球体 */
html:not(.webgl-fallback) .net-visual .net-globe {
    display: none;
}

/* WebGL 失败时隐藏 canvas，显示 SVG 线框球 */
html.webgl-fallback .net-globe-stage {
    display: none;
}
/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    right: clamp(16px, 2.5vw, 32px);
    bottom: calc(clamp(18px, 3vw, 36px) + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 14px;
    color: #f8fbff;
    background: rgba(15, 31, 58, 0.92);
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.94);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top svg {
    width: 23px;
    height: 23px;
}

.back-to-top:hover {
    border-color: rgba(125, 211, 252, 0.72);
    background: #18345e;
    transform: translateY(-2px) scale(1);
}

.back-to-top:active {
    transform: translateY(0) scale(0.97);
}

.back-to-top:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

html[data-theme="light"] .back-to-top {
    border-color: rgba(29, 78, 216, 0.18);
    color: #ffffff;
    background: #18345e;
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.22);
}

html[data-theme="light"] .back-to-top:hover {
    border-color: rgba(29, 78, 216, 0.34);
    background: #24518d;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}
/* ==================== 页脚实时运行时间 ==================== */
.footer-runtime-panel {
    --runtime-gradient: linear-gradient(90deg, #7dd3fc, #a78bfa, #f472b6, #facc15);
    width: 100%;
    margin: 0 0 18px;
    padding: 12px 18px;
    border-top: 1px solid rgba(158, 190, 255, 0.12);
    border-bottom: 1px solid rgba(158, 190, 255, 0.12);
}

.footer-runtime-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-runtime-text {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: transparent;
    background: var(--runtime-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-runtime-text time {
    font-variant-numeric: tabular-nums;
}

.footer-runtime-separator {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: #7dd3fc;
    box-shadow: 0 0 12px rgba(125, 211, 252, 0.7);
}

html[data-theme="light"] .footer-runtime-panel {
    --runtime-gradient: linear-gradient(90deg, #0369a1, #6d28d9, #be123c, #b45309);
    border-color: rgba(19, 35, 60, 0.1);
}

@media (max-width: 768px) {
    .footer-runtime-content {
        flex-direction: column;
        gap: 8px;
    }

    .footer-runtime-separator {
        display: none;
    }

    .footer-runtime-text {
        font-size: 13px;
    }
}
