:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-card: rgba(17, 23, 36, 0.75);
  --bg-card-hover: rgba(24, 33, 52, 0.9);
  --bg-glass: rgba(13, 17, 26, 0.8);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(148, 163, 184, 0.12);
  --border-highlight: rgba(225, 29, 72, 0.45);
  
  /* Brand Colors: Raspberry Crimson + AI Cyan + Deep Indigo */
  --brand-crimson: #e11d48;
  --brand-crimson-light: #fb7185;
  --brand-cyan: #06b6d4;
  --brand-cyan-light: #38bdf8;
  --brand-indigo: #6366f1;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #e11d48 0%, #7c3aed 55%, #06b6d4 100%);
  --gradient-text: linear-gradient(90deg, #ffffff 0%, #fda4af 45%, #38bdf8 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(225, 29, 72, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  --shadow-glow: 0 20px 50px -15px rgba(225, 29, 72, 0.22), 0 0 30px -10px rgba(6, 182, 212, 0.18);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.09);
  --border-highlight: rgba(225, 29, 72, 0.35);
  --gradient-text: linear-gradient(90deg, #0f172a 0%, #e11d48 50%, #0284c7 100%);
  --shadow-glow: 0 20px 45px -15px rgba(225, 29, 72, 0.15), 0 10px 25px -10px rgba(2, 132, 199, 0.12);
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Background Grid & Glow */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, var(--border-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--brand-crimson) 0%, transparent 70%);
  top: -160px;
  left: -100px;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--brand-cyan) 0%, transparent 70%);
  top: 120px;
  right: -120px;
}

.orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--brand-indigo) 0%, transparent 70%);
  bottom: 10%;
  left: 35%;
  opacity: 0.2;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.lang-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--brand-crimson);
  color: var(--brand-crimson-light);
  transform: translateY(-1px);
}

.theme-btn:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(225, 29, 72, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(225, 29, 72, 0.65);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--brand-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
  border-radius: 14px;
}

/* Section Utilities */
section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.28);
  color: var(--brand-crimson-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

[data-theme="light"] .section-badge {
  color: var(--brand-crimson);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.gradient-span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  padding: 76px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tag {
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: var(--brand-cyan-light);
  font-size: 0.84rem;
  font-weight: 600;
}

[data-theme="light"] .hero-tag {
  color: #0369a1;
  background: rgba(2, 132, 199, 0.08);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Hero Interactive Command Console */
.hero-visual {
  position: relative;
}

.command-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.command-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.console-title {
  font-size: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-secondary);
}

.console-status {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--brand-emerald);
  font-weight: 600;
}

.architecture-live-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.arch-node {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.25s ease;
}

[data-theme="light"] .arch-node {
  background: rgba(241, 245, 249, 0.8);
}

.arch-node:hover {
  border-color: var(--brand-crimson);
  transform: translateY(-2px);
}

.arch-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.arch-node-title {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arch-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.arch-metric {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.arch-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.agent-stream-box {
  background: rgba(7, 9, 14, 0.65);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
}

[data-theme="light"] .agent-stream-box {
  background: #0f172a;
  color: #f8fafc;
}

.stream-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  line-height: 1.45;
}

.stream-line:last-child {
  margin-bottom: 0;
}

.tag-ai {
  color: #fb7185;
  font-weight: 700;
  flex-shrink: 0;
}

.tag-erp {
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
}

.tag-ok {
  color: #34d399;
  font-weight: 700;
  flex-shrink: 0;
}

/* Core Solutions Bento Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.solution-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.solution-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.11) 0%, rgba(17, 23, 36, 0.85) 55%, rgba(6, 182, 212, 0.1) 100%);
}

[data-theme="light"] .solution-card.featured {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.06) 0%, #ffffff 55%, rgba(6, 182, 212, 0.08) 100%);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.solution-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-crimson-light);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

[data-theme="light"] .card-link {
  color: var(--brand-crimson);
}

/* AI Agent Sandbox Section */
.agent-sandbox-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-glow);
}

.agent-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
}

.agent-selector-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-tab-btn {
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.22s ease;
}

.agent-tab-btn:hover {
  border-color: var(--brand-cyan);
}

.agent-tab-btn.active {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(99, 102, 241, 0.15));
  border-color: var(--brand-crimson);
}

.agent-tab-title {
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.agent-tab-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.agent-Links-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
}

.agent-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.agent-chat-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.agent-model-tag {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--brand-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

[data-theme="light"] .agent-model-tag {
  color: #0369a1;
}

.agent-conversation {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.chat-user {
  align-self: flex-end;
  max-width: 82%;
  background: var(--gradient-primary);
  color: #ffffff;
}

.chat-agent {
  align-self: flex-start;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.cot-box {
  font-size: 0.8rem;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid var(--brand-indigo);
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.agent-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mini-kpi {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.mini-kpi span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.mini-kpi strong {
  font-size: 1rem;
  color: var(--brand-emerald);
}

.agent-prompt-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.preset-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}

.preset-btn {
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  border-color: var(--brand-crimson);
  color: var(--text-primary);
}

.prompt-input-group {
  display: flex;
  width: 100%;
  gap: 10px;
}

.prompt-input-group input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.prompt-input-group input:focus {
  outline: none;
  border-color: var(--brand-cyan);
}

/* Product Blueprint Switcher (ERP / Mini-Program Mall / IC & Integration) */
.blueprint-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.bp-tab {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bp-tab.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -5px rgba(225, 29, 72, 0.45);
}

.blueprint-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.bp-module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.bp-module {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.bp-module h5 {
  font-size: 0.94rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.bp-module p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.bp-architecture-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-layer {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.arch-layer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-cyan-light);
  font-weight: 700;
  margin-bottom: 6px;
}

[data-theme="light"] .arch-layer-label {
  color: #0284c7;
}

.arch-layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-layer-items span {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

/* Official Business Scope (工商核准六大核心资质范围) */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scope-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
}

.scope-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-4px);
}

.scope-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-crimson-light);
  margin-bottom: 8px;
}

.scope-card h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.scope-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Solution Estimator & Consultation Section */
.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.estimator-panel,
.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.selector-group {
  margin-bottom: 24px;
}

.selector-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.check-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check-pill {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.check-pill.selected {
  border-color: var(--brand-crimson);
  background: rgba(225, 29, 72, 0.12);
}

.estimate-result-box {
  padding: 20px;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
}

.estimate-result-box h5 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--brand-crimson-light);
}

[data-theme="light"] .estimate-result-box h5 {
  color: var(--brand-crimson);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h5 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--bg-card);
  border: 1px solid var(--brand-emerald);
  color: var(--text-primary);
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .agent-layout,
  .blueprint-panel,
  .estimator-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid,
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-card.featured {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-stats,
  .solutions-grid,
  .scope-grid,
  .bp-module-grid,
  .check-pills,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card.featured {
    grid-column: span 1;
  }

  .agent-metrics-row {
    grid-template-columns: 1fr;
  }
}
