/* ========================================
   数慧时空世界大模型 - 主样式表
   Design System: 科技感深色主题
   ======================================== */

/* === CSS变量定义 === */
:root {
  /* 主色调 */
  --primary: #6C63FF;
  --primary-light: #8B83FF;
  --primary-dark: #4A44E0;
  --primary-glow: rgba(108, 99, 255, 0.4);
  
  /* 辅助色 */
  --secondary: #00D4FF;
  --accent: #FF6B9D;
  --success: #00E676;
  --warning: #FFAB40;
  
  /* 背景色 */
  --bg-primary: #0A0E1A;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  /* 文字色 */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #00D4FF 100%);
  --gradient-hero: linear-gradient(180deg, #0A0E1A 0%, #1A1F35 50%, #0A0E1A 100%);
  --gradient-card: linear-gradient(145deg, rgba(108,99,255,0.1) 0%, rgba(0,212,255,0.05) 100%);
  --gradient-border: linear-gradient(135deg, rgba(108,99,255,0.5) 0%, rgba(0,212,255,0.5) 100%);
  
  /* 阴影 */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px var(--primary-glow);
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 60px rgba(108, 99, 255, 0.2);
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* 字体 */
  --font-display: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-display);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* 背景粒子层 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: 
    radial-gradient(2px 2px at 20% 30%, rgba(108,99,255,0.3), transparent),
    radial-gradient(2px 2px at 80% 70%, rgba(0,212,255,0.3), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,107,157,0.2), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(0,230,118,0.2), transparent),
    radial-gradient(2px 2px at 33% 55%, rgba(108,99,255,0.2), transparent),
    radial-gradient(1px 1px at 66% 15%, rgba(0,212,255,0.25), transparent);
  pointer-events: none;
  z-index: 0;
  animation: particleFloat 30s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  z-index: 1;
}

/* === 导航栏 === */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
  50% { box-shadow: 0 0 35px var(--primary-glow), 0 0 60px rgba(0,212,255,0.15); }
}

.logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-primary);
  border-radius: 50px !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon) !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === Hero区域 === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 15s ease-in-out infinite;
}

.hero-orb.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}

.hero-orb.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation-delay: -7s;
}

.hero-orb.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* 网格线背景 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(108,99,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

/* Hero右侧可视化 */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-brain-container {
  width: 450px; height: 450px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-core-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: ringRotate 20s linear infinite;
}

.ai-core-ring:nth-child(1) {
  width: 100%; height: 100%;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  animation-duration: 15s;
}

.ai-core-ring:nth-child(2) {
  width: 85%; height: 85%;
  border-left-color: var(--secondary);
  border-bottom-color: var(--accent);
  animation-direction: reverse;
  animation-duration: 18s;
}

.ai-core-ring:nth-child(3) {
  width: 70%; height: 70%;
  border-top-color: var(--accent);
  border-left-color: var(--primary-light);
  animation-duration: 22s;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-core-center {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(108,99,255,0.4) 0%, rgba(10,14,26,0.9) 70%);
  border: 2px solid rgba(108, 99, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 60px var(--primary-glow),
    inset 0 0 40px rgba(108,99,255,0.1);
  animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 60px var(--primary-glow), inset 0 0 40px rgba(108,99,255,0.1); }
  50% { box-shadow: 0 0 90px var(--primary-glow), inset 0 0 60px rgba(108,99,255,0.2); }
}

.ai-core-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.ai-core-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* 浮动节点 */
.floating-nodes {
  position: absolute;
  width: 100%; height: 100%;
}

.node {
  position: absolute;
  width: 48px; height: 48px;
  background: var(--bg-card);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  backdrop-filter: blur(10px);
  animation: nodeFloat 6s ease-in-out infinite;
  box-shadow: var(--shadow-sm);
}

.node:nth-child(1) { top: 5%; left: 50%; animation-delay: 0s; }
.node:nth-child(2) { top: 25%; right: 0; animation-delay: -1s; }
.node:nth-child(3) { bottom: 25%; right: 5%; animation-delay: -2s; }
.node:nth-child(4) { bottom: 5%; left: 45%; animation-delay: -3s; }
.node:nth-child(5) { top: 30%; left: 0; animation-delay: -4s; }
.node:nth-child(6) { bottom: 30%; left: 5%; animation-delay: -5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 连接线 SVG */
.connections-svg {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
}

.connections-svg line {
  stroke: url(#lineGradient);
  stroke-width: 1;
  opacity: 0.3;
  stroke-dasharray: 5, 5;
  animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -100; }
}

/* === 统计数据区 === */
.stats-section {
  padding: 80px 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(108,99,255,0.08);
  border-bottom: 1px solid rgba(108,99,255,0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(108,99,255,0.2), transparent);
}

.stat-item:last-child::after { display: none; }

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* === 功能特性区 === */
.features-section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px; height: 64px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-border);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap 0.3s ease;
}

