/* ============================================
   乐水科技官网设计系统
   Beijing Leshui Technology Co., Ltd.
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 */
  --primary: #4F6BFF;
  --primary-dark: #3B55E6;
  --primary-light: #7B92FF;
  --secondary: #22C6C0;
  --secondary-light: #5FDBD6;
  --accent: #8B5CF6;

  /* 渐变 */
  --grad-primary: linear-gradient(135deg, #4F6BFF 0%, #6E56F8 50%, #8B5CF6 100%);
  --grad-hero: linear-gradient(160deg, #0A0F2C 0%, #131A45 40%, #1B2358 100%);
  --grad-accent: linear-gradient(90deg, #4F6BFF, #22C6C0);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));

  /* 文字色 */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* 背景色 */
  --bg-white: #FFFFFF;
  --bg-light: #F6F8FC;
  --bg-dark: #0A0F2C;

  /* 字体 */
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;

  /* 尺寸 */
  --container-max: 1200px;
  --nav-height: 72px;
  --section-padding: 100px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 60px rgba(79, 107, 255, 0.3);

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

/* ---------- 重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-stack);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

::selection {
  background: rgba(79, 107, 255, 0.2);
  color: var(--primary-dark);
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 3px;
}

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

/* ---------- 中英文切换 ---------- */
.lang-zh .en { display: none !important; }
.lang-en .zh { display: none !important; }

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 24px rgba(15, 23, 42, 0.08);
}

.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .logo-text { color: var(--text-dark); }
.navbar.scrolled .lang-toggle {
  color: var(--text-dark);
  border-color: rgba(15, 23, 42, 0.15);
}

.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(79, 107, 255, 0.35);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
  white-space: nowrap;
}

/* 导航链接 */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover { color: var(--text-white); }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* 语言切换按钮 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  font-family: var(--font-stack);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .lang-toggle:hover {
  background: rgba(79, 107, 255, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-toggle .globe {
  width: 14px;
  height: 14px;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px auto;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 1001;
  padding: 100px 40px 40px;
  transition: right 0.5s var(--ease-out);
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open { right: 0; }

.mobile-menu .nav-link {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-menu .lang-toggle {
  margin-top: 24px;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text-dark);
  justify-content: center;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 44, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   Hero 区域
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-height) 0 60px;
}

/* Hero 背景动效 - 光斑 */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: glowFloat 12s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 107, 255, 0.55), transparent 70%);
  top: -120px;
  left: -100px;
}

.hero-glow-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 70%);
  bottom: -80px;
  right: -60px;
  animation-delay: -4s;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 198, 192, 0.35), transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: -8s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

/* Hero 网格背景 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}

/* Hero 内容 */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 198, 192, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 198, 192, 0); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease-out) 0.25s both;
}

.hero-title .grad-text {
  background: linear-gradient(120deg, #7B92FF 0%, #22C6C0 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.8;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 0.55s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-stack);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(79, 107, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(79, 107, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
}

.btn .arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.btn:hover .arrow { transform: translateX(4px); }

/* Hero 滚动提示 */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.15em;
  animation: fadeUp 0.8s var(--ease-out) 0.9s both;
}

.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  position: relative;
}

.hero-scroll .mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   通用 Section 样式
   ============================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-light { background: var(--bg-white); }
.section-gray { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(79, 107, 255, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   关于我们
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.value-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all var(--transition-base);
}

.value-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 107, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-item .icon-wrap svg { width: 22px; height: 22px; }

.value-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* 数据统计 */
.stats-band {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 8px;
}

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

/* ============================================
   产品服务
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all var(--transition-base);
  overflow: hidden;
  cursor: default;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 107, 255, 0.2);
}

.product-card.featured {
  background: var(--grad-hero);
  border: none;
  color: var(--text-white);
}

.product-card.featured::before { background: var(--grad-accent); }

.product-card.featured .product-title,
.product-card.featured .product-desc { color: rgba(255, 255, 255, 0.9); }

.product-card.featured .product-tags .tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}

.product-icon svg { width: 30px; height: 30px; }

.product-icon.icon-blue {
  background: linear-gradient(135deg, rgba(79, 107, 255, 0.12), rgba(79, 107, 255, 0.05));
  color: var(--primary);
}

.product-icon.icon-teal {
  background: linear-gradient(135deg, rgba(34, 198, 192, 0.12), rgba(34, 198, 192, 0.05));
  color: var(--secondary);
}

.product-icon.icon-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.05));
  color: var(--accent);
}

.product-card.featured .product-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
}

.product-card.featured .product-icon svg { color: var(--secondary-light); }

.product-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(79, 107, 255, 0.1);
  color: var(--primary);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.product-card.featured .product-badge {
  background: linear-gradient(90deg, var(--secondary), #4F6BFF);
  color: var(--text-white);
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.product-card:hover .tag {
  border-color: rgba(79, 107, 255, 0.15);
  color: var(--primary-dark);
}

/* 即将上线卡片 */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.coming-soon-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  animation: pulse 2s infinite;
}

/* ============================================
   联系我们
   ============================================ */
.contact-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.contact-section .hero-glow-1 { opacity: 0.3; }
.contact-section .hero-glow-2 { opacity: 0.3; }

.contact-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.contact-card {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.contact-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--secondary-light);
}

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

.contact-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  word-break: break-all;
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: #06091C;
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text { color: var(--text-white); margin-bottom: 16px; display: block; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}

.footer h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--secondary-light); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover { color: var(--secondary-light); }

/* ============================================
   滚动动画
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

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

/* ============================================
   法律政策页面
   ============================================ */
.policy-page {
  padding: calc(var(--nav-height) + 80px) 0 100px;
  min-height: 100vh;
}

.policy-page .navbar .nav-link,
.policy-page .navbar .logo-text {
  color: var(--text-dark);
}

.policy-page .lang-toggle {
  color: var(--text-dark);
  border-color: rgba(15, 23, 42, 0.15);
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

.policy-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.policy-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.policy-header .meta {
  font-size: 14px;
  color: var(--text-light);
}

.policy-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.policy-body p {
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 14px;
  font-size: 15px;
}

.policy-body ul {
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 2;
  font-size: 15px;
}

.policy-body li { margin-bottom: 6px; }

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 32px;
  transition: gap var(--transition-fast);
}

.policy-back:hover { gap: 12px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px; }

  .about-content { grid-template-columns: 1fr; gap: 48px; }
  .products-grid { gap: 20px; }
  .contact-cards { gap: 16px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-scroll { display: none; }

  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 32px; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 32px 28px; }

  .contact-cards { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-values { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .hero-content { padding: 0 20px; }

  .policy-container { padding: 0 20px; }
  .policy-header h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .lang-toggle { padding: 6px 12px; font-size: 12px; }
  .logo-text { font-size: 16px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
