:root {
  --primary: #1051ff;
  --primary-dark: #0a3bd1;
  --primary-light: #4d7dff;
  --accent: #7c4dff;
  --gradient: linear-gradient(135deg, #1051ff 0%, #7c4dff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(16, 81, 255, 0.08) 0%, rgba(124, 77, 255, 0.08) 100%);
  --text: #1a1f36;
  --text-secondary: #4a5168;
  --text-muted: #8a92a6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e6e9f0;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(16, 24, 40, 0.12);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

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

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.section-title {
  font-size: 38px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin: 18px auto 0;
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  letter-spacing: 1px;
}

.section-sub.en { text-transform: uppercase; font-size: 13px; letter-spacing: 3px; color: var(--text-muted); }

.text-link { color: var(--primary); font-weight: 600; font-size: 14px; transition: color 0.2s; }
.text-link:hover { color: var(--primary-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; margin-bottom: 10px; }

.btn-primary { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 16px rgba(16, 81, 255, 0.35); }
.btn-primary:hover::after { left: 130%; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Header — 外层固定容器，背景/形状下放到 .header-inner */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 20px;            /* 顶部浮岛的上下左右呼吸边距 */
  background: transparent;
  transition: padding 0.35s ease;
}

/* 顶部状态：居中浮岛胶囊（半透明 + 毛玻璃 + 大圆角 + 阴影） */
.header-inner {
  max-width: min(100% - 40px, 1600px);   /* 英文菜单较长，浮岛放宽到 1320px */
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.10);
  transition: all 0.35s ease;
}

/* 滚动后状态：贴顶全宽平顶条 */
.header.scrolled { padding: 0; }
.header.scrolled .header-inner {
  max-width: 100%;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border: none;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  justify-content: center;            /* 平铺时内容整体居中 */
}
/* .header.scrolled .nav { flex: 0 0 auto; }         */
.header.scrolled .nav-item-accent { margin: 0; }  

.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0;flex: 2;justify-content: center; }
.logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--gradient); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }

.nav { flex: 5; }
.nav-list { display: flex; align-items: center; gap: 2px; width: 100%; }
.nav-item { position: relative; margin: 0 10px; }
.nav-link {
  display: block;
  padding: 10px 10px;                      /* 英文项多时略微收紧间距 */
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-item-accent { margin-left: auto; padding-left: 12px; flex-shrink: 0; }
.nav-item-accent .nav-link-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  color: #fff;
  background: var(--gradient);
  background-size: 180% 180%;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 18px rgba(16, 81, 255, 0.45);
  animation: accentGlow 3s ease-in-out infinite;
  white-space: nowrap;
}
.nav-item-accent .nav-link-accent:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(124, 77, 255, 0.6);
}
.nav-accent-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255,255,255,0.22);
  position: relative;
  flex-shrink: 0;
}
.nav-accent-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  animation: dotPulse 2s ease-in-out infinite;
}
.nav-accent-arrow { transition: transform 0.2s; }
.nav-item-accent .nav-link-accent:hover .nav-accent-arrow { transform: translateX(3px); }

@keyframes accentGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(16, 81, 255, 0.45); background-position: 0% 50%; }
  50% { box-shadow: 0 6px 28px rgba(124, 77, 255, 0.7); background-position: 100% 50%; }
}

