/* 浅色主题 — 与 LOGO 天蓝主色协调 */
html.light body {
    background-color: #eef3f8;
    color: #3d4f63;
    transition: background-color 0.25s ease, color 0.25s ease;
}

html.light .bg-brand-dark {
    background-color: #eef3f8 !important;
}

html.light .text-white {
    color: #1a2332 !important;
}

html.light .text-slate-200 {
    color: #2d3a4d !important;
}

html.light .text-slate-300 {
    color: #3d4f63 !important;
}

html.light .text-slate-400 {
    color: #526075 !important;
}

html.light .text-slate-500 {
    color: #6b7c93 !important;
}

/* 卡片 */
html.light .glass-card {
    background: #ffffff;
    border-color: rgba(26, 35, 50, 0.11);
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
}

html.light .glass-card:hover {
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
    transform: translateY(-1px);
}

html.light .bg-black\/40 {
    background-color: rgba(255, 255, 255, 0.55) !important;
}

html.light .bg-black\/60 {
    background-color: rgba(255, 255, 255, 0.72) !important;
}

html.light .bg-black\/80 {
    background-color: rgba(255, 255, 255, 0.82) !important;
}

/* 页脚：与页面浅色背景统一 */
html.light footer {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-top-color: rgba(26, 35, 50, 0.11) !important;
}

html.light .bg-grid {
    background-image:
        linear-gradient(to right, rgba(26, 35, 50, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 35, 50, 0.045) 1px, transparent 1px);
}

html.light .border-brand-border\/40,
html.light .border-brand-border\/60,
html.light .border-brand-border,
html.light .border-white\/5,
html.light .border-white\/10,
html.light .border-white\/20 {
    border-color: rgba(26, 35, 50, 0.11) !important;
}

html.light header.glass-card {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(26, 35, 50, 0.09);
    box-shadow: 0 1px 4px rgba(26, 35, 50, 0.05);
}

html.light .footer-nav-link {
    color: #64748b;
}

html.light .footer-nav-link:hover {
    color: #0891b2;
}

html.light .footer-col-title {
    color: #1a2332;
}

html.light .footer-news-link {
    color: #64748b;
}

html.light .footer-news-link::before {
    color: rgba(124, 58, 237, 0.45);
}

html.light .footer-news-link:hover {
    color: #7c3aed;
}

html.light .footer-news-link:hover::before {
    color: #7c3aed;
}

html.light .footer-contact-bar {
    background: rgba(26, 35, 50, 0.03);
    border-color: rgba(26, 35, 50, 0.1);
}

html.light .footer-contact-card {
    background: #ffffff;
    border-color: rgba(26, 35, 50, 0.1);
}

html.light .footer-contact-card:hover {
    background: rgba(8, 145, 178, 0.06);
    border-color: rgba(8, 145, 178, 0.3);
}

html.light .footer-contact-pill {
    background: #ffffff;
    border-color: rgba(26, 35, 50, 0.12);
    color: #475569;
}

html.light .site-footer {
    background: rgba(255, 255, 255, 0.92) !important;
}

html.light .footer-service-grid {
    background: rgba(26, 35, 50, 0.03);
    border-color: rgba(26, 35, 50, 0.1);
}

html.light .footer-service-item {
    background: #ffffff;
    border-color: rgba(26, 35, 50, 0.08);
}

html.light .footer-service-item:hover {
    background: rgba(8, 145, 178, 0.04);
    border-color: rgba(8, 145, 178, 0.2);
}

html.light .footer-service-title {
    color: #1a2332;
}

html.light .footer-service-desc,
html.light .footer-quick-contact {
    color: #64748b;
}

html.light .footer-quick-contact a:hover {
    color: #0891b2;
}

html.light .footer-bottom-bar {
    border-top-color: rgba(26, 35, 50, 0.1);
}

html.light .section-cta--neon {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.35);
}

html.light .section-cta--neon:hover {
    color: #ffffff;
    background: #0891b2;
}

html.light .section-cta--purple {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
}

html.light .section-cta--purple:hover {
    color: #ffffff;
    background: #7c3aed;
}

html.light .site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(8, 145, 178, 0.22);
    box-shadow: 0 2px 16px rgba(26, 35, 50, 0.08);
}

html.light .site-nav {
    background: rgba(26, 35, 50, 0.05);
    border-color: rgba(26, 35, 50, 0.12);
}

html.light .site-nav a {
    color: #334155 !important;
}

