/**
 * GEO Insight Pro — 浅色主题（html[data-theme="light"]）
 * 深色为默认，通过 data-theme 切换，不改动业务 JS。
 */

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

/* ===== 基础与组件 ===== */
html[data-theme="light"] body {
  background: #f1f5f9 !important;
  color: #1e293b;
}

html[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .glass-light {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .screenshot-frame {
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.35);
}

html[data-theme="light"] .tab-active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(217, 70, 239, 0.06));
  border-color: rgba(59, 130, 246, 0.35);
  color: #2563eb;
}

html[data-theme="light"] .hover-lift:hover {
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .history-item:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.22);
}

html[data-theme="light"] .history-item.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(217, 70, 239, 0.05));
  border-color: rgba(59, 130, 246, 0.28);
}

html[data-theme="light"] .history-overlay {
  background: rgba(15, 23, 42, 0.35) !important;
}

html[data-theme="light"] .seo-loading-hero-bg {
  background:
    radial-gradient(ellipse 85% 65% at 50% 38%, rgba(124, 58, 237, 0.12), transparent 62%),
    radial-gradient(ellipse 55% 45% at 50% 92%, rgba(59, 130, 246, 0.08), transparent 58%),
    #f8fafc;
}

html[data-theme="light"] .seo-load-row.seo-step-done .seo-row-label {
  color: #0f172a;
}

html[data-theme="light"] .seo-load-row.seo-step-active .seo-row-label {
  color: #475569;
}

html[data-theme="light"] .seo-dot-pending {
  background: #94a3b8;
  box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.9);
}

html[data-theme="light"] .seo-report-lang .seo-lang-btn.seo-lang-btn-active {
  color: #0f172a;
}

html[data-theme="light"] .fixed.inset-0.pointer-events-none.z-0 {
  opacity: 0.45;
}

html[data-theme="light"] .scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
}

/* ===== 独立主题切换按钮（一键切换） ===== */
.geo-theme-toggle-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
  font: inherit;
}

.geo-theme-toggle-btn:has(.geo-theme-toggle-label) {
  width: auto;
  height: 2.5rem;
  padding: 0 1rem;
  gap: 0.35rem;
}

html[data-theme="dark"] .geo-theme-toggle-btn {
  background: rgba(51, 65, 85, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
  color: #fbbf24;
}

html[data-theme="dark"] .geo-theme-toggle-btn:hover {
  background: rgba(71, 85, 105, 0.88);
  color: #fde68a;
}

html[data-theme="light"] .geo-theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
  box-shadow: 0 1px 6px rgba(37, 99, 235, 0.14);
}

html[data-theme="light"] .geo-theme-toggle-btn:hover {
  background: #eff6ff;
  color: #1e3a8a;
  border-color: rgba(29, 78, 216, 0.65);
}

html[data-theme="light"] .geo-theme-toggle-label {
  color: #1e293b;
}

html[data-theme="dark"] [data-theme-toggle] [data-theme-icon="light"],
html[data-theme="light"] [data-theme-toggle] [data-theme-icon="dark"] {
  display: none !important;
}

html[data-theme="dark"] [data-theme-toggle] [data-theme-icon="dark"],
html[data-theme="light"] [data-theme-toggle] [data-theme-icon="light"] {
  display: inline-block !important;
}

/* ===== 浅色：图标与文字对比度加强 ===== */
html[data-theme="light"] nav.glass i.fas:not(.text-white),
html[data-theme="light"] nav.glass i.far:not(.text-white),
html[data-theme="light"] nav.glass i.fab:not(.text-white),
html[data-theme="light"] aside i.fas:not(.text-white),
html[data-theme="light"] aside i.far:not(.text-white) {
  color: #2563eb !important;
}

html[data-theme="light"] nav .glass-light,
html[data-theme="light"] nav .glass-light span:not(.text-white) {
  color: #1e293b !important;
}

html[data-theme="light"] nav .glass-light:hover,
html[data-theme="light"] nav .glass-light:hover span:not(.text-white) {
  color: #0f172a !important;
}

html[data-theme="light"] nav .glass-light:hover i {
  color: #1d4ed8 !important;
}

html[data-theme="light"] .text-violet-300,
html[data-theme="light"] .text-violet-400 {
  color: #6d28d9 !important;
}