.dropdown {
  position: fixed;
  top: calc(var(--header-h) + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 28px 30px;
  width: min(92vw, 1120px);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.header.scrolled .dropdown:not(.dropdown-small) { top: calc(var(--header-h) + 6px); }
.dropdown-small {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: auto;
  min-width: 240px;
  max-width: 320px;
  padding: 16px;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0.08s; }

.dropdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 30px; }
.dropdown-small .dropdown-grid { grid-template-columns: 1fr; gap: 4px; }

.dropdown-col { padding: 4px 0; }
.dropdown-col h4 {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  padding-left: 12px;
  position: relative;
}
.dropdown-col h4::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.dropdown-col a { display: block; padding: 7px 0; font-size: 14px; color: var(--text-secondary); border-radius: 6px; transition: color 0.2s, transform 0.2s, background 0.2s; }
.dropdown-col a:hover { color: var(--primary); transform: translateX(3px); background: rgba(16, 81, 255, 0.05); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Language toggle */
.nav-item-lang { margin-left: 8px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f0f2f5;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.lang-toggle:hover {
  background: #e4e6eb;
  color: var(--text);
}

.lang-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.lang-icon {
  display: none;
}
.lang-text {
  font-size: 14px;
  font-weight: 600;
}

/* Page hero (sub pages) */
.page-hero {
  position: relative;
  min-height: 500px;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background:
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(16, 81, 255, 0.1) 0%, transparent 50%),
    var(--bg-soft);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.page-hero p { color: var(--text-secondary); font-size: 16px; margin-top: 12px; }

/* Page hero backgrounds for specific pages */
.page-hero-products {
  background-image: url('../uploads/Product.png'),
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(16, 81, 255, 0.1) 0%, transparent 50%);
  background-size: cover, auto, auto;
  background-position: center center, 80% 0%, 10% 100%;
  background-repeat: no-repeat, repeat, repeat;
}

.page-hero-news {
  background-image: url('../uploads/News.png'),
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(16, 81, 255, 0.1) 0%, transparent 50%);
  background-size: cover, auto, auto;
  background-position: center center, 80% 0%, 10% 100%;
  background-repeat: no-repeat, repeat, repeat;
}

.page-hero-cases {
  background-image: url('../uploads/Customer%20.png'),
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(16, 81, 255, 0.1) 0%, transparent 50%);
  background-size: cover, auto, auto;
  background-position: center center, 80% 0%, 10% 100%;
  background-repeat: no-repeat, repeat, repeat;
}

.page-hero-about {
  background-image: url('../uploads/About.png'),
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(16, 81, 255, 0.1) 0%, transparent 50%);
  background-size: cover, auto, auto;
  background-position: center center, 80% 0%, 10% 100%;
  background-repeat: no-repeat, repeat, repeat;
}

.page-hero-jobs {
  background-image: url('../uploads/Join.png'),
    radial-gradient(circle at 80% 0%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(16, 81, 255, 0.1) 0%, transparent 50%);
  background-size: cover, auto, auto;
  background-position: center center, 80% 0%, 10% 100%;
  background-repeat: no-repeat, repeat, repeat;
}

.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Carousel */
.hero-carousel {
  position: relative;
  height: 620px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, #141b3d 0%, #0c1122 55%, #070a18 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 0%, transparent 100%);
  animation: gridDrift 24s linear infinite;
  z-index: 0;
}

.hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
  animation: auroraFloat 14s ease-in-out infinite;
}
.aurora-1 { width: 520px; height: 520px; background: rgba(16, 81, 255, 0.55); top: -160px; right: -80px; }
.aurora-2 { width: 440px; height: 440px; background: rgba(124, 77, 255, 0.5); bottom: -180px; left: -120px; animation-delay: -7s; }

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  animation: particleRise linear infinite;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
  display: flex;
  align-items: center;
  z-index: 1;
}
.slide.active { opacity: 1; visibility: visible; }

.slide-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.slide-inner.slide-full-image {
  display: block;
  text-align: center;
  padding: 0;
  height: 100%;
  width: 100%;
}

.slide-full-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-full-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  margin-bottom: 24px;
  opacity: 0;
}
.slide-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4dff9e;
  box-shadow: 0 0 10px #4dff9e;
  animation: dotPulse 2s ease-in-out infinite;
}

.slide-title {
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  opacity: 0;
}
.slide-title .highlight {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

.slide-desc {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  margin: 24px 0 36px;
  max-width: 520px;
  opacity: 0;
}
.slide-actions { display: flex; gap: 16px; opacity: 0; }

.slide.active .slide-badge { animation: fadeInUp 0.6s 0.1s ease forwards; }
.slide.active .slide-title { animation: fadeInUp 0.7s 0.25s ease forwards; }
.slide.active .slide-desc { animation: fadeInUp 0.7s 0.4s ease forwards; }
.slide.active .slide-actions { animation: fadeInUp 0.7s 0.55s ease forwards; }
.slide.active .slide-visual { animation: fadeInScale 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.slide-visual { display: flex; justify-content: center; opacity: 0; }
.slide-visual .product-chip-panel {
  width: 320px;
  height: 320px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(4px);
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}
.slide-visual .product-chip-panel:hover { transform: perspective(800px) rotateY(0) rotateX(0); }
.slide-visual .slide-image {
  width: 100%;
  max-width: 420px;
  max-height: 380px;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.45));
  transition: transform 0.5s ease;
}
.slide-visual .slide-image:hover { transform: scale(1.03); }

