/* ==========================================================================
   厦门鲸算科技官网主样式文件
   基于设计规范 DESIGN_SPEC.md 实现
   ========================================================================== */

/* CSS Custom Properties - 设计系统变量 */
:root {
  /* 品牌色彩系统 */
  --primary-blue: #1f71ff;
  --primary-blue-dark: #0d47a1;
  --primary-blue-light: #64b5f6;
  --secondary-green: #00d4aa;
  --secondary-green-dark: #00695c;
  --secondary-green-light: #4fd3b8;
  
  /* 中性色调 */
  --neutral-900: #0d1117;
  --neutral-800: #161b22;
  --neutral-700: #21262d;
  --neutral-600: #30363d;
  --neutral-500: #484f58;
  --neutral-400: #656d76;
  --neutral-300: #7d8590;
  --neutral-200: #c9d1d9;
  --neutral-100: #f0f6fc;
  --neutral-50: #ffffff;
  
  /* 功能色彩 */
  --success: #238636;
  --warning: #d1731b;
  --error: #da3633;
  --info: #1f6feb;
  
  /* 渐变色彰 */
  --gradient-primary: linear-gradient(135deg, #1f71ff 0%, #00d4aa 100%);
  --gradient-dark: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  --gradient-surface: linear-gradient(145deg, #161b22 0%, #21262d 100%);
  
  /* 字体系统 */
  --font-primary: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-heading: 'Poppins', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  
  /* 字体大小 */
  --text-6xl: 4rem;
  --text-5xl: 3rem;
  --text-4xl: 2.25rem;
  --text-3xl: 1.875rem;
  --text-2xl: 1.5rem;
  --text-xl: 1.25rem;
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  
  /* 行高 */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* 字重 */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* 间距系统 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* 容器尺寸 */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  
  /* 区块间距 */
  --section-padding-mobile: var(--space-12);
  --section-padding-tablet: var(--space-16);
  --section-padding-desktop: var(--space-20);
  
  /* 阴影系统 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  
  /* 科技感光效 */
  --glow-blue: 0 0 20px rgba(31, 113, 255, 0.3);
  --glow-green: 0 0 20px rgba(0, 212, 170, 0.3);
  --glow-primary: 0 0 30px rgba(31, 113, 255, 0.4);
  
  /* 圆角系统 */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* 动画时长 */
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --duration-slower: 0.75s;
  
  /* 缓动函数 */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* 断点系统 */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ==========================================================================
   基础重置和全局样式
   ========================================================================== */

/* 现代CSS重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  color: var(--neutral-200);
  background-color: var(--neutral-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 文本元素 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--neutral-100);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--neutral-300);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}

a:hover {
  color: var(--primary-blue-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--duration-normal) var(--ease-out);
}

/* 列表样式 */
ul, ol {
  list-style: none;
}

/* 表单元素 */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* 焦点样式 */
:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* 选择文本样式 */
::selection {
  background: var(--primary-blue);
  color: var(--neutral-50);
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-800);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-600);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-500);
}

/* ==========================================================================
   工具类
   ========================================================================== */

.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--section-padding-desktop) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--neutral-300);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* 高亮文本 */
.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 隐藏类 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   按钮组件
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  min-height: 44px;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--neutral-50);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--glow-primary);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--neutral-50);
}

.btn-ghost {
  background: rgba(31, 113, 255, 0.1);
  color: var(--primary-blue);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(31, 113, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(31, 113, 255, 0.2);
}

/* 按钮波纹效果 */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* ==========================================================================
   加载动画
   ========================================================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--duration-slow) var(--ease-out),
              visibility var(--duration-slow) var(--ease-out);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  margin-bottom: var(--space-8);
}

.logo-img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(var(--glow-primary));
}

.loading-particles {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.particle {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: particle-bounce 1.4s ease-in-out infinite both;
}

.particle:nth-child(1) { animation-delay: -0.32s; }
.particle:nth-child(2) { animation-delay: -0.16s; }
.particle:nth-child(3) { animation-delay: 0s; }
.particle:nth-child(4) { animation-delay: 0.16s; }
.particle:nth-child(5) { animation-delay: 0.32s; }

.loading-text {
  color: var(--neutral-300);
  font-size: var(--text-sm);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes particle-bounce {
  0%, 80%, 100% { 
    transform: scale(0);
    opacity: 0.5;
  }
  40% { 
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   导航栏
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: transform var(--duration-normal) var(--ease-out);
}

.navbar.hidden {
  transform: translateY(-100%);
}

/* 导航菜单容器样式 */
.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--neutral-100);
}

/* 导航菜单包装器 */
.nav-menu-wrapper {
  position: relative;
  flex: 1;
  margin: 0 var(--space-8);
  overflow: hidden;
}

/* 导航菜单样式 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  /* 防止换行，添加水平滚动 */
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-blue) transparent;
  /* 隐藏默认滚动条样式 */
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* 添加平滑滚动 */
  scroll-behavior: smooth;
  /* 设置光标样式 */
  cursor: grab;
  /* 添加内边距防止内容被遮挡 */
  padding: 0 var(--space-4);
}