html[data-theme="light"] .text-emerald-300,
html[data-theme="light"] .text-emerald-400 {
  color: #047857 !important;
}

html[data-theme="light"] .text-amber-200,
html[data-theme="light"] .text-amber-300,
html[data-theme="light"] .text-amber-400 {
  color: #b45309 !important;
}

html[data-theme="light"] .text-green-400 {
  color: #15803d !important;
}

html[data-theme="light"] .text-red-400 {
  color: #dc2626 !important;
}

html[data-theme="light"] .text-accent-400 {
  color: #a21caf !important;
}

html[data-theme="light"] .text-blue-400 {
  color: #2563eb !important;
}

html[data-theme="light"] .text-primary-200 {
  color: #1d4ed8 !important;
}

html[data-theme="light"] .text-primary-300 {
  color: #1d4ed8 !important;
}

html[data-theme="light"] .text-primary-400 {
  color: #2563eb !important;
}

html[data-theme="light"] h1.text-white,
html[data-theme="light"] h2.text-white,
html[data-theme="light"] h3.text-white,
html[data-theme="light"] h4.text-white {
  color: #0f172a !important;
}

html[data-theme="light"] .text-white {
  color: #0f172a;
}

html[data-theme="light"] .text-slate-100 {
  color: #0f172a !important;
}

html[data-theme="light"] .text-slate-200 {
  color: #1e293b !important;
}

html[data-theme="light"] .text-slate-300 {
  color: #334155 !important;
}

html[data-theme="light"] .text-slate-400 {
  color: #475569 !important;
}

html[data-theme="light"] .text-slate-500 {
  color: #64748b !important;
}

html[data-theme="light"] .text-slate-600 {
  color: #475569 !important;
}

html[data-theme="light"] strong.text-slate-200,
html[data-theme="light"] strong.text-slate-300,
html[data-theme="light"] strong.text-white {
  color: #0f172a !important;
}

html[data-theme="light"] code.text-slate-300,
html[data-theme="light"] code.text-slate-400,
html[data-theme="light"] code.text-slate-500 {
  color: #334155 !important;
}

html[data-theme="light"] .category-badge.text-primary-300 {
  color: #1d4ed8 !important;
}

html[data-theme="light"] .category-badge.text-green-400 {
  color: #15803d !important;
}

html[data-theme="light"] .category-badge.text-amber-400 {
  color: #b45309 !important;
}

html[data-theme="light"] .category-badge.text-purple-400 {
  color: #7e22ce !important;
}

html[data-theme="light"] .category-badge.text-blue-400 {
  color: #2563eb !important;
}

/* 渐变按钮/头像保留白字 */
html[data-theme="light"] [class*="bg-gradient"] .text-white,
html[data-theme="light"] [class*="bg-gradient"].text-white,
html[data-theme="light"] button[class*="gradient"],
html[data-theme="light"] button[class*="gradient"] .text-white,
html[data-theme="light"] a[class*="gradient"].text-white,
html[data-theme="light"] .bg-primary-500.text-white,
html[data-theme="light"] .bg-accent-500.text-white,
html[data-theme="light"] #nav-user-avatar,
html[data-theme="light"] .fa-search-plus.text-white,
html[data-theme="light"] #history-badge {
  color: #ffffff !important;
}

html[data-theme="light"] .hover\:text-white:hover {
  color: #0f172a !important;
}

html[data-theme="light"] button[class*="gradient"]:hover,
html[data-theme="light"] a[class*="gradient"]:hover {
  color: #ffffff !important;
}

html[data-theme="light"] thead tr,
html[data-theme="light"] tbody tr {
  border-color: rgba(148, 163, 184, 0.35) !important;
}

html[data-theme="light"] .hover\:bg-slate-700\/50:hover {
  background-color: #e2e8f0 !important;
}

html[data-theme="light"] .group:hover .group-hover\:border-primary-500\/35 {
  border-color: rgba(59, 130, 246, 0.35);
}

html[data-theme="light"] .group:hover .group-hover\:bg-slate-900\/70 {
  background-color: #f1f5f9 !important;
}

html[data-theme="light"] #toast {
  color: #0f172a;
}

html[data-theme="light"] .bg-emerald-900\/40 {
  background-color: rgba(16, 185, 129, 0.12) !important;
}

html[data-theme="light"] .bg-amber-900\/40 {
  background-color: rgba(245, 158, 11, 0.12) !important;
}