.chip-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,77,255,0.5) 0%, transparent 70%);
  animation: breathe 3.5s ease-in-out infinite;
}

.chip-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124,77,255,0.35);
}
.ring-1 { width: 220px; height: 220px; animation: spin 14s linear infinite; }
.ring-2 { width: 260px; height: 260px; border-style: dashed; border-color: rgba(16,81,255,0.3); animation: spin 22s linear infinite reverse; }
.ring-1::after {
  content: "";
  position: absolute;
  top: 50%; left: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #7c4dff;
  box-shadow: 0 0 12px #7c4dff;
}

.slide-visual .chip-core {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  background: var(--gradient);
  box-shadow: 0 0 70px rgba(124, 77, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
  overflow: hidden;
}

.slide-visual .chip-core .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.chip-pin {
  position: absolute;
  width: 22px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7c4dff, #4d7dff);
  z-index: 1;
}
.pin-1 { top: 26px; left: 50%; transform: translateX(-50%); }
.pin-2 { bottom: 26px; left: 50%; transform: translateX(-50%); }
.pin-3 { left: 26px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.pin-4 { right: 26px; top: 50%; transform: translateY(-50%) rotate(90deg); }

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.carousel-prev:hover, .carousel-next:hover { background: var(--gradient); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 28px; }
.carousel-next { right: 28px; }

.carousel-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.carousel-dot { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: background 0.3s, width 0.3s; }
.carousel-dot.active { background: var(--primary-light); width: 44px; box-shadow: 0 0 10px var(--primary-light); }

.scroll-indicator {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 1px;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* Keyframes */
@keyframes gridDrift { to { background-position: 56px 56px; } }
@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.15); }
}
@keyframes particleRise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-720px) translateX(40px) scale(0.4); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(16, 24, 40, 0.14);
  border-color: rgba(16, 81, 255, 0.3);
}
.product-card:hover::after { transform: scaleX(1); }

