/* ==========================================================================
 * no-gradient.css — 去除品牌渐进色填充（2026-11-15 视觉统一）
 * 原则：按钮 / 标题 / 标签 / 价格 / 徽标等 UI 元素一律使用纯色；
 *       仅保留深色背景的轻微单色光晕，不再出现青→紫→绿的彩虹渐变。
 * 说明：本文件必须在所有主题 CSS（base/site/official/mall/admin）之后加载。
 * ========================================================================== */

:root {
    /* 渐变变量整体收敛为纯色，兼容仍在使用 var(--grad-*) 的组件 */
    --grad-brand: #2f80ed;
    --grad-brand-2: #2f80ed;
    --grad-cta: #2f80ed;
    --grad-violet: #2f80ed;
    --grad-emerald: #34d399;
    --grad-danger: #f43f5e;
    --grad-text: #7dd3fc;
    --grad-hairline: rgba(125, 211, 252, .28);
    --grad-surface: rgba(255, 255, 255, .04);
}

/* ---- 文字：纯色，不再做渐变裁切 ---- */
.text-gradient,
.text-gradient-brand,
.hero-line-inner.text-gradient,
.error-code,
.error-code-ghost,
.login-hero-title .text-gradient {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    color: #7dd3fc !important;
    filter: none !important;
}
.error-code-ghost { color: rgba(125, 211, 252, .16) !important; -webkit-text-stroke: 0 !important; }

/* ---- 按钮：纯色填充 ---- */
.btn-gradient,
.btn-primary,
.btn-cta,
[class*="btn-gradient"] {
    background: #2f80ed !important;
    background-image: none !important;
    background-size: auto !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: 0 10px 26px -14px rgba(47, 128, 237, .6) !important;
}
.btn-gradient:hover,
.btn-primary:hover,
.btn-cta:hover {
    background: #3b8ff5 !important;
    background-image: none !important;
}
.btn-gradient:disabled,
.btn-primary:disabled {
    background: rgba(47, 128, 237, .45) !important;
}

/* ---- 标签 / 徽标 / 数字 / 价格：纯色 ---- */
[class*="tag--gradient"],
[class*="badge--gradient"],
[class*="badge-gradient"],
[class*="gradient-text"],
.hero-chip,
.step-num,
.price,
.price-current,
.amount,
.stat-value,
.ai-chat-fab {
    background-image: none !important;
}
.hero-chip {
    background: rgba(255, 255, 255, .045) !important;
    border: 1px solid rgba(125, 211, 252, .22) !important;
}
.ai-chat-fab {
    background: #2f80ed !important;
    color: #fff !important;
}
.stat-value,
.price,
.price-current,
.amount,
.step-num {
    color: #7dd3fc !important;
}

/* ---- 任何 class 名带 gradient 的元素，去掉背景图（保留布局） ---- */
[class*="gradient"] {
    background-image: none !important;
}

/* ---- 装饰光晕：只留单色青，去掉多色渐变叠加 ---- */
.aurora--violet,
.aurora--emerald,
.aurora--magenta {
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, .45), transparent 68%) !important;
}
.aurora--violet { opacity: .55; }

/* 登录页 / 404 的动态渐变字与亮色光斑统一为克制的单色 */
.login-hero-title .text-gradient { color: #7dd3fc !important; }

/* ==========================================================================
 * 去 AI 味 & 自定义光标辅助样式
 * ========================================================================== */

/* 关闭所有彩色极光/星尘装饰，回归干净的深色底 */
.aurora,
.hero-orbit,
#heroParticles {
    display: none !important;
}

/* Hero 使用纯色深底 + 细网格，不再用 AI 生成背景图 */
.hero-bg {
    background: #050a14 !important;
}
.hero-bg img {
    display: none !important;
}
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(125, 211, 252, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .05) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 10%, transparent 72%);
    pointer-events: none;
}

/* 团队成员头像：首字母字母标，不再使用 AI 生成的人像 */
.team-avatar {
    display: grid;
    place-items: center;
    background: #0b1422;
    aspect-ratio: 4 / 3;
}
.team-initial {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 1;
    letter-spacing: .02em;
    color: #7dd3fc;
    text-transform: uppercase;
}
.team-initial--lg {
    font-size: clamp(4rem, 10vw, 7rem);
}
.member-hero-avatar {
    display: grid;
    place-items: center;
    background: #0b1422;
}
.team-avatar-glow { display: none !important; }

/* ---- 自定义光标：静止圆点 + 移动拖尾（仅桌面精细指针启用） ---- */
@media (pointer: fine) and (hover: hover) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor .btn,
    body.has-custom-cursor summary {
        cursor: none;
    }
    body.has-custom-cursor input,
    body.has-custom-cursor textarea,
    body.has-custom-cursor select,
    body.has-custom-cursor [contenteditable="true"] {
        cursor: auto;
    }
}
#zc-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2147482998;
}
#zc-dot {
    position: fixed;
    left: 0;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7dd3fc;
    pointer-events: none;
    z-index: 2147482999;
    transform: translate3d(-50%, -50%, 0);
    transition: width .16s ease, height .16s ease, background .16s ease, opacity .2s ease;
    opacity: 0;
}
#zc-dot.is-ready { opacity: 1; }
#zc-dot.is-hover {
    width: 30px;
    height: 30px;
    background: rgba(125, 211, 252, .12);
    border: 1px solid rgba(125, 211, 252, .75);
}

/* 空状态不再使用 AI 生成图 */
.empty-media { display: none !important; }
.login-bg img { display: none !important; }