html[data-theme="light"] .bg-primary-600\/30 {
  background-color: rgba(37, 99, 235, 0.15) !important;
}

html[data-theme="light"] .bg-primary-500\/10,
html[data-theme="light"] .bg-primary-500\/15,
html[data-theme="light"] .bg-primary-500\/20 {
  background-color: rgba(59, 130, 246, 0.1) !important;
}

html[data-theme="light"] .bg-slate-800,
html[data-theme="light"] [class*="bg-slate-800"] {
  background-color: #e2e8f0 !important;
}

html[data-theme="light"] .hover\:bg-slate-700:hover,
html[data-theme="light"] .hover\:bg-slate-800\/80:hover {
  background-color: #cbd5e1 !important;
}

html[data-theme="light"] [class*="bg-dark-900"] {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

html[data-theme="light"] [class*="bg-dark-800"] {
  background-color: #f1f5f9 !important;
}

html[data-theme="light"] .bg-slate-900,
html[data-theme="light"] [class*="bg-slate-900"] {
  background-color: #f8fafc !important;
}

html[data-theme="light"] [class*="border-slate-8"],
html[data-theme="light"] [class*="border-slate-7"] {
  border-color: rgba(100, 116, 139, 0.45) !important;
}

html[data-theme="light"] .border-b.border-slate-800\/60,
html[data-theme="light"] .border-b.border-slate-800\/50,
html[data-theme="light"] .border-t.border-slate-800\/50 {
  border-color: rgba(100, 116, 139, 0.4) !important;
}

html[data-theme="light"] .bg-slate-600\/50,
html[data-theme="light"] .bg-slate-700\/50,
html[data-theme="light"] [class*="bg-slate-700"] {
  background-color: #e2e8f0 !important;
}

html[data-theme="light"] .shadow-black\/25,
html[data-theme="light"] .shadow-black\/15 {
  --tw-shadow-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  color: #0f172a;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #64748b !important;
}

html[data-theme="light"] input[class*="bg-"],
html[data-theme="light"] textarea[class*="bg-"],
html[data-theme="light"] select[class*="bg-"] {
  background-color: #ffffff !important;
  border-color: rgba(100, 116, 139, 0.5) !important;
}

html[data-theme="light"] code {
  color: #334155;
}

html[data-theme="light"] .text-primary-400 code,
html[data-theme="light"] code.text-primary-400 {
  color: #2563eb !important;
}

html[data-theme="light"] nav.glass {
  border-bottom-color: rgba(100, 116, 139, 0.4);
}

html[data-theme="light"] [data-nav-user-menu] a:hover,
html[data-theme="light"] [data-nav-user-menu] button:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
}

html[data-theme="light"] main .text-xs.text-slate-500,
html[data-theme="light"] main p.text-slate-400 {
  color: #475569 !important;
}

/* ============================================================
   浅色 · 报告页 / 工作台：图标与语义色（加深 -300/-400 系列）
   ============================================================ */

/* 标签文字（原深色主题用的浅色系） */
html[data-theme="light"] .text-green-300 {
  color: #047857 !important;
}

html[data-theme="light"] .text-amber-300 {
  color: #c2410c !important;
}

html[data-theme="light"] .text-sky-300 {
  color: #0369a1 !important;
}

html[data-theme="light"] .text-violet-300 {
  color: #6d28d9 !important;
}

html[data-theme="light"] .text-purple-300 {
  color: #7e22ce !important;
}

html[data-theme="light"] .text-yellow-300,
html[data-theme="light"] .text-yellow-400 {
  color: #ca8a04 !important;
}

html[data-theme="light"] .text-orange-400 {
  color: #ea580c !important;
}

/* 数据色：排名 / 收录 / 引用 / 权重 */
html[data-theme="light"] .text-green-400,
html[data-theme="light"] .font-semibold.text-green-400,
html[data-theme="light"] .font-bold.text-green-400 {
  color: #059669 !important;
}

html[data-theme="light"] .text-amber-400,
html[data-theme="light"] .font-bold.text-amber-400 {
  color: #d97706 !important;
}

html[data-theme="light"] .text-accent-400,
html[data-theme="light"] .font-bold.text-accent-400 {
  color: #9333ea !important;
}

html[data-theme="light"] .text-sky-400 {
  color: #0284c7 !important;
}