.product-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(160deg, #f0f4ff 0%, #f7f0ff 100%);
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
}
.product-thumb::before {
  content: "";
  position: absolute;
  inset: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(16,81,255,0.12) 0%, transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(124,77,255,0.12) 0%, transparent 45%);
  transition: transform 0.5s ease;
  border-radius: 12px;
  z-index: 1;
}
.product-card:hover .product-thumb::before { transform: scale(1.05); }
.product-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 110px;
  padding: 18px 14px;
  background: var(--gradient);
  background-size: 180% 180%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 14px;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(16,81,255,0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  z-index: 2;
  max-width: calc(100% - 32px);
}
.product-card:hover .product-chip {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 16px 40px rgba(124,77,255,0.5);
  animation: gradientShift 3s ease infinite;
}
.product-tag {
  position: absolute;
  top: 28px;
  left: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  z-index: 3;
}
.product-tag-new { background: linear-gradient(135deg, #00c98d, #00a86b); }
.product-tag-hot { background: linear-gradient(135deg, #ff6b6b, #f43f3f); }
.product-tag-sale { background: linear-gradient(135deg, #ff6b6b, #f43f3f); }
.product-tag-default { background: var(--primary); }

.product-info { padding: 24px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.product-info h3 { 
  font-size: 17px; 
  font-weight: 700; 
  margin-bottom: 0; 
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px;
}
.product-info h3 a:hover { color: var(--primary); }
.product-info p { color: var(--text-secondary); font-size: 13.5px; flex: 1; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.product-thumb-lg { height: 400px; border-radius: var(--radius); padding: 24px; }
.product-thumb-lg::before { inset: 24px; }
.product-thumb img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 2;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}
.product-thumb-lg img {
  padding: 12px;
}
.product-tag { z-index: 3; }
.detail-media .product-thumb img { z-index: 1; }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}
.filter-bar button {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.product-search { max-width: 480px; margin: 24px auto 8px; }
.product-search input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.product-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 81, 255, 0.12); }
.product-search input::placeholder { color: var(--text-muted); }

.news-search { max-width: 480px; margin: 24px auto 8px; }
.news-search input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 81, 255, 0.12); }
.news-search input::placeholder { color: var(--text-muted); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text-secondary); cursor: pointer; font-size: 14px; transition: all 0.2s; }
.page-btn:hover:not(:disabled):not(.active) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-info { color: var(--text-muted); font-size: 13px; margin-right: 8px; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--text-muted); }
.empty-state p { font-size: 16px; }

/* AI platform section */
.platform {
  background: linear-gradient(160deg, #0c1122 0%, #171238 100%);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.platform-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.platform-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  animation: auroraFloat 12s ease-in-out infinite;
}
.platform .glow-a { width: 420px; height: 420px; background: rgba(16, 81, 255, 0.4); top: -120px; right: -60px; }
.platform .glow-b { width: 360px; height: 360px; background: rgba(124, 77, 255, 0.4); bottom: -120px; left: -80px; animation-delay: -6s; }

.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.platform-text { opacity: 0; }
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 13px;
  margin-bottom: 24px;
  opacity: 0;
}
.platform-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4dff9e;
  box-shadow: 0 0 10px #4dff9e;
  animation: dotPulse 2s ease-in-out infinite;
}
.platform h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
}
.platform h2 .highlight {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}
.platform p { color: rgba(255,255,255,0.75); margin-bottom: 20px; opacity: 0; }
.platform .platform-text .btn { opacity: 0; }

