/**
 * StarNexus 全站统一风格 - 商业化为主(85%) + 学院风点缀(15%)
 * 主色 #4A3A6B | 辅色 #D4AF37 | 浅色背景 #F8F6FC / #FDF8F0
 */

/* ===== CSS 变量 ===== */
:root {
    --sn-purple: #4A3A6B;
    --sn-purple-light: #6B5A8B;
    --sn-purple-dark: #36294F;
    --sn-gold: #D4AF37;
    --sn-gold-light: rgba(212, 175, 55, 0.1);
    --sn-cream: #FDF8F0;
    --sn-paper: #FAF5EC;
    --sn-text-dark: #3D3A52;
    --sn-text-body: #3D3A52;
    --sn-text-muted: #6B7280;
    --sn-white: #FFFFFF;
    /* 字体族规范（2026-08-19）
       标题：衬线 → Source Serif 4
       正文：无衬线 → Inter
       代码：等宽 → JetBrains Mono */
    --sn-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --sn-hand: 'Caveat', cursive;
    --sn-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    --sn-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* 字号层级规范（2026-08-19）
       标题字体族固定用 --sn-serif；正文固定 16px/1.6/400，
       辅助文字 14px/1.5/400，极小文字 12px/1.4/400 */
    --sn-font-h1: 32px; --sn-weight-h1: 700; --sn-lh-h1: 1.3;
    --sn-font-h2: 28px; --sn-weight-h2: 700; --sn-lh-h2: 1.3;
    --sn-font-h3: 22px; --sn-weight-h3: 600; --sn-lh-h3: 1.4;
    --sn-font-h4: 18px; --sn-weight-h4: 600; --sn-lh-h4: 1.5;
    --sn-font-h5: 16px; --sn-weight-h5: 600; --sn-lh-h5: 1.5;
    --sn-font-h6: 14px; --sn-weight-h6: 600; --sn-lh-h6: 1.5;
    --sn-font-body: 16px;  --sn-weight-body: 400; --sn-lh-body: 1.6;
    --sn-font-secondary: 14px; --sn-weight-secondary: 400; --sn-lh-secondary: 1.5;
    --sn-font-small: 12px; --sn-weight-small: 400; --sn-lh-small: 1.4;
}

/* ===== 纸纹背景 ===== */
body {
    background-image: 
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #FDF8F0 0%, #F8F4EC 100%);
    background-attachment: fixed;
}

/* ===== 标题字体 - 衬线体 ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sn-serif);
}

/* ===== 全站标题规范：统一字号 / 字重 / 颜色（2026-08-19 字体统一规范） ===== */
body .site-shell h1,
body .site-shell h2,
body .site-shell h3,
body .site-shell h4,
body .site-shell h5,
body .site-shell h6 {
    font-family: var(--sn-serif) !important;
    color: var(--sn-purple) !important;
    letter-spacing: 0;
}

body .site-shell h1 {
    font-size: var(--sn-font-h1) !important;
    font-weight: var(--sn-weight-h1) !important;
    color: var(--sn-purple) !important;
    line-height: var(--sn-lh-h1) !important;
}

body .site-shell h2 {
    font-size: var(--sn-font-h2) !important;
    font-weight: var(--sn-weight-h2) !important;
    color: var(--sn-purple) !important;
    line-height: var(--sn-lh-h2) !important;
}

body .site-shell h3 {
    font-size: var(--sn-font-h3) !important;
    font-weight: var(--sn-weight-h3) !important;
    color: var(--sn-purple) !important;
    line-height: var(--sn-lh-h3) !important;
}

body .site-shell h4 {
    font-size: var(--sn-font-h4) !important;
    font-weight: var(--sn-weight-h4) !important;
    color: var(--sn-purple) !important;
    line-height: var(--sn-lh-h4) !important;
}

body .site-shell h5 {
    font-size: var(--sn-font-h5) !important;
    font-weight: var(--sn-weight-h5) !important;
    color: var(--sn-purple) !important;
    line-height: var(--sn-lh-h5) !important;
}