html[data-theme="light"] .text-purple-400 {
  color: #7c3aed !important;
}

html[data-theme="light"] .text-emerald-100,
html[data-theme="light"] .text-emerald-200 {
  color: #047857 !important;
}

html[data-theme="light"] .text-amber-400\/70 {
  color: rgba(217, 119, 6, 0.85) !important;
}

/* 概览四宫格 / 卡片标签 */
html[data-theme="light"] .glass.rounded-xl .text-xs.text-slate-400,
html[data-theme="light"] #report-root .text-xs.text-slate-400 {
  color: #475569 !important;
  font-weight: 500;
}

html[data-theme="light"] .glass.rounded-xl .text-xs.text-slate-500,
html[data-theme="light"] #report-root .text-xs.text-slate-500 {
  color: #64748b !important;
}

html[data-theme="light"] #report-root .text-2xl.font-bold.text-white {
  color: #0f172a !important;
}

/* 表格 */
html[data-theme="light"] #report-root th.text-slate-400 {
  color: #334155 !important;
  font-weight: 600;
}

html[data-theme="light"] #report-root td.text-slate-300,
html[data-theme="light"] #report-root .text-slate-300.text-xs {
  color: #334155 !important;
}

html[data-theme="light"] #report-root .text-white.font-medium,
html[data-theme="light"] #report-root td.text-white {
  color: #0f172a !important;
}

/* 品类 / 难度胶囊：背景略加深、字色更饱和 */
html[data-theme="light"] .bg-green-500\/10,
html[data-theme="light"] .bg-green-500\/15 {
  background-color: rgba(16, 185, 129, 0.16) !important;
}

html[data-theme="light"] .bg-amber-500\/10,
html[data-theme="light"] .bg-amber-500\/15 {
  background-color: rgba(245, 158, 11, 0.16) !important;
}

html[data-theme="light"] .bg-sky-500\/15 {
  background-color: rgba(14, 165, 233, 0.16) !important;
}

html[data-theme="light"] .bg-violet-500\/15 {
  background-color: rgba(139, 92, 246, 0.14) !important;
}

html[data-theme="light"] .bg-yellow-500\/10 {
  background-color: rgba(234, 179, 8, 0.16) !important;
}

html[data-theme="light"] .bg-blue-500\/10 {
  background-color: rgba(59, 130, 246, 0.14) !important;
}

html[data-theme="light"] .border-green-500\/20,
html[data-theme="light"] .border-green-500\/25,
html[data-theme="light"] .border-green-500\/30 {
  border-color: rgba(5, 150, 105, 0.42) !important;
}

html[data-theme="light"] .border-amber-500\/25 {
  border-color: rgba(234, 88, 12, 0.4) !important;
}

html[data-theme="light"] .border-sky-500\/25 {
  border-color: rgba(2, 132, 199, 0.4) !important;
}

html[data-theme="light"] .border-violet-500\/25 {
  border-color: rgba(109, 40, 217, 0.38) !important;
}

/* Google 收录说明条（浅绿底） */
html[data-theme="light"] .border-green-500\/25.bg-gradient-to-r.from-green-500\/10,
html[data-theme="light"] [class*="from-green-500"][class*="border-green-500"] {
  background: linear-gradient(
    to right,
    rgba(16, 185, 129, 0.14),
    rgba(16, 185, 129, 0.06)
  ) !important;
  border-color: rgba(5, 150, 105, 0.38) !important;
}

html[data-theme="light"] .seo-pdf-icon-box .fab.fa-google,
html[data-theme="light"] .seo-pdf-icon-box .fas.fa-check-circle {
  color: #059669 !important;
}

html[data-theme="light"] .seo-pdf-icon-box[class*="bg-green"] .fab,
html[data-theme="light"] .seo-pdf-icon-box[class*="bg-green"] .fas {
  color: #047857 !important;
}

/* 模块标题行图标 */
html[data-theme="light"] #report-root .text-sm.font-medium.text-slate-300 {
  color: #1e293b !important;
  font-weight: 600;
}

html[data-theme="light"] #report-root .text-sm.font-medium.text-slate-300 .text-primary-400,
html[data-theme="light"] #report-root .fas.fa-file-alt.text-primary-400,
html[data-theme="light"] #report-root .fas.fa-camera.text-primary-400 {
  color: #2563eb !important;
}