.platform-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.platform-orb { position: relative; display: flex; align-items: center; justify-content: center; }
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124,77,255,0.3);
}
.orb-r1 { width: 260px; height: 260px; animation: spin 16s linear infinite; }
.orb-r2 { width: 320px; height: 320px; border-style: dashed; border-color: rgba(16,81,255,0.25); animation: spin 26s linear infinite reverse; }
.orb-r3 { width: 380px; height: 380px; border-color: rgba(124,77,255,0.15); animation: spin 36s linear infinite; }
.orb-r1::after, .orb-r2::after {
  content: "";
  position: absolute;
  top: 50%; left: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 14px #7c4dff;
}
.orb-r1::after { background: #7c4dff; }
.orb-r2::after { background: #4d7dff; }
.orb-core-glow {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,77,255,0.5) 0%, transparent 70%);
  animation: breathe 3.5s ease-in-out infinite;
}
.platform-visual .big-chip {
  width: 160px; height: 160px;
  border-radius: 30px;
  background: var(--gradient);
  background-size: 200% 200%;
  box-shadow: 0 0 90px rgba(124,77,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: gradientShift 5s ease infinite, floatY 5s ease-in-out infinite;
}

.float-badge {
  position: absolute;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 3;
  opacity: 0;
}
.float-badge strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.float-badge span { font-size: 12px; color: rgba(255,255,255,0.7); }
.fb-1 { top: 8%; left: 2%; animation-delay: -1s; }
.fb-2 { top: 18%; right: 0%; animation-delay: -2.5s; }
.fb-3 { bottom: 10%; left: 12%; animation-delay: -4s; }

/* Platform entry animation */
.platform.in-view .platform-text { animation: fadeInRight 0.9s ease forwards; }
.platform.in-view .platform-badge { animation: fadeInUp 0.6s 0.1s ease forwards; }
.platform.in-view h2 { animation: fadeInUp 0.7s 0.25s ease forwards; }
.platform.in-view p { animation: fadeInUp 0.7s 0.4s ease forwards; }
.platform.in-view p:nth-of-type(2) { animation-delay: 0.5s; }
.platform.in-view p:nth-of-type(3) { animation-delay: 0.6s; }
.platform.in-view .platform-text .btn { animation: fadeInUp 0.7s 0.7s ease forwards; }
.platform.in-view .platform-visual { animation: fadeInScale 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.platform.in-view .float-badge {
  animation: fadeIn 0.8s ease forwards, floatY 6s ease-in-out infinite;
}
.platform.in-view .fb-1 { animation-delay: 0.8s, 0.8s; }
.platform.in-view .fb-2 { animation-delay: 1s, 1s; }
.platform.in-view .fb-3 { animation-delay: 1.2s, 1.2s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.stat-card { text-align: center; padding: 44px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s, background 0.35s; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--gradient); }
.stat-num { display: block; font-size: 46px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -1px; transition: all 0.35s; }
.stat-label { display: block; margin-top: 8px; color: var(--text-secondary); font-size: 14px; transition: color 0.35s; }
.stat-card:hover .stat-num { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: #fff; color: #fff; }
.stat-card:hover .stat-label { color: rgba(255,255,255,0.92); }

/* Partners */
.partner-marquee { overflow: hidden; margin-top: 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partner-track { display: flex; gap: 20px; width: max-content; animation: partnerMarquee 64s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partnerMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-item {
  flex: 0 0 180px;
  height: 90px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 15px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.partner-item::before { content: ""; position: absolute; inset: 0; opacity: 0.06; background: var(--gradient); transition: opacity 0.3s; }
.partner-item img { max-width: 72%; max-height: 56px; object-fit: contain; position: relative; z-index: 1; }
.partner-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.partner-item:hover::before { opacity: 0.12; }

/* News */
.news-list { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-item-image {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4ff 0%, #f7f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.news-item-placeholder {
  background: linear-gradient(160deg, #f0f4ff 0%, #f7f0ff 100%);
}
.news-item-body {
  flex: 1;
  min-width: 0;
}
.news-item-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.news-item-body h3 a:hover { color: var(--primary); }
.news-item-body p { color: var(--text-secondary); font-size: 14px; }
.news-meta { display: flex; gap: 16px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.news-cat { padding: 2px 10px; border-radius: 999px; background: var(--gradient-soft); color: var(--primary); font-size: 12px; font-weight: 600; }
.news-item .text-link {
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: 16px;
}

/* Home news grid */
.news-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.news-home-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.news-home-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(160deg, #f0f4ff 0%, #f7f0ff 100%);
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-home-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.news-home-placeholder {
  background: linear-gradient(160deg, #f0f4ff 0%, #f7f0ff 100%);
}
.news-placeholder-icon {
  font-size: 48px;
  opacity: 0.3;
}
.news-home-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-home-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-home-card-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; flex: 1; }
.news-home-card-content h3 a:hover { color: var(--primary); }
.news-home-card-content p { color: var(--text-secondary); font-size: 13.5px; flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-home-card-content .news-meta { margin-top: auto; }

/* Article / detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: center; }
.detail-info h1 { font-size: 32px; font-weight: 800; line-height: 1.3; margin: 8px 0 16px; }
.detail-summary { color: var(--text-secondary); font-size: 16px; margin-bottom: 28px; }
.detail-actions { display: flex; gap: 16px; }
.detail-body { margin-top: 64px; max-width: 860px; }
.detail-section { margin-bottom: 48px; }
.detail-section h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; padding-left: 16px; border-left: 4px solid var(--primary); }
.detail-section p { color: var(--text-secondary); font-size: 15px; }
.detail-section p a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--primary-light); text-underline-offset: 2px; transition: color 0.2s; }
.detail-section p a:hover { color: var(--primary-dark); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { padding: 14px 18px; background: var(--bg-soft); border-radius: 10px; font-size: 14px; color: var(--text-secondary); position: relative; padding-left: 34px; }
.feature-list li::before { content: "✓"; position: absolute; left: 14px; color: var(--primary); font-weight: 700; }
.feature-list li a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--primary-light); text-underline-offset: 2px; transition: color 0.2s; }
.feature-list li a:hover { color: var(--primary-dark); }

.param-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.param-table th, .param-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.param-table th { background: var(--bg-soft); width: 200px; color: var(--text); font-weight: 600; }
.param-table td { color: var(--text-secondary); }
.param-table td a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--primary-light); text-underline-offset: 2px; transition: color 0.2s; }
.param-table td a:hover { color: var(--primary-dark); }
.param-table tr:last-child th, .param-table tr:last-child td { border-bottom: none; }

.detail-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.detail-nav-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 20px; border: 1px solid var(--border); border-radius: 10px; transition: all 0.2s; max-width: 48%; }
.detail-nav-item:hover { border-color: var(--primary); }
.detail-nav-item span { font-size: 12px; color: var(--text-muted); }
.detail-nav-item { font-size: 14px; color: var(--text-secondary); }

.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: 32px; font-weight: 800; line-height: 1.4; }
.article .news-meta { margin-bottom: 32px; }
.article-body p { color: var(--text-secondary); font-size: 15.5px; margin-bottom: 20px; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 28px 0 14px; color: var(--text); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 22px 0 12px; color: var(--text); }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 20px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.9; }
.article-body li { margin-bottom: 6px; }
.article-body img { max-width: 100%; border-radius: 12px; margin: 16px 0; }
.article-body strong { color: var(--text); }
.article-back { margin-top: 40px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; margin-top: 48px; align-items: center; }
.about-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 15px; }
.about-visual { height: 340px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #f0f4ff, #f7f0ff); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-visual .big-logo { width: 140px; height: 140px; border-radius: 28px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; font-weight: 800; }
.about-visual .about-image { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 24px 40px; text-align: center; transition: box-shadow 0.3s, transform 0.3s; display: flex; flex-direction: column; justify-content: center; min-height: 180px; }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.value-card p { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }

/* Jobs */
.job-list { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin-left: auto; margin-right: auto; }
.job-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.job-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-item-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.job-item h3 { font-size: 17px; font-weight: 700; }
.job-meta { display: flex; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.job-tag { padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); font-size: 12px; }
.job-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.job-detail { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.job-item.open .job-detail { display: block; }
.job-detail h4 { font-size: 14px; font-weight: 700; margin: 14px 0 8px; color: var(--text); }
.job-detail h4:first-child { margin-top: 0; }
.job-list-detail { list-style: none; padding: 0; margin: 0; }
.job-list-detail li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.job-list-detail li::before { content: "•"; position: absolute; left: 2px; color: var(--primary); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gradient-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.contact-row .label { font-size: 13px; color: var(--text-muted); }
.contact-row .value { font-size: 16px; font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,81,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; }
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-visual { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #fff; position: relative; overflow: hidden; }
.case-visual span { position: relative; z-index: 1; }
.case-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 24px; }
.case-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.case-body p { color: var(--text-secondary); font-size: 13.5px; margin-bottom: 16px; }
.case-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--gradient-soft); color: var(--primary); font-size: 12px; margin-right: 6px; margin-bottom: 6px; }

/* 首页客户案例：交互式卡片（悬停加宽 + 图片背景） */
.case-hover-grid { display: flex; gap: 20px; margin-top: 48px; height: 400px; }
.case-hover-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}
.case-hover-item.active { flex: 2.4; box-shadow: 0 16px 44px rgba(16, 30, 54, 0.22); }
.case-hover-bg { position: absolute; inset: 0; z-index: 0; }
.case-hover-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 34, 0) 20%, rgba(10, 14, 34, 0.88) 100%); }
.case-hover-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.case-hover-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 34, 0) 20%, rgba(10, 14, 34, 0.88) 100%); }
.case-hover-item.active .case-hover-img { opacity: 1; transform: scale(1); }
.case-hover-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; color: #fff; z-index: 1; }
.case-hover-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; white-space: nowrap; transition: transform 0.5s ease, font-size 0.5s ease; }
.case-hover-item.active .case-hover-content h3 { font-size: 20px; }
.case-hover-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  opacity: 0;
  max-height: 0;
  transform: translateY(16px);
  overflow: hidden;
  transition: opacity 0.5s ease 0.05s, max-height 0.5s ease, transform 0.5s ease 0.05s, margin 0.5s ease;
}
.case-hover-item.active .case-hover-content p { opacity: 1; max-height: 90px; margin-bottom: 12px; transform: translateY(0); }
.case-hover-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-hover-tags span { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 12px; transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s; opacity: 0; transform: translateY(10px); }
.case-hover-item.active .case-hover-tags span { opacity: 1; transform: translateY(0); }

/* CTA */
.cta-box {
  background: linear-gradient(160deg, #0c1122 0%, #1a1440 55%, #241a4d 100%);
  border-radius: var(--radius-lg);
  padding: 96px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.5s ease;
}
.cta-box:hover {
  box-shadow: 0 40px 90px rgba(16, 81, 255, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.cta-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  animation: auroraFloat 12s ease-in-out infinite;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.cta-box:hover .cta-aurora { opacity: 0.85; }
.cta-box:hover .ca-1 { transform: scale(1.1) translate(10px, 10px); }
.cta-box:hover .ca-2 { transform: scale(1.1) translate(-10px, -10px); }
.ca-1 { width: 460px; height: 460px; background: rgba(16, 81, 255, 0.45); top: -140px; left: -100px; }
.ca-2 { width: 420px; height: 420px; background: rgba(124, 77, 255, 0.45); bottom: -160px; right: -80px; animation-delay: -6s; }

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 100%);
  animation: gridDrift 20s linear infinite;
  z-index: 0;
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 0;
  transition: border-color 0.5s ease;
}
.cta-box:hover .cta-ring { border-color: rgba(255,255,255,0.2); }
.cta-ring-1 { width: 560px; height: 560px; top: -260px; right: -200px; animation: spin 40s linear infinite; }
.cta-ring-2 { width: 420px; height: 420px; bottom: -220px; left: -160px; border-style: dashed; animation: spin 50s linear infinite reverse; }

.cta-content { position: relative; z-index: 1; transition: transform 0.5s ease; }
.cta-box:hover .cta-content { transform: translateZ(40px); }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  opacity: 0;
}
.cta-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4dff9e;
  box-shadow: 0 0 10px #4dff9e;
  animation: dotPulse 2s ease-in-out infinite;
}

.cta-box h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; opacity: 0; }
.cta-box .cta-highlight {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}
.cta-box p { font-size: 17px; opacity: 0; margin-bottom: 36px; color: rgba(255,255,255,0.72); }
.cta-box .cta-actions { opacity: 0; }

