/* ============================================
   WinClaw 产品官网 - 主样式表
   设计风格：暗夜守护者 / 赛博安全科技风
   ============================================ */

/* --- 本地字体 @font-face --- */

/* Orbitron 字体 */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/orbitron/orbitron-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/orbitron/orbitron-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/orbitron/orbitron-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/orbitron/orbitron-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/orbitron/orbitron-800.ttf') format('truetype');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/orbitron/orbitron-900.ttf') format('truetype');
}

/* Noto Sans SC 中文字体 */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/noto-sans-sc/noto-sans-sc-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/noto-sans-sc/noto-sans-sc-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/noto-sans-sc/noto-sans-sc-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/noto-sans-sc/noto-sans-sc-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/noto-sans-sc/noto-sans-sc-900.ttf') format('truetype');
}

/* JetBrains Mono 等宽字体 */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-400.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-500.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-700.ttf') format('truetype');
}

/* --- CSS 变量 --- */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1428;
  --bg-card: rgba(15, 20, 45, 0.7);
  --bg-card-hover: rgba(20, 30, 65, 0.85);
  --accent-blue: #00d4ff;
  --accent-cyan: #00f5d4;
  --accent-purple: #7b61ff;
  --accent-orange: #ff6b35;
  --accent-red: #ff3860;
  --gradient-main: linear-gradient(135deg, #00d4ff 0%, #7b61ff 50%, #ff6b35 100%);
  --gradient-shield: linear-gradient(180deg, #00d4ff 0%, #00f5d4 100%);
  --gradient-danger: linear-gradient(135deg, #ff3860 0%, #ff6b35 100%);
  --text-primary: #e8eaf6;
  --text-secondary: #8892b0;
  --text-muted: #5a6380;
  --border-subtle: rgba(0, 212, 255, 0.1);
  --border-glow: rgba(0, 212, 255, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- 全局重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

/* --- 自定义光标跟随 --- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* --- 粒子画布 --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- 导航栏 --- */
.navbar-winclaw {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-winclaw.scrolled {
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand-custom {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff !important;
  letter-spacing: 2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand-custom span {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link-custom:hover {
  color: var(--text-primary) !important;
}

.nav-link-custom:hover::after {
  width: 60%;
}

.btn-nav-download {
  background: var(--gradient-main);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
}


/* --- Hero 区域 --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-radial-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(123, 97, 255, 0.04) 40%, transparent 70%);
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-slogan-en {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: 60px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5);
  color: #fff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  border-radius: 60px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.hero-os-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-shield);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* --- 通用 Section 样式 --- */
.section-padding {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  position: relative;
  padding: 0.3rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.05);
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* --- 动画关键帧 --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* --- 功能特性区 --- */
.features-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.feature-icon.icon-install {
  background: rgba(0, 245, 212, 0.1);
  color: var(--accent-cyan);
}

.feature-icon.icon-platform {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-blue);
}

.feature-icon.icon-security {
  background: rgba(123, 97, 255, 0.1);
  color: var(--accent-purple);
}

.feature-icon.icon-skill {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-orange);
}

.feature-icon.icon-channel {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-blue);
}

.feature-icon.icon-task {
  background: rgba(0, 245, 212, 0.1);
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

/* 功能卡片头部行（图标+标题） */
.feature-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.feature-header-row .feature-icon {
  margin-bottom: 1.5rem;
}

.feature-header-row h3 {
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 安全特性区 --- */
.security-section {
  position: relative;
  overflow: hidden;
}

.security-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.06) 0%, transparent 70%);
  z-index: 0;
}

.shield-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.shield-icon-main {
  font-size: 8rem;
  background: var(--gradient-shield);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.15);
  animation: shieldPulse 4s ease-in-out infinite;
}

.shield-ring:nth-child(2) {
  width: 200px;
  height: 200px;
  animation-delay: 0s;
}

.shield-ring:nth-child(3) {
  width: 300px;
  height: 300px;
  animation-delay: 1s;
}

.shield-ring:nth-child(4) {
  width: 400px;
  height: 400px;
  animation-delay: 2s;
}

@keyframes shieldPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.security-layer {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.security-layer:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateX(8px);
}

.security-layer-num {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-shield);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 40px;
}

.security-layer h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.security-layer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 对比优势区 --- */
.comparison-section {
  background: var(--bg-secondary);
  position: relative;
}

.comparison-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead th {
  padding: 1.5rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.comparison-table thead th:first-child {
  text-align: left;
  padding-left: 2rem;
}

.comparison-table thead th.highlight-col {
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent-blue);
  position: relative;
}

.comparison-table thead th.highlight-col::before {
  content: '推荐';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.8rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.comparison-table tbody td {
  padding: 1.2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.comparison-table tbody td:first-child {
  text-align: left;
  padding-left: 2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table tbody td.highlight-col {
  background: rgba(0, 212, 255, 0.03);
  color: var(--accent-cyan);
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background: rgba(0, 212, 255, 0.02);
}

.check-icon { color: var(--accent-cyan); font-size: 1.2rem; }
.cross-icon { color: var(--text-muted); font-size: 1.2rem; }
.partial-icon { color: var(--accent-orange); font-size: 0.9rem; }


/* --- 下载区域 --- */
.download-section {
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.download-card.recommended {
  border-color: var(--accent-blue);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.download-card.recommended::before {
  content: '推荐';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
}

.download-os-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* 下载区平台图标统一尺寸 */
.download-os-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.download-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.download-card .version-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  display: block;
}

.download-arch-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.download-arch-list li {
  margin-bottom: 0.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-download-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-download-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
  color: #fff;
}

.btn-download-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-download-outline:hover {
  border-color: var(--border-glow);
  color: var(--accent-blue);
  background: rgba(0, 212, 255, 0.05);
}

/* 置灰禁用状态 - 仅按钮置灰 */
.download-card-disabled {
  opacity: 1;
}

.btn-download-disabled {
  display: block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: not-allowed;
  text-align: center;
}

.download-stats {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-stats .stat-num {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

/* --- 企业区域 --- */
.enterprise-section {
  background: var(--bg-secondary);
  position: relative;
}

.enterprise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.enterprise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: var(--transition-smooth);
  text-align: center;
}

.enterprise-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.1);
}

.enterprise-card .ent-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.enterprise-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.enterprise-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 页脚 --- */
.footer-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-brand {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent-blue);
  text-decoration: none;
}

/* --- 回到顶部按钮 --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--accent-blue);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: rgba(0, 212, 255, 0.1);
}

/* --- 响应式适配 --- */
@media (max-width: 991px) {
  .hero-stats {
    gap: 2rem;
  }
  .shield-visual {
    height: 280px;
    margin-bottom: 2rem;
  }
  .shield-icon-main {
    font-size: 5rem;
  }
  .shield-ring:nth-child(2) { width: 140px; height: 140px; }
  .shield-ring:nth-child(3) { width: 210px; height: 210px; }
  .shield-ring:nth-child(4) { width: 280px; height: 280px; }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 2rem;
  }
  .hero-logo-wrapper {
    margin-bottom: 0.3rem !important;
    margin-top: 1.5rem;
  }
  .hero-logo {
    width: 72px;
    height: 72px;
  }
  .hero-slogan-en {
    margin-bottom: 0.3rem;
    font-size: 1rem;
  }
  .hero-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }
  .hero-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  .hero-badge {
    margin-bottom: 1rem;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 2.5rem;
    justify-content: space-around;
  }
  .hero-stat-item {
    flex: 1;
    min-width: 0;
  }
  .hero-stat-number {
    font-size: 1.4rem;
  }
  .hero-stat-label {
    font-size: 0.7rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .section-padding {
    padding: 60px 0;
  }
  .comparison-table {
    font-size: 0.85rem;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.8rem 0.5rem;
  }
  .comparison-table thead th:first-child,
  .comparison-table tbody td:first-child {
    padding-left: 1rem;
  }
  .navbar-brand-custom {
    font-size: 1.2rem;
  }
  /* 功能卡片：图标和标题同行 */
  .feature-card {
    padding: 1.5rem 1.2rem;
  }
  .feature-card .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    margin-bottom: 0 !important;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0 !important;
  }
  .feature-header-row {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }
  /* 移动端页脚优化：全居中布局 */
  .footer-section {
    padding: 2rem 0 1.2rem;
  }
  .footer-section .row.g-4 {
    --bs-gutter-y: 0.6rem;
    --bs-gutter-x: 0;
  }
  /* 品牌区域居中 */
  .footer-brand {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    text-align: center;
  }
  .footer-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    text-align: center;
    max-width: none;
  }
  /* 品牌区域下方分隔线 */
  .footer-section .col-lg-4 {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
    margin-bottom: 0.4rem;
  }
  /* 链接列居中 */
  .footer-title {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .footer-links {
    text-align: center;
  }
  .footer-links li {
    margin-bottom: 0.3rem;
  }
  .footer-links a {
    font-size: 0.82rem;
  }
  .footer-bottom {
    margin-top: 1.2rem;
    padding-top: 1rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }
  .download-card {
    padding: 2rem 1.5rem;
  }
}

/* --- 滚动条美化 --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.4);
}

/* --- 选中文字样式 --- */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* --- 噪点纹理叠加 --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* --- 产品图标相关样式 --- */
.navbar-logo {
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -3px;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
  transition: var(--transition-smooth);
}

.navbar-brand-custom:hover .navbar-logo {
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.7));
  transform: scale(1.1);
}

.hero-logo-wrapper {
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out 0.1s both;
}

.hero-logo {
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.35)) drop-shadow(0 0 80px rgba(123, 97, 255, 0.2));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.shield-icon-img {
  width: 140px;
  height: 140px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.4)) drop-shadow(0 0 100px rgba(123, 97, 255, 0.2));
  animation: logoFloat 4s ease-in-out infinite;
}

.footer-logo-img {
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -2px;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.3));
}

@media (max-width: 767px) {
  .hero-logo {
    width: 80px;
    height: 80px;
  }
  .shield-icon-img {
    width: 100px;
    height: 100px;
  }
}
