:root {
  /* 核心配色：专业、稳重兼具科技活力 */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc; /* Slate 50 */
  
  --text-main: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #94a3b8; /* Slate 400 */
  --text-on-brand: #ffffff;

  /* 品牌色：炎磐 - 橙红渐变 */
  --brand-primary: #ea580c; 
  --brand-gradient: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  --brand-gradient-hover: linear-gradient(135deg, #fb923c 0%, #ef4444 100%);
  --brand-surface-tint: rgba(249, 115, 22, 0.08);

  /* 边框与圆角 */
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* 阴影体系 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-brand: 0 10px 20px -5px rgba(234, 88, 12, 0.3);
  
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 排版优化 */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem 0; color: var(--text-secondary); }
a { color: inherit; text-decoration: none; transition: color 0.2s; }

.container {
  width: 100%;
  max-width: 1200px; /* 更宽的容器 */
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-logo {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--brand-primary);
  background: var(--brand-surface-tint);
  font-weight: 600;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

/* Hero Section */
.hero, .page-hero {
  padding: 80px 0;
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 40%),
              radial-gradient(circle at bottom left, rgba(220, 38, 38, 0.05), transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-inner, .page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-copy p, .page-hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-visual img, .page-hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  transition: transform 0.3s ease;
}

.hero-visual img:hover, .page-hero-image:hover {
  transform: translateY(-5px);
}

/* Buttons */
.cta {
  display: flex;
}

.cta > *:not(:last-child) {
  margin-right: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
  background: white;
  color: var(--text-main);
  cursor: pointer;
}

.btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--brand-gradient);
  border: none;
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn.primary:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 15px 25px -5px rgba(234, 88, 12, 0.4);
}

/* Modern Hero CTA Button */
.btn-hero-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px; /* 完全胶囊型 */
  background: var(--brand-gradient);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2); /* 柔和外阴影 + 顶部高光 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
}

.btn-hero-glow:hover {
  transform: translateY(-2px);
  background: var(--brand-gradient-hover);
  box-shadow: 0 20px 30px -8px rgba(234, 88, 12, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero-glow:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
}

/* Secondary Hero CTA Button */
.btn-hero-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  background: #ffffff;
  color: #000000;
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-hero-outline:hover {
  transform: translateY(-2px);
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.btn-hero-outline:active {
  transform: translateY(0);
}


/* Sections */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--bg-subtle);
}

.section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section .subhead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  font-size: 1.125rem;
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(249, 115, 22, 0.3);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
}

.tech-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

.tech-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-gradient);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Values (About Page) */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value {
  background: var(--bg-subtle);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: 0.2s;
}

.value:hover {
  background: white;
  border-color: var(--border-light);
  box-shadow: var(--shadow-card);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-primary);
}

/* List Items (Insights) */
.list {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.list-item {
  display: block;
  padding: 24px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-item:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateX(4px);
}

.list-item::after {
  content: "→";
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s;
}

.list-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Page Refactor - Moved to contact.css */

/* Forms - Generic (Moved contact-specific to contact.css) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

input, textarea {
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: var(--bg-subtle);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

.form-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.form-status {
  font-size: 0.9rem;
  color: var(--brand-primary);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #1e293b; /* Slate 800 */
  color: #e2e8f0; /* Slate 200 */
  padding: 64px 0 32px;
  margin-top: auto;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

.footer-legal {
  font-size: 0.875rem;
  color: #64748b;
}

.footer-legal a {
  text-decoration: underline;
  color: inherit;
}

/* Gallery (About Page) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.gallery-item {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75); /* Darker backdrop */
  z-index: 2000; /* Increased z-index */
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px); /* Increased blur */
  -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.open {
  display: flex;
  animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 680px; /* Slightly wider */
  max-height: 90vh;
  border-radius: 24px; /* More rounded */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.modal-content {
  overflow-y: auto;
  padding: 12px; /* More padding */
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #e2e8f0;
  border-radius: 10px;
}

/* Report Content Styles */
.market-report {
  color: var(--text-main);
}

.report-title {
  font-size: 1.75rem; /* Larger title */
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
  padding-right: 50px;
  line-height: 1.2;
  background: linear-gradient(135deg, #0f172a 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.score-badge {
  background: #f8fafc;
  color: #475569;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.signal-badge {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.signal-badge.weak {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fee2e2;
}

.report-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 32px 0;
}

.report-section {
  margin-bottom: 32px;
}

.section-header {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--brand-primary);
  border-radius: 2px;
}