/* 隐藏Webkit浏览器的默认滚动条 */
.nav-menu::-webkit-scrollbar {
  display: none;
}

/* 添加自定义滚动指示器 */
.nav-menu::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 40px;
  background: linear-gradient(90deg, transparent, var(--neutral-800) 50%);
  pointer-events: none;
  z-index: 1;
}

/* 添加左侧滚动提示 */
.nav-menu::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 40px;
  background: linear-gradient(270deg, transparent, var(--neutral-800) 50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 当可以向左滚动时显示左侧提示 */
.nav-menu.can-scroll-left::before {
  opacity: 1;
}

/* 当可以向右滚动时显示右侧提示 */
.nav-menu.can-scroll-right::after {
  opacity: 1;
}

.nav-link {
  color: var(--neutral-200);
  font-weight: var(--font-medium);
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--duration-normal) var(--ease-out);
  /* 防止链接被压缩 */
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-2);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--neutral-200);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

/* 下拉菜单样式 */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  position: relative;
}

.dropdown-toggle::after {
  content: '▼';
  margin-left: 6px;
  font-size: 8px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: -10px;
  min-width: 180px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 8px 0;
  backdrop-filter: blur(10px);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--neutral-700);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
  color: white;
  transform: translateX(4px);
}

.dropdown-item:hover i {
  color: white;
}

.dropdown-item i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
  color: var(--neutral-500);
  transition: color 0.2s ease;
}

/* 添加小箭头指示器 */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: -1;
}

/* ==========================================================================
   英雄区域
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(31, 113, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-text {
  animation: fadeInUp 1s var(--ease-out) 0.5s both;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  color: var(--neutral-50);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--neutral-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s var(--ease-out) 0.7s both;
}

.floating-logo {
  position: relative;
}

.company-logo {
  width: 300px;
  height: 300px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(var(--glow-primary));
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(31, 113, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: fadeInUp 1s var(--ease-out) 1s both;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--neutral-400);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--neutral-400);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

.scroll-text {
  font-size: var(--text-xs);
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 6px; }
  50% { opacity: 0.5; top: 12px; }
  100% { opacity: 1; top: 6px; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   产品区域
   ========================================================================== */

.product-section {
  padding: var(--section-padding-desktop) 0;
  background: var(--neutral-900);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.feature-card {
  background: var(--gradient-surface);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left var(--duration-slow);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl), var(--glow-blue);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--neutral-50);
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotateY(360deg);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--neutral-100);
  margin-bottom: var(--space-4);
}

.feature-description {
  color: var(--neutral-300);
  line-height: var(--leading-relaxed);
}

