/* ==========================================================================
   Nexhub 官方企业门户网站样式表
   风格设计：参考 Qoder / 现代极客暗黑科技感（Dark Elegance & Cyber Glow）
   特点：纯自包含、零外部不可控依赖、完全响应式适配、针对工信部备案合规优化
   ========================================================================== */

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(26, 35, 55, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(120, 119, 198, 0.35);
  
  --text-main: #f0f3fa;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --primary: #6366f1;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --cyan-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  
  --glow-primary: rgba(99, 102, 241, 0.25);
  --glow-cyan: rgba(79, 172, 254, 0.2);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(0, 242, 254, 0.06) 0%, transparent 45%);
  background-repeat: no-repeat;
}

/* 链接样式 */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 容器规范 */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

/* ==================== 顶部导航栏 ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6));
}

.brand-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 14px rgba(99, 102, 241, 0.65));
}

.brand-name {
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-item a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* ==================== 首屏 HERO 区域 ==================== */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #c7d2fe 45%, #ec4899 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.68;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* ==================== 智能体工作台模拟展示 ==================== */
.workspace-mockup {
  position: relative;
  margin: 0 auto;
  max-width: 1040px;
  background: #0d111a;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(99, 102, 241, 0.18);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  height: 48px;
  background: #131826;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

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

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots .red { background: #ff5f56; }
.window-dots .yellow { background: #ffbd2e; }
.window-dots .green { background: #27c93f; }

.mockup-tabs {
  display: flex;
  gap: 6px;
}

.mockup-tab {
  padding: 7px 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
  font-weight: 500;
}

.mockup-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.mockup-tab.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.mockup-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 440px;
  font-size: 0.88rem;
}

/* 左侧 Agent 状态面板 */
.agent-sidebar {
  background: #101422;
  border-right: 1px solid var(--border-color);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agent-status-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.task-step {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.task-step.done {
  color: #cbd5e1;
}

.task-step.done::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
}

.task-step.current {
  color: #93c5fd;
  font-weight: 500;
}

.task-step.current::before {
  content: "▶";
  color: #3b82f6;
}

/* ==================== 右侧工作台多模式可视化画布 ==================== */
.studio-canvas {
  background: #090c14;
  padding: 20px;
  overflow-y: auto;
  max-height: 480px;
}

/* --- 模式 1：自媒体 Agent 对话框（带动画效果） --- */
.agent-chat-window {
  display: flex;
  flex-direction: column;
  height: 420px;
  background: #090c14;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.chat-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #111625;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-agent-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.chat-body-stream {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 用户气泡 */
.chat-msg-user {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  animation: fadeInMsg 0.35s ease;
}

.user-bubble {
  max-width: 80%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px 2px 12px 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* 思考中卡片 */
.chat-thinking-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #a5b4fc;
  margin-left: 34px;
  animation: pulse 2s infinite ease-in-out;
}

/* Agent 回复气泡 */
.chat-msg-agent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: fadeInMsg 0.4s ease;
}

.agent-bubble {
  max-width: 86%;
  background: #131929;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px 12px 12px 12px;
  padding: 14px;
  color: #e2e8f0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.typing-cursor {
  display: inline-block;
  width: 6px;
  height: 14px;
  background: #6366f1;
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

/* 对话输入框 */
.chat-input-bar {
  padding: 10px 14px;
  background: #0e121d;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #fff;
  outline: none;
}

.chat-send-btn {
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- 模式 2：图二风格的真实无限画布 (1:1 高保真) --- */
.figma-canvas-container {
  display: flex;
  height: 420px;
  background: #0c101a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 左侧微型资产栏（图二左侧） */
.canvas-sidebar-panel {
  width: 175px;
  background: #0f1422;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 0.74rem;
}

.sidebar-tab-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-tab-item {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  color: #94a3b8;
  cursor: pointer;
}

.sidebar-tab-item.active {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #6366f1;
}

.sidebar-search-box {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  font-size: 0.7rem;
}

.sidebar-elements-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.15s;
}

.sidebar-item-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-item-row img, .sidebar-item-row .mini-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #1e293b;
  flex-shrink: 0;
}

.sidebar-bottom-status {
  padding: 6px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.68rem;
}

/* 画布主工作区（图二主体） */
.canvas-main-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #0b0f19;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}

/* 图二顶栏 */
.canvas-top-bar {
  height: 38px;
  background: rgba(14, 18, 28, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-size: 0.74rem;
  z-index: 10;
}

.canvas-mode-switch {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 2px;
  display: flex;
}

.canvas-mode-pill {
  padding: 2px 8px;
  border-radius: 3px;
  color: #94a3b8;
  cursor: pointer;
}

.canvas-mode-pill.active {
  background: #272d3d;
  color: #fff;
  font-weight: 600;
}

/* 画布节点舞台 */
.canvas-nodes-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.figma-svg-wires {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.figma-wire {
  fill: none;
  stroke: #475569;
  stroke-width: 1.6;
  opacity: 0.85;
}

/* 图二真实节点卡片（圆角矩形图片/视频，写实高清，带微光动效） */
.canvas-art-node {
  position: absolute;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
  background: #111624;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.canvas-art-node:hover {
  transform: scale(1.06);
  z-index: 10;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.canvas-art-node.pulse-active {
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6), 0 8px 24px rgba(0, 0, 0, 0.8);
  animation: nodeGlowPulse 3s infinite ease-in-out;
}

@keyframes nodeGlowPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(99, 102, 241, 0.5); }
  50% { box-shadow: 0 0 24px rgba(99, 102, 241, 0.85); }
}

.art-node-img-box {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.art-node-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-node-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #f1f5f9;
  font-size: 0.62rem;
  padding: 1px 6px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
}

.art-node-tag .circle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.art-node-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  animation: playPulse 2s infinite ease-in-out;
}

@keyframes playPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
}

.art-node-play svg {
  width: 11px;
  height: 11px;
  fill: #fff;
  margin-left: 2px;
}

.node-pin-left, .node-pin-right {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #0b0f19;
  transform: translateY(-50%);
  z-index: 4;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.node-pin-left { left: -4px; }
.node-pin-right { right: -4px; }

/* 动图连线：贝塞尔曲线动态流动光点 */
.figma-wire-active {
  fill: none;
  stroke: #64748b;
  stroke-width: 1.8;
  stroke-dasharray: 8 4;
  animation: wireDash 20s linear infinite;
  filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4));
}

@keyframes wireDash {
  from { stroke-dashoffset: 240; }
  to { stroke-dashoffset: 0; }
}

/* --- 模式 2：节点式无限画布 --- */
.canvas-studio-view {
  position: relative;
  min-height: 420px;
  background-color: #070a10;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

/* 画布顶栏操作条 */
.canvas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 21, 35, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  z-index: 10;
  position: relative;
}

.canvas-tools-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.canvas-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.canvas-tool-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  border-color: rgba(99, 102, 241, 0.4);
}

.canvas-minimap-box {
  width: 58px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  position: relative;
}

.minimap-viewport {
  width: 24px;
  height: 16px;
  border: 1px solid #6366f1;
  background: rgba(99, 102, 241, 0.25);
  position: absolute;
  top: 5px;
  left: 14px;
}

/* 节点容器与连线 */
.canvas-nodes-wrapper {
  position: relative;
  min-height: 340px;
}

/* SVG 贝塞尔曲线连线层 */
.canvas-connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.wire-path {
  fill: none;
  stroke: #6366f1;
  stroke-width: 2.2;
  opacity: 0.8;
  filter: drop-shadow(0 0 6px #6366f1);
  stroke-dasharray: 6 3;
  animation: flowWire 30s linear infinite;
}

.wire-path-cyan {
  stroke: #06b6d4;
  filter: drop-shadow(0 0 6px #06b6d4);
}

.wire-path-pink {
  stroke: #ec4899;
  filter: drop-shadow(0 0 6px #ec4899);
}

@keyframes flowWire {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

.canvas-nodes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
  position: relative;
  z-index: 2;
}

.canvas-flow-node {
  background: rgba(15, 20, 34, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.canvas-flow-node:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.5);
}

.node-port-out {
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #070a10;
  box-shadow: 0 0 10px #10b981;
  cursor: crosshair;
}

.node-port-in {
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #070a10;
  box-shadow: 0 0 10px #3b82f6;
}

.node-thumb-preview {
  width: 100%;
  height: 72px;
  border-radius: 6px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 模式 3：AI 电影级视频生成工作台 --- */
.video-studio-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cinema-monitor-wrapper {
  position: relative;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  height: 250px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

/* 真实的影视视频画面 SVG 渲染层 */
.cinema-scene-artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 电影宽荧幕遮幅 2.39:1 */
.letterbox-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background: #000000;
  z-index: 5;
}

.letterbox-top { top: 0; }
.letterbox-bottom { bottom: 0; }

.monitor-hud-overlay {
  position: absolute;
  top: 20px;
  left: 16px;
  right: 16px;
  bottom: 20px;
  z-index: 6;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #cbd5e1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hud-rec-tag {
  color: #ef4444;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-rec-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse 1.2s infinite;
}

.hud-center-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-center-crosshair::after {
  content: "+";
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  font-weight: 300;
}

.hud-play-action-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.85);
  backdrop-filter: blur(8px);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.7);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hud-play-action-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #6366f1;
}

.hud-play-action-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  margin-left: 3px;
}

.hud-bottom-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #e2e8f0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

/* 时间轴控制 */
.timeline-player-bar {
  background: rgba(15, 20, 32, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
}

.timeline-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.timeline-track-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.track-label {
  min-width: 54px;
  font-weight: 500;
}

.track-bar {
  flex: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.track-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
}

/* --- 模式 4：多条不同制作流水线展示 --- */
.multi-pipeline-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipeline-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.pipeline-row-card {
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}

.pipeline-row-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(26, 35, 55, 0.95);
  transform: translateX(3px);
}

.pipeline-row-card.running-line {
  border-left: 3px solid #3b82f6;
}

.pipeline-row-card.completed-line {
  border-left: 3px solid #10b981;
}

.pipeline-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pipeline-name-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipeline-icon-badge {
  font-size: 1.05rem;
}

.pipeline-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
}