body .site-shell h6 {
    font-size: var(--sn-font-h6) !important;
    font-weight: var(--sn-weight-h6) !important;
    color: var(--sn-purple) !important;
    line-height: var(--sn-lh-h6) !important;
}

/* 正文 / 辅助文字 / 极小文字字号规范（2026-08-19）
   正文 16px/1.6/400；辅助 14px/1.5/400；极小 12px/1.4/400 */
body {
    font-family: var(--sn-sans);
    font-size: var(--sn-font-body);
    font-weight: var(--sn-weight-body);
    line-height: var(--sn-lh-body);
}

.sn-text-secondary,
.sn-secondary {
    font-size: var(--sn-font-secondary);
    font-weight: var(--sn-weight-secondary);
    line-height: var(--sn-lh-secondary);
}

.sn-text-small,
.sn-small {
    font-size: var(--sn-font-small);
    font-weight: var(--sn-weight-small);
    line-height: var(--sn-lh-small);
}

/* 字体族工具类（2026-08-19 字体统一规范）
   供模板内联 font-family 替换使用 */
.sn-font-serif,
.sn-serif {
    font-family: var(--sn-serif);
}

.sn-font-sans,
.sn-sans {
    font-family: var(--sn-sans);
}

.sn-font-mono,
.sn-mono {
    font-family: var(--sn-mono);
}

.sn-font-hand,
.sn-hand {
    font-family: var(--sn-hand);
}

/* 代码 / 日志输出等宽字体规范 */
pre,
code,
kbd,
samp,
.api-preview,
.result-panel pre,
.log-output {
    font-family: var(--sn-mono);
}

/* ===== 金色手绘下划线装饰 ===== */
.section-title h2::after,
.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 8px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 3 Q15 1 30 4 T60 3' stroke='%23D4AF37' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
}

