*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-50: #f0faf3;
  --green-100: #e1f5e8;
  --green-200: #c3ebd1;
  --green-300: #9fdfb4;
  --green-400: #7bc47f;
  --green-500: #4db87a;
  --green-600: #2ba89e;
  --green-700: #1f8a7f;
  --mint: #d4f4e2;
  --cream: #faf8f4;
  --cream-dark: #f5f1ea;
  --white: #ffffff;
  --gray-50: #f8faf9;
  --gray-100: #f0f3f2;
  --gray-200: #e2e8e5;
  --gray-300: #c5ceca;
  --gray-400: #96a5a0;
  --gray-500: #6b7d78;
  --gray-600: #4a5a56;
  --gray-700: #364440;
  --gray-800: #232e2b;
  --gray-900: #151c1a;
  --shadow-sm: 0 2px 8px rgba(31, 138, 127, 0.06);
  --shadow-md: 0 8px 32px rgba(31, 138, 127, 0.1);
  --shadow-lg: 0 20px 60px rgba(31, 138, 127, 0.14);
  --shadow-xl: 0 30px 80px rgba(31, 138, 127, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px;
  transition: var(--transition); white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white); box-shadow: 0 8px 28px rgba(77, 184, 122, 0.35);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(77, 184, 122, 0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12); color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.55); transform: translateY(-3px); }
.btn-outline {
  background: transparent; color: var(--green-600);
  border: 1.5px solid var(--green-300);
}
.btn-outline:hover { background: var(--green-50); border-color: var(--green-500); transform: translateY(-2px); }
.btn-lg { padding: 18px 42px; font-size: 16px; }
.btn-block { width: 100%; padding: 16px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.08); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 30px rgba(31, 138, 127, 0.08);
  border-bottom-color: rgba(159, 223, 180, 0.15);
}
.navbar.scrolled .logo-cn { color: var(--green-700); }
.navbar.scrolled .logo-en { color: var(--green-500); }
.navbar.scrolled .nav-link { color: var(--gray-600); }
.navbar.scrolled .nav-link:hover { color: var(--green-600); background: var(--green-50); }
.navbar.scrolled .nav-link.active { color: var(--green-600); }
.navbar.scrolled .nav-link::after { background: linear-gradient(90deg, var(--green-400), var(--green-600)); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 48px; height: 48px; object-fit: contain; transition: transform 0.5s; }
.nav-logo:hover .logo-img { transform: scale(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-cn { font-size: 15px; font-weight: 700; color: #ffffff; letter-spacing: 0.5px; line-height: 1.2; }
.logo-en { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.8); letter-spacing: 4px; }
.nav-menu { display: flex; gap: 4px; }
.nav-link {
  display: block; padding: 10px 18px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm); transition: var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 18px; right: 18px;
  height: 2px; background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.6));
  transform: scaleX(0); transform-origin: center; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: #ffffff; }
.nav-link.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 26px; font-size: 14px; }
.nav-ai-link {
  padding: 9px 18px; font-size: 14px; gap: 6px;
  background: linear-gradient(135deg, rgba(77, 184, 122, 0.18), rgba(43, 168, 158, 0.18)) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.nav-ai-link:hover {
  background: linear-gradient(135deg, rgba(77, 184, 122, 0.28), rgba(43, 168, 158, 0.28)) !important;
  transform: translateY(-2px);
}
/* 滚动后导航栏变白：AI助手按钮切换到绿色文字 */
.navbar.scrolled .nav-ai-link {
  color: var(--green-600) !important;
  background: linear-gradient(135deg, rgba(77, 184, 122, 0.08), rgba(43, 168, 158, 0.08)) !important;
  border: 1.5px solid rgba(77, 184, 122, 0.35) !important;
}
.navbar.scrolled .nav-ai-link:hover {
  background: linear-gradient(135deg, rgba(77, 184, 122, 0.14), rgba(43, 168, 158, 0.14)) !important;
  border-color: var(--green-500) !important;
}
.nav-ai-icon { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: var(--transition); }

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px 80px;
  text-align: center;
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 2; pointer-events: auto;
  width: 100%; height: 100%;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-gradient {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: none;
}
.hero-gradient::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.65) 100%);
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}
.hero-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(77, 184, 122, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(43, 168, 158, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(123, 196, 127, 0.1) 0%, transparent 60%);
  animation: auroraMove 14s ease-in-out infinite;
  filter: blur(40px);
}
@keyframes auroraMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(30px, -20px) rotate(2deg) scale(1.05); }
  66% { transform: translate(-20px, 15px) rotate(-1deg) scale(0.98); }
}
.hero-noise {
  display: none;
}

