/* ============================================
   沈阳鑫亿元科技有限公司官网 v2 设计系统
   Design System CSS
   参考风格: Stripe / ClickUp / Notion 2025
   ============================================ */

/* ============================================
   1. CSS 变量 / 色彩系统
   ============================================ */
:root {
  --primary: #1e5bb5;
  --primary-light: #3a7bd5;
  --primary-dark: #0f3d7a;
  --accent: #c9a96e;
  --accent-light: #e0c896;
  --accent-dark: #a0844a;
  --dark: #0a0e1a;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-warm: #faf9f7;
  --bg-cool: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --success: #10b981;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(30, 91, 181, 0.15);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1280px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-cn: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ============================================
   2. 重置与基础 Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   3. 排版 Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 {
  font-size: 52px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

small {
  font-size: 14px;
}

/* ============================================
   4. 容器 Container
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   5. 导航栏 Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: #fff;
  transition: var(--transition);
}

.navbar.scrolled {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.navbar-logo,
.logo {
  flex-shrink: 0;
}

.navbar-logo img,
.logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 8px 0;
}

.navbar-nav a:hover {
  color: var(--primary);
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
}

.navbar .container {
  gap: 32px;
}

.navbar-cta {
  flex-shrink: 0;
  margin-left: auto;
}

/* ============================================
   6. Hero 区域
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at top, #1e3a5f 0%, #0a0e1a 50%, #050810 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-deco .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.hero-deco .blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  animation: float 8s infinite ease-in-out;
}

.hero-deco .blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -10%;
  left: -5%;
  animation: float 10s infinite ease-in-out reverse;
}

.hero-deco .blob-3 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  top: 40%;
  left: 30%;
  opacity: 0.2;
  animation: float 12s infinite ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-text h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 640px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(30, 91, 181, 0.3), var(--shadow-xl);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.hero-visual img:hover {
  transform: rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite ease-in-out;
}

/* ============================================
   7. 按钮 Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 28px;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  padding: 14px 28px;
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================
   8. 卡片 Cards
   ============================================ */
.card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-body {
  padding: 24px 0 0;
}

.card-dark {
  background-color: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card-dark:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.card-dark h3,
.card-dark h4 {
  color: #ffffff;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.card-feature {
  position: relative;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  padding-top: 36px;
  transition: var(--transition);
  overflow: hidden;
}

.card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card-feature:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

/* ============================================
   9. 区块标题 Section Headers
   ============================================ */
.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ============================================
   10. 网格系统 Grid System
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* ============================================
   11. 标签/徽章 Badges
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.badge-primary {
  background-color: rgba(30, 91, 181, 0.1);
  color: var(--primary);
}

.badge-accent {
  background-color: rgba(201, 169, 110, 0.15);
  color: var(--accent-dark);
}

/* ============================================
   12. 数据展示 Stats
   ============================================ */
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   13. 引用块 Quote
   ============================================ */
.quote {
  position: relative;
  padding-left: 24px;
  font-style: italic;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* ============================================
   14. 时间线 Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
  z-index: 1;
}

.timeline-content {
  padding-left: 32px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content span {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
}

/* ============================================
   15. 表格 Data Table
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

.data-table thead th {
  background-color: var(--bg-cool);
  padding: 16px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}

.data-table thead th:first-child {
  border-top-left-radius: var(--radius);
}

.data-table thead th:last-child {
  border-top-right-radius: var(--radius);
}

.data-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
}

.data-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius);
}

.data-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius);
}

.data-table tbody tr:hover td {
  background-color: var(--bg-warm);
}

/* ============================================
   16. 页脚 Footer
   ============================================ */
.footer {
  background-color: var(--dark);
  color: #ffffff;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-col img {
  height: 54px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

/* ============================================
   17. 动效系统 Animations
   ============================================ */

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* 滚动入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* 悬停效果增强 */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hover-scale {
  transition: var(--transition);
  overflow: hidden;
}

.hover-scale img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover img {
  transform: scale(1.03);
}

/* 链接下划线动画 */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-underline:hover::after {
  width: 100%;
}

/* 背景装饰动画 */
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
  animation: float 8s infinite ease-in-out;
}

.deco-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.deco-dots {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-10px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(30, 91, 181, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(30, 91, 181, 0.4);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   18. 响应式断点 Responsive
   ============================================ */
@media (max-width: 1280px) {
  .container {
    padding: 0 32px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2,
  .section-title {
    font-size: 28px;
  }

  .navbar {
    padding: 0 24px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    z-index: 100;
  }

  .navbar-nav.active a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .navbar-nav.active a:hover {
    background: var(--bg-cool);
  }

  .navbar-nav.active a.active {
    color: var(--primary);
    background: rgba(30, 91, 181, 0.08);
  }

  .navbar-right.active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 0 24px 24px;
    z-index: 100;
  }

  .menu-toggle.active {
    background: var(--primary);
    color: #fff;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .feature-grid,
  .version-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .container,
  .container-sm {
    padding: 0 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* ============================================
   19. 工具类 Utility Classes
   ============================================ */

/* 文本对齐 */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Flexbox */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-4         { gap: 16px; }
.gap-8         { gap: 32px; }

/* 间距 - Margin */
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
.mt-24 { margin-top: 96px; }
.mt-32 { margin-top: 128px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.mb-16 { margin-bottom: 64px; }
.mb-24 { margin-bottom: 96px; }

/* 间距 - Padding */
.py-8  { padding-top: 32px; padding-bottom: 32px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.py-32 { padding-top: 128px; padding-bottom: 128px; }

/* 特殊效果 */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glow-primary {
  box-shadow: 0 0 60px rgba(30, 91, 181, 0.3);
}

.border-gradient {
  border-image: linear-gradient(135deg, var(--primary), var(--accent)) 1;
}

/* 间距工具类 */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-16 { margin-bottom: 64px; }
.mb-24 { margin-bottom: 96px; }

/* 背景色工具类 */
.bg-dark    { background-color: var(--dark); }
.bg-dark-2  { background-color: var(--dark-2); }
.bg-warm    { background-color: var(--bg-warm); }
.bg-cool    { background-color: var(--bg-cool); }

/* 文字颜色工具类 */
.text-primary   { color: var(--primary); }
.text-accent    { color: var(--accent); }
.text-white     { color: #ffffff; }
.text-muted     { color: var(--text-muted); }

/* ============================================
   20. 页面头部（内页通用）Page Hero
   ============================================ */
.page-hero {
  background-color: var(--bg-cool);
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

/* ============================================
   21. 分隔线 Divider
   ============================================ */
.divider {
  height: 1px;
  background-color: var(--border);
  margin: 48px 0;
}

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
}

/* ============================================
   22. 图片容器 Image Wrapper
   ============================================ */
.img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-dark .img-wrapper {
  max-height: 280px;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-wrapper:hover img {
  transform: scale(1.03);
}

/* ============================================
   23. 表单元素 Form Elements
   ============================================ */
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 91, 181, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

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

/* ============================================
   24. 标签页 Tabs
   ============================================ */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background-color: var(--bg-cool);
  border-radius: var(--radius);
  width: fit-content;
}

.tab,
.case-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
}

.tab:hover,
.case-tab:hover {
  color: var(--text);
}

.tab.active,
.case-tab.active {
  background-color: var(--bg);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   25. 手风琴 Accordion
   ============================================ */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: var(--bg-warm);
}

.accordion-header .icon {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.accordion-item.open .accordion-header .icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-content {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   26. 提示框 Tooltip (纯CSS)
   ============================================ */
.tooltip {
  position: relative;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background-color: var(--dark-2);
  color: #ffffff;
  font-size: 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

.tooltip::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark-2) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   27. 加载状态 Loading
   ============================================ */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.skeleton {
  background: linear-gradient(90deg, var(--bg-cool) 25%, var(--border-light) 50%, var(--bg-cool) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================
   28. 通知/Alert
   ============================================ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-info {
  background-color: rgba(30, 91, 181, 0.08);
  color: var(--primary);
  border: 1px solid rgba(30, 91, 181, 0.15);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.alert-warning {
  background-color: rgba(201, 169, 110, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

/* ============================================
   29. 滚动条样式 Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cool);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ============================================
   29. 产品详情区样式 Product Detail
   ============================================ */

/* 产品区块基础 */
.product-section {
  position: relative;
}

.product-section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.product-section-dark h2,
.product-section-dark h3,
.product-section-dark h4 {
  color: #fff;
}

.product-section-dark p {
  color: rgba(255,255,255,0.7);
}

/* 产品头部区 */
.product-hero {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.product-section-dark .product-hero {
  border-color: rgba(255,255,255,0.08);
}

.product-hero h2 {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.product-hero .desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
}

.product-section-dark .product-hero .desc {
  color: rgba(255,255,255,0.7);
}

/* 标签组 */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.tag {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(30, 91, 181, 0.08);
  color: var(--primary);
  font-weight: 500;
}

.tag-group .tag-accent {
  background: rgba(201, 169, 110, 0.12);
  color: var(--accent-dark);
}

/* 截图画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  background: var(--bg);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

/* 功能特性卡片网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.feature-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: transparent;
}

.product-section-dark .feature-item {
  background: var(--dark-3);
  border-color: rgba(255,255,255,0.08);
}

.product-section-dark .feature-item:hover {
  border-color: rgba(255,255,255,0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 16px;
}

.feature-icon.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.product-section-dark .feature-item h4 {
  color: #fff;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-section-dark .feature-item p {
  color: rgba(255,255,255,0.6);
}

/* 版本对比卡片 */
.version-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.version-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.version-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.version-card.highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(30,91,181,0.04), transparent);
  box-shadow: var(--shadow-glow);
}

.version-card .version-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.version-card .version-badge {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.version-card .version-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 分隔装饰线 */
.section-divider {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 16px 0 24px;
}

/* ============================================
   30. 打印样式 Print
   ============================================ */

/* 吸顶产品导航 */
.product-sticky-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-sticky-nav.visible {
  opacity: 1;
  visibility: visible;
}

.sticky-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sticky-nav-inner::-webkit-scrollbar {
  display: none;
}

.sticky-nav-item {
  flex-shrink: 0;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.sticky-nav-item:hover {
  color: var(--text);
  background: var(--bg-cool);
}

.sticky-nav-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 768px) {
  .sticky-nav-item {
    padding: 12px 14px;
    font-size: 13px;
  }
}
@media print {
  .navbar,
  .hero-scroll,
  .footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