html.light .site-nav a:hover {
    color: #0891b2 !important;
    background: rgba(8, 145, 178, 0.1);
}

html.light .site-nav a.text-brand-neon {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    box-shadow: 0 2px 10px rgba(8, 145, 178, 0.28);
}

html.light .site-nav a.text-brand-neon:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
}

html.light .site-menu-btn {
    color: #475569;
    background: rgba(26, 35, 50, 0.05);
    border-color: rgba(26, 35, 50, 0.12);
}

html.light .site-menu-btn:hover {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.3);
}

html.light #mobile-menu .mobile-link {
    color: #475569;
}

html.light #mobile-menu .mobile-link:hover,
html.light #mobile-menu .mobile-link.text-brand-neon {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.28);
}

html.light #mobile-menu {
    background: rgba(255, 255, 255, 0.97) !important;
}

html.light .bg-white\/5 {
    background-color: rgba(26, 35, 50, 0.05) !important;
}

html.light #particles-js {
    opacity: 0.05 !important;
}

html.light .fixed.top-\[-10\%\],
html.light .fixed.bottom-\[-10\%\] {
    opacity: 0.15;
}

/* ===== 模块色：饱和度加强 ===== */
html.light .text-brand-neon {
    color: #0891b2 !important;
}

html.light .text-brand-purple {
    color: #7c3aed !important;
}

html.light .text-brand-pink {
    color: #db2777 !important;
}

html.light .text-emerald-400 {
    color: #047857 !important;
}

html.light .text-yellow-400 {
    color: #b45309 !important;
}

html.light .text-amber-400 {
    color: #b45309 !important;
}

html.light .text-blue-400 {
    color: #0e7490 !important;
}

html.light .bg-brand-neon {
    background-color: #0891b2 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.26) !important;
}

html.light .bg-brand-neon\/5 {
    background-color: rgba(8, 145, 178, 0.08) !important;
}

html.light .bg-brand-neon\/10 {
    background-color: rgba(8, 145, 178, 0.14) !important;
}

html.light .bg-brand-neon\/15 {
    background-color: rgba(8, 145, 178, 0.16) !important;
}

html.light .border-brand-neon\/30,
html.light .border-brand-neon\/40 {
    border-color: rgba(8, 145, 178, 0.38) !important;
}

html.light .bg-brand-purple\/20 {
    background-color: rgba(124, 58, 237, 0.12) !important;
}

html.light .border-brand-purple\/30 {
    border-color: rgba(124, 58, 237, 0.34) !important;
}

html.light .border-brand-purple\/50 {
    border-color: rgba(124, 58, 237, 0.42) !important;
}

html.light .bg-brand-pink\/20 {
    background-color: rgba(219, 39, 119, 0.12) !important;
}

html.light .border-brand-pink\/30 {
    border-color: rgba(219, 39, 119, 0.34) !important;
}

html.light .bg-emerald-500\/10 {
    background-color: rgba(4, 120, 87, 0.14) !important;
}

html.light .border-emerald-500\/30 {
    border-color: rgba(4, 120, 87, 0.38) !important;
}

html.light .border-emerald-400\/30 {
    border-color: rgba(4, 120, 87, 0.38) !important;
}

html.light .border-emerald-400 {
    border-color: #047857 !important;
}

html.light .border-amber-400\/30,
html.light .border-amber-500\/30 {
    border-color: rgba(180, 83, 9, 0.38) !important;
}

html.light .border-blue-400\/30,
html.light .border-blue-500\/30 {
    border-color: rgba(8, 145, 178, 0.38) !important;
}

html.light .bg-amber-500\/10 {
    background-color: rgba(180, 83, 9, 0.14) !important;
}

html.light .bg-blue-500\/10 {
    background-color: rgba(8, 145, 178, 0.14) !important;
}

html.light .border-yellow-400 {
    border-color: #b45309 !important;
}