.feature-card:hover .feature-link {
  gap: 10px;
}

/* === 产品/能力展示区 === */
.products-section {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
}

.products-showcase {
  display: none;
}

.products-showcase.active {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pf-check {
  width: 22px; height: 22px;
  background: rgba(0, 230, 118, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--success);
  flex-shrink: 0;
}

.product-visual {
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.product-demo-ui {
  width: 100%;
  position: relative;
}

.demo-window {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.demo-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.demo-dot.red { background: #FF5F57; }
.demo-dot.yellow { background: #FEBC2E; }
.demo-dot.green { background: #28C840; }

.demo-body {
  padding: 24px;
}

.demo-input-area {
  background: rgba(108, 99, 255, 0.06);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  min-height: 72px;
}

.demo-input-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.demo-output-area {
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 10px;
  padding: 16px;
  min-height: 96px;
}

.demo-output-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.typing-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--secondary);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === 合作伙伴/客户区 === */
.partners-section {
  padding: 80px 0;
  border-top: 1px solid rgba(108,99,255,0.06);
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.partners-section:hover .partners-grid {
  opacity: 0.8;
}

.partner-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.partner-logo:hover {
  color: var(--text-secondary);
}

/* === 客户评价区 === */
.testimonials-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 19px);
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(108, 99, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 2px solid rgba(108, 99, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-light);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === CTA行动召唤区 === */
.cta-section {
  padding: 120px 0;
  position: relative;
}

.cta-box {
  background: var(--gradient-card);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(108,99,255,0.1) 25%, transparent 50%, rgba(0,212,255,0.1) 75%, transparent 100%);
  animation: ctaRotate 15s linear infinite;
}

@keyframes ctaRotate {
  to { transform: rotate(360deg); }
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* === 页脚 === */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(108, 99, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 42px; height: 42px;
  background: var(--bg-glass);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.93rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* === 列表页特有样式 === */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--primary-light);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb-separator {
  font-size: 0.7rem;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-tag {
  padding: 8px 18px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.search-box {
  position: relative;
}

.search-box input {
  padding: 10px 16px 10px 42px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 240px;
  outline: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.05);
  width: 280px;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.list-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.list-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-image {
  height: 200px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}

.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  background: var(--gradient-primary);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 1;
}

.card-body {
  padding: 24px;
}

.card-category {
  font-size: 0.82rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.list-card:hover .card-link {
  gap: 10px;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.page-btn {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

/* === 详情页特有样式 === */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 60px 0 100px;
}

.detail-main {
  min-width: 0;
}

.detail-gallery {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/10;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  border: 1px solid rgba(108, 99, 255, 0.15);
  backdrop-filter: blur(10px);
}

.detail-header {
  margin-bottom: 28px;
}

.detail-category {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 14px;
}

.detail-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-content {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.9;
}

.detail-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 16px;
}

.detail-content p {
  margin-bottom: 16px;
}

.detail-specs {
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.spec-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  border: none;
  width: 100%;
}

.sidebar-action-btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.sidebar-action-btn.primary:hover {
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.sidebar-action-btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
}

.sidebar-action-btn.secondary:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
  cursor: pointer;
}

.related-item:hover {
  background: rgba(108, 99, 255, 0.06);
}

.related-thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.related-info h5 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.related-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: var(--shadow-glow);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}