/* Floating decorative shapes */
.hero-decor { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.float-shape {
  position: absolute; border-radius: 50%;
  filter: blur(2px);
}
.shape-1 {
  top: 12%; left: 8%; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(123, 196, 127, 0.4), rgba(123, 196, 127, 0.05));
  animation: float1 12s ease-in-out infinite;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.shape-2 {
  top: 60%; right: 10%; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(43, 168, 158, 0.35), rgba(43, 168, 158, 0.02));
  animation: float2 15s ease-in-out infinite;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}
.shape-3 {
  bottom: 15%; left: 15%; width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(159, 223, 180, 0.45), rgba(159, 223, 180, 0));
  animation: float3 10s ease-in-out infinite;
  border-radius: 50%;
}
.shape-4 {
  top: 25%; right: 18%; width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(77, 184, 122, 0.3), rgba(77, 184, 122, 0));
  animation: float1 14s ease-in-out infinite reverse;
  border-radius: 40% 60% 50% 50%;
}
.shape-5 {
  top: 20%; right: 6%; width: 120px; height: 120px;
  animation: spin 25s linear infinite;
}
.shape-5 svg { width: 100%; height: 100%; animation: spin 18s linear infinite reverse; }
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(25px, -30px) rotate(15deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 25px) rotate(-20deg); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -25px) scale(1.15); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-content {
  position: relative; z-index: 4; max-width: 1000px;
  will-change: transform, opacity;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 100px; font-size: 14px; font-weight: 600;
  color: #ffffff; margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s, box-shadow 0.4s;
}
.hero-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(77, 184, 122, 0.22); }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(77, 184, 122, 0.5);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(77, 184, 122, 0.6); }
  50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 8px rgba(77, 184, 122, 0); }
}
.badge-wave { width: 40px; height: 12px; display: inline-block; }
.badge-wave svg { width: 100%; height: 100%; }
.badge-wave path {
  stroke-dasharray: 100; stroke-dashoffset: 0;
  animation: waveFlow 3s ease-in-out infinite;
}
@keyframes waveFlow {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 50; }
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 84px); font-weight: 900; color: #ffffff; line-height: 1.08;
  margin-bottom: 28px; letter-spacing: -1.5px;
  display: flex; flex-direction: column; gap: 8px;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.35));
}
.hero-line { overflow: hidden; display: block; }
.line-text {
  display: inline-block;
  animation: lineReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-line:nth-child(1) .line-text { animation-delay: 0.2s; }
.hero-line:nth-child(2) .line-text { animation-delay: 0.45s; }
@keyframes lineReveal {
  0% { opacity: 0; transform: translateY(100%); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.line-text {
  animation: lineReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) both, textShimmer 3s linear infinite 1.5s;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 60%, rgba(255,255,255,0.4) 80%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
}
@keyframes textShimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f0faf3 50%, #e8f8ef 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; display: inline-block;
  animation: gradientText 4s ease-in-out infinite;
  background-size: 200% 200%;
}
@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.highlight-alt {
  background: linear-gradient(135deg, #ffffff, #f5fff8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-subtitle {
  font-size: 18px; color: rgba(255, 255, 255, 0.9); margin-bottom: 36px; line-height: 2; font-weight: 400;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-subtitle .word {
  display: inline-block; padding: 0 2px;
  opacity: 0; transform: translateY(12px);
  animation: wordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-subtitle .word-dot { color: var(--green-500); padding: 0 8px; display: inline-block; }
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle .word:nth-child(1) { animation-delay: 0.9s; }
.hero-subtitle .word:nth-child(2) { animation-delay: 0.98s; }
.hero-subtitle .word:nth-child(3) { animation-delay: 1.06s; }
.hero-subtitle .word-dot:nth-child(4) { animation-delay: 1.12s; opacity: 0; animation-fill-mode: forwards; }
.hero-subtitle .word:nth-child(5) { animation-delay: 1.18s; }
.hero-subtitle .word:nth-child(6) { animation-delay: 1.26s; }
.hero-subtitle .word:nth-child(7) { animation-delay: 1.34s; }
.hero-subtitle .word-dot:nth-child(8) { animation-delay: 1.4s; opacity: 0; animation-fill-mode: forwards; }
.hero-subtitle .word:nth-child(9) { animation-delay: 1.46s; }
.hero-subtitle .word:nth-child(10) { animation-delay: 1.54s; }
.hero-subtitle .word:nth-child(11) { animation-delay: 1.62s; }

.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.tag {
  padding: 9px 22px; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 100px; font-size: 14px; font-weight: 500;
  color: #ffffff; cursor: default;
  opacity: 0; transform: translateY(20px);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.tag.animated {
  opacity: 1; transform: translateY(0);
}
.tag:hover {
  transform: translateY(0) scale(1.3);
  box-shadow: 0 8px 24px rgba(77, 184, 122, 0.3);
}
@keyframes tagPulse {
  0% { box-shadow: 0 0 0 0 rgba(77, 184, 122, 0.4); }
  100% { box-shadow: 0 0 0 20px rgba(77, 184, 122, 0); }
}
.hero-tags .tag:nth-child(1) { animation-delay: 1.7s; }
.hero-tags .tag:nth-child(2) { animation-delay: 1.8s; }
.hero-tags .tag:nth-child(3) { animation-delay: 1.9s; }
.hero-tags .tag:nth-child(4) { animation-delay: 2.0s; }

.hero-actions {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 2.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  margin-bottom: 56px;
}
.magnetic { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-bg-shine {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s; pointer-events: none;
}
.btn-primary:hover .btn-bg-shine { left: 100%; }

.hero-meta {
  display: flex; justify-content: center; align-items: center; gap: 32px;
  padding: 28px 48px;
  background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  opacity: 0; animation: fadeUp 0.8s 2.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.meta-item { text-align: center; }
.meta-value {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.meta-label { font-size: 13px; color: rgba(255, 255, 255, 0.85); margin-top: 6px; letter-spacing: 1px; }
.meta-divider {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px;
  color: rgba(255, 255, 255, 0.85); letter-spacing: 2px; text-transform: uppercase;
  z-index: 3;
}
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid #ffffff; border-bottom: 2px solid #ffffff;
  transform: rotate(45deg); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

.hero-side-decor {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  z-index: 2; color: rgba(255, 255, 255, 0.85); font-size: 11px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  opacity: 0.7;
}
.hero-side-decor.left { left: 32px; }
.hero-side-decor.right { right: 32px; }
.side-line {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: sideLineFlow 3s ease-in-out infinite;
}
@keyframes sideLineFlow {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}
.side-label.rotate { writing-mode: vertical-rl; transform: rotate(180deg); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px;
  color: rgba(255, 255, 255, 0.85); letter-spacing: 2px; text-transform: uppercase;
  z-index: 3;
}
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid #ffffff; border-bottom: 2px solid #ffffff;
  transform: rotate(45deg); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ===== Sections ===== */
.section { padding: 120px 0; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.section-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.section-kicker.light { color: var(--green-300); }
.section-title {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--gray-800); line-height: 1.3;
  margin-bottom: 14px;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 16px; color: var(--gray-500); line-height: 1.6; }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
.about-content p { color: var(--gray-600); margin-bottom: 20px; line-height: 1.9; }
.about-content strong { color: var(--gray-800); }
.about-content em { color: var(--green-600); font-style: normal; font-weight: 600; }
.about-lead { font-size: 17px; line-height: 2 !important; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 7px 18px; background: var(--green-50); color: var(--green-700);
  border-radius: 100px; font-size: 13px; font-weight: 500; border: 1px solid var(--green-200);
  transition: var(--transition);
}
.chip:hover { background: var(--green-100); transform: translateY(-2px); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
  border: 1px solid var(--green-100); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(77, 184, 122, 0.08) 100%);
  opacity: 0; transition: opacity 0.4s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-300); }
.stat-card:hover::after { opacity: 1; }
.stat-icon {
  font-size: 36px; margin-bottom: 14px; position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: auto; margin-right: auto;
}
.stat-icon img {
  width: 42px; height: 42px; object-fit: contain;
  mix-blend-mode: multiply;
}
.stat-value {
  font-size: 40px; font-weight: 800;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 8px; position: relative;
}
.stat-label { font-size: 14px; color: var(--gray-500); font-weight: 500; position: relative; }

/* ===== Solutions ===== */
.solutions { background: var(--cream); }
.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.solution-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl); padding: 52px 44px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.solution-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(77, 184, 122, 0.08) 0%, transparent 70%);
  transform: translate(50%, -50%); transition: transform 0.6s;
}
.solution-card:hover {
  transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--green-200);
}
.solution-card:hover::before { transform: scaleX(1); }
.solution-card:hover::after { transform: translate(30%, -70%); }
.solution-icon-wrap {
  width: 78px; height: 78px; background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; color: var(--green-600); transition: var(--transition);
}
.solution-card:hover .solution-icon-wrap {
  transform: rotate(-6deg) scale(1.1); box-shadow: 0 12px 32px rgba(77, 184, 122, 0.25);
}
.solution-icon { width: 38px; height: 38px; }
.solution-card h3 { font-size: 24px; font-weight: 700; color: var(--gray-800); margin-bottom: 18px; margin-top: 0; }
.solution-card > p { color: var(--gray-600); line-height: 1.9; margin-bottom: 28px; }
.solution-features { display: flex; flex-wrap: wrap; gap: 10px; }
.solution-features span {
  padding: 7px 16px; background: var(--green-50); color: var(--green-700);
  border-radius: 100px; font-size: 13px; font-weight: 500; transition: var(--transition);
}
.solution-features span:hover { background: var(--green-100); transform: scale(1.05); }

/* ===== Business ===== */
.business { background: var(--white); }
.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.business-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.business-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--green-200); }
.business-img { position: relative; height: 220px; overflow: hidden; }
.business-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.business-card:hover .business-img img { transform: scale(1.08); }
.business-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31, 138, 127, 0.2) 100%);
  transition: opacity 0.4s;
}
.business-card:hover .business-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(31, 138, 127, 0.35) 100%);
}
.business-info { padding: 26px; }
.business-info h3 { font-size: 18px; font-weight: 700; color: var(--gray-800); margin-bottom: 14px; line-height: 1.4; }
.business-en { font-size: 13px; color: var(--green-600); font-style: italic; margin-bottom: 10px; line-height: 1.6; }
.business-zh { font-size: 14px; color: var(--gray-500); line-height: 1.8; }