html.light .gradient-text {
    background: linear-gradient(135deg, #0891b2 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.light .gradient-border {
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #0891b2, #7c3aed);
}

html.light .shadow-neon-cyan {
    box-shadow: 0 1px 8px rgba(8, 145, 178, 0.16) !important;
}

html.light .shadow-neon-purple {
    box-shadow: 0 1px 8px rgba(124, 58, 237, 0.14) !important;
}

html.light .shadow-2xl {
    box-shadow: 0 6px 18px rgba(30, 41, 59, 0.07) !important;
}

html.light a.bg-brand-neon:hover,
html.light button.bg-brand-neon:hover {
    background-color: #0e7490 !important;
}

html.light .hover\:bg-brand-neon:hover {
    background-color: #0891b2 !important;
    color: #ffffff !important;
}

html.light .group:hover .group-hover\:bg-brand-neon {
    background-color: #0891b2 !important;
    color: #ffffff !important;
}

html.light .group:hover .group-hover\:bg-brand-purple {
    background-color: #7c3aed !important;
    color: #ffffff !important;
}

html.light .group:hover .group-hover\:bg-brand-pink {
    background-color: #db2777 !important;
    color: #ffffff !important;
}

html.light .group:hover .group-hover\:text-white {
    color: #ffffff !important;
}

/* 次要按钮（体验版 / 定制版） */
html.light .border-slate-700 {
    border-color: rgba(26, 35, 50, 0.22) !important;
}

html.light button.border-slate-700.text-white,
html.light .border-slate-700.font-bold.text-white {
    color: #3d4f63 !important;
}

html.light button.border-slate-700:hover,
html.light .border-slate-700.hover\:bg-white\/10:hover {
    background-color: rgba(26, 35, 50, 0.06) !important;
    color: #1a2332 !important;
}

/* ===== 终端 / 代码区：浅色编辑器风格 ===== */
html.light .glass-card.overflow-hidden .bg-slate-900\/80 {
    background-color: #dde4ee !important;
    border-bottom-color: rgba(26, 35, 50, 0.1) !important;
}

html.light .glass-card.overflow-hidden .bg-slate-900\/80 .text-slate-400 {
    color: #475569 !important;
}

html.light .glass-card.overflow-hidden .bg-slate-900\/80 .text-brand-neon {
    color: #0e7490 !important;
}

html.light .glass-card.overflow-hidden .bg-slate-900\/80 .bg-brand-neon\/10 {
    background-color: rgba(8, 145, 178, 0.14) !important;
}

html.light .glass-card.overflow-hidden .bg-slate-900\/80 .border-brand-neon\/30 {
    border-color: rgba(8, 145, 178, 0.4) !important;
}

html.light .glass-card.overflow-hidden > .p-5.font-mono,
html.light .glass-card.overflow-hidden > .p-6.font-mono,
html.light #terminal-body {
    background-color: #f4f7fb !important;
    color: #334155 !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-slate-300,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-slate-300,
html.light #terminal-body .text-slate-300 {
    color: #334155 !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-slate-400,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-slate-400,
html.light #terminal-body .text-slate-400 {
    color: #64748b !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-slate-500,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-slate-500,
html.light #terminal-body .text-slate-500 {
    color: #94a3b8 !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-brand-neon,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-brand-neon,
html.light #terminal-body .text-brand-neon {
    color: #0e7490 !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-brand-purple,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-brand-purple,
html.light #terminal-body .text-brand-purple {
    color: #7c3aed !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-emerald-400,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-emerald-400,
html.light #terminal-body .text-emerald-400 {
    color: #047857 !important;
}

html.light .glass-card.overflow-hidden .p-5.font-mono .text-yellow-400,
html.light .glass-card.overflow-hidden .p-6.font-mono .text-yellow-400,
html.light #terminal-body .text-yellow-400 {
    color: #b45309 !important;
}

html.light .bg-slate-950,
html.light .bg-slate-950\/50 {
    background-color: #f4f7fb !important;
    border: 1px solid rgba(26, 35, 50, 0.1);
}

html.light .bg-slate-950 .text-slate-300,
html.light .bg-slate-950\/50 .text-slate-300 {
    color: #334155 !important;
}

html.light .bg-slate-950 .text-slate-500,
html.light .bg-slate-950\/50 .text-slate-500 {
    color: #94a3b8 !important;
}

html.light .bg-slate-950 .text-brand-neon,
html.light .bg-slate-950\/50 .text-brand-neon {
    color: #0e7490 !important;
}

html.light .bg-slate-950 .text-brand-purple,
html.light .bg-slate-950\/50 .text-brand-purple {
    color: #7c3aed !important;
}

html.light .bg-slate-950 .text-emerald-400,
html.light .bg-slate-950\/50 .text-emerald-400 {
    color: #047857 !important;
}

html.light .bg-slate-950\/50 .text-brand-neon {
    color: #0e7490 !important;
}

html.light .bg-slate-950\/50 .text-brand-purple {
    color: #7c3aed !important;
}

html.light .bg-slate-950\/50 .text-brand-pink {
    color: #db2777 !important;
}