html[data-theme="light"] #report-root .fas.fa-home.text-accent-400 {
  color: #9333ea !important;
}

html[data-theme="light"] #report-root .fas.fa-key.text-amber-400 {
  color: #ea580c !important;
}

html[data-theme="light"] #report-root .fab.fa-google.text-green-400 {
  color: #047857 !important;
}

/* 数据标签 / 传播洞察 */
html[data-theme="light"] #report-root .text-\[11px\].text-slate-500 {
  color: #64748b !important;
  font-weight: 600;
}

html[data-theme="light"] #report-root .text-sm.text-slate-200 {
  color: #1e293b !important;
}

html[data-theme="light"] #report-root .text-sm.text-slate-300 {
  color: #334155 !important;
}

html[data-theme="light"] #report-root .text-primary-300,
html[data-theme="light"] #report-root .text-primary-300\/90 {
  color: #1d4ed8 !important;
}

html[data-theme="light"] #report-root .font-bold.text-sky-300 {
  color: #0369a1 !important;
}

html[data-theme="light"] #report-root .font-bold.text-violet-300 {
  color: #6d28d9 !important;
}

html[data-theme="light"] #report-root .seo-pdf-icon-box.text-sky-300 {
  color: #0369a1 !important;
}

html[data-theme="light"] #report-root .seo-pdf-icon-box.text-violet-300,
html[data-theme="light"] #report-root .seo-pdf-icon-box[class*="violet"] {
  color: #6d28d9 !important;
}

/* ===== AI 收录汇总（模块三底部整块） ===== */
html[data-theme="light"] #report-root .mt-6.glass-light.rounded-xl.p-5 {
  background: #ffffff !important;
  border-color: rgba(100, 116, 139, 0.38) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] #report-root .mt-6.glass-light.rounded-xl h4.text-white {
  color: #0f172a !important;
  font-weight: 700;
}

/* 四宫格统计格 */
html[data-theme="light"] #report-root .grid.grid-cols-1.md\:grid-cols-4 .bg-dark-900\/50,
html[data-theme="light"] #report-root .grid.md\:grid-cols-4.gap-4 .bg-dark-900\/50 {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] #report-root .bg-dark-900\/50 .text-2xl.font-bold.text-green-400 {
  color: #047857 !important;
}

html[data-theme="light"] #report-root .bg-dark-900\/50 .text-2xl.font-bold.text-yellow-400 {
  color: #ca8a04 !important;
}

html[data-theme="light"] #report-root .bg-dark-900\/50 .text-xs.text-slate-400 {
  color: #475569 !important;
  font-weight: 500;
}

/* 优化建议条 */
html[data-theme="light"] #report-root [class*="bg-primary-500/5"][class*="border-primary-500"] {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
}

html[data-theme="light"] #report-root [class*="bg-primary-500/5"] .fa-lightbulb.text-primary-400 {
  color: #d97706 !important;
}

html[data-theme="light"] #report-root [class*="bg-primary-500/5"] .text-xs.text-slate-300 {
  color: #334155 !important;
  line-height: 1.55;
}

html[data-theme="light"] #report-root [class*="bg-primary-500/5"] span.text-white.font-medium {
  color: #92400e !important;
  font-weight: 700;
}

/* 顶部导航：管理入口字色再加深 */
html[data-theme="light"] nav a.text-violet-300,
html[data-theme="light"] nav a.text-violet-300 i {
  color: #6d28d9 !important;
}

html[data-theme="light"] nav a.text-emerald-300,
html[data-theme="light"] nav a.text-emerald-300 i {
  color: #047857 !important;
}

html[data-theme="light"] nav a.text-amber-300,
html[data-theme="light"] nav a.text-amber-300 i {
  color: #b45309 !important;
}

html[data-theme="light"] nav .glass-light i.fas,
html[data-theme="light"] nav .glass-light i.far,
html[data-theme="light"] nav .glass-light i.fab {
  color: #2563eb !important;
}

/* 工作台首页主区 */
html[data-theme="light"] main .text-primary-300 {
  color: #1d4ed8 !important;
}

html[data-theme="light"] main h2.text-white,
html[data-theme="light"] main h3.text-white {
  color: #0f172a !important;
}

html[data-theme="light"] main .fas,
html[data-theme="light"] main .fab:not(.fa-google) {
  opacity: 1;
}