.analysis-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.analysis-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: none; /* Removed old border */
  transition: transform 0.2s ease;
}

.analysis-list li:hover {
  transform: translateX(4px);
  background: #f1f5f9;
}

.analysis-list li strong {
  color: #0f172a;
}

.section-score {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-align: right;
  margin-top: 8px;
}

.report-summary-text {
  background: rgba(234, 88, 12, 0.03);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(234, 88, 12, 0.1);
}

.report-summary-text p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
  margin: 0;
}

/* Experience Channels Modal Styles */
.experience-modal-content {
  padding: 10px 0;
}

.experience-modal-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
}

.channels-grid {
  display: grid;
  gap: 20px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-item:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.channel-icon.wechat {
  background: linear-gradient(135deg, #07c160 0%, #05a350 100%);
  box-shadow: 0 8px 16px rgba(7, 193, 96, 0.2);
}

.channel-icon.ios {
  background: linear-gradient(135deg, #1f2937 0%, #000000 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.channel-icon.h5 {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.channel-icon.android {
  background: linear-gradient(135deg, #a4c639 0%, #7db317 100%);
  box-shadow: 0 8px 16px rgba(164, 198, 57, 0.2);
}

.channel-info {
  flex: 1;
}

.channel-info h3 {
  margin: 0 0 4px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.channel-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.channel-info strong {
  color: var(--brand-primary);
}

.btn-copy-name {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-name:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

.btn-experience {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 50px;
  background: var(--brand-gradient);
  color: white;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-experience:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
}

@media (max-width: 640px) {
  .channel-item {
    padding: 16px;
    gap: 12px;
  }
  .channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .channel-info h3 {
    font-size: 1rem;
  }
}

/* Supply Chain Flow Styles */
.chain-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 24px;
}

.chain-section {
  position: relative;
}

/* Timeline connector line */
.chain-section:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px; /* Center of the icon */
  top: 48px; /* Below header */
  bottom: -32px; /* Extend to next section */
  width: 2px;
  background: var(--border-light);
  z-index: 0;
}

.chain-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.chain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.chain-header.up .chain-icon {
  background: #fffbeb; /* Light Amber */
  color: #d97706;
  border-color: #fcd34d;
}

.chain-header.mid .chain-icon {
  background: #eff6ff; /* Light Blue */
  color: #2563eb;
  border-color: #dbeafe;
}

.chain-header.down .chain-icon {
  background: #f0fdf4; /* Light Green */
  color: #16a34a;
  border-color: #dcfce7;
}

.chain-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-main);
}

.chain-body {
  margin-left: 24px; /* Align with icon center */
  padding-left: 36px; /* Space from line */
}

.chain-industry {
  margin-bottom: 20px;
}

.chain-industry:last-child {
  margin-bottom: 0;
}

.industry-name {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.company-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all 0.2s;
}

.chip:hover {
  background: white;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* Stocks Table Styles */
.stocks-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.stocks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.stocks-table thead {
  background: var(--bg-subtle);
  position: sticky;
  top: 0;
  z-index: 10;
}

.stocks-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.stocks-table th.col-name {
  text-align: left;
  min-width: 140px;
}

.stocks-table th.col-price,
.stocks-table th.col-change,
.stocks-table th.col-turnover {
  text-align: right;
  min-width: 80px;
}

.stocks-table .sort-icon {
  opacity: 0.4;
  font-size: 0.75rem;
  margin-left: 4px;
}

.stocks-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.15s;
}

.stocks-table tbody tr:hover {
  background-color: var(--bg-subtle);
}

.stocks-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.stocks-table td.col-name {
  text-align: left;
}

.stocks-table td.col-price,
.stocks-table td.col-change,
.stocks-table td.col-turnover {
  text-align: right;
  font-weight: 500;
}

.stock-name {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.stock-code {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.margin-tag {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* GEO Section Styles */
.geo-section {
  background: linear-gradient(to bottom, #ffffff, #fff7ed);
}

.geo-title {
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 48px;
  font-size: 2.5rem;
}

.ai-logos {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 64px;
  align-items: center;
  flex-wrap: wrap;
}

.ai-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: 180px;
}

.ai-logo-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-primary);
}

.ai-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.ai-logo-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  text-align: center;
}

.ai-logo-divider {
  width: 1px;
  height: 60px;
  background: var(--border-light);
  margin: 0 20px;
}

@media (max-width: 768px) {
  .ai-logo-divider {
    display: none;
  }
}

.geo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.geo-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.geo-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card-hover);
}