html.light .bg-slate-950\/50 .text-slate-500 {
    color: #94a3b8 !important;
}

/* 对比表格表头：浅灰风格 */
html.light thead.bg-slate-900\/60 {
    background-color: #dde4ee !important;
}

html.light thead.bg-slate-900\/60 .text-slate-200 {
    color: #1a2332 !important;
}

html.light thead.bg-slate-900\/60 th.text-slate-500 {
    color: #64748b !important;
}

html.light thead.bg-slate-900\/60 th.text-brand-neon {
    color: #0891b2 !important;
}

html.light thead.bg-slate-900\/60 .bg-brand-neon\/5 {
    background-color: rgba(8, 145, 178, 0.1) !important;
}

/* ===== 通用 ===== */
html.light ::-webkit-scrollbar-track {
    background: #e4e8ee;
}

html.light ::-webkit-scrollbar-thumb {
    background: #b8c0cc;
}

html.light ::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

html.light ::selection {
    background: rgba(8, 145, 178, 0.22);
    color: #1a2332;
}

html.light .float-label {
    color: #1a2332 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border-color: rgba(26, 35, 50, 0.1) !important;
    box-shadow: 0 2px 6px rgba(26, 35, 50, 0.07) !important;
}

html.light [data-theme-toggle] {
    border-color: rgba(26, 35, 50, 0.12) !important;
    color: #526075 !important;
}

html.light [data-theme-toggle]:hover {
    color: #0891b2 !important;
    border-color: rgba(8, 145, 178, 0.35) !important;
}

html.light .border-brand-neon {
    border-color: #0891b2 !important;
}

/* ===== 导航 / 链接 hover：深色可读 ===== */
html.light nav a.hover\:text-brand-neon:hover,
html.light #mobile-menu .mobile-link:hover,
html.light footer a.hover\:text-brand-neon:hover,
html.light a.hover\:text-brand-neon:hover:not(.bg-brand-neon) {
    color: #0e7490 !important;
}

html.light nav a.text-brand-neon {
    color: #0e7490 !important;
}

/* ===== 步骤数字：简约描边 ===== */
html.light .glass-card .rounded-full.w-10.h-10.font-black {
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.08) !important;
    border: 2px solid #0891b2 !important;
    color: #0891b2 !important;
}

html.light .glass-card .bg-brand-purple.rounded-full.w-10 {
    border-color: #7c3aed !important;
    color: #7c3aed !important;
}

html.light .glass-card .bg-brand-pink.rounded-full.w-10 {
    border-color: #db2777 !important;
    color: #db2777 !important;
}

html.light .glass-card.relative > .absolute.rounded-full.bg-gradient-to-r {
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.08) !important;
    border: 2px solid #0891b2 !important;
    color: #0891b2 !important;
}

html.light .grid.md\:grid-cols-3 > div:nth-child(2) .absolute.rounded-full.bg-gradient-to-r {
    border-color: #7c3aed !important;
    color: #7c3aed !important;
}

html.light .grid.md\:grid-cols-3 > div:nth-child(3) .absolute.rounded-full.bg-gradient-to-r {
    border-color: #db2777 !important;
    color: #db2777 !important;
}

/* ===== 按钮 / CTA：浅色模式文字对比 ===== */
html.light a.bg-brand-neon,
html.light button.bg-brand-neon,
html.light .bg-brand-neon.text-black,
html.light a.bg-emerald-500,
html.light .bg-emerald-500.text-black {
    color: #ffffff !important;
}

html.light a.bg-brand-neon:hover,
html.light button.bg-brand-neon:hover,
html.light .hover\:bg-cyan-300:hover {
    background-color: #0e7490 !important;
    color: #ffffff !important;
}

html.light a.bg-emerald-500:hover,
html.light .hover\:bg-emerald-400:hover {
    background-color: #059669 !important;
    color: #ffffff !important;
}

html.light .text-emerald-400 {
    color: #059669 !important;
}

html.light .bg-emerald-500 {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

html.light .border-emerald-500\/30 {
    border-color: rgba(16, 185, 129, 0.38) !important;
}

html.light .hover\:bg-brand-purple\/10:hover {
    background-color: rgba(124, 58, 237, 0.1) !important;
}

html.light body.selection\:bg-brand-neon.selection\:text-black ::selection,
html.light ::selection {
    background: rgba(8, 145, 178, 0.22);
    color: #1a2332;
}

html.light .glass-card,
html.light header.glass-card,
html.light footer {
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