html[data-theme="light"] main .text-slate-300 strong,
html[data-theme="light"] main strong.text-slate-300 {
  color: #0f172a !important;
}

html[data-theme="light"] .home-category-tab.is-active {
  color: #0f172a !important;
}

html[data-theme="light"] .home-category-tabs-slider {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(217, 70, 239, 0.1));
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

html[data-theme="light"] .home-subtab-slider {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(217, 70, 239, 0.08));
  border-color: rgba(59, 130, 246, 0.22);
}

html[data-theme="light"] .home-subtab-btn.is-active {
  color: #2563eb !important;
}

/* ===== 首页工作台 · 介绍区 / FAQ / 通栏页脚（浅色） ===== */
html[data-theme="light"] .home-category-tab {
  color: #64748b !important;
}

html[data-theme="light"] .home-category-tab:hover:not(.is-active) {
  color: #334155 !important;
}

html[data-theme="light"] .home-subtab-btn {
  color: #64748b !important;
}

html[data-theme="light"] .home-subtab-btn:hover:not(.is-active) {
  color: #1e293b !important;
}

html[data-theme="light"] #upload-section .inline-flex.glass-light.text-primary-300 {
  color: #2563eb !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
}

html[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #2563eb, #7c3aed, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .gradient-border::before {
  background: linear-gradient(135deg, #3b82f6, #a855f7, #f59e0b);
  opacity: 0.85;
}

html[data-theme="light"] .scan-line {
  opacity: 0.35;
}

html[data-theme="light"] .home-tool-module-head .bg-primary-500\/12 {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.22) !important;
}

html[data-theme="light"] .home-tool-module-head .bg-violet-500\/12 {
  background: rgba(139, 92, 246, 0.1) !important;
  border-color: rgba(139, 92, 246, 0.22) !important;
}

html[data-theme="light"] .home-tool-module-head .bg-amber-500\/12 {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

html[data-theme="light"] .home-tool-module-head .text-violet-400 {
  color: #7c3aed !important;
}

html[data-theme="light"] .home-tool-module-head .text-amber-400 {
  color: #d97706 !important;
}

html[data-theme="light"] .home-tool-module-head .shadow-inner {
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] #doc-drop-zone,
html[data-theme="light"] #title-doc-drop-zone,
html[data-theme="light"] #optimize-doc-drop-zone {
  background: rgba(248, 250, 252, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.45) !important;
}

html[data-theme="light"] #doc-drop-zone:hover,
html[data-theme="light"] #title-doc-drop-zone:hover,
html[data-theme="light"] #optimize-doc-drop-zone:hover {
  border-color: rgba(59, 130, 246, 0.35) !important;
  background: rgba(239, 246, 255, 0.95) !important;
}

html[data-theme="light"] .home-intro-band {
  border-top-color: rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 62%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(168, 85, 247, 0.04), transparent 55%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

html[data-theme="light"] .home-landing-kicker {
  color: #2563eb !important;
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}

html[data-theme="light"] .home-workflow-step {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .home-workflow-step:hover {
  border-color: rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.08);
}

html[data-theme="light"] .home-workflow-num {
  color: rgba(100, 116, 139, 0.55) !important;
}

html[data-theme="light"] .home-workflow-title {
  color: #0f172a !important;
}

html[data-theme="light"] .home-workflow-desc {
  color: #64748b !important;
}

html[data-theme="light"] .home-workflow-icon--blue {
  background: rgba(59, 130, 246, 0.12) !important;
  color: #2563eb !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.1) !important;
}

html[data-theme="light"] .home-workflow-icon--violet {
  background: rgba(139, 92, 246, 0.12) !important;
  color: #7c3aed !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.1) !important;
}

html[data-theme="light"] .home-workflow-icon--amber {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #d97706 !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.08) !important;
}

html[data-theme="light"] .home-workflow-icon--emerald {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.08) !important;
}

html[data-theme="light"] .home-cap-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .home-cap-card--link {
  border-color: rgba(59, 130, 246, 0.22) !important;
}

html[data-theme="light"] .home-cap-card--link:hover {
  border-color: rgba(59, 130, 246, 0.38) !important;
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.1) !important;
}

html[data-theme="light"] .home-cap-card--title {
  border-color: rgba(139, 92, 246, 0.22) !important;
}