.pipeline-category-tag {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* 节点流步骤胶囊 */
.pipeline-steps-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
}

.pipeline-step-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pipeline-step-item.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  font-weight: 600;
}

.pipeline-step-item.done {
  color: #34d399;
}

.pipeline-step-arrow {
  color: #475569;
  font-size: 0.7rem;
}

.pipeline-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  padding-top: 6px;
}

/* ==================== 统计指标栏 ==================== */
.stats-banner {
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 17, 26, 0.4);
}

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

.stat-item .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-item .desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==================== 核心功能卡片矩阵 ==================== */
.features-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  color: #818cf8;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

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

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
  background: var(--primary-gradient);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #818cf8;
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(99, 102, 241, 0.2);
  color: #ffffff;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==================== 技术架构与安全保障 ==================== */
.architecture-section {
  padding: 80px 0;
  background: rgba(13, 17, 26, 0.3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.arch-text h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.arch-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.security-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.security-point svg {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

.security-point div h4 {
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.security-point div p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0;
}

.arch-diagram-card {
  background: #0f131f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.diagram-layer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}

.diagram-layer:last-child {
  margin-bottom: 0;
}

.layer-title {
  font-size: 0.82rem;
  color: #818cf8;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

.chip {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================== 行业与企业解决方案 ==================== */
.solutions-section {
  padding: 90px 0;
}

.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: 12px;
  padding: 30px;
}

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

.solution-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.solution-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-list li {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-list li::before {
  content: "•";
  color: #6366f1;
  font-weight: bold;
}

/* ==================== 关于我们与企业实力 ==================== */
.about-section {
  padding: 80px 0;
  background: rgba(13, 17, 26, 0.4);
  border-top: 1px solid var(--border-color);
}

.about-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.cert-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.cert-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* ==================== 底部 CTA ==================== */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(13, 17, 26, 0.6) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 60px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ==================== 备案与页脚（工信部硬性合规要求） ==================== */
.site-footer {
  background: #06080c;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

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

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: #ffffff;
}

/* 备案专门区域（重点） */
.footer-compliance-divider {
  height: 1px;
  background: var(--border-color);
  margin-bottom: 28px;
}

.footer-bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beian-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.beian-link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.beian-link:hover {
  color: #6366f1;
  text-decoration: underline;
}

.beian-link img, .beian-link svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.copyright-text {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.corp-info {
  font-size: 0.8rem;
  color: #475569;
}

/* ==================== 模态框 Modal ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #111624;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: #ffffff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 24px;
}

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

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

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: #6366f1;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 992px) {
  .features-grid, .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-layout {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .features-grid, .solutions-grid {
    grid-template-columns: 1fr;
  }
  .workspace-mockup {
    display: none; /* 移动端精简模拟器避免横向溢出 */
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==================== 真实写实无限画布 60FPS 循环流光动效 ==================== */
@keyframes energyDash {
  from {
    stroke-dashoffset: 40;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.energy-stream-1 {
  animation: energyDash 1.4s linear infinite;
}

.energy-stream-2 {
  animation: energyDash 1.8s linear infinite;
}

.energy-stream-fast {
  animation: energyDash 0.9s linear infinite;
}

@keyframes pulseNodeGlow {
  0%, 100% {
    stroke-opacity: 0.35;
    stroke-width: 1.5px;
    filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.4));
  }
  50% {
    stroke-opacity: 1;
    stroke-width: 3px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.9));
  }
}

.pulse-node-glow {
  animation: pulseNodeGlow 1.8s ease-in-out infinite;
}

/* 自媒体 Agent 动态扫描光斑 */
@keyframes chatScanBar {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(1000%);
    opacity: 0;
  }
}

.chat-scan-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, rgba(99,102,241,0) 0%, rgba(99,102,241,0.25) 50%, rgba(168,85,247,0.4) 90%, rgba(255,255,255,0.6) 100%);
  animation: chatScanBar 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* ==================== 原生高保真自媒体 Agent 对话窗口 ==================== */
.agent-chat-live-container {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.chat-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-agent-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-agent-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.chat-top-tag {
  font-size: 0.72rem;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.chat-dialog-viewport {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at 85% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 60%), #0c101a;
  min-height: 290px;
}

.user-query-row {
  display: flex;
  justify-content: flex-end;
}

.user-query-bubble {
  max-width: 82%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.35));
  border: 1px solid rgba(129, 140, 248, 0.45);
  border-radius: 12px 12px 2px 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.thinking-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #94a3b8;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  align-self: flex-start;
}

.thinking-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.agent-response-card {
  background: #111827;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-left: 3px solid #6366f1;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.script-title-row {
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hook-highlight-box {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #fde047;
  line-height: 1.4;
}

.shot-detail-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.shot-label {
  color: #f43f5e;
  font-weight: 700;
  margin-right: 6px;
}

.shot-meta {
  color: #64748b;
  font-size: 0.72rem;
  margin-left: 6px;
}

.chat-typing-cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  background: #6366f1;
  margin-left: 3px;
  vertical-align: middle;
  animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-bottom-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-input-fake-field {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  color: #94a3b8;
  gap: 4px;
}

.chat-send-btn {
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-send-btn:hover {
  background: #4f46e5;
}

/* ==================== 价格二级页面 (pricing.html - 1:1 还原图二红圈) ==================== */
.nav-item a.active {
  color: #fff;
  font-weight: 600;
  position: relative;
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 2px;
}

.pricing-page {
  min-height: calc(100vh - 72px);
  background-color: #f7f9fa;
  color: #1f2937;
  padding: 16px 24px 36px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.pricing-page__container {
  max-width: 1240px;
  margin: 0 auto;
}

/* 顶部 Tab 导航胶囊 */
.pricing-page__tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
}

.pricing-page__tabs-center {
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #eaedf0;
  padding: 4px;
  border-radius: 9999px;
  gap: 4px;
}

.pricing-page__tab-btn {
  border: none;
  background: transparent;
  padding: 6px 22px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-page__tab-btn--active {
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pricing-page__card-gift {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.2s;
}

.pricing-page__card-gift:hover {
  color: #059669;
}

/* 标题与按月/按年付费切换器 */
.pricing-page__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pricing-page__slogan {
  font-size: 15px;
  color: #4b5563;
  font-weight: 400;
  margin: 0;
}

.pricing-page__period-switch {
  display: flex;
  align-items: center;
  background: #eaedf0;
  padding: 4px;
  border-radius: 9999px;
  gap: 2px;
}

.pricing-page__period-btn {
  border: none;
  background: transparent;
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pricing-page__period-btn--active {
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pricing-page__discount-tag {
  color: #059669;
  font-weight: 600;
  font-size: 12px;
}

/* 4列卡片网格 */
.pricing-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .pricing-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-page__grid {
    grid-template-columns: 1fr;
  }
  .pricing-page__header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .pricing-page__card-gift {
    position: static;
    transform: none;
    margin-top: 12px;
  }
}

/* 基础卡片样式 */
.pricing-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* 专业版高亮外边框与浅绿波纹背景（参考图二） */
.pricing-card--highlighted {
  border: 2px solid #34d399;
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.12);
}

.pricing-card__bg-curves {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  pointer-events: none;
  opacity: 0.2;
}

/* 头部与价格 */
.pricing-card__header {
  margin-bottom: 14px;
}

.pricing-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pricing-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.pricing-card__badge {
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card__currency {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.pricing-card__amount {
  font-size: 34px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.pricing-card__unit {
  font-size: 14px;
  color: #6b7280;
  margin-left: 2px;
}

/* 按钮区 */
.pricing-card__btn-wrap {
  margin-bottom: 14px;
}

.pricing-card__btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pricing-card__btn--outline {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #374151;
}

.pricing-card__btn--outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.pricing-card__btn--subtle {
  background: #e5e7eb;
  color: #374151;
}

.pricing-card__btn--subtle:hover {
  background: #d1d5db;
}

.pricing-card__btn--primary {
  background: #1e3a34;
  color: #ffffff;
}

.pricing-card__btn--primary:hover {
  background: #142824;
}

.pricing-card__save-tip {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pricing-card__save-tip:hover {
  color: #059669;
}

/* 特权清单 */
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
  border-top: 1px solid #f3f4f6;
  padding-top: 14px;
}

.pricing-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-feature-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature-icon--sparkle {
  color: #059669;
}

.pricing-feature-icon--gift {
  color: #059669;
}

.pricing-feature-icon--check {
  color: #059669;
}

.pricing-feature-info-icon {
  color: #9ca3af;
  margin-left: 4px;
  font-size: 12px;
  cursor: help;
}

.pricing-sublist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
  margin-top: 2px;
}