/* ===== 卡片统一风格 ===== */
.card,
.feature-card,
.ecosystem-card,
.journal-card,
.scenario-card,
.cta-card,
.ws-card,
.sub-journal-card {
    background: var(--sn-paper);
    border: 2px dashed var(--sn-gold);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card:hover,
.feature-card:hover,
.ecosystem-card:hover,
.journal-card:hover,
.scenario-card:hover,
.cta-card:hover,
.ws-card:hover,
.sub-journal-card:hover {
    border: 2px solid var(--sn-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74, 58, 107, 0.12);
}

/* ===== 主按钮 - 紫色背景 + 白色文字（P0 统一：主按钮紫色） ===== */
.btn-primary,
.btn-purple {
    background: linear-gradient(135deg, #4A3A6B, #5E4D80) !important;
    color: var(--sn-white) !important;
    border: 2px solid var(--sn-purple) !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(74, 58, 107, 0.25);
    transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-purple:hover {
    background: linear-gradient(135deg, #3d2f5c, #4A3A6B) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(74, 58, 107, 0.35);
}

.btn-primary:active,
.btn-purple:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(74, 58, 107, 0.25);
}

/* ===== 强调按钮 - 金色背景（P0 统一：强调按钮金色） ===== */
.btn-gold,
.solid-button,
.cta-btn-gold,
.ws-btn.primary,
.ws-btn.gold {
    background: linear-gradient(135deg, #D4AF37, #E3C55A) !important;
    color: #4A3A6B !important;
    border: 2px solid var(--sn-gold) !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: all 0.2s ease;
}

.btn-gold:hover,
.solid-button:hover,
.cta-btn-gold:hover,
.ws-btn.primary:hover,
.ws-btn.gold:hover {
    background: linear-gradient(135deg, #c9a42e, #D4AF37) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.btn-gold:active,
.solid-button:active,
.cta-btn-gold:active,
.ws-btn.primary:active,
.ws-btn.gold:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}

/* ===== 次要按钮 - 紫色边框（P0 统一：次要按钮为描边样式） ===== */
.btn-secondary,
.btn-outline,
.btn-ghost,
.ghost-button,
.cta-btn-outline,
.cta-btn-purple {
    background: transparent !important;
    color: var(--sn-purple) !important;
    border: 2px solid var(--sn-purple) !important;
    transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-ghost:hover,
.ghost-button:hover,
.cta-btn-outline:hover,
.cta-btn-purple:hover {
    background: var(--sn-purple) !important;
    color: var(--sn-white) !important;
}

.btn-secondary:active,
.btn-outline:active,
.btn-ghost:active,
.ghost-button:active,
.cta-btn-outline:active,
.cta-btn-purple:active {
    transform: scale(0.98);
}

/* ===== 危险按钮 - 红色（P0 统一） ===== */
.btn-danger {
    background: #C62828 !important;
    color: #fff !important;
    border: 2px solid #C62828 !important;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #B71C1C !important;
    transform: translateY(-1px);
}

.btn-danger:active {
    transform: translateY(0) scale(0.98);
}

/* ===== 深色背景文字强制白色（浅色 .page-hero 除外，见下方统一深紫）
   2026-08-17 修订：.set-hero（设置页）为浅色背景、.cta-section 深浅混用
   （首页/社区 CTA 为浅色），均移出白字强制，改由下方 .hero-dark / .cta-dark 精确控制
   2026-09-04 修订：追加排除自定义 hero 组件（apple-hero/ab-hero/ae-hero/soc-hero/
   sv-hero/v-hero/inv-hero/pt-hero/faqs-hero/guide-hero/recognition-hero/benefits-hero/
   scholar-hero/ms-hero/ebt-hero/asirs-hero/ah-hero/ei-hero/submit-hero/conf-detail-hero/
   events-hero/contact-hero/help-hero/b-hero），这些组件自带深紫/金色/浅色配色，
   不应被全局规则劫持为白色 */
.sub-hero,
.overview-header,
.hero-section,
.gradient-bg,
[class*="hero"]:not([class*="card"]):not([class*="hero-role"]):not(.page-hero):not(.page-hero *):not([class*="hero-btn"]):not([class*="set-hero"]):not(.hero-apple):not(.hero-apple *):not(.b-hero):not(.b-hero *):not([class*="apple-hero"]):not([class*="ab-hero"]):not([class*="ae-hero"]):not([class*="soc-hero"]):not([class*="sv-hero"]):not([class*="inv-hero"]):not([class*="v-hero"]):not([class*="pt-hero"]):not([class*="pt-tool-hero"]):not([class*="pt-recharge-hero"]):not([class*="faqs-hero"]):not([class*="guide-hero"]):not([class*="recognition-hero"]):not([class*="benefits-hero"]):not([class*="scholar-hero"]):not([class*="ms-hero"]):not([class*="ebt-hero"]):not([class*="asirs-hero"]):not([class*="ah-hero"]):not([class*="ei-hero"]):not([class*="submit-hero"]):not([class*="conf-detail-hero"]):not([class*="events-hero"]):not([class*="contact-hero"]):not([class*="help-hero"]) {
    color: var(--sn-white) !important;
}

.sub-hero *,
.overview-header *,
.hero-section * {
    color: var(--sn-white) !important;
}

/* ===== 浅色 Hero（.page-hero）文字统一深紫（不加 !important，允许深色背景 hero 页面用白色/金色文字覆盖） ===== */
.page-hero,
.page-hero * {
    color: var(--sn-purple);
}

/* ===== 整站配色统一：深色 Hero / CTA 标题与正文强制白色（2026-08-17）
   特异性 0,3,2 高于上方 body .site-shell h1（0,2,1）的紫色 !important，
   保证深紫背景上的标题/正文不被全站紫色规则覆盖；辅助文字用半透明白 */
body .site-shell .sub-hero h1,
body .site-shell .sub-hero h2,
body .site-shell .sub-hero h3,
body .site-shell .hero-section h1,
body .site-shell .hero-section h2,
body .site-shell .hero-section h3,
body .site-shell .overview-header h1,
body .site-shell .overview-header h2,
body .site-shell .cta-dark h1,
body .site-shell .cta-dark h2,
body .site-shell .cta-dark h3,
body .site-shell .hero-dark h1,
body .site-shell .hero-dark h2,
body .site-shell .hero-dark h3,
body .site-shell .ei-hero h1,
body .site-shell .ac-hero h1,
body .site-shell .ms-hero h1,
body .site-shell .b-hero h1,
body .site-shell .ah-hero h1,
body .site-shell .ah-hero h2,
body .site-shell .ah-hero h3,
body .site-shell .insights-cta h2,
body .site-shell .argument-report-head h3,
body .site-shell .page-hero.hero-split h1,
body .site-shell .page-hero.hero-split h2,
body .site-shell .page-hero.hero-split h3 {
    color: var(--sn-white) !important;
}

body .site-shell .sub-hero p,
body .site-shell .sub-hero li,
body .site-shell .hero-section p,
body .site-shell .hero-section li,
body .site-shell .overview-header p,
body .site-shell .overview-header li,
body .site-shell .cta-dark p,
body .site-shell .cta-dark li,
body .site-shell .hero-dark p,
body .site-shell .hero-dark li {
    color: var(--sn-white) !important;
}

/* Academic Hub 英雄栏：副标题 / 统计数字 / 说明文字 / 标签 / 快捷工具名 强制白色
   （覆盖旧缓存版本中可能的深色继承，保证 .ah-hero 深色背景上的可读性） */
body .site-shell .ah-hero-desc,
body .site-shell .ah-hero .ah-stat b,
body .site-shell .ah-hero .ah-stat span,
body .site-shell .ah-hero-tag,
body .site-shell .ah-hero-tool .tname {
    color: var(--sn-white) !important;
}

body .site-shell .cta-dark small,
body .site-shell .cta-dark .meta,
body .site-shell .cta-dark .subtitle,
body .site-shell .hero-dark small,
body .site-shell .hero-dark .meta,
body .site-shell .hero-dark .subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ===== 导航栏：白底深色字 ===== */
.site-header {
    background: rgba(255, 255, 255, 0.98) !important;
}
.site-header,
.site-header * {
    color: inherit !important;
}
.site-nav a,
.site-nav .nav-link,
.site-nav .nav-more-btn {
    color: #4A3A6B !important;
}
.site-nav a:hover,
.site-nav .nav-link:hover,
.site-nav .nav-more-btn:hover {
    color: #8A5A00 !important;
}
.site-nav a.is-active,
.site-nav .nav-link.is-active {
    color: #4A3A6B !important;
}
/* 品牌区：暗紫色 */
.site-header .brand strong,
.site-header .brand small,
.platform-header .brand strong,
.platform-header .brand small {
    color: #4A3A6B !important;
}
.site-header .brand small,
.platform-header .brand small {
    color: #6B5A8B !important;
}

/* 下拉菜单保持深色文字 */
.nav-dropdown,
.nav-dropdown * {
    color: #3D3A52 !important;
}

/* Hero 区数据用金色手写体 */
.hero-stat strong,
.stat-value,
.data-number {
    color: var(--sn-gold) !important;
    font-family: var(--sn-hand) !important;
    font-weight: 700;
    font-size: 1.4em;
}

/* ===== 分隔线 - 金色手绘风格 ===== */
.section-divider,
.academic-divider {
    width: 100%;
    max-width: 200px;
    margin: 32px auto;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg width='200' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q25 1 50 5 T100 3 T150 6 T200 4' stroke='%23D4AF37' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.6'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* ===== 输入框统一风格 ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
    background: var(--sn-white) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--sn-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
    outline: none;
}

/* ===== 链接颜色 ===== */
a {
    color: var(--sn-purple);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sn-gold);
}

/* ===== 导航栏激活状态 ===== */
.nav-item.active,
.nav-item:hover {
    color: var(--sn-gold) !important;
}

/* ===== 徽章/标签 ===== */
.badge,
.tag,
.chip {
    background: var(--sn-gold-light);
    color: var(--sn-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
}

/* ===== 表格统一风格 ===== */
table {
    border-collapse: collapse;
    width: 100%;
}

table th {
    background: var(--sn-paper);
    color: var(--sn-purple);
    font-family: var(--sn-serif);
    font-weight: 700;
    border-bottom: 2px solid var(--sn-gold);
}

table td {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

table tr:hover {
    background: var(--sn-gold-light);
}

/* ===== 侧边栏导航 - 工作台入口 ===== */
.sidebar-nav .nav-item.back-to-home,
.nav-item.back-to-home {
    background: rgba(212, 175, 55, 0.1);
    color: var(--sn-gold);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 8px;
    padding-bottom: 12px;
}

.sidebar-nav .nav-item.back-to-home:hover,
.nav-item.back-to-home:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--sn-white);
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .card:hover,
    .feature-card:hover,
    .ecosystem-card:hover,
    .journal-card:hover,
    .scenario-card:hover,
    .cta-card:hover,
    .ws-card:hover {
        transform: none;
    }
}

/* ===== 打印样式 ===== */
@media print {
    body {
        background: white !important;
    }
    
    .btn-primary,
    .solid-button {
        background: #333 !important;
        color: white !important;
    }
}

/* ============================================================
   整站文字颜色统一（2026-08-18）
   规范：
     浅色/白背景        → #4A3A6B 深紫色文字
     深色/紫背景        → #FFFFFF 白色文字
     金色背景           → #4A3A6B 深紫色文字
   说明：.cta-section 深浅混用（scholar_benefits 为深紫、首页为透明浅色），
   不列入深色列表，由 .cta-dark 精确控制；避免浅色 CTA 出现白字白底。
   ============================================================ */

/* 1. 浅色背景区域 → 深紫色文字 */
body,
.light-bg,
.bg-white,
.bg-light,
.section,
.container,
.card,
.panel,
.content-area,
main,
.page-wrap,
.insights-page,
.editorial-board-page,
.recruitment-page,
.typesetting-page,
.journal-match-page,
.novelty-search-page,
.submission-page,
.profile-page,
.scholar-page,
.conference-page,
.journal-hosting-page,
.journal-promotion-page,
.reviewer-invite-page,
.author-videos-page,
.author-booking-page,
.integrity-page,
.auto-reviewer-invite-page,
.review-page,
.reviewer-recruitment-page {
    color: #4A3A6B;
}

/* 标题在浅色背景上 */
.light-bg h1, .light-bg h2, .light-bg h3,
.light-bg h4, .light-bg h5, .light-bg h6,
.bg-white h1, .bg-white h2, .bg-white h3,
.bg-white h4, .bg-white h5, .bg-white h6,
.section h1, .section h2, .section h3,
.section h4, .section h5, .section h6,
.card h1, .card h2, .card h3,
.card h4, .card h5, .card h6,
.panel h1, .panel h2, .panel h3,
.panel h4, .panel h5, .panel h6,
main h1, main h2, main h3,
main h4, main h5, main h6,
.content-area h1, .content-area h2, .content-area h3,
.content-area h4, .content-area h5, .content-area h6,
.page-wrap h1, .page-wrap h2, .page-wrap h3,
.page-wrap h4, .page-wrap h5, .page-wrap h6 {
    color: #4A3A6B;
}

/* 正文段落和列表 */
.light-bg p, .light-bg li, .light-bg .text,
.bg-white p, .bg-white li, .bg-white .text,
.section p, .section li, .section .text,
.card p, .card li, .card .text,
.panel p, .panel li, .panel .text,
main p, main li, main .text,
.content-area p, .content-area li, .content-area .text,
.page-wrap p, .page-wrap li, .page-wrap .text {
    color: #4A3A6B;
}

/* 2. 深色/紫色背景区域 → 白色文字
   注：.cta-section 深浅混用，改用 .cta-dark 精确控制（见上文 2026-08-17 注释） */
.dark-bg,
.bg-purple,
.bg-dark,
.hero-section,
.cta-dark,
.footer,
.navbar-dark,
.header-dark,
[class*="dark-bg"],
[class*="bg-purple"],
.section-dark,
.purple-bg {
    color: #FFFFFF;
}

.dark-bg h1, .dark-bg h2, .dark-bg h3,
.dark-bg h4, .dark-bg h5, .dark-bg h6,
.bg-purple h1, .bg-purple h2, .bg-purple h3,
.bg-purple h4, .bg-purple h5, .bg-purple h6,
.hero-section h1, .hero-section h2, .hero-section h3,
.hero-section h4, .hero-section h5, .hero-section h6,
.cta-dark h1, .cta-dark h2, .cta-dark h3,
.cta-dark h4, .cta-dark h5, .cta-dark h6,
.footer h1, .footer h2, .footer h3,
.footer h4, .footer h5, .footer h6,
.navbar-dark h1, .navbar-dark h2, .navbar-dark h3,
.navbar-dark h4, .navbar-dark h5, .navbar-dark h6,
.header-dark h1, .header-dark h2, .header-dark h3,
.header-dark h4, .header-dark h5, .header-dark h6,
[class*="dark-bg"] h1, [class*="dark-bg"] h2, [class*="dark-bg"] h3,
[class*="dark-bg"] h4, [class*="dark-bg"] h5, [class*="dark-bg"] h6,
[class*="bg-purple"] h1, [class*="bg-purple"] h2, [class*="bg-purple"] h3,
[class*="bg-purple"] h4, [class*="bg-purple"] h5, [class*="bg-purple"] h6,
.purple-bg h1, .purple-bg h2, .purple-bg h3,
.purple-bg h4, .purple-bg h5, .purple-bg h6,
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 {
    color: #FFFFFF !important;
}

.dark-bg p, .dark-bg li, .dark-bg .text,
.bg-purple p, .bg-purple li, .bg-purple .text,
.hero-section p, .hero-section li, .hero-section .text,
.cta-dark p, .cta-dark li, .cta-dark .text,
.footer p, .footer li, .footer .text,
.navbar-dark p, .navbar-dark li, .navbar-dark .text,
.header-dark p, .header-dark li, .header-dark .text,
[class*="dark-bg"] p, [class*="dark-bg"] li, [class*="dark-bg"] .text,
[class*="bg-purple"] p, [class*="bg-purple"] li, [class*="bg-purple"] .text,
.purple-bg p, .purple-bg li, .purple-bg .text,
.section-dark p, .section-dark li, .section-dark .text {
    color: #FFFFFF !important;
}

/* 3. 金色背景 → 深紫色文字 */
.bg-gold,
.gold-bg {
    color: #4A3A6B;
}

.bg-gold h1, .bg-gold h2, .bg-gold h3,
.bg-gold h4, .bg-gold h5, .bg-gold h6,
.gold-bg h1, .gold-bg h2, .gold-bg h3,
.gold-bg h4, .gold-bg h5, .gold-bg h6,
.bg-gold p, .bg-gold li, .bg-gold .text,
.gold-bg p, .gold-bg li, .gold-bg .text {
    color: #4A3A6B !important;
}

/* 4. 白色背景区域强制深紫（兜底覆盖） */
.container,
.section,
.card,
.panel,
.content-area,
.page-wrap,
.insights-page,
.editorial-board-page,
.recruitment-page,
.typesetting-page,
.journal-match-page,
.novelty-search-page,
.submission-page,
.profile-page,
.scholar-page,
.conference-page,
.journal-hosting-page,
.journal-promotion-page,
.reviewer-invite-page,
.author-videos-page,
.author-booking-page,
.integrity-page,
.auto-reviewer-invite-page,
.review-page,
.reviewer-recruitment-page {
    color: #4A3A6B;
}
