/* ============================================
   华拓高科 企业官网 (科技感版)
   ============================================ */

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

:root {
  --bg-white: #ffffff;
  --bg-light: #f2f6fe;
  --bg-section: #f2f6fe;
  --bg-section-alt: #e8effb;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f6ff;
  --bg-dropdown: #ffffff;
  --bg-input: #ffffff;
  --border: rgba(0,0,0,.05);
  --border-light: rgba(0,102,255,.15);
  --text-primary: #0a1628;
  --text-secondary: #3a5670;
  --text-muted: #8aa0c0;
  --accent: #0066FF;
  --accent-hover: #0052CC;
  --accent-light: #e6f0ff;
  --accent-glow: rgba(0,102,255,.08);
  --accent-strong: rgba(0,102,255,.18);
  --gradient-hero: linear-gradient(145deg, #edf4ff 0%, #e0ecff 35%, #f0f6ff 70%, #f5f8ff 100%);
  --gradient-accent: linear-gradient(135deg, #0066FF, #0044CC);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --nav-height: 110px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--text-primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TECH DECORATIONS ===== */
.particles {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent); opacity: .12;
  animation: float-particle linear infinite;
}
.particle:nth-child(1) { width: 6px; height: 6px; left: 10%; top: 20%; animation-duration: 18s; }
.particle:nth-child(2) { width: 4px; height: 4px; left: 85%; top: 15%; animation-duration: 22s; animation-delay: 2s; opacity: .08; }
.particle:nth-child(3) { width: 8px; height: 8px; left: 60%; top: 70%; animation-duration: 20s; animation-delay: 4s; opacity: .06; }
.particle:nth-child(4) { width: 3px; height: 3px; left: 30%; top: 80%; animation-duration: 25s; animation-delay: 1s; }
.particle:nth-child(5) { width: 5px; height: 5px; left: 70%; top: 40%; animation-duration: 16s; animation-delay: 3s; opacity: .07; }
.particle:nth-child(6) { width: 4px; height: 4px; left: 20%; top: 55%; animation-duration: 19s; animation-delay: 5s; opacity: .09; }
@keyframes float-particle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: var(--opacity, .1); }
  90% { opacity: var(--opacity, .1); }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}
.glow-orb {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(60px);
}
.glow-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,.08), transparent 70%);
  top: -100px; right: -100px;
  animation: orb-float 8s ease-in-out infinite alternate;
}
.glow-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,68,204,.06), transparent 70%);
  bottom: -50px; left: -50px;
  animation: orb-float 10s ease-in-out infinite alternate-reverse;
}
@keyframes orb-float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, -20px); } }
.tech-line {
  position: absolute; z-index: 0; pointer-events: none;
  height: 1px; background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  opacity: .4;
}
.tech-line-1 { width: 200px; top: 30%; right: 10%; transform: rotate(-15deg); }
.tech-line-2 { width: 120px; top: 60%; left: 5%; transform: rotate(25deg); }
.tech-grid {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.tech-grid::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,102,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: grid-shift 20s linear infinite;
}
@keyframes grid-shift { 0% { transform: translateY(0); } 100% { transform: translateY(56px); } }
.tech-grid::after {
  content: ''; position: absolute;
  top: 20%; left: 50%; width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,.04) 0%, transparent 60%);
  transform: translateX(-50%);
}
.hero-bg-svg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
}
.hero-bg-svg img { width: 100%; height: 100%; object-fit: cover; }
.corner-bracket {
  position: absolute; width: 20px; height: 20px; pointer-events: none; opacity: .15; z-index: 0;
}
.corner-bracket::before { content: ''; position: absolute; width: 100%; height: 2px; background: var(--accent); }
.corner-bracket::after { content: ''; position: absolute; width: 2px; height: 100%; background: var(--accent); }
.corner-bracket.tl { top: -6px; left: -6px; }
.corner-bracket.tl::before { top: 0; left: 0; }
.corner-bracket.tl::after { top: 0; left: 0; }
.corner-bracket.br { bottom: -6px; right: -6px; }
.corner-bracket.br::before { bottom: 0; right: 0; }
.corner-bracket.br::after { bottom: 0; right: 0; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo-wrap { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.logo-img { height: 100px; width: auto; border-radius: 4px; object-fit: contain; display: block; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: 1px; }
.logo-text span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav-link {
  display: flex; align-items: center; height: 100%;
  padding: 0 18px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); transition: var(--transition); white-space: nowrap;
  position: relative;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); font-weight: 600; }
