/* 学霸星球 · 共享样式 · 科技感 + 教育感结合 */
:root {
  --color-bg: #f5f7fb;
  --color-bg-pure: #ffffff;
  --color-nav-solid: #0a2540;
  --color-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-soft: #f1f5f9;
  --color-primary: #2563eb;
  --color-primary-light: #dbeafe;
  --color-primary-dark: #1e40af;
  --color-accent: #f59e0b;
  --color-accent-light: #fef3c7;
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-danger: #ef4444;
  --color-text: #1e293b;
  --color-text-soft: #64748b;
  --color-text-muted: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--color-bg); color: var(--color-text); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-weight: 600; }
.container { max-width: 1280px; margin: 0 auto; padding: 32px; }

/* 顶部导航 */
.nav { background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 100%); color: white; padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.nav-brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: white; text-decoration: none; }
.nav-brand-icon { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.nav-menu { display: flex; gap: 24px; font-size: 14px; margin-left: 32px; }
.nav-menu a { color: rgba(255,255,255,0.7); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-menu a:hover { color: white; text-decoration: none; }
.nav-menu a.active { color: white; border-bottom-color: var(--color-accent); }
.nav-user { display: flex; gap: 12px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.7); }
.nav-demo-badge { background: rgba(245, 158, 11, 0.15); color: var(--color-accent); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; border: 1px solid rgba(245, 158, 11, 0.3); }
.nav-org-select { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 5px 10px; border-radius: var(--radius-sm); font-size: 13px; outline: none; cursor: pointer; }
.nav-org-select option { background: var(--color-nav-solid); color: white; }

/* 卡片 */
.card { background: var(--color-card); border-radius: var(--radius-lg); border: 1px solid var(--color-border); padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; transition: all 0.15s; cursor: pointer; border: none; outline: none; text-decoration: none; }
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-glow); text-decoration: none; }
.btn-warm { background: var(--color-accent); color: white; }
.btn-warm:hover { filter: brightness(0.95); }
.btn-ghost { background: var(--color-primary-light); color: var(--color-primary-dark); }
.btn-ghost:hover { background: #c7d8fe; }
.btn-outline { background: transparent; color: var(--color-primary); border: 1px solid var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* 网格 */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 数字指标 */
.metric { background: var(--color-card); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--color-border); position: relative; overflow: hidden; }
.metric::after { content: ""; position: absolute; bottom: -30px; right: -30px; width: 100px; height: 100px; background: var(--color-primary-light); border-radius: 50%; opacity: 0.4; }
.metric-value { font-size: 32px; font-weight: 700; color: var(--color-primary); position: relative; line-height: 1; }
.metric-label { font-size: 13px; color: var(--color-text-soft); margin-top: 8px; position: relative; }
.metric-delta { font-size: 12px; color: var(--color-success); margin-top: 12px; position: relative; display: inline-flex; gap: 4px; align-items: center; }

/* 标签 */
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; }
.tag-blue { background: var(--color-primary-light); color: var(--color-primary-dark); }
.tag-warm { background: var(--color-accent-light); color: #92400e; }
.tag-green { background: var(--color-success-light); color: #065f46; }
.tag-gray { background: var(--color-bg); color: var(--color-text-soft); }

/* 页标题 */
.page-header { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.page-title { font-size: 24px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.page-title-bar { width: 4px; height: 22px; background: linear-gradient(180deg, var(--color-primary), var(--color-accent)); border-radius: 2px; }
.page-subtitle { color: var(--color-text-soft); font-size: 13px; margin-top: 4px; }
.section-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.section-title-left { display: flex; gap: 8px; align-items: center; }
.section-title::before { content: ""; width: 4px; height: 16px; background: var(--color-primary); border-radius: 2px; align-self: center; }

/* 输入框 */
.input { width: 100%; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: 14px; font-family: var(--font); background: var(--color-bg-pure); transition: border-color 0.15s, box-shadow 0.15s; outline: none; }
.input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }

/* 表格 */
table { width: 100%; border-collapse: collapse; background: var(--color-card); border-radius: var(--radius-lg); overflow: hidden; }
th { text-align: left; background: var(--color-bg); padding: 12px 14px; font-weight: 500; color: var(--color-text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--color-border); }
td { padding: 14px; border-bottom: 1px solid var(--color-border-soft); font-size: 14px; }
tr:hover td { background: rgba(37, 99, 235, 0.02); }

/* AI 区 */
.ai-card { background: linear-gradient(135deg, #f8fbff 0%, #fef9e7 100%); border: 1px solid var(--color-primary-light); border-radius: var(--radius-lg); padding: 24px; position: relative; box-shadow: var(--shadow-glow); }
.ai-tag { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }
.ai-output { background: var(--color-bg-pure); border-radius: var(--radius-md); padding: 18px; margin-top: 16px; white-space: pre-wrap; font-family: ui-monospace, "SF Mono", Menlo, "PingFang SC", monospace; font-size: 13px; line-height: 1.8; max-height: 500px; overflow-y: auto; border: 1px solid var(--color-border-soft); }

/* 上传区 */
.upload-zone { border: 2px dashed var(--color-border); border-radius: var(--radius-lg); padding: 40px; text-align: center; background: var(--color-bg-pure); transition: all 0.2s; cursor: pointer; }
.upload-zone:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.upload-icon { width: 56px; height: 56px; margin: 0 auto 12px; background: var(--color-primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-size: 24px; }

/* 总入口 */
.entry-hero { text-align: center; padding: 80px 32px 32px; background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%); }
.entry-hero h1 { font-size: 44px; font-weight: 700; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; line-height: 1.2; }
.entry-hero p { color: var(--color-text-soft); font-size: 16px; max-width: 620px; margin: 0 auto; line-height: 1.7; }
.entry-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 56px auto 0; max-width: 600px; padding: 0 32px; }
.entry-stat { text-align: center; padding: 20px 8px; position: relative; }
.entry-stat + .entry-stat::before { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: linear-gradient(180deg, transparent 0%, #cbd5e1 50%, transparent 100%); }
.entry-stat-num { font-family: 'Times New Roman', 'Source Han Serif SC', 'Noto Serif CJK SC', Georgia, serif; font-size: 76px; font-weight: 800; background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #f59e0b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; letter-spacing: -3px; display: inline-block; position: relative; padding: 4px 8px 12px; }
.entry-stat-num::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 2px; background: linear-gradient(90deg, #2563eb, #f59e0b); border-radius: 1px; }
.entry-stat-unit { font-size: 28px; font-weight: 500; margin-left: 4px; -webkit-text-fill-color: #f59e0b !important; }
.entry-stat-add { font-size: 42px; font-weight: 300; margin-left: 2px; opacity: 0.85; }
.entry-stat-label { font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif; font-size: 22px; font-weight: 500; color: #1e293b; letter-spacing: 12px; margin-top: 18px; padding-left: 12px; display: inline-block; position: relative; }
.entry-stat-label::before { content: "✦"; color: #f59e0b; margin-right: 6px; font-size: 14px; position: relative; top: -2px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.product-card { background: var(--color-card); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: all 0.2s; cursor: pointer; position: relative; overflow: hidden; display: block; color: inherit; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; text-decoration: none; }
.product-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); opacity: 0; transition: opacity 0.2s; }
.product-card:hover::before { opacity: 1; }
.product-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: white; margin-bottom: 18px; }
.product-icon.a { background: linear-gradient(135deg, #7F77DD, #AFA9EC); }
.product-icon.b { background: linear-gradient(135deg, #1D9E75, #5DCAA5); }
.product-icon.c { background: linear-gradient(135deg, #D85A30, #F0997B); }
.product-icon.d { background: linear-gradient(135deg, #BA7517, #EF9F27); }
.product-card-name { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.product-card-desc { font-size: 13px; color: var(--color-text-soft); margin-bottom: 18px; line-height: 1.6; }
.product-card-stats { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }

/* 登录 */
.login-page { min-height: 100vh; display: flex; }
.login-hero { flex: 1; background: linear-gradient(135deg, #0a2540 0%, #1e40af 60%, #2563eb 100%); color: white; padding: 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.login-hero::before { content: ""; position: absolute; top: -20%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,158,11,0.18) 0%, transparent 70%); border-radius: 50%; }
.login-hero::after { content: ""; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(96,165,250,0.18) 0%, transparent 70%); border-radius: 50%; }
.login-hero h2 { font-size: 30px; margin: 24px 0 16px; position: relative; line-height: 1.3; }
.login-hero p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 420px; position: relative; }
.login-feature { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; position: relative; }
.login-feature-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.login-feature-text { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.5; }
.login-feature-text b { color: white; display: block; margin-bottom: 2px; font-size: 14px; }
.login-form-area { width: 480px; background: var(--color-bg-pure); padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.login-form-area h1 { font-size: 26px; margin-bottom: 8px; }
.login-form-area .sub { color: var(--color-text-soft); margin-bottom: 36px; font-size: 14px; }
.login-form-area .form-group { margin-bottom: 20px; }
.login-form-area .form-group label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--color-text); }
.login-form-area .demo-tip { margin-top: 28px; padding: 18px; background: var(--color-bg); border-radius: var(--radius-md); font-size: 13px; color: var(--color-text-soft); line-height: 1.9; border-left: 3px solid var(--color-primary); }
.login-form-area .demo-tip b { color: var(--color-primary-dark); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; background: var(--color-primary-light); padding: 1px 6px; border-radius: 4px; }
.login-back { position: absolute; top: 24px; left: 24px; z-index: 10; color: rgba(255,255,255,0.7); font-size: 13px; }
.login-back:hover { color: white; text-decoration: none; }

/* 页脚 */
.footer { background: var(--color-nav-solid); color: rgba(255,255,255,0.7); padding: 24px 32px; text-align: center; font-size: 13px; margin-top: 64px; }

/* Toast */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: var(--color-nav-solid); color: white; padding: 12px 24px; border-radius: var(--radius-md); font-size: 14px; box-shadow: var(--shadow-lg); display: none; z-index: 9999; }
.toast.active { display: block; animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* 工具栏 */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.toolbar select { padding: 7px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 13px; background: var(--color-bg-pure); cursor: pointer; outline: none; }

/* 进度/小指示 */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); margin-right: 4px; }

/* === B 产品主题 · 智能决策助理 · 轻松自媒体风格 === */
.product-b { --b-primary: #FB7185; --b-primary-dark: #E11D48; --b-primary-light: #FFE4E6; --b-accent: #F59E0B; --b-accent2: #C084FC; --b-bg: #FFFBEB; }
.product-b body { background: linear-gradient(180deg, #FFFBEB 0%, #FFF1F2 100%); }
.product-b .container { padding-top: 36px; padding-bottom: 36px; }
.product-b .nav { background: linear-gradient(135deg, #E11D48 0%, #F97316 55%, #F59E0B 100%); box-shadow: 0 4px 16px rgba(225,29,72,0.18); }
.product-b .nav-brand { color: white; }
.product-b .nav-menu a { color: rgba(255,255,255,0.78); font-weight: 500; }
.product-b .nav-menu a:hover { color: white; }
.product-b .nav-menu a.active { color: white; border-bottom-color: white; font-weight: 700; }
.product-b .nav-demo-badge { color: #FCD34D; background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); font-weight: 600; }
.product-b .nav-org-select { background: rgba(255,255,255,0.18); color: white; border: 1px solid rgba(255,255,255,0.3); }
.product-b .nav-org-select option { background: #E11D48; color: white; }
.product-b .metric { background: linear-gradient(135deg, #ffffff 0%, #FFE4E6 100%); border: 1px solid #FECDD3; box-shadow: 0 4px 16px rgba(251,113,133,0.08); border-radius: 18px; }
.product-b .metric::after { background: linear-gradient(135deg, #FB7185, #F472B6); opacity: 0.18; }
.product-b .metric-value { font-size: 40px; font-weight: 800; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: linear-gradient(135deg, #E11D48 0%, #F97316 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -1.5px; }
.product-b .metric-label { color: #BE123C; font-weight: 500; font-size: 13px; }
.product-b .metric-delta { color: #16A34A; font-weight: 600; }
.product-b .card { background: white; border: 1px solid #FECDD3; box-shadow: 0 2px 10px rgba(251,113,133,0.05); border-radius: 18px; }
.product-b .card:hover { border-color: #FB7185; box-shadow: 0 12px 28px rgba(251,113,133,0.15); transform: translateY(-2px); }
.product-b .card-title { color: #881337; font-weight: 700; }
.product-b .card-subtitle { color: #BE123C; }
.product-b .section-title { color: #881337; }
.product-b .section-title::before { background: linear-gradient(180deg, #F97316, #C084FC); }
.product-b .page-title-bar { background: linear-gradient(180deg, #F97316, #C084FC); border-radius: 4px; }
.product-b .page-title { color: #881337; font-weight: 700; }
.product-b .page-subtitle { color: #BE123C; font-size: 13px; }
.product-b .ai-card { background: linear-gradient(135deg, #FFF7ED 0%, #FDF2F8 50%, #FAE8FF 100%); border: 1.5px solid #FBCFE8; box-shadow: 0 6px 24px rgba(251,113,133,0.15); border-radius: 20px; }
.product-b .ai-tag { background: linear-gradient(135deg, #FB7185, #C084FC); color: white; font-weight: 700; padding: 4px 12px; }
.product-b .ai-output { background: linear-gradient(135deg, #FFF1F2 0%, #FFFBEB 100%); color: #881337; border: 1px solid #FECDD3; white-space: pre-wrap; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; line-height: 1.85; padding: 20px; border-radius: 14px; margin-top: 16px; max-height: 500px; overflow-y: auto; box-shadow: inset 0 1px 2px rgba(251,113,133,0.05); }
.product-b .footer { background: linear-gradient(135deg, #E11D48, #F97316); color: rgba(255,255,255,0.92); }
.product-b .tag.tag-blue { background: #FCE7F3; color: #9D174D; }
.product-b .tag.tag-warm { background: #FED7AA; color: #9A3412; }
.product-b .tag.tag-green { background: #BBF7D0; color: #166534; }
.product-b .tag.tag-gray { background: #FEF3F2; color: #881337; }
.product-b .btn-primary { background: linear-gradient(135deg, #FB7185 0%, #F97316 100%); color: white; font-weight: 600; box-shadow: 0 2px 8px rgba(251,113,133,0.25); border: none; }
.product-b .btn-primary:hover { background: linear-gradient(135deg, #E11D48 0%, #EA580C 100%); box-shadow: 0 4px 16px rgba(251,113,133,0.4); transform: translateY(-1px); }
.product-b .btn-ghost { background: #FFE4E6; color: #BE123C; font-weight: 500; }
.product-b .btn-ghost:hover { background: #FECDD3; }
.product-b .btn-outline { color: #BE123C; border-color: #FECDD3; }
.product-b .btn-outline:hover { border-color: #FB7185; background: #FFF1F2; }
.product-b .input { background: white; border-color: #FECDD3; border-radius: 10px; }
.product-b .input:focus { border-color: #FB7185; box-shadow: 0 0 0 3px #FFE4E6; }
.product-b .upload-zone { border-color: #FECDD3; background: #FFFBEB; }
.product-b .upload-zone:hover { border-color: #FB7185; background: #FFF1F2; }
.product-b th { background: #FFF1F2; color: #BE123C; }
.product-b tr:hover td { background: #FFFBEB; }
.product-b .toolbar select { border-color: #FECDD3; border-radius: 10px; }

/* === C 产品主题 · 智能咨询流程 · 清新绿色 === */
.product-c { --c-primary: #10B981; --c-primary-dark: #047857; --c-primary-light: #D1FAE5; --c-accent: #F59E0B; --c-bg: #F0FDF4; }
.product-c body { background: linear-gradient(180deg, #F0FDF4 0%, #ECFEFF 100%); }
.product-c .container { padding-top: 32px; padding-bottom: 32px; }
.product-c .nav { background: linear-gradient(135deg, #064E3B 0%, #047857 50%, #059669 100%); box-shadow: 0 4px 16px rgba(6,95,70,0.18); }
.product-c .nav-menu a.active { color: white; border-bottom-color: #6EE7B7; font-weight: 600; }
.product-c .nav-demo-badge { color: #6EE7B7; background: rgba(110,231,183,0.18); border-color: rgba(110,231,183,0.4); }
.product-c .nav-org-select { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.25); }
.product-c .nav-org-select option { background: #047857; color: white; }
.product-c .metric { background: linear-gradient(135deg, #ffffff 0%, #D1FAE5 100%); border: 1px solid #A7F3D0; box-shadow: 0 4px 12px rgba(16,185,129,0.08); border-radius: 14px; }
.product-c .metric::after { background: #A7F3D0; opacity: 0.4; }
.product-c .metric-value { font-size: 36px; font-weight: 700; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: linear-gradient(135deg, #047857 0%, #10B981 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -1px; }
.product-c .metric-label { color: #047857; font-weight: 500; }
.product-c .metric-delta { color: #059669; font-weight: 600; }
.product-c .card { background: white; border: 1px solid #D1FAE5; box-shadow: 0 2px 8px rgba(16,185,129,0.05); border-radius: 14px; }
.product-c .card:hover { border-color: #10B981; box-shadow: 0 8px 24px rgba(16,185,129,0.12); }
.product-c .card-title { color: #064E3B; font-weight: 600; }
.product-c .card-subtitle { color: #047857; }
.product-c .section-title { color: #064E3B; }
.product-c .section-title::before { background: linear-gradient(180deg, #10B981, #F59E0B); }
.product-c .page-title-bar { background: linear-gradient(180deg, #10B981, #F59E0B); }
.product-c .page-title { color: #064E3B; font-weight: 700; }
.product-c .page-subtitle { color: #047857; font-size: 13px; }
.product-c .ai-card { background: linear-gradient(135deg, #F0FDF4 0%, #ECFEFF 100%); border: 1.5px solid #6EE7B7; box-shadow: 0 4px 20px rgba(16,185,129,0.12); border-radius: 16px; }
.product-c .ai-tag { background: linear-gradient(135deg, #10B981, #F59E0B); color: white; font-weight: 700; }
.product-c .ai-output { background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%); color: #064E3B; border: 1px solid #A7F3D0; white-space: pre-wrap; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; line-height: 1.85; padding: 18px; border-radius: 12px; margin-top: 16px; max-height: 500px; overflow-y: auto; }
.product-c .footer { background: linear-gradient(135deg, #064E3B, #047857); }
.product-c .tag.tag-blue { background: #D1FAE5; color: #064E3B; }
.product-c .tag.tag-warm { background: #FED7AA; color: #9A3412; }
.product-c .tag.tag-green { background: #A7F3D0; color: #166534; }
.product-c .tag.tag-gray { background: #F0FDF4; color: #047857; }
.product-c .btn-primary { background: linear-gradient(135deg, #10B981 0%, #059669 100%); color: white; font-weight: 600; box-shadow: 0 2px 8px rgba(16,185,129,0.2); }
.product-c .btn-primary:hover { background: linear-gradient(135deg, #047857 0%, #065F46 100%); box-shadow: 0 4px 16px rgba(16,185,129,0.3); }
.product-c .btn-ghost { background: #D1FAE5; color: #047857; }
.product-c .btn-ghost:hover { background: #A7F3D0; }
.product-c .btn-outline { color: #047857; border-color: #A7F3D0; }
.product-c .btn-outline:hover { border-color: #10B981; background: #F0FDF4; }
.product-c .input { background: white; border-color: #A7F3D0; }
.product-c .input:focus { border-color: #10B981; box-shadow: 0 0 0 3px #D1FAE5; }
.product-c .upload-zone { border-color: #A7F3D0; background: #F0FDF4; }
.product-c .upload-zone:hover { border-color: #10B981; background: white; }
.product-c th { background: #F0FDF4; color: #047857; }
.product-c tr:hover td { background: #F0FDF4; }
.product-c .toolbar select { border-color: #A7F3D0; }

/* === D 产品主题 · 智控 · 深紫琥珀 === */
.product-d { --d-primary: #7C3AED; --d-primary-dark: #5B21B6; --d-primary-light: #EDE9FE; --d-accent: #F59E0B; --d-bg: #FAF5FF; }
.product-d body { background: linear-gradient(180deg, #FAF5FF 0%, #F5F3FF 100%); }
.product-d .container { padding-top: 32px; padding-bottom: 32px; }
.product-d .nav { background: linear-gradient(135deg, #2D1B69 0%, #5B21B6 50%, #7C3AED 100%); box-shadow: 0 4px 16px rgba(91,33,182,0.25); }
.product-d .nav-menu a.active { color: white; border-bottom-color: #F59E0B; font-weight: 600; }
.product-d .nav-demo-badge { color: #FCD34D; background: rgba(252,211,77,0.18); border-color: rgba(252,211,77,0.4); }
.product-d .nav-org-select { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.25); }
.product-d .nav-org-select option { background: #5B21B6; color: white; }
.product-d .metric { background: linear-gradient(135deg, #ffffff 0%, #EDE9FE 100%); border: 1px solid #C4B5FD; box-shadow: 0 4px 12px rgba(124,58,237,0.08); border-radius: 14px; }
.product-d .metric::after { background: #C4B5FD; opacity: 0.4; }
.product-d .metric-value { font-size: 36px; font-weight: 700; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -1px; }
.product-d .metric-label { color: #5B21B6; font-weight: 500; }
.product-d .metric-delta { color: #047857; font-weight: 600; }
.product-d .card { background: white; border: 1px solid #EDE9FE; box-shadow: 0 2px 8px rgba(124,58,237,0.05); border-radius: 14px; }
.product-d .card:hover { border-color: #7C3AED; box-shadow: 0 8px 24px rgba(124,58,237,0.12); }
.product-d .card-title { color: #2D1B69; font-weight: 600; }
.product-d .card-subtitle { color: #5B21B6; }
.product-d .section-title { color: #2D1B69; }
.product-d .section-title::before { background: linear-gradient(180deg, #7C3AED, #F59E0B); }
.product-d .page-title-bar { background: linear-gradient(180deg, #7C3AED, #F59E0B); }
.product-d .page-title { color: #2D1B69; font-weight: 700; }
.product-d .page-subtitle { color: #5B21B6; font-size: 13px; }
.product-d .ai-card { background: linear-gradient(135deg, #FAF5FF 0%, #FEF3C7 100%); border: 1.5px solid #C4B5FD; box-shadow: 0 4px 20px rgba(124,58,237,0.15); border-radius: 16px; }
.product-d .ai-tag { background: linear-gradient(135deg, #7C3AED, #F59E0B); color: white; font-weight: 700; }
.product-d .ai-output { background: linear-gradient(135deg, #FAF5FF 0%, #FFFFFF 100%); color: #2D1B69; border: 1px solid #C4B5FD; white-space: pre-wrap; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; line-height: 1.85; padding: 18px; border-radius: 12px; margin-top: 16px; max-height: 500px; overflow-y: auto; }
.product-d .footer { background: linear-gradient(135deg, #2D1B69, #5B21B6); }
.product-d .tag.tag-blue { background: #EDE9FE; color: #2D1B69; }
.product-d .tag.tag-warm { background: #FED7AA; color: #9A3412; }
.product-d .tag.tag-green { background: #A7F3D0; color: #166534; }
.product-d .tag.tag-gray { background: #F5F3FF; color: #5B21B6; }
.product-d .btn-primary { background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%); color: white; font-weight: 600; box-shadow: 0 2px 8px rgba(124,58,237,0.2); }
.product-d .btn-primary:hover { background: linear-gradient(135deg, #5B21B6 0%, #4C1D95 100%); box-shadow: 0 4px 16px rgba(124,58,237,0.3); }
.product-d .btn-ghost { background: #EDE9FE; color: #5B21B6; }
.product-d .btn-ghost:hover { background: #C4B5FD; }
.product-d .btn-outline { color: #5B21B6; border-color: #C4B5FD; }
.product-d .btn-outline:hover { border-color: #7C3AED; background: #FAF5FF; }
.product-d .input { background: white; border-color: #C4B5FD; }
.product-d .input:focus { border-color: #7C3AED; box-shadow: 0 0 0 3px #EDE9FE; }
.product-d .upload-zone { border-color: #C4B5FD; background: #FAF5FF; }
.product-d .upload-zone:hover { border-color: #7C3AED; background: white; }
.product-d th { background: #FAF5FF; color: #5B21B6; }
.product-d tr:hover td { background: #F5F3FF; }
.product-d .toolbar select { border-color: #C4B5FD; }

/* 响应式 */
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } .product-grid { grid-template-columns: 1fr; } .login-page { flex-direction: column; } .login-hero, .login-form-area { width: 100%; padding: 40px; } }