.cta-actions { display: flex; justify-content: center; gap: 16px; position: relative; z-index: 1; flex-wrap: wrap; }

.btn-white {
  background: #fff;
  color: var(--primary);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(255,255,255,0.25);
}
.btn-white:hover { background: #f2f5ff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,255,255,0.35); }

/* CTA entry animation */
.cta-box.in-view .cta-badge { animation: fadeInUp 0.6s 0.1s ease forwards; }
.cta-box.in-view h2 { animation: fadeInUp 0.7s 0.25s ease forwards; }
.cta-box.in-view p { animation: fadeInUp 0.7s 0.4s ease forwards; }
.cta-box.in-view .cta-actions { animation: fadeInUp 0.7s 0.55s ease forwards; }

/* Footer */
.footer { background: #0e1220; color: #c6ccda; padding: 56px 0 0; }
.footer-service {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s, transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.service-item:hover {
  background: rgba(16,81,255,0.12);
  border-color: rgba(16,81,255,0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16,81,255,0.18);
}
.service-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--gradient);
}
.service-txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.service-txt strong { font-size: 15px; font-weight: 700; color: #fff; }
.service-txt em { font-style: normal; font-size: 12px; color: #8a92a6; margin-top: 2px; }

.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; padding: 40px 0; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: #c6ccda; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact .contact-phone { font-size: 24px; font-weight: 700; color: #fff; }
.contact-meta { margin-top: 16px; }
.contact-meta a { display: inline-block; margin-right: 16px; color: var(--primary-light); }
.footer-qr { margin-top: 20px; }
.footer-qr img { width: 104px; height: 104px; border-radius: 10px; display: block; background: #fff; padding: 4px; }
.footer-qr span { display: block; font-size: 12px; color: #8a92a6; margin-top: 8px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}
.footer-links span { color: #6b7385; }
.footer-links a { color: #c6ccda; }
.footer-links a:hover { color: #fff; }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 36px; }
.footer-social { display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; transition: background 0.2s; }
.social-icon:hover { background: var(--primary); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { font-size: 13px; color: #8a92a6; }
.footer-legal a:hover { color: #fff; }
.copyright { font-size: 13px; color: #6b7385; }
.copyright a { color: #6b7385; }

/* ===== Floating side component ===== */
.floating-side {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* 方案咨询胶囊 */
.side-consult {
  width: 56px;
  min-height: 132px;
  padding: 12px 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2b7fff 0%, #5aa3ff 100%);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(43, 127, 255, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.side-consult:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43, 127, 255, 0.4); }
.consult-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255,255,255,0.25);
}
.consult-avatar--default { display: inline-block; }
.consult-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.1;
}

/* 功能图标面板 */
.side-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(16, 30, 54, 0.12);
}
.tool-btn {
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.tool-btn:hover { background: #f3f6fb; color: var(--primary); }
.tool-btn + .tool-btn { border-top: 1px solid var(--border); padding-top: 2px; }

/* 浮层（二维码 / 电话） */
.tool-popup {
  position: absolute;
  right: 68px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  white-space: nowrap;
  z-index: 91;
}
.tool-popup.show { opacity: 1; visibility: visible; transform: translateX(0); }
.qr-popup { top: 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-popup img { width: 140px; height: 140px; border-radius: 12px; background: #fff; object-fit: contain; display: block; }
.qr-popup span { font-size: 12px; color: var(--text-muted); }
.phone-popup { top: 240px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.phone-popup a { color: var(--primary); font-size: 16px; font-weight: 600; text-decoration: none; }
.phone-description { font-size: 12px; color: var(--text-muted); }

/* 移动端适配 */
@media (max-width: 768px) {
  .floating-side { right: 12px; gap: 8px; }
  .side-consult { width: 48px; min-height: 112px; }
  .consult-text { font-size: 12px; }
  .tool-btn { width: 40px; height: 40px; }
  .tool-popup { right: 56px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .slide-title { font-size: 38px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-home-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-hover-grid { height: 320px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-service { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .product-thumb { height: 180px; }
  .product-chip { max-width: calc(100% - 32px); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: block;
    position: absolute;
    top: calc(var(--header-h) + 12px);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px 24px; }
  .nav-item-accent { margin-left: 0; padding-left: 0; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; min-width: 0; padding: 0 0 12px; display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .menu-toggle { display: flex; }
  .btn-sm { padding: 8px 14px; }
  
  .nav-item-lang { margin-left: 0; margin-top: 12px; }
  .lang-toggle { width: 100%; justify-content: center; }

  .slide-inner { grid-template-columns: 1fr; }
  .slide-visual { display: none; }
  .slide-title { font-size: 30px; }
  .hero-carousel { height: 460px; }
  .scroll-indicator { display: none; }

  .page-hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .news-home-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .product-thumb { height: 160px; padding: 12px; }
  .product-thumb::before { inset: 12px; }
  .product-tag { top: 24px; left: 24px; }
  .product-thumb img { padding: 6px; }
  .product-chip { max-width: calc(100% - 24px); padding: 14px 12px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-service { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 56px 24px; }
  .platform-inner { grid-template-columns: 1fr; }
  .platform-visual { height: 360px; }
  .platform h2 { font-size: 30px; }
  .fb-1 { left: 0%; }
  .fb-2 { right: 0%; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: flex-start; }
  .news-item-image { width: 100%; height: 180px; }
  .detail-nav { flex-direction: column; }
  .detail-nav-item { max-width: 100%; }
  .detail-actions { flex-direction: column; }
  .case-hover-grid { flex-direction: column; height: auto; gap: 16px; }
  .case-hover-item, .case-hover-item.active { flex: none; height: 260px; }
  .case-hover-content p { opacity: 1; max-height: 90px; margin-bottom: 12px; transform: none; }
  .case-hover-tags span { opacity: 1; transform: none; }
  .case-hover-img { opacity: 1; transform: none; }
}

.form-status { min-height: 18px; font-size: 13px; margin-bottom: 12px; }
.form-status.ok { color: #18a058; }
.form-status.err { color: #e5484d; }