.nav-dropdown { position: static; }
.nav-drop-trigger svg { transition: transform .25s ease; }
.nav-dropdown:hover .nav-drop-trigger svg { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute; top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-dropdown); border-bottom: 2px solid var(--accent);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .25s ease; z-index: 999;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
  max-height: 0; overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0); max-height: 500px;
}
.mega-inner { display: flex; gap: 40px; padding: 30px 40px; max-width: 1200px; margin: 0 auto; }
.mega-desc { flex: 0 0 220px; }
.mega-desc h3 { font-size: 15px; color: var(--accent); margin-bottom: 4px; }
.mega-desc p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.mega-links { display: flex; gap: 40px; flex: 1; }
.mega-col { min-width: 140px; }
.mega-col h4 { font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; text-transform: uppercase; }
.mega-col a { display: block; font-size: 13px; color: var(--text-secondary); padding: 5px 0; transition: var(--transition); }
.mega-col a:hover { color: var(--accent); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 1px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); position: relative;
  overflow: hidden; padding-top: var(--nav-height);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  position: relative; z-index: 2; padding-top: 40px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 4px;
  font-size: 15px; color: var(--accent); margin-bottom: 20px;
  background: var(--accent-glow); font-weight: 600;
  border: 1px solid rgba(0,102,255,.08);
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero-title { margin-bottom: 20px; }
.hero-title-sub {
  display: block; font-size: 13px; color: var(--text-muted);
  margin-bottom: 8px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}
.hero-title-main {
  display: block; font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800; line-height: 1.08; color: var(--text-primary);
  letter-spacing: -1px;
}
.hero-title-main em {
  font-style: normal; background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; max-width: 480px; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 6px; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: var(--transition);
  border: none; font-family: inherit;
}
.btn-primary { background: var(--gradient-accent); color: var(--text-primary); box-shadow: 0 4px 16px rgba(0,102,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,102,255,.4); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid rgba(0,102,255,.2); }
.btn-outline:hover { background: var(--accent-glow); border-color: var(--accent); transform: translateY(-2px); }