/* 产品展示区 */
.product-showcase {
  margin-top: var(--space-20);
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.phone-mockups {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  max-width: 200px;
}

.main-phone {
  z-index: 3;
  max-width: 250px;
}

.side-phone {
  position: absolute;
  z-index: 1;
  opacity: 0.8;
  scale: 0.8;
}

.side-phone.left {
  left: -80px;
  transform: rotate(-15deg);
}

.side-phone.right {
  right: -80px;
  transform: rotate(15deg);
}

.phone-frame {
  position: relative;
  background: linear-gradient(145deg, #2d3748, #4a5568);
  border-radius: 25px;
  padding: 15px;
  box-shadow: var(--shadow-2xl);
}

.screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  background: var(--neutral-800);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-text {
  padding: var(--space-6);
}

.showcase-title {
  font-size: var(--text-3xl);
  color: var(--neutral-100);
  margin-bottom: var(--space-6);
}

.showcase-description {
  font-size: var(--text-lg);
  color: var(--neutral-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.showcase-highlights {
  list-style: none;
}

.showcase-highlights li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--neutral-200);
}

.showcase-highlights i {
  color: var(--secondary-green);
}

/* ==========================================================================
   下载区域
   ========================================================================== */

.download-section {
  padding: var(--section-padding-desktop) 0;
  background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
}

.device-detection {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auto-detect {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: rgba(31, 113, 255, 0.1);
  border: 1px solid rgba(31, 113, 255, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.detect-text {
  color: var(--primary-blue);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.download-card {
  background: var(--gradient-surface);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.download-card.available:hover {
  box-shadow: var(--shadow-xl), var(--glow-blue);
}

.download-card.coming-soon {
  opacity: 0.6;
}

.platform-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-blue);
}

.platform-name {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--neutral-100);
  margin-bottom: var(--space-2);
}

.platform-status {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.download-card.available .platform-status {
  color: var(--secondary-green);
}

.download-card.coming-soon .platform-status {
  color: var(--neutral-400);
}

.platform-description {
  color: var(--neutral-300);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.download-btn {
  width: 100%;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--duration-normal) var(--ease-out);
}

.download-card.available .download-btn {
  background: var(--gradient-primary);
  color: var(--neutral-50);
}

.download-card.available .download-btn:hover {
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.download-card.coming-soon .download-btn {
  background: var(--neutral-700);
  color: var(--neutral-400);
  cursor: not-allowed;
}

.download-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--primary-blue);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   关于我们区域
   ========================================================================== */

.about-section {
  padding: var(--section-padding-desktop) 0;
  background: var(--neutral-900);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-title {
  font-size: var(--text-4xl);
  color: var(--neutral-100);
  margin-bottom: var(--space-6);
}

.about-description {
  font-size: var(--text-lg);
  color: var(--neutral-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.company-values {
  margin-bottom: var(--space-8);
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-50);
  flex-shrink: 0;
}

.value-title {
  font-size: var(--text-lg);
  color: var(--neutral-100);
  margin-bottom: var(--space-2);
}

.value-text {
  color: var(--neutral-300);
  line-height: var(--leading-relaxed);
}

.company-vision {
  padding: var(--space-6);
  background: rgba(31, 113, 255, 0.1);
  border: 1px solid rgba(31, 113, 255, 0.2);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.vision-title {
  font-size: var(--text-xl);
  color: var(--primary-blue);
  margin-bottom: var(--space-4);
}

.vision-text {
  color: var(--neutral-200);
  line-height: var(--leading-relaxed);
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-illustration {
  max-width: 400px;
}

.team-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: var(--gradient-surface);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--neutral-200);
  animation: float 4s ease-in-out infinite;
}

.tech-card {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}

.health-card {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}

.innovation-card {
  top: 60%;
  right: 5%;
  animation-delay: 2s;
}

.floating-card i {
  color: var(--primary-blue);
}

/* ==========================================================================
   联系我们区域
   ========================================================================== */

.contact-section {
  padding: var(--section-padding-desktop) 0;
  background: linear-gradient(135deg, var(--neutral-800) 0%, var(--primary-blue) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-title {
  font-size: var(--text-4xl);
  color: var(--neutral-50);
  margin-bottom: var(--space-6);
}

.contact-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-green);
  backdrop-filter: blur(10px);
}

.contact-text h4 {
  font-size: var(--text-lg);
  color: var(--neutral-50);
  margin-bottom: var(--space-1);
}

.contact-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  color: var(--neutral-50);
  font-weight: var(--font-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: var(--neutral-50);
  font-size: var(--text-base);
  transition: border-color var(--duration-normal) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-green);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--secondary-green);
  color: var(--neutral-50);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: var(--font-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--duration-normal) var(--ease-out);
}

.submit-btn:hover {
  background: var(--secondary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--glow-green);
}

/* ==========================================================================
   页脚
   ========================================================================== */

.footer {
  background: var(--neutral-800);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-4);
}

.footer-brand-name {
  font-size: var(--text-xl);
  color: var(--neutral-100);
  margin-bottom: var(--space-2);
}

.footer-motto {
  color: var(--neutral-300);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.footer-column-title {
  font-size: var(--text-lg);
  color: var(--neutral-100);
  margin-bottom: var(--space-4);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-list a {
  color: var(--neutral-300);
  transition: color var(--duration-normal) var(--ease-out);
}

.footer-list a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--neutral-700);
}

.footer-copyright {
  color: var(--neutral-400);
  font-size: var(--text-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  transition: all var(--duration-normal) var(--ease-out);
}

.social-link:hover {
  background: var(--primary-blue);
  color: var(--neutral-50);
  transform: translateY(-2px);
}

/* ==========================================================================
   返回顶部按钮
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-50);
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-out);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--glow-primary);
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

/* 大屏设备 (1280px+) */
@media (min-width: 1280px) {
  .hero-title {
    font-size: var(--text-6xl);
  }
  
  .company-logo {
    width: 350px;
    height: 350px;
  }
}

/* 中等屏幕 (768px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --section-padding-desktop: var(--space-16);
  }
  
  .hero-content,
  .showcase-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .hero-content {
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
  }
  
  .download-options {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 移动设备 (768px以下) */
@media (max-width: 767px) {
  :root {
    --section-padding-desktop: var(--space-12);
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  /* 导航菜单 */
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--space-8);
    transition: left var(--duration-normal) var(--ease-out);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 80%;
    text-align: center;
  }

  /* 移动端下拉菜单样式 */
  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    margin-left: var(--space-4);
    border-radius: 0;
    padding: 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-item {
    padding: var(--space-3) var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-200);
  }

  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-50);
    transform: none;
  }

  .dropdown-toggle::after {
    float: right;
    margin-top: 4px;
  }
  
  /* 英雄区域 */
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .company-logo {
    width: 200px;
    height: 200px;
  }
  
  /* 功能网格 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  /* 产品展示 */
  .phone-mockups {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .side-phone {
    position: static;
    transform: none;
    opacity: 1;
    scale: 1;
  }
  
  /* 下载选项 */
  .download-options {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .download-stats {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  /* 页脚 */
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* 小屏设备 (480px以下) */
@media (max-width: 479px) {
  :root {
    --space-6: 1rem;
    --space-8: 1.5rem;
    --space-12: 2rem;
    --space-16: 2.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .feature-card,
  .download-card {
    padding: var(--space-6);
  }
  
  .contact-form-container {
    padding: var(--space-6);
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --neutral-300: #ffffff;
    --neutral-600: #000000;
  }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   打印样式
   ========================================================================== */

@media print {
  .navbar,
  .back-to-top,
  .loading-screen {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section,
  .product-section,
  .download-section,
  .about-section,
  .contact-section {
    background: white !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   Advertisement Banner Section
   ========================================================================== */

.ad-banner-section {
  padding: var(--space-4) 0;
  background: var(--neutral-100);
}

.ad-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ad-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ad-slide.active {
  opacity: 1;
}

.ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ad-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.ad-content {
  text-align: center;
  color: #ffffff;
  max-width: 600px;
  padding: var(--space-4);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.ad-content h3 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.ad-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.ad-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neutral-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

/* ==========================================================================
   News Section
   ========================================================================== */

.news-section {
  padding: var(--space-6) 0;
  background: var(--neutral-50);
}

.news-content {
  display: grid;
  gap: var(--space-6);
}

.news-featured {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-6);
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.news-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
}

.news-category {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.news-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.news-excerpt {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.news-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--neutral-500);
}

.news-meta i {
  margin-right: var(--space-1);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}

.news-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-category {
  display: inline-block;
  background: var(--secondary-green);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.news-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.news-card-excerpt {
  font-size: var(--text-sm);
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.news-card-date {
  font-size: var(--text-xs);
  color: var(--neutral-500);
}

/* ==========================================================================
   Careers Section
   ========================================================================== */

.careers-section {
  padding: var(--space-6) 0;
  background: var(--neutral-100);
}

.careers-content {
  display: grid;
  gap: var(--space-6);
}

.company-intro {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.company-intro h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.company-intro p {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.job-openings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-4);
}

.job-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--neutral-200);
  padding-bottom: var(--space-3);
}

.job-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
}

.job-type {
  background: var(--secondary-green);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

.job-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

.job-info i {
  margin-right: var(--space-1);
}

.job-requirements h5 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}

.job-requirements ul {
  list-style: none;
  padding: 0;
}

.job-requirements li {
  font-size: var(--text-sm);
  color: var(--neutral-600);
  padding: var(--space-1) 0;
  position: relative;
  padding-left: var(--space-4);
}

.job-requirements li::before {
  content: '•';
  color: var(--primary-blue);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.career-cta {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.career-cta h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.career-cta p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.contact-email a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-lg);
}

.contact-email a:hover {
  text-decoration: underline;
}

.career-note {
  font-size: var(--text-sm);
  opacity: 0.8;
  margin: 0;
}

/* ==========================================================================
   Responsive Design for New Sections
   ========================================================================== */

@media (max-width: 768px) {
  .ad-slider {
    height: 300px;
  }
  
  .ad-overlay {
    position: static;
    width: 100%;
    height: auto;
    padding: var(--space-4);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: none;
  }
  
  .ad-content h3 {
    font-size: var(--text-2xl);
    color: #ffffff;
  }
  
  .ad-content p {
    font-size: var(--text-base);
    color: #ffffff;
  }
  
  .news-featured {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  
  .news-image img {
    height: 200px;
  }
  
  .job-openings {
    grid-template-columns: 1fr;
  }
  
  .job-card {
    padding: var(--space-4);
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  
  .job-info {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-4);
  }
  
  .nav-menu-wrapper {
    margin: 0 var(--space-4);
  }
  
  .nav-menu {
    gap: var(--space-6);
    padding: 0 var(--space-2);
  }
  
  .nav-link {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-3);
    white-space: nowrap;
  }
  
  /* 移动端隐藏滚动提示 */
  .nav-menu::before,
  .nav-menu::after {
    display: none;
  }
  
  /* 移动端菜单激活状态 */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--neutral-800);
    border-top: 1px solid var(--neutral-600);
    padding: var(--space-4);
    gap: var(--space-2);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .nav-menu.active .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--space-3);
    border-radius: var(--space-2);
    transition: background-color 0.3s ease;
  }
  
  .nav-menu.active .nav-link:hover {
    background-color: var(--neutral-700);
  }
}