html[data-theme="light"] .home-cap-card--title:hover {
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.08) !important;
}

html[data-theme="light"] .home-cap-card--opt {
  border-color: rgba(245, 158, 11, 0.25) !important;
}

html[data-theme="light"] .home-cap-card--opt:hover {
  border-color: rgba(245, 158, 11, 0.38) !important;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.08) !important;
}

html[data-theme="light"] .home-cap-card-glow {
  opacity: 0.2 !important;
}

html[data-theme="light"] .home-cap-icon {
  background: rgba(241, 245, 249, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #2563eb !important;
}

html[data-theme="light"] .home-cap-card--title .home-cap-icon {
  color: #7c3aed !important;
}

html[data-theme="light"] .home-cap-card--opt .home-cap-icon {
  color: #d97706 !important;
}

html[data-theme="light"] .home-cap-list li {
  color: #64748b !important;
}

html[data-theme="light"] .home-cap-list li i {
  color: #16a34a !important;
}

html[data-theme="light"] .home-report-panel {
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(168, 85, 247, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(59, 130, 246, 0.06), transparent 50%),
    rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(59, 130, 246, 0.18) !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .home-report-panel-shine {
  background: linear-gradient(105deg, transparent 42%, rgba(59, 130, 246, 0.04) 50%, transparent 58%);
}

html[data-theme="light"] .home-report-chip {
  color: #334155 !important;
  background: rgba(248, 250, 252, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="light"] .home-report-chip:hover {
  background: rgba(239, 246, 255, 0.95) !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
}

html[data-theme="light"] .home-faq-item {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

html[data-theme="light"] .home-faq-item[open] {
  border-color: rgba(59, 130, 246, 0.28) !important;
}

html[data-theme="light"] .home-faq-item summary {
  color: #0f172a !important;
}

html[data-theme="light"] .home-faq-item summary::after {
  color: #94a3b8 !important;
}

html[data-theme="light"] .home-faq-item[open] summary::after {
  color: #2563eb !important;
}

html[data-theme="light"] .home-faq-item summary:hover {
  color: #1e293b !important;
}

html[data-theme="light"] .home-faq-item p {
  color: #64748b !important;
  border-top-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] .home-faq-item p strong.text-slate-300 {
  color: #334155 !important;
}

html[data-theme="light"] .home-site-footer-full {
  border-top-color: rgba(148, 163, 184, 0.25) !important;
}

html[data-theme="light"] .home-site-footer-full-bg {
  background:
    radial-gradient(ellipse 55% 80% at 0% 50%, rgba(59, 130, 246, 0.06), transparent 55%),
    radial-gradient(ellipse 45% 70% at 100% 50%, rgba(168, 85, 247, 0.05), transparent 50%),
    linear-gradient(180deg, #f8fafc, #eef2f7) !important;
}

html[data-theme="light"] .home-site-footer-logo {
  color: #0f172a !important;
}

html[data-theme="light"] .home-site-footer-tagline {
  color: #475569 !important;
}

html[data-theme="light"] .home-site-footer-desc {
  color: #64748b !important;
}

html[data-theme="light"] .home-site-footer-label {
  color: #64748b !important;
}

html[data-theme="light"] .home-site-footer-links {
  color: #475569 !important;
}

html[data-theme="light"] .home-site-footer-full-bottom {
  border-top-color: rgba(148, 163, 184, 0.22) !important;
  color: #64748b !important;
}

html[data-theme="light"] .home-site-footer-meta {
  color: #94a3b8 !important;
}

html[data-theme="light"] .home-feature-quick .glass-light {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .home-feature-quick .glass-light:hover {
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.08) !important;
}

html[data-theme="light"] #home-module-optimize .glass-light.rounded-xl {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="light"] #home-module-optimize .glass-light.border-slate-700\/40 {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="light"] #home-module-optimize .text-amber-300\/90 {
  color: #b45309 !important;
}

html[data-theme="light"] #home-module-optimize .text-primary-300\/90 {
  color: #2563eb !important;
}

html[data-theme="light"] #home-module-optimize .text-accent-300\/90 {
  color: #7c3aed !important;
}

html[data-theme="light"] .seo-loading-action-btn {
  border-color: rgba(148, 163, 184, 0.45) !important;
  color: #334155 !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

html[data-theme="light"] .seo-loading-action-btn:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}
