/* 全新架构设计 - 医药数字化平台重新设计版本 */

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* 全新配色系统 - 基于现有LOGO的rgba(46, 98, 174, 1) */
:root {
  /* 主色系 - 基于LOGO红色 */
  --primary-red: rgba(46, 98, 174, 1);
  --primary-red-light: rgba(46, 98, 174, 0.7);
  --primary-red-dark: rgba(46, 98, 174, 0.3);
  --primary-red-alpha: rgba(46, 98, 174, 0.1);

  /* 深色系 - 专业感 */
  --dark-primary: #0f172a;
  --dark-secondary: #1e293b;
  --dark-tertiary: #334155;

  /* 浅色系 - 现代感 */
  --light-primary: #f8fafc;
  --light-secondary: #f1f5f9;
  --light-tertiary: #e2e8f0;

  /* 文字色系 */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-white: #ffffff;

  /* 功能色系 */
  --success: #10b981;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* 阴影系统 */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 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);

  /* 圆角系统 */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* 间距系统 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* 动画系统 */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全新容器系统 - 非对称布局 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* 全新导航系统 - 侧边固定式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-tertiary);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  height: 150px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* LOGO区域 - 保持原有设计 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 100px;
  width: auto;
  transition: var(--transition-fast);
}

.logo-text {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

/* 导航菜单 - 水平布局 */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-red-alpha),
    transparent
  );
  transition: var(--transition-normal);
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
  background: var(--primary-red-alpha);
}

.nav-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* 全新按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::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: var(--transition-normal);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background: var(--primary-red);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary-red);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.hamburger:hover {
  background: var(--primary-red-alpha);
}

.bar {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  margin: 2px 0;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 主要内容区域 */
main {
  margin-top: 150px;
}

/* 全新Hero设计 - 分屏布局 */
.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: var(--space-4xl) var(--space-3xl);
  z-index: 10;
  position: relative;
}

.hero-visual {
  position: relative;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--primary-red-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--primary-red);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.hero-description {
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--light-tertiary);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* 全新区块系统 - 非对称布局 */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-dark {
  background: var(--dark-primary);
  color: var(--text-white);
}

.section-light {
  background: var(--light-primary);
}

.section-accent {
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--primary-red-dark) 100%
  );
  color: var(--text-white);
}

/* 区块头部 - 左对齐设计 */
.section-header {
  margin-bottom: var(--space-4xl);
  max-width: 800px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--primary-red-alpha);
  color: var(--primary-red);
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: inherit;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 100%;
  text-align: center;
  width: 100%;
  display: block;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* 全新卡片系统 - 不规则布局 */
.cards-grid {
  display: grid;
  gap: var(--space-xl);
}

.cards-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cards-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cards-grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--text-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-tertiary);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-red),
    var(--primary-red-light)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(46, 98, 174, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(46, 98, 174, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: var(--transition-slow);
}

.card:hover .card-icon::after {
  animation: shine 0.6s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.card-icon img {
  width: 32px;
  height: 32px;
  /* 移除所有滤镜，让图标以原始状态显示 */
  display: block;
  object-fit: contain;
}

/* 当图标加载失败时显示备用图标 */
.card-icon img[src*='yiyaodaibiao']::after,
.card-icon img[alt*='专业团队']::after {
  content: '👥';
  font-size: 24px;
}

.card-icon img[src*='liuchengzhenggui']::after,
.card-icon img[alt*='合规流程']::after {
  content: '✓';
  font-size: 24px;
}

.card-icon img[src*='aizhineng']::after,
.card-icon img[alt*='智能系统']::after {
  content: '🤖';
  font-size: 24px;
}

/* 深色区域的卡片图标样式 */
.section-dark .card-icon {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-red-light)
  );
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.section-dark .card-icon img {
  /* 在深色背景中使用白色滤镜让图标更清晰 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.feature-tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--light-secondary);
  color: var(--primary-red);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

/* 特色功能区块 - 交替布局 */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.feature-showcase:nth-child(even) {
  direction: rtl;
}

.feature-showcase:nth-child(even) > * {
  direction: ltr;
}

.feature-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.feature-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.feature-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--primary-red);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.feature-image:hover img {
  transform: scale(1.05);
}

/* CTA区块 - 全宽设计 */
.cta-section {
  background: var(--dark-primary);
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
  animation: float 30s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: var(--space-2xl);
  opacity: 0.9;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* 页脚 - 现代设计 */
.footer {
  background: var(--dark-primary);
  color: var(--text-white);
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 2px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: var(--space-sm) 0;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: var(--space-sm);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.footer-contact li::before {
  content: '●';
  color: var(--primary-red);
  font-size: 12px;
  margin-top: 6px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--dark-secondary);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.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: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 16px;
}

.social-link:hover {
  background: var(--primary-red);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* 模态框 - 现代设计 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: var(--text-white);
  margin: 5% auto;
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close {
  position: absolute;
  right: var(--space-lg);
  top: var(--space-lg);
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: var(--primary-red);
  background: var(--primary-red-alpha);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: var(--space-md);
  border: 2px solid var(--light-tertiary);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: var(--transition-fast);
  background: var(--text-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-alpha);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
    height: 400px;
  }

  .feature-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .feature-showcase:nth-child(even) {
    direction: ltr;
  }

  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--light-tertiary);
    flex-direction: column;
    gap: 0;
    padding: var(--space-lg) 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: var(--space-lg) var(--space-xl);
    border-radius: 0;
    border-bottom: 1px solid var(--light-tertiary);
  }

  .nav-logo {
    justify-content: center !important;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
  }

  .hero-subtitle {
    display: block !important;
    visibility: visible !important;
    font-size: 16px !important;
  }

  .hero-description {
    display: block !important;
    visibility: visible !important;
    font-size: 14px !important;
  }

  .hero-actions {
    display: flex !important;
    visibility: visible !important;
  }

  .hero-stats {
    display: flex !important;
    visibility: visible !important;
  }

  .mobile-hidden {
    display: none !important;
  }

  .logo-img {
    height: 70px;
  }

  .hero-content {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    gap: var(--space-xl);
  }

  .hero-stat {
    text-align: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 var(--space-md);
  }

  .nav-container {
    padding: 0 var(--space-lg);
  }

  .hero-content {
    padding: var(--space-xl) var(--space-md);
  }

  .card {
    padding: var(--space-xl);
  }

  .modal-content {
    margin: 10% auto;
    padding: var(--space-xl);
  }
}

/* 工具类 */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}

.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}

.p-0 {
  padding: 0;
}
.p-sm {
  padding: var(--space-sm);
}
.p-md {
  padding: var(--space-md);
}
.p-lg {
  padding: var(--space-lg);
}
.p-xl {
  padding: var(--space-xl);
}

.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}
.gap-xl {
  gap: var(--space-xl);
}

.rounded {
  border-radius: var(--radius-md);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}
.rounded-xl {
  border-radius: var(--radius-xl);
}
.rounded-full {
  border-radius: 50%;
}

.shadow {
  box-shadow: var(--shadow-md);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}
.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.bg-white {
  background-color: var(--text-white);
}
.bg-light {
  background-color: var(--light-primary);
}
.bg-dark {
  background-color: var(--dark-primary);
}
.bg-primary {
  background-color: var(--primary-red);
}

.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-white {
  color: var(--text-white);
}
.text-red {
  color: var(--primary-red);
}

/* 响应式设计 - 超小屏幕优化 */
@media (max-width: 480px) {
  .logo-img {
    height: 60px;
  }

  .header {
    padding: 0 var(--space-md);
  }
}