.hero-right { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
.hero-right-title {
  font-size: 48px; font-weight: 900; color: var(--text-primary);
  letter-spacing: 3px; text-align: center;
  white-space: nowrap;
  padding: 0 0 20px 0;
}
.hero-stats-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,102,255,.08);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 360px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,102,255,.06);
  position: relative;
}
.hero-stat { text-align: center; padding: 30px 16px; border-right: 1px solid rgba(0,102,255,.06); border-bottom: 1px solid rgba(0,102,255,.06); }
.hero-stat:nth-child(2n) { border-right: none; }
.hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
.hero-stat-num { font-size: 38px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

.hero-features {
  display: flex; justify-content: center; gap: 36px; margin-top: 60px; flex-wrap: wrap;
}
.hf-item {
  font-size: 15px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: rgba(255,255,255,.5);
  border-radius: 20px; border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.hf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-muted);
  animation: float 2s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-overline {
  display: inline-block; font-size: 11px; color: var(--accent);
  letter-spacing: 4px; margin-bottom: 10px; font-weight: 600; text-transform: uppercase;
}
.section-title { font-size: 34px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px 24px; border: 1px solid var(--border);
  transition: var(--transition);
}
.about-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px var(--accent-glow); transform: translateY(-4px); }
.about-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gradient-accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--text-primary); box-shadow: 0 4px 12px rgba(0,102,255,.2);
}
.about-card h3 { font-size: 16px; margin-bottom: 10px; }
.about-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== PRODUCTS ===== */
.products { background: var(--bg-section); }
.product-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap;
}
.prod-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--bg-white); font-size: 14px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer; transition: var(--transition);
  font-family: inherit;
}
.prod-tab:hover { border-color: var(--accent); color: var(--accent); }
.prod-tab.active { background: var(--gradient-accent); color: var(--text-primary); border-color: var(--accent); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.prod-card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: var(--transition);
}
.prod-card:hover { border-color: var(--accent); box-shadow: 0 12px 40px var(--accent-glow); transform: translateY(-4px); }
.prod-img-wrap {
  width: 100%; height: 340px; overflow: hidden;
  background: var(--bg-light); display: flex; align-items: center; justify-content: center;
}
.prod-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.prod-card:hover .prod-img-wrap img { transform: scale(1.03); }
.prod-card-body { padding: 20px 24px 24px; }
.prod-card-body h4 { font-size: 17px; margin-bottom: 10px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.prod-specs span { font-size: 12px; color: var(--accent); background: var(--accent-glow); padding: 3px 10px; border-radius: 4px; font-weight: 500; }
.prod-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.prod-apps { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-apps span { font-size: 12px; color: var(--text-secondary); background: var(--accent-light); padding: 3px 12px; border-radius: 4px; }
.prod-apps-label { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.prod-section { display: none; }
.prod-section.active { display: block; }

/* ===== STATS ===== */
.stats { background: var(--bg-section-alt); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 28px 20px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.stat-item:hover { border-color: var(--accent); box-shadow: 0 8px 24px var(--accent-glow); }
.stat-num { font-size: 44px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 14px; color: var(--text-muted); letter-spacing: 1px; }

/* ===== SERVICES ===== */
.services { background: var(--bg-section); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px 24px; border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px var(--accent-glow); transform: translateY(-4px); }
.svc-icon { color: var(--accent); margin-bottom: 16px; }
.service-card h4 { font-size: 15px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--bg-light); border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.contact-item:hover { border-color: var(--accent-glow); }
.contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-item h5 { font-size: 13px; margin-bottom: 4px; color: var(--text-muted); }
.contact-item p { font-size: 15px; color: var(--text-secondary); }

.contact-form { background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-form h4 { font-size: 18px; margin-bottom: 20px; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row input { flex: 1; padding: 11px 14px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; color: var(--text-primary); font-family: inherit; transition: var(--transition); }
.form-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.contact-form textarea { width: 100%; padding: 11px 14px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; resize: vertical; color: var(--text-primary); font-family: inherit; margin-bottom: 12px; transition: var(--transition); }
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.contact-form .btn { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
.footer { background: linear-gradient(145deg, #e0ecff, #c5d9fa, #b0cef5); padding: 60px 0 30px; color: var(--text-primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h4 { font-size: 16px; color: var(--text-primary); margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: var(--text-secondary); }
.footer-tagline { margin-top: 8px; }
.footer-links h5 { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase; }
.footer-links a { display: block; font-size: 13px; color: var(--text-secondary); padding: 4px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); }
.footer-contact p { font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-dropdown); padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); height: auto; overflow-y: auto; gap: 4px; }
  .nav-link { height: auto; padding: 12px 16px; }
  .menu-toggle { display: flex; }
  .hero { flex-direction: column; }
  .hero-grid { display: flex; flex-direction: column; text-align: center; gap: 24px; }
  .hero-right { order: -1; }
  .hero-left { order: 0; }
  .hero-btns { justify-content: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-stats-box { max-width: 280px; margin: 0 auto; }
  .hero-right-title { font-size: 18px; white-space: nowrap; }
  .hero-features { gap: 20px; margin-top: auto; padding-bottom: 24px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-inner { flex-direction: column; gap: 20px; }
  .mega-desc { flex: none; }
  .mega-links { flex-wrap: wrap; gap: 20px; }
  .nav-dropdown-panel { position: static; box-shadow: none; max-height: none; opacity: 1; visibility: visible; transform: none; border-bottom: none; display: none; }
  .nav-dropdown:hover .nav-dropdown-panel { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-grid { grid-template-columns: 1fr; }
}

/* Small mobile fix */
@media (max-width: 480px) {
  .hero { min-height: 100dvh; padding: 80px 0 0; flex-direction: column; }
  .hero-grid { padding-top: 0; gap: 16px; flex-shrink: 0; }
  .hero-right-title { font-size: 20px; white-space: nowrap; }
  .hero-features { gap: 8px; margin-top: auto; padding-bottom: 20px; }
  .hf-item { font-size: 11px; padding: 5px 10px; }
  .hero-stat-num { font-size: 22px; }
  .hero-stats-box { max-width: 220px; }
  .hero-stat { padding: 12px 8px; }
  .hero-title-main { font-size: 22px; }
  .hero-title-sub { font-size: 11px; }
  .hero-desc { font-size: 13px; margin-bottom: 16px; }
  .hero-scroll { display: none; }
  .logo-img { height: 60px; }
  .header { height: 70px; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
}

/* ===== ANIMATIONS ===== */
.about-card, .service-card, .prod-card, .stat-item { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.about-card.animated, .service-card.animated, .prod-card.animated, .stat-item.animated { opacity: 1; transform: translateY(0); }

/* ===== TO TOP ===== */
.to-top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gradient-accent); color: var(--text-primary); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,102,255,.3);
}
.to-top-btn.show { opacity: 1; visibility: visible; }
.to-top-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,102,255,.4); }

/* ===== CHAT ===== */
.chat-btn {
  position: fixed; bottom: 24px; right: 80px; z-index: 999;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-accent); color: var(--text-primary); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,102,255,.3);
  transition: var(--transition);
}
.chat-btn:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 6px 28px rgba(0,102,255,.4); }
.chat-btn svg { width: 22px; height: 22px; }
.chat-window {
  position: fixed; bottom: 80px; right: 24px; z-index: 999;
  width: 320px; max-height: 420px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12); overflow: hidden;
  display: none; flex-direction: column; border: 1px solid var(--border);
}
.chat-window.open { display: flex; }
.chat-head { background: var(--gradient-accent); color: var(--text-primary); padding: 12px 16px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.chat-close { cursor: pointer; opacity: .7; font-size: 16px; }
.chat-close:hover { opacity: 1; }
.chat-msgs { flex: 1; padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 200px; max-height: 280px; }
.chat-msg { max-width: 85%; padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--bg-light); color: var(--text-primary); }
.chat-msg.user { align-self: flex-end; background: var(--accent); color: var(--text-primary); }
.chat-input-row { display: flex; border-top: 1px solid var(--border); }
.chat-input { flex: 1; border: none; padding: 12px; font-size: 13px; outline: none; font-family: inherit; }
.chat-send { background: var(--accent); color: var(--text-primary); border: none; padding: 0 16px; cursor: pointer; font-size: 13px; font-weight: 600; }
.chat-send:hover { background: var(--accent-hover); }

.hero-desc-line1 { display: block; font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.hero-desc-line2 { display: block; font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.zh-nowrap { white-space: nowrap; }
.hero-title-main em .zh-nowrap { white-space: nowrap; }