.geo-card-header {
  padding: 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: background 0.3s;
}

.geo-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.geo-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.geo-card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-main);
}

.geo-card-body {
  padding: 32px;
  flex-grow: 1;
}

.geo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.geo-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.4;
}

.geo-list li::before {
  content: "✓";
  color: var(--brand-primary);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Featured GEO Card */
.geo-card.featured {
  border: 2px solid var(--brand-primary);
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, #fff, #fffaf5);
}

.geo-card.featured .geo-card-header {
  background: var(--brand-surface-tint);
}

.geo-card.featured .geo-card-header h3 {
  color: var(--brand-primary);
}

.geo-card.featured .geo-card-icon {
  background: var(--brand-primary);
  box-shadow: var(--shadow-brand);
}

.geo-card.featured .geo-card-icon img {
  filter: brightness(0) invert(1);
}

@media (max-width: 960px) {
  .geo-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .geo-card.featured {
    transform: none;
  }
  .ai-logos {
    gap: 32px;
  }
}

/* --- GENO Monitoring Results View Styles --- */
.results-header-bar {
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  margin-bottom: 32px;
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.results-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-left-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-back {
  background: white;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-back:hover {
  background: var(--bg-subtle);
  border-color: #14b8a6;
  color: #14b8a6;
  transform: translateX(-2px);
}

.results-brand-selector {
  display: flex;
  align-items: center;
  gap: 16px;
}

.current-brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.custom-select-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.custom-select-mini:hover {
  background: #e2e8f0;
}

.results-filters {
  display: flex;
  align-items: center;
  gap: 24px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.filter-item:hover {
  background: var(--bg-subtle);
}

.platform-chips {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.platform-chip.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.platform-chip:not(.active):hover {
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}

.chip-icon {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
}

.results-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.results-section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.help-icon {
  color: var(--text-muted);
  font-size: 1rem;
  cursor: help;
  transition: color 0.2s;
}

.help-icon:hover {
  color: var(--text-secondary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  opacity: 0.8;
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Specific Card Styles */
.metric-card.mentions {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.metric-card.mentions .metric-value,
.metric-card.mentions .metric-label {
  color: white;
}

.metric-card.first-mentions {
  background: #ffffff;
  border-top: 4px solid #8b5cf6;
}
.metric-card.first-mentions .metric-value { color: #7c3aed; }

.metric-card.positive {
  background: #ffffff;
  border-top: 4px solid #10b981;
}
.metric-card.positive .metric-value { color: #059669; }

.metric-card.negative {
  background: #ffffff;
  border-top: 4px solid #f43f5e;
}
.metric-card.negative .metric-value { color: #e11d48; }

.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.8;
}

.analysis-dashboard-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.analysis-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.analysis-brand-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-chip {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.brand-chip::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--chip-color, #94a3b8);
  transition: all 0.3s;
}

.brand-chip.active {
  background: white;
  border-color: var(--chip-color, #3b82f6);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.brand-chip.active:hover {
  transform: translateY(-1px);
}

.selection-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.results-chart-canvas-wrapper {
  height: 450px;
  width: 100%;
}

/* Sentiment Specifics */
.sentiment-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sentiment-main-stats {
  display: flex;
  gap: 32px;
}

.s-stat {
  display: flex;
  flex-direction: column;
}

.s-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.s-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.s-value.pos-text { color: #10b981; }
.s-value.neg-text { color: #f43f5e; }

.sentiment-legend {
  display: flex;
  gap: 16px;
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.leg-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.leg-item .dot.pos { background: #10b981; }
.leg-item .dot.neg { background: #f43f5e; }

@media (max-width: 960px) {
  .results-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .results-filters {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .platform-chips {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 8px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .analysis-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand-surface-tint);
  color: var(--brand-primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(234, 88, 12, 0.1);
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ai-logos-container {
  background: var(--bg-subtle);
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  margin-bottom: 80px;
  border: 1px solid var(--border-light);
}

.ai-logos-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  font-weight: 600;
}

.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 15px;
}

.section-header-centered h2 {
  margin-bottom: 8px;
}

.section-header-centered p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* Responsive */

/* Tablet & Mobile Common (Up to 1100px) */
@media (max-width: 1100px) {
  :root {
    --header-height: 64px;
  }

  /* Force visibility of reveal elements on tablet/mobile to prevent issues with IntersectionObserver */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Header & Nav */
  .header-inner {
    height: var(--header-height); /* 减小头部高度，更适合平板和手机 */
  }

  .brand-logo {
    height: 28px; /* 同步减小 Logo 大小 */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height); /* 与头部高度对齐 */
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    z-index: 1000;
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hero-inner, .page-hero-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-copy p, .page-hero p, .section .subhead {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }

  .cta {
    justify-content: center;
    flex-direction: row;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .cards, .tech-grid, .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .hero-copy h1 {
    font-size: 3.5rem;
  }
}

/* Tablet Specific (768px to 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-inner, .page-hero-grid {
    padding: 0 40px;
  }

  .container {
    max-width: 95%;
  }

  h1 { font-size: 2.8rem !important; }
  h2 { font-size: 2.2rem !important; }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
  }
}

/* Mobile Specific (Up to 640px) */
@media (max-width: 640px) {
  /* Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .hero-copy h1, .page-hero h1 { font-size: 2.5rem; }

  .cta {
    padding: 0 10px;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
  }

  .cta > *:not(:last-child) {
    margin-right: 0;
    margin-bottom: 16px;
  }

  .cta .btn, 
  .cta .btn-hero-glow, 
  .cta .btn-hero-outline {
    width: 100%;
  }

  /* Header & Nav */
  .site-header .container {
    padding: 0 16px;
  }

  /* Layouts */
  .cards, .tech-grid, .values, .form-row, .gallery {
    grid-template-columns: 1fr;
  }

  .list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .list-item::after {
    display: none;
  }

  /* Footer */
  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .footer-meta {
    align-items: center;
    flex-direction: column-reverse; 
    gap: 32px;
    width: 100%;
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 280px;
  }

  .footer-links a {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: #e2e8f0;
    transition: background 0.2s;
  }

  .footer-legal {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.6;
  }
  
  /* Modal Mobile Adjustments */
  .modal-container {
    max-height: 90vh;
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  /* Supply Chain Responsive */
  .chain-section:not(:last-child)::after {
    left: 20px;
  }
  
  .chain-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .chain-body {
    margin-left: 20px;
    padding-left: 28px;
  }

  /* Stocks Table Mobile */
  .stocks-table {
    font-size: 0.85rem;
  }

  .stocks-table th,
  .stocks-table td {
    padding: 10px 12px;
  }

  .stock-name {
    font-size: 0.9rem;
  }

  .stock-code {
    font-size: 0.75rem;
  }
}

/* Map Section Styles */
.map-section {
  padding-top: 0;
  margin-top: -40px;
}

.map-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.map-marker-label {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.map-marker-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0px rgba(234, 88, 12, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0px rgba(234, 88, 12, 0); }
}

.map-marker-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.custom-marker {
  position: relative;
  width: 20px;
  height: 20px;
}

.custom-marker .dot {
  width: 12px;
  height: 12px;
  background: var(--brand-primary);
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.custom-marker .pulse {
  width: 20px;
  height: 20px;
  background: var(--brand-primary);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.4;
  animation: marker-pulse 2s ease-out infinite;
}

@keyframes marker-pulse {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Strategy Result View Styles (Appended) */
.result-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.result-tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 500;
}

.result-section {
  scroll-margin-top: 0px;
}

/* Hide scrollbar for result content but keep functionality */
.result-content::-webkit-scrollbar {
  width: 4px;
}
.result-content::-webkit-scrollbar-thumb {
  background: #eee;
  border-radius: 4px;
}

/* Membership Sidebar - Futuristic Reimagining */
.member-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.member-trigger {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ea580c;
  padding: 16px 10px;
  border: 1px solid rgba(234, 88, 12, 0.4);
  border-right: none;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  box-shadow: -8px 0 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(234, 88, 12, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1002;
  position: relative;
  overflow: hidden;
}

.member-trigger::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(234, 88, 12, 0.2), transparent);
  animation: scanning 3s linear infinite;
}

@keyframes scanning {
  0% { top: -100%; }
  100% { top: 100%; }
}

.member-trigger .icon {
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(234, 88, 12, 0.6));
}

.member-trigger .vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(234, 88, 12, 0.4);
}

.member-panel {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  height: auto;
  width: 0;
  overflow: hidden;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  /* Remove rounded corners on the right if it's hitting the screen edge */
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-right: none;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  margin-left: -1px; /* Overlap to hide seam */
}

.member-sidebar:hover .member-panel {
  width: 350px;
  opacity: 1;
}

.member-sidebar:hover .member-trigger {
  background: #ea580c;
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: -5px 0 20px rgba(234, 88, 12, 0.5);
}

.member-panel-inner {
  padding: 40px 32px;
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* Cybernetic corners */
.member-panel-inner::before, .member-panel-inner::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: #ea580c;
  border-style: solid;
  opacity: 0.6;
}

.member-panel-inner::before {
  top: 20px;
  left: 20px;
  border-width: 2px 0 0 2px;
}

.member-panel-inner::after {
  bottom: 20px;
  left: 20px;
  border-width: 0 0 2px 2px;
}

.member-panel-inner h3 {
  font-size: 1.6rem;
  color: #fff;
  margin: 0;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, #fff, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.member-panel-inner p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0;
  border-left: 2px solid rgba(234, 88, 12, 0.3);
  padding-left: 15px;
}

.price-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-tag {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
  border: 1px solid rgba(234, 88, 12, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.price-tag:hover {
  background: rgba(234, 88, 12, 0.1);
  border-color: #ea580c;
  box-shadow: inset 0 0 15px rgba(234, 88, 12, 0.1);
  transform: translateX(-5px);
}

.price-tag::after {
  content: '▸';
  color: #ea580c;
  font-size: 1.2rem;
}

/* Mobile: Re-inventing as a floating action button + bottom sheet */
@media (max-width: 640px) {
  .member-sidebar {
    top: auto;
    bottom: 30px;
    right: 20px;
    transform: none;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
  
  .member-trigger {
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border: 2px solid #ea580c;
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.4);
    background: #ea580c;
    color: white;
  }
  
  .member-trigger .vertical-text {
    display: none;
  }
  
  .member-trigger .icon {
    font-size: 24px;
    filter: none;
  }
  
  .member-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 60vh;
    transform: translateY(100%);
    border-radius: 24px 24px 0 0;
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-bottom: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
    z-index: 1001;
    pointer-events: none;
  }
  
  .member-sidebar.active .member-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .member-sidebar.active .member-trigger {
    transform: scale(0.9) translateY(-5px);
    background: #0f172a;
    border-color: rgba(234, 88, 12, 0.5);
  }
  
  .member-panel-inner {
    width: 100%;
    padding: 40px 24px;
    height: 100%;
    overflow-y: auto;
  }
  
  /* Add a drag handle on mobile */
  .member-panel::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
  }
}

/* --- GENO Monitoring Page Styles --- */
.geno-hero {
  text-align: center;
  padding: 100px 0;
}

.geno-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.search-bar-container {
  display: flex;
  gap: 16px;
  background: white;
  padding: 8px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 32px auto 0;
}

.search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 12px 24px;
  font-size: 1rem;
}

.search-input:focus {
  box-shadow: none;
  background: transparent;
}

.search-btn {
  border-radius: 40px;
  padding: 12px 32px;
}

.default-brands {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.brand-tag {
  color: var(--brand-primary);
  background: var(--brand-surface-tint);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.brand-tag:hover {
  background: white;
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.geno-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.dashboard-card {
  padding: 24px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.chart-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* For Chart.js absolute positioning if needed */
  min-height: 250px;
}

.chart-svg {
  width: 100%;
  height: auto;
  max-height: 200px;
}

.chart-stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.blue { background-color: #2563eb; }
.dot.green { background-color: #16a34a; }
.dot.orange { background-color: #ea580c; }

/* Simple Table */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.simple-table th {
  text-align: left;
  padding: 12px 8px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.simple-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--bg-subtle);
  font-size: 0.95rem;
}

.simple-table .text-right {
  text-align: right;
}

.simple-table .highlight-row {
  background-color: var(--bg-subtle);
}

/* Bubble Chart Simulation */
.bubble-chart-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  background: #fdfdfd; /* Very light background to make white bubbles pop */
}

.bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff; /* White background like reference */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft, subtle shadow */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  animation: float 8s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,0.02); /* Very faint border */
}

.bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  z-index: 10;
  animation-play-state: paused;
}

.bubble-label {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7; /* Make label color softer */
}

.bubble-value {
  font-size: 0.75rem;
  opacity: 0.35; /* Even lighter value */
  margin-top: 6px;
  color: #64748b;
}

/* Platform Brand Colors */
.bubble-1 { 
  width: 120px; height: 120px; 
  top: 45%; left: 15%; 
  animation-delay: 0s;
}
.bubble-1 .bubble-label { color: #ff4500; } /* 抖音 - Orange/Red */

.bubble-2 { 
  width: 90px; height: 90px; 
  top: 30%; left: 10%; 
  animation-delay: -1.5s;
}
.bubble-2 .bubble-label { color: #0066ff; } /* 知乎 - Blue */

.bubble-3 { 
  width: 95px; height: 95px; 
  top: 20%; left: 45%; 
  animation-delay: -3s;
}
.bubble-3 .bubble-label { color: #6633cc; } /* 网易 - Purple */

.bubble-4 { 
  width: 110px; height: 110px; 
  top: 15%; right: 10%; 
  animation-delay: -4.5s;
}
.bubble-4 .bubble-label { color: #ff0000; } /* 百家号 - Red */

.bubble-5 { 
  width: 80px; height: 80px; 
  bottom: 25%; left: 50%; 
  animation-delay: -2s;
}
.bubble-5 .bubble-label { color: #ff8200; } /* 新浪 - Orange */

.bubble-6 { 
  width: 75px; height: 75px; 
  top: 10%; left: 30%; 
  animation-delay: -5.5s;
}
.bubble-6 .bubble-label { color: #ff2442; } /* 小红书 - Red/Pink */

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(5px, -15px); }
  66% { transform: translate(-5px, -5px); }
}


.geno-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.feature-item {
  text-align: left;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tags span {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .geno-dashboard {
    grid-template-columns: 1fr;
  }
  
  .geno-features {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .search-bar-container {
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-lg);
  }
  
  .search-btn {
    width: 100%;
  }
}

/* Copy Button & Toast Styles */
.copy-trigger {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.copy-trigger:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
}

.copy-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