/* ===== Products ===== */
.products { background: var(--cream); }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.product-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl);
  overflow: hidden; transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--green-200); }
.product-img { height: 300px; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31, 138, 127, 0.1) 100%);
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover .product-img::after { opacity: 1; }
.product-body { padding: 36px; }
.product-body h3 {
  font-size: 22px; font-weight: 700; color: var(--gray-800); margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.product-model {
  font-size: 13px; font-weight: 600; color: var(--green-600);
  background: var(--green-50); padding: 5px 14px; border-radius: 100px;
}
.product-body > p { color: var(--gray-600); line-height: 1.9; margin-bottom: 24px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.product-tags span {
  padding: 6px 15px; background: var(--green-50); color: var(--green-700);
  border-radius: 100px; font-size: 12px; font-weight: 500; border: 1px solid var(--green-100);
  transition: var(--transition);
}
.product-tags span:hover { background: var(--green-100); transform: translateY(-2px); }

/* ===== Monitoring ===== */
.monitoring { background: var(--white); }
.monitoring-showcase { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.monitoring-img { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.monitoring-img img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); transition: transform 0.6s; }
.monitoring-img:hover img { transform: scale(1.02); }
.monitoring-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(circle, rgba(77, 184, 122, 0.18) 0%, transparent 70%);
  z-index: -1; filter: blur(50px); animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.monitoring-content h3 { font-size: 30px; font-weight: 700; color: var(--gray-800); margin-bottom: 18px; }
.monitoring-content > p { color: var(--gray-600); line-height: 1.9; margin-bottom: 36px; }
.monitoring-features { display: flex; flex-direction: column; gap: 22px; }
.monitor-feature {
  display: flex; gap: 18px; padding: 20px; background: var(--green-50);
  border-radius: var(--radius-md); transition: var(--transition);
}
.monitor-feature:hover {
  background: var(--green-100); transform: translateX(8px); box-shadow: var(--shadow-md);
}
.mf-icon {
  width: 48px; height: 48px; background: var(--green-100); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.mf-icon img {
  width: 36px; height: 36px; object-fit: contain;
  mix-blend-mode: multiply;
}
.monitor-feature h4 { font-size: 16px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.monitor-feature p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ===== Data Center ===== */
.data-center { background: linear-gradient(180deg, var(--cream) 0%, var(--green-50) 100%); }
.data-dashboard {
  background: var(--white); border: 1px solid var(--green-100); border-radius: var(--radius-xl);
  padding: 48px; box-shadow: var(--shadow-lg);
}
.dashboard-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); margin-bottom: 32px;
}
.dashboard-title { display: flex; align-items: center; gap: 20px; }
.dashboard-title span:first-child { font-size: 18px; font-weight: 700; color: var(--gray-800); }
.dashboard-time {
  font-family: 'SF Mono', 'Menlo', 'Fira Code', monospace; font-size: 14px; color: var(--green-600);
  background: var(--green-50); padding: 7px 16px; border-radius: 10px;
}
.dashboard-status { display: flex; gap: 24px; align-items: center; font-size: 14px; color: var(--gray-600); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.status-dot.online { background: var(--green-500); box-shadow: 0 0 10px rgba(77, 184, 122, 0.6); animation: pulse 2s infinite; }

.sensor-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 32px;
}
.sensor-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--green-50) 100%);
  border: 1px solid var(--green-100); border-radius: var(--radius-lg);
  padding: 20px 18px; display: flex; align-items: center; gap: 14px;
  transition: var(--transition); min-height: 90px;
}
.sensor-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300);
}
.sensor-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.sensor-icon img {
  width: 34px; height: 34px; object-fit: contain;
  mix-blend-mode: multiply;
}
.sensor-icon.temp { background: linear-gradient(135deg, #ffe8e8, #ffd4d4); }
.sensor-icon.humidity { background: linear-gradient(135deg, #e8f4ff, #d4e8ff); }
.sensor-icon.co2 { background: linear-gradient(135deg, #e8f8ec, #d4f0dc); }
.sensor-icon.light { background: linear-gradient(135deg, #fff8e8, #ffedc4); }
.sensor-icon.soil { background: linear-gradient(135deg, #f0ead4, #e0d4a0); }
.sensor-icon.ai { background: linear-gradient(135deg, #efe8ff, #dcd0ff); }
.sensor-info { flex: 1; min-width: 0; }
.sensor-label { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sensor-value { font-size: 20px; font-weight: 700; color: var(--gray-800); line-height: 1.2; margin-bottom: 2px; }
.sensor-value span { color: var(--green-600); }
.sensor-range { font-size: 11px; color: var(--gray-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dashboard-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.dashboard-row:last-of-type { margin-bottom: 0; }
.dashboard-row.three-col { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.dashboard-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column;
}
.dashboard-card h4 { font-size: 16px; font-weight: 700; color: var(--gray-800); margin-bottom: 18px; }

.chart-card { min-height: 280px; }
#trendChart { width: 100%; height: 220px; }

.growth-card { min-height: 280px; }
.growth-list { display: flex; flex-direction: column; gap: 16px; }
.growth-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.growth-info { display: flex; flex-direction: column; }
.crop-name { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.growth-stage { font-size: 12px; color: var(--gray-400); }
.growth-bar { height: 8px; background: var(--gray-100); border-radius: 100px; overflow: hidden; }
.growth-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  border-radius: 100px; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.growth-pct { font-size: 14px; font-weight: 600; color: var(--green-600); min-width: 40px; text-align: right; }

.device-card { min-height: 240px; }
.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.device-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--green-50); border-radius: var(--radius-sm); font-size: 13px; color: var(--gray-700);
  transition: var(--transition);
}
.device-item:hover { background: var(--green-100); transform: translateX(4px); }
.device-icon { font-size: 16px; }

.alert-card { min-height: 240px; }
.alert-list { display: flex; flex-direction: column; gap: 12px; }
.alert-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-600); }
.alert-ok {
  width: 22px; height: 22px; background: var(--green-100); color: var(--green-600);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.alert-warn {
  width: 22px; height: 22px; background: #fff3d4; color: #d4a017;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.alert-time { color: var(--gray-400); margin-left: auto; font-size: 12px; }

.control-card { min-height: 240px; }
.control-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.ctrl-btn {
  display: flex; align-items: center; gap: 8px; padding: 11px 18px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-md); font-size: 13px; font-weight: 500; color: var(--gray-700);
  transition: var(--transition);
}
.ctrl-btn:hover { background: var(--green-100); border-color: var(--green-300); color: var(--green-700); transform: translateY(-2px); }
.ctrl-btn.ctrl-ai {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white); border: none; box-shadow: 0 6px 20px rgba(77, 184, 122, 0.35);
}
.ctrl-btn.ctrl-ai:hover { box-shadow: 0 10px 32px rgba(77, 184, 122, 0.5); transform: translateY(-3px); }
.ctrl-icon { font-size: 16px; }

/* ===== Platform ===== */
.platform { background: var(--white); }
.platform-overview {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
  border: 1px solid var(--green-100); border-radius: var(--radius-xl);
  padding: 48px; margin-bottom: 56px;
}
.platform-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.p-stat { text-align: center; padding: 20px; }
.p-stat-value {
  font-size: 46px; font-weight: 800;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.p-stat-label { font-size: 14px; color: var(--gray-500); font-weight: 500; margin-top: 10px; }
.platform-status-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  padding-top: 28px; border-top: 1px solid var(--green-100);
}
.status-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-600); font-weight: 500; }
.status-active { width: 12px; height: 12px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 12px rgba(77, 184, 122, 0.5); animation: pulse 2s infinite; }
.status-grid { display: flex; gap: 28px; flex-wrap: wrap; }
.status-grid div { font-size: 13px; color: var(--gray-600); }
.status-grid strong { color: var(--gray-800); font-weight: 600; }
.text-green { color: var(--green-600); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.platform-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 36px; transition: var(--transition);
}
.platform-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--green-200);
}
.platform-icon {
  width: 60px; height: 60px; background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 24px; transition: var(--transition);
}
.platform-icon img {
  width: 46px; height: 46px; object-fit: contain;
  mix-blend-mode: multiply;
}
.platform-card:hover .platform-icon { transform: rotate(-8deg) scale(1.1); }
.platform-card h3 { font-size: 20px; font-weight: 700; color: var(--gray-800); margin-bottom: 14px; }
.platform-card > p { font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.platform-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-meta span {
  padding: 6px 14px; background: var(--green-50); color: var(--green-700);
  border-radius: 100px; font-size: 12px; font-weight: 500;
}

/* ===== Contact ===== */
.contact { background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%); color: var(--white); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-title { font-size: clamp(34px, 4vw, 48px); font-weight: 800; margin: 14px 0 18px; }
.contact-desc { font-size: 17px; opacity: 0.92; line-height: 1.9; margin-bottom: 40px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.ci-icon {
  width: 48px; height: 48px; background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; transition: var(--transition);
}
.contact-item:hover .ci-icon { background: rgba(255, 255, 255, 0.25); transform: scale(1.08); }
.ci-label { font-size: 13px; opacity: 0.75; margin-bottom: 4px; }
.ci-value { font-size: 16px; font-weight: 600; }
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 48px; color: var(--gray-700); box-shadow: var(--shadow-xl);
}
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--gray-800); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 16px 20px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 15px; font-family: inherit; color: var(--gray-700);
  background: var(--gray-50); transition: var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(77, 184, 122, 0.12);
}

/* ===== Footer ===== */
.footer { background: var(--gray-900); color: var(--gray-300); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-logo .logo-img { width: 42px; height: 42px; }
.footer-logo .logo-cn { color: var(--white); font-size: 15px; }
.footer-logo .logo-en { color: var(--green-400); }
.footer-desc { font-size: 14px; line-height: 1.9; opacity: 0.7; }
.footer-links h4, .footer-newsletter h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 22px; }
.footer-links ul { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-size: 14px; color: var(--gray-400); transition: var(--transition); }
.footer-links a:hover { color: var(--green-400); transform: translateX(4px); display: inline-block; }
.footer-newsletter p { font-size: 14px; opacity: 0.7; margin-bottom: 18px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm); color: var(--white); font-size: 14px; transition: var(--transition);
}
.newsletter-form input::placeholder { color: var(--gray-500); }
.newsletter-form input:focus { outline: none; border-color: var(--green-500); background: rgba(255, 255, 255, 0.1); }
.newsletter-form button {
  padding: 12px 22px; background: var(--green-500); color: var(--white);
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--green-400); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; font-size: 13px; opacity: 0.55; }
.footer-social { display: flex; gap: 24px; }
.social-link { transition: var(--transition); }
.social-link:hover { color: var(--green-400); }

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== Parallax ===== */
.parallax { will-change: transform; transition: transform 0.1s linear; }

/* ===== 3D Tilt ===== */
.tilt-card { transform-style: preserve-3d; transition: transform 0.3s ease; }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 2000;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  width: 0%; transition: width 0.1s;
  box-shadow: 0 0 10px rgba(77, 184, 122, 0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(77, 184, 122, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s, box-shadow 0.3s;
}
.back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(77, 184, 122, 0.55);
}
.back-to-top svg { width: 22px; height: 22px; }

/* ===== Section Entrance Enhancements ===== */
.section {
  position: relative;
}
.section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 184, 122, 0.3), transparent);
}
.about, .solutions, .business {
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-50) 50%, var(--cream) 100%);
}
.products { background: var(--cream); }
.monitoring {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(123, 196, 127, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(43, 168, 158, 0.06), transparent 50%),
    var(--cream);
}
.data-center {
  background:
    linear-gradient(180deg, var(--green-50) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.data-center::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43, 168, 158, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 168, 158, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* ===== Card Hover Lift ===== */
.solution-card, .business-card, .product-card, .platform-card, .stat-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.solution-card:hover, .business-card:hover, .product-card:hover, .platform-card:hover {
  transform: translateY(-10px);
}
.stat-card:hover {
  transform: translateY(-6px) scale(1.02);
}

/* ===== Image Reveal ===== */
.business-img, .product-img, .monitoring-img {
  overflow: hidden; position: relative;
}
.business-img img, .product-img img, .monitoring-img img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.business-card:hover .business-img img,
.product-card:hover .product-img img,
.monitoring:hover .monitoring-img img {
  transform: scale(1.08);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-canvas { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .monitoring-showcase { grid-template-columns: 1fr; gap: 40px; }
  .sensor-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-row, .dashboard-row.three-col { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .platform-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-menu {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 20px; gap: 4px;
    box-shadow: 0 20px 60px rgba(31, 138, 127, 0.1);
    transform: translateY(-120%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: 14px 18px; font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
  .hero { padding: 110px 24px 70px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .hero-meta { flex-direction: column; gap: 20px; padding: 24px; width: 100%; max-width: 320px; }
  .meta-divider { width: 40px; height: 1px; }
  .hero-side-decor { display: none; }
  .hero-decor .shape-5 { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .sensor-grid { grid-template-columns: 1fr 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .dashboard-header { flex-direction: column; gap: 14px; align-items: flex-start; }
  .platform-status-bar { flex-direction: column; align-items: flex-start; }
  .status-grid { flex-direction: column; gap: 10px; }
  .platform-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .p-stat-value { font-size: 36px; }
  .data-dashboard { padding: 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .about-stats { grid-template-columns: 1fr; }
  .sensor-grid { grid-template-columns: 1fr; }
  .p-stat-value { font-size: 28px; }
  .stat-value { font-size: 30px; }
}

/* ===== AI 助手悬浮球 ===== */
.ai-floating-ball {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4db87a, #2ba89e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(77, 184, 122, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-floating-ball:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(77, 184, 122, 0.5);
}
.ai-floating-ball svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.ai-ball-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(77, 184, 122, 0.4);
  animation: aiPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes aiPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== AI 聊天面板 ===== */
.ai-chat-panel {
  position: fixed;
  bottom: 110px;
  right: 32px;
  width: 380px;
  height: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ai-chat-panel.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #4db87a, #2ba89e);
  color: #fff;
}
.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}
.ai-chat-title svg {
  width: 28px;
  height: 28px;
}
.ai-chat-close {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ai-chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 消息区域 */
.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8faf9;
}
.ai-chat-messages::-webkit-scrollbar { width: 6px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: #d0d5d3; border-radius: 3px; }

.ai-msg {
  margin-bottom: 12px;
  animation: aiMsgIn 0.3s ease;
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-msg-user {
  display: flex;
  justify-content: flex-end;
}
.ai-msg-content {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ai-msg-user .ai-msg-content {
  background: linear-gradient(135deg, #4db87a, #2ba89e);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg-nova {
  display: flex;
  gap: 8px;
}
.ai-msg-nova .ai-msg-content {
  background: #fff;
  color: #2d3a35;
  border: 1px solid #e0e8e4;
  border-bottom-left-radius: 4px;
}
.ai-msg-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #4db87a, #2ba89e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-msg-avatar svg {
  width: 20px;
  height: 20px;
}
.ai-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e0e8e4;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.ai-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4db87a;
  animation: aiTyping 1.4s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* 建议问题 */
.ai-chat-suggestions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid #eee;
  overflow-x: auto;
}
.ai-chat-suggestions::-webkit-scrollbar { display: none; }
.ai-suggestion {
  flex-shrink: 0;
  padding: 6px 14px;
  background: #e8f5ee;
  border: 1px solid #c5e3d1;
  border-radius: 20px;
  color: #2ba89e;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ai-suggestion:hover {
  background: #4db87a;
  color: #fff;
}

/* 输入区域 */
.ai-chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #eee;
}
.ai-chat-input textarea {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e0e8e4;
  border-radius: 24px;
  background: #f8faf9;
  resize: none;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  max-height: 80px;
  line-height: 1.4;
}
.ai-chat-input textarea:focus {
  border-color: #4db87a;
}
.ai-chat-input textarea::placeholder {
  color: #a0aaa6;
}
.ai-chat-send {
  width: 40px;
  height: 40px;
  border: none;
  background: linear-gradient(135deg, #4db87a, #2ba89e);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.ai-chat-send:hover:not(:disabled) {
  transform: scale(1.05);
}
.ai-chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ai-chat-send svg {
  width: 18px;
  height: 18px;
}

/* 闪烁光标 */
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 16px;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #4db87a;
  animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 设置按钮 */
.ai-chat-settings {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.ai-chat-settings:hover {
  background: rgba(255, 255, 255, 0.3);
}
.ai-chat-settings:active {
  transform: scale(0.9);
}
.ai-chat-settings svg {
  width: 16px;
  height: 16px;
}

/* 设置弹窗 */
.ai-settings-popover {
  position: absolute;
  top: 64px;
  right: 20px;
  width: 300px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e0e8e4;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(-10px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s 0.2s;
}
.ai-settings-popover.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s 0s;
}
.ai-settings-title {
  font-size: 15px;
  font-weight: 600;
  color: #2d3a35;
  margin: 0 0 4px;
}
.ai-settings-desc {
  font-size: 12px;
  color: #6b7b73;
  margin: 0 0 14px;
  line-height: 1.5;
}
.ai-settings-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #4db87a;
  margin-bottom: 6px;
}
.ai-settings-input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: #f8faf9;
  border: 1px solid #e0e8e4;
  border-radius: 8px;
  color: #2d3a35;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.ai-settings-input:focus {
  border-color: #4db87a;
  box-shadow: 0 0 0 3px rgba(77, 184, 122, 0.15);
}
.ai-settings-input::placeholder {
  color: #a0aaa6;
}
.ai-settings-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.ai-settings-actions button {
  flex: 1;
  height: 38px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-btn-primary {
  background: linear-gradient(135deg, #4db87a, #2ba89e);
  color: #fff;
}
.ai-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(77, 184, 122, 0.3);
}
.ai-btn-ghost {
  background: #f8faf9;
  color: #6b7b73;
  border: 1px solid #e0e8e4;
}
.ai-btn-ghost:hover {
  background: #e8f5ee;
  color: #2ba89e;
}
.ai-settings-status {
  margin-top: 10px;
  font-size: 12px;
  color: #4db87a;
  min-height: 16px;
}
.ai-settings-status.error {
  color: #e74c3c;
}

/* 响应式 */
@media (max-width: 480px) {
  .ai-floating-ball {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .ai-floating-ball svg {
    width: 30px;
    height: 30px;
  }
  .ai-chat-panel {
    bottom: 90px;
    right: 16px;
    left: 16px;
    width: auto;
    height: 70vh;
  }
}
