/* ============================================================
   FastBee AIoT – Design System & Styles
   Dark-first tech theme with blue accent
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors – Dark Theme (Default) */
  --bg-primary: 222 47% 6%;
  --bg-secondary: 222 40% 9%;
  --bg-tertiary: 222 35% 12%;
  --bg-card: 222 35% 11%;
  --bg-card-hover: 222 32% 14%;
  --border-primary: 222 25% 18%;
  --border-secondary: 222 20% 24%;
  --text-primary: 0 0% 96%;
  --text-secondary: 220 10% 68%;
  --text-tertiary: 220 8% 48%;
  --accent: 217 91% 60%;
  --accent-hover: 217 91% 54%;
  --accent-muted: 217 60% 20%;
  --accent-subtle: 217 60% 12%;
  --success: 142 70% 50%;
  --warning: 38 92% 50%;
  --danger: 0 72% 51%;
  --gradient-accent: linear-gradient(135deg, hsl(217 91% 60%), hsl(250 80% 60%));
  --gradient-card: linear-gradient(135deg, hsl(222 35% 13%), hsl(222 35% 10%));
  --gradient-hero: radial-gradient(ellipse at 50% 0%, hsla(217, 91%, 60%, 0.12) 0%, transparent 60%);
  --shadow-sm: 0 1px 3px hsla(0,0%,0%,.3);
  --shadow-md: 0 4px 14px hsla(0,0%,0%,.4);
  --shadow-lg: 0 8px 30px hsla(0,0%,0%,.5);
  --shadow-glow: 0 0 30px hsla(217, 91%, 60%, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: 0 0% 98%;
  --bg-secondary: 220 14% 96%;
  --bg-tertiary: 220 14% 93%;
  --bg-card: 0 0% 100%;
  --bg-card-hover: 220 14% 97%;
  --border-primary: 220 13% 91%;
  --border-secondary: 220 13% 86%;
  --text-primary: 222 47% 11%;
  --text-secondary: 220 8% 46%;
  --text-tertiary: 220 8% 62%;
  --accent: 217 91% 55%;
  --accent-hover: 217 91% 48%;
  --accent-muted: 217 60% 90%;
  --accent-subtle: 217 60% 95%;
  --gradient-card: linear-gradient(135deg, hsl(0 0% 100%), hsl(220 14% 97%));
  --gradient-hero: radial-gradient(ellipse at 50% 0%, hsla(217, 91%, 55%, 0.08) 0%, transparent 60%);
  --shadow-sm: 0 1px 3px hsla(0,0%,0%,.06);
  --shadow-md: 0 4px 14px hsla(0,0%,0%,.08);
  --shadow-lg: 0 8px 30px hsla(0,0%,0%,.12);
  --shadow-glow: 0 0 30px hsla(217, 91%, 55%, 0.08);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: hsl(var(--bg-primary));
  color: hsl(var(--text-primary));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: hsl(var(--accent)); text-decoration: none; transition: color var(--transition); }
a:hover { color: hsl(var(--accent-hover)); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 13px 28px; font-size: 0.95rem; }
.btn-accent {
  background: var(--gradient-accent); color: #fff;
  box-shadow: 0 2px 12px hsla(217, 91%, 60%, 0.3);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 4px 20px hsla(217, 91%, 60%, 0.4); color: #fff; }
.btn-ghost {
  background: hsla(0,0%,100%,0.06); color: hsl(var(--text-primary));
  border: 1px solid hsl(var(--border-secondary));
}
.btn-ghost:hover { background: hsla(0,0%,100%,0.1); color: hsl(var(--text-primary)); }
[data-theme="light"] .btn-ghost { background: hsla(0,0%,0%,0.04); border-color: hsl(var(--border-primary)); }
[data-theme="light"] .btn-ghost:hover { background: hsla(0,0%,0%,0.07); }

/* ---------- Section Shared ---------- */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent-muted));
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.section-title { margin-bottom: 12px; }
.section-desc { color: hsl(var(--text-secondary)); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: hsla(var(--bg-primary), 0.8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border-primary));
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 32px; width: auto; transition: filter var(--transition); }
[data-theme="light"] .logo img { filter: brightness(0) saturate(100%); opacity: 0.85; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: hsl(var(--text-primary)); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500;
  color: hsl(var(--text-secondary)); transition: all var(--transition); text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: hsl(var(--accent)); background: hsl(var(--accent-subtle)); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-contact {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 600; color: #fff !important; text-decoration: none;
  background: #07c160; border-radius: var(--radius-sm);
  transition: all var(--transition); white-space: nowrap;
}
.nav-contact svg { flex-shrink: 0; fill: #fff; }
.nav-contact:hover { background: #06ad56; transform: translateY(-1px); }
.mobile-menu .nav-link-wechat {
  display: inline-flex; align-items: center; gap: 6px;
  color: hsl(var(--accent)); font-weight: 600;
}
.mobile-menu .nav-link-wechat svg { flex-shrink: 0; }
.lang-toggle, .theme-toggle {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  background: transparent; color: hsl(var(--text-secondary));
  transition: all var(--transition);
}
.lang-toggle:hover, .theme-toggle:hover { background: hsl(var(--accent-subtle)); color: hsl(var(--accent)); }
.mobile-toggle {
  display: none; width: 36px; height: 36px; border: none; background: transparent;
  cursor: pointer; position: relative;
}
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after {
  display: block; width: 20px; height: 2px; background: hsl(var(--text-primary));
  border-radius: 2px; transition: all var(--transition);
}
.mobile-toggle span::before, .mobile-toggle span::after {
  content: ''; position: absolute; left: 8px;
}
.mobile-toggle span::before { top: 10px; }
.mobile-toggle span::after { bottom: 10px; }
.mobile-toggle.active span { background: transparent; }
.mobile-toggle.active span::before { top: 17px; transform: rotate(45deg); }
.mobile-toggle.active span::after { bottom: 17px; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: hsl(var(--bg-secondary));
  border-bottom: 1px solid hsl(var(--border-primary));
  padding: 16px 24px; flex-direction: column; gap: 4px;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-menu.open { max-height: 400px; padding: 16px 24px; display: flex; }
.mobile-menu .nav-link { padding: 10px 16px; font-size: 0.95rem; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: hsl(var(--bg-primary));
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(hsla(var(--border-primary), 0.3) 1px, transparent 1px),
    linear-gradient(90deg, hsla(var(--border-primary), 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px; z-index: 1;
  background: radial-gradient(ellipse, hsla(217, 91%, 60%, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-accent {
  position: absolute; top: 10%; right: 15%; width: 300px; height: 300px; z-index: 1;
  background: radial-gradient(circle, hsla(250, 80%, 60%, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent-muted));
  margin-bottom: 28px; letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--success)); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-title .brand {
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.08rem; color: hsl(var(--text-secondary)); line-height: 1.75;
  max-width: 640px; margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 24px; border-radius: var(--radius-lg);
  background: hsla(var(--bg-card), 0.6); border: 1px solid hsl(var(--border-primary));
  margin-bottom: 32px;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 1.5rem; font-weight: 800; color: hsl(var(--accent));
  margin-bottom: 2px;
}
.hero-stat-label { font-size: 0.78rem; color: hsl(var(--text-tertiary)); font-weight: 500; }
.hero-protocols { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.protocol-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  background: hsla(var(--bg-tertiary), 0.8); border: 1px solid hsl(var(--border-primary));
  color: hsl(var(--text-secondary));
}
.protocol-chip .dot {
  width: 4px; height: 4px; border-radius: 50%; background: hsl(var(--accent));
}

/* ============================================================
   CARDS (Feature Cards)
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--gradient-card); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition); position: relative; overflow: hidden;
}
.card:hover {
  border-color: hsl(var(--border-secondary));
  transform: translateY(-2px); box-shadow: var(--shadow-glow);
}
.card.accent { border-color: hsl(var(--accent-muted)); }
.card.accent:hover { border-color: hsl(var(--accent)); }
.card-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); margin-bottom: 16px;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
}
.card.accent .card-icon { background: hsla(217, 91%, 60%, 0.15); }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 0.88rem; color: hsl(var(--text-secondary)); line-height: 1.6; }

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.ecosystem-section { background: hsl(var(--bg-secondary)); }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.eco-card:hover { border-color: hsl(var(--border-secondary)); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.eco-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.eco-card-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.eco-icon-platform { background: hsla(217, 91%, 60%, 0.12); color: hsl(217, 91%, 60%); }
.eco-icon-visual { background: hsla(142, 70%, 50%, 0.12); color: hsl(142, 70%, 50%); }
.eco-icon-auto { background: hsla(38, 92%, 50%, 0.12); color: hsl(38, 92%, 50%); }
.eco-icon-mobile { background: hsla(280, 70%, 55%, 0.12); color: hsl(280, 70%, 55%); }
.eco-icon-embed { background: hsla(0, 72%, 51%, 0.12); color: hsl(0, 72%, 51%); }
.eco-icon-video { background: hsla(210, 75%, 55%, 0.12); color: hsl(210, 75%, 55%); }
.eco-tag {
  font-size: 0.7rem; font-weight: 600; padding: 2px 8px;
  border-radius: 999px; letter-spacing: 0.02em;
}
.eco-tag-core { background: hsla(217, 91%, 60%, 0.12); color: hsl(217, 91%, 60%); }
.eco-tag-visual { background: hsla(142, 70%, 50%, 0.12); color: hsl(142, 70%, 50%); }
.eco-tag-auto { background: hsla(38, 92%, 50%, 0.12); color: hsl(38, 92%, 50%); }
.eco-tag-mobile { background: hsla(280, 70%, 55%, 0.12); color: hsl(280, 70%, 55%); }
.eco-tag-embed { background: hsla(0, 72%, 51%, 0.12); color: hsl(0, 72%, 51%); }
.eco-tag-video { background: hsla(210, 75%, 55%, 0.12); color: hsl(210, 75%, 55%); }
.eco-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.eco-card-desc { font-size: 0.85rem; color: hsl(var(--text-secondary)); line-height: 1.55; }

/* ============================================================
   VISUALIZATION
   ============================================================ */
.vis-section { background: hsl(var(--bg-primary)); }
.vis-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.vis-card {
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-lg); overflow: hidden; padding: 24px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
}
.vis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--border-secondary));
}
.vis-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.vis-card-num {
  font-size: 1.1rem; font-weight: 800; color: hsl(var(--accent));
  font-variant-numeric: tabular-nums;
}
.vis-card-title { font-size: 0.95rem; font-weight: 700; color: hsl(var(--text-primary)); }
.vis-card-desc {
  font-size: 0.82rem; color: hsl(var(--text-secondary)); line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vis-card-img {
  border-radius: var(--radius-md); overflow: hidden; flex: 1;
  border: 1px solid hsl(var(--border-primary));
}
.vis-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.vis-card:hover .vis-card-img img { transform: scale(1.03); }

/* ============================================================
   PROTOCOLS & ARCHITECTURE
   ============================================================ */
.proto-section { background: hsl(var(--bg-secondary)); }
.proto-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px;
}
.proto-card {
  text-align: center; padding: 24px 16px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.proto-card:hover { border-color: hsl(var(--accent-muted)); transform: translateY(-2px); }
.proto-icon {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 10px; border-radius: var(--radius-md); margin-bottom: 8px;
  display: inline-block;
}
.proto-icon-mqtt { background: hsla(217, 91%, 60%, 0.12); color: hsl(217, 91%, 60%); }
.proto-icon-tcp { background: hsla(142, 70%, 50%, 0.12); color: hsl(142, 70%, 50%); }
.proto-icon-modbus { background: hsla(38, 92%, 50%, 0.12); color: hsl(38, 92%, 50%); }
.proto-icon-coap { background: hsla(280, 70%, 55%, 0.12); color: hsl(280, 70%, 55%); }
.proto-icon-http { background: hsla(0, 72%, 51%, 0.12); color: hsl(0, 72%, 51%); }
.proto-icon-jt808 { background: hsla(190, 80%, 45%, 0.12); color: hsl(190, 80%, 45%); }
.proto-icon-ble { background: hsla(210, 80%, 55%, 0.12); color: hsl(210, 80%, 55%); }
.proto-icon-gb { background: hsla(330, 70%, 50%, 0.12); color: hsl(330, 70%, 50%); }
.proto-label { font-size: 0.78rem; color: hsl(var(--text-secondary)); }

/* Architecture */
.arch-box {
  padding: 32px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
}
.arch-title { font-size: 1.1rem; font-weight: 700; text-align: center; margin-bottom: 24px; }
.arch-layers { display: flex; flex-direction: column; gap: 12px; }
.arch-layer {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px;
  border-radius: var(--radius-md); border: 1px solid hsl(var(--border-primary));
}
.arch-layer-label {
  font-size: 0.78rem; font-weight: 700; min-width: 60px; letter-spacing: 0.04em;
}
.arch-layer-app { background: hsla(217, 91%, 60%, 0.06); border-color: hsla(217, 91%, 60%, 0.2); }
.arch-layer-app .arch-layer-label { color: hsl(217, 91%, 60%); }
.arch-layer-service { background: hsla(142, 70%, 50%, 0.06); border-color: hsla(142, 70%, 50%, 0.2); }
.arch-layer-service .arch-layer-label { color: hsl(142, 70%, 50%); }
.arch-layer-connect { background: hsla(38, 92%, 50%, 0.06); border-color: hsla(38, 92%, 50%, 0.2); }
.arch-layer-connect .arch-layer-label { color: hsl(38, 92%, 50%); }
.arch-layer-device { background: hsla(280, 70%, 55%, 0.06); border-color: hsla(280, 70%, 55%, 0.2); }
.arch-layer-device .arch-layer-label { color: hsl(280, 70%, 55%); }
.arch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-chips span {
  font-size: 0.75rem; padding: 3px 10px; border-radius: 999px;
  background: hsla(0,0%,100%,0.05); color: hsl(var(--text-secondary));
  border: 1px solid hsl(var(--border-primary));
}
[data-theme="light"] .arch-chips span { background: hsla(0,0%,0%,0.03); }

/* ============================================================
   HARDWARE & EMBEDDED
   ============================================================ */
.hw-section { background: hsl(var(--bg-primary)); }
.hw-embed-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.hw-embed-card {
  text-align: center; padding: 24px 16px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.hw-embed-card:hover { border-color: hsl(var(--accent-muted)); }
.hw-embed-icon {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
}
.hw-embed-card h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.hw-embed-card p { font-size: 0.8rem; color: hsl(var(--text-secondary)); }

.hwprod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hwprod-card {
  position: relative; height: 200px; border-radius: var(--radius-lg); overflow: hidden;
  background-size: cover; background-position: center;
  transition: all var(--transition); cursor: pointer;
}
.hwprod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hwprod-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsla(222, 47%, 6%, 0.9) 0%, hsla(222, 47%, 6%, 0.3) 100%);
}
.hwprod-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; z-index: 1;
}
.hwprod-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.hwprod-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hwprod-tags span {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 999px;
  background: hsla(0,0%,100%,0.15); color: hsla(0,0%,100%,0.85);
}

/* ============================================================
   INDUSTRY SOLUTIONS
   ============================================================ */
.ind-section { background: hsl(var(--bg-secondary)); }
.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ind-card {
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--border-secondary));
}
.ind-card-img {
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
}
.ind-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.ind-card:hover .ind-card-img img { transform: scale(1.05); }
.ind-card-body {
  padding: 20px;
}
.ind-card-body h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
  color: hsl(var(--text-primary));
}
.ind-card-body p {
  font-size: 0.85rem; color: hsl(var(--text-secondary));
  line-height: 1.65; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ind-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ind-tags span {
  font-size: 0.75rem; padding: 3px 10px; border-radius: 999px;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent-muted));
}

/* ============================================================
/* ============================================================
   WHY CHOOSE
   ============================================================ */
.why-section { background: hsl(var(--bg-secondary)); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  text-align: center; padding: 32px 20px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.why-card:hover { border-color: hsl(var(--accent-muted)); transform: translateY(-2px); }
.why-icon {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
}
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: hsl(var(--text-secondary)); line-height: 1.55; }

/* ============================================================
   PRICING V2
   ============================================================ */
.pricing-v2-section { background: hsl(var(--bg-primary)); }
.pv2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.pv2-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  display: flex; flex-direction: column; transition: all var(--transition);
}
.pv2-card:hover { border-color: hsl(var(--border-secondary)); }
.pv2-card-featured {
  border-color: hsl(var(--accent-muted));
  background: linear-gradient(135deg, hsla(217, 91%, 60%, 0.06), hsl(var(--bg-card)));
  box-shadow: var(--shadow-glow);
}
.pv2-card-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; margin-bottom: 16px; align-self: flex-start;
}
.pv2-badge-oss { background: hsla(142, 70%, 50%, 0.12); color: hsl(142, 70%, 50%); }
.pv2-badge-comm { background: hsla(217, 91%, 60%, 0.15); color: hsl(217, 91%, 60%); }
.pv2-badge-cluster { background: hsla(280, 70%, 55%, 0.12); color: hsl(280, 70%, 55%); }
.pv2-price-row { display: flex; align-items: baseline; gap: 2px; margin-bottom: 8px; }
.pv2-price-symbol { font-size: 1.1rem; font-weight: 600; color: hsl(var(--text-secondary)); }
.pv2-price { font-size: 2.2rem; font-weight: 800; }
.pv2-card-sub { font-size: 0.85rem; color: hsl(var(--text-secondary)); margin-bottom: 8px; }
.pv2-renew { font-size: 0.78rem; color: hsl(var(--text-tertiary)); margin-bottom: 16px; padding: 6px 0; border-top: 1px solid hsl(var(--border-primary)); }
.pv2-features { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pv2-feat { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: hsl(var(--text-secondary)); }
.pv2-check { color: hsl(var(--success)); font-weight: 700; }
.pv2-card-bottom { margin-top: auto; }
.pv2-note, .pv2-perf {
  display: flex; align-items: center; gap: 6px; font-size: 0.78rem;
  color: hsl(var(--text-tertiary)); margin-bottom: 14px;
}
.pv2-btn-oss, .pv2-btn-comm, .pv2-btn-cluster {
  display: block; width: 100%; text-align: center; padding: 11px 0;
  border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
}
.pv2-btn-oss {
  background: hsl(var(--bg-tertiary)); color: hsl(var(--text-primary));
  border: 1px solid hsl(var(--border-primary));
}
.pv2-btn-oss:hover { border-color: hsl(var(--border-secondary)); color: hsl(var(--text-primary)); }
.pv2-btn-comm { background: var(--gradient-accent); color: #fff; box-shadow: 0 2px 12px hsla(217, 91%, 60%, 0.25); }
.pv2-btn-comm:hover { transform: translateY(-1px); box-shadow: 0 4px 20px hsla(217, 91%, 60%, 0.35); color: #fff; }
.pv2-btn-cluster {
  background: hsla(280, 70%, 55%, 0.1); color: hsl(280, 70%, 55%);
  border: 1px solid hsla(280, 70%, 55%, 0.3);
}
.pv2-btn-cluster:hover { background: hsla(280, 70%, 55%, 0.15); color: hsl(280, 70%, 55%); }

/* Add-on Modules */
.pv2-addon-title { font-size: 1.15rem; font-weight: 700; text-align: center; margin-bottom: 20px; }
.pv2-addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
.pv2-addon-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px;
  border-radius: var(--radius-lg); background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary)); transition: all var(--transition);
}
.pv2-addon-card:hover { border-color: hsl(var(--border-secondary)); }
.pv2-addon-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.pv2-addon-icon-scada { background: hsla(38, 92%, 50%, 0.12); color: hsl(38, 92%, 50%); }
.pv2-addon-icon-speaker { background: hsla(280, 70%, 55%, 0.12); color: hsl(280, 70%, 55%); }
.pv2-addon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pv2-addon-name { font-size: 0.95rem; font-weight: 700; }
.pv2-addon-price { font-size: 0.92rem; font-weight: 700; color: hsl(var(--accent)); }
.pv2-addon-desc { font-size: 0.82rem; color: hsl(var(--text-secondary)); margin-bottom: 4px; }
.pv2-addon-renew { font-size: 0.75rem; color: hsl(var(--text-tertiary)); }

/* Architecture Comparison */
.pv2-compare-title { font-size: 1.15rem; font-weight: 700; text-align: center; margin-bottom: 20px; }
.pv2-compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pv2-compare-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
}
.pv2-compare-accent { border-color: hsl(var(--accent-muted)); }
.pv2-compare-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: hsl(var(--accent)); }
.pv2-compare-header h4 { font-size: 0.95rem; font-weight: 700; color: hsl(var(--text-primary)); }
.pv2-compare-list li {
  font-size: 0.85rem; color: hsl(var(--text-secondary)); padding: 6px 0;
  border-bottom: 1px solid hsl(var(--border-primary)); line-height: 1.5;
}
.pv2-compare-list li:last-child { border-bottom: none; }

/* ============================================================
   FEATURE COMPARISON TABLE
   ============================================================ */
.fcmp-section { background: hsl(var(--bg-secondary)); }
.fcmp-table {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid hsl(var(--border-primary));
}
.fcmp-thead {
  display: grid; grid-template-columns: 1fr 140px 140px;
  background: hsl(var(--bg-card)); border-bottom: 1px solid hsl(var(--border-primary));
}
.fcmp-th {
  padding: 14px 20px; font-size: 0.82rem; font-weight: 700;
  color: hsl(var(--text-secondary)); letter-spacing: 0.04em;
}
.fcmp-th-oss, .fcmp-th-comm { text-align: center; }
.fcmp-group-header {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: hsl(var(--bg-tertiary)); cursor: pointer;
  border-bottom: 1px solid hsl(var(--border-primary));
  transition: background var(--transition);
}
.fcmp-group-header:hover { background: hsl(var(--bg-card-hover)); }
.fcmp-chevron { transition: transform var(--transition); color: hsl(var(--text-tertiary)); }
.fcmp-group.collapsed .fcmp-chevron { transform: rotate(-90deg); }
.fcmp-group-title { font-size: 0.88rem; font-weight: 600; }
.fcmp-group-count { font-size: 0.75rem; color: hsl(var(--text-tertiary)); }
.fcmp-group.collapsed .fcmp-group-body { display: none; }
.fcmp-row {
  display: grid; grid-template-columns: 1fr 140px 140px;
  border-bottom: 1px solid hsl(var(--border-primary));
  transition: background var(--transition);
}
.fcmp-row:hover { background: hsla(var(--bg-card-hover), 0.5); }
.fcmp-row:last-child { border-bottom: none; }
.fcmp-cell { padding: 10px 20px; font-size: 0.85rem; display: flex; align-items: center; }
.fcmp-cell-name { color: hsl(var(--text-secondary)); }
.fcmp-cell-yes { justify-content: center; color: hsl(var(--success)); }
.fcmp-cell-no { justify-content: center; color: hsl(var(--text-tertiary)); opacity: 0.5; }
.fcmp-cell-cluster {
  justify-content: center; font-size: 0.75rem; font-weight: 600;
  color: hsl(280, 70%, 55%);
}

/* ============================================================
   COMMERCIAL SERVICES HUB
   ============================================================ */
.comm-hub-section { background: hsl(var(--bg-primary)); }
.comm-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.comm-tab {
  padding: 9px 18px; border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 600;
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  color: hsl(var(--text-secondary)); cursor: pointer; transition: all var(--transition);
}
.comm-tab:hover { border-color: hsl(var(--border-secondary)); color: hsl(var(--text-primary)); }
.comm-tab.active { background: hsl(var(--accent-subtle)); border-color: hsl(var(--accent-muted)); color: hsl(var(--accent)); }
.comm-panel { display: none; animation: fadeIn 0.3s ease; }
.comm-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.comm-panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.comm-info-card {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  border-radius: var(--radius-md); background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary)); transition: all var(--transition);
}
.comm-info-card:hover { border-color: hsl(var(--border-secondary)); }
.comm-info-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
}
.comm-info-card h4 { font-size: 0.88rem; font-weight: 600; }
.comm-note {
  margin-top: 16px; padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 0.82rem; color: hsl(var(--text-secondary));
  background: hsl(var(--bg-tertiary)); border: 1px solid hsl(var(--border-primary));
}

/* VAS Cards */
.comm-vas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.comm-vas-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.comm-vas-card:hover { border-color: hsl(var(--border-secondary)); }
.comm-vas-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.comm-vas-card p { font-size: 0.82rem; color: hsl(var(--text-secondary)); margin-bottom: 10px; }
.comm-vas-price { font-size: 0.82rem; font-weight: 600; color: hsl(var(--accent)); }

/* Third-Party Notice */
.tp-warning {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px;
  border-radius: var(--radius-md); margin-bottom: 20px;
  background: hsla(38, 92%, 50%, 0.08); border: 1px solid hsla(38, 92%, 50%, 0.2);
}
.tp-warning-icon { flex-shrink: 0; color: hsl(38, 92%, 50%); margin-top: 2px; }
.tp-warning p { font-size: 0.85rem; color: hsl(var(--text-secondary)); line-height: 1.6; }
.tp-scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tp-scope-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
}
.tp-scope-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.tp-scope-header h4 { font-size: 0.95rem; font-weight: 700; }
.tp-scope-included .tp-scope-header { color: hsl(var(--success)); }
.tp-scope-excluded .tp-scope-header { color: hsl(var(--danger)); }
.tp-scope-list li {
  font-size: 0.85rem; color: hsl(var(--text-secondary)); padding: 6px 0;
  border-bottom: 1px dashed hsl(var(--border-primary));
}
.tp-scope-list li:last-child { border-bottom: none; }

/* Credentials */
.cred-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.cred-hl-card {
  text-align: center; padding: 24px 12px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
}
.cred-hl-icon {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--accent-subtle)); color: hsl(var(--accent));
}
.cred-hl-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.cred-hl-card p { font-size: 0.78rem; color: hsl(var(--text-secondary)); }
.cred-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cred-cert-card {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-radius: var(--radius-md); background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary)); transition: all var(--transition);
}
.cred-cert-card:hover { border-color: hsl(var(--accent-muted)); }
.cred-cert-icon { color: hsl(var(--accent)); flex-shrink: 0; }
.cred-cert-card span { font-size: 0.82rem; font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: hsl(var(--bg-secondary)); }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 960px; margin: 0 auto; }
.faq-item {
  border: 1px solid hsl(var(--border-primary)); border-radius: var(--radius-md);
  overflow: hidden; background: hsl(var(--bg-card));
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: hsl(var(--border-secondary)); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border: none; background: transparent; cursor: pointer;
  font-size: 0.92rem; font-weight: 600; color: hsl(var(--text-primary));
  text-align: left; transition: all var(--transition);
}
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); color: hsl(var(--text-tertiary)); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s ease; color: hsl(var(--text-tertiary)); }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-item.active .faq-icon line:first-child { opacity: 0; transition: opacity 0.2s ease; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 20px 16px; font-size: 0.88rem; color: hsl(var(--text-secondary)); line-height: 1.65; }
.faq-answer-inner { padding: 0 20px 16px; font-size: 0.88rem; color: hsl(var(--text-secondary)); line-height: 1.65; }
.faq-answer-inner a { color: hsl(var(--accent)); text-decoration: underline; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: hsl(var(--bg-primary)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card {
  text-align: center; padding: 32px 20px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.contact-card:hover { border-color: hsl(var(--accent-muted)); transform: translateY(-2px); }
.contact-card svg { margin: 0 auto 14px; color: hsl(var(--accent)); }
.contact-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 0.82rem; color: hsl(var(--text-secondary)); }
/* Contact Info */
.contact-info .section-badge { margin-bottom: 16px; }
.contact-title { margin-bottom: 12px; }
.contact-desc { font-size: 0.92rem; color: hsl(var(--text-secondary)); line-height: 1.7; margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid hsl(var(--border-primary));
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-md);
  background: hsla(var(--accent), 0.1); display: flex; align-items: center; justify-content: center;
  color: hsl(var(--accent));
}
.contact-item-label { font-size: 0.82rem; color: hsl(var(--text-tertiary)); margin-bottom: 4px; }
.contact-item-value { font-size: 0.88rem; font-weight: 500; color: hsl(var(--text-primary)); }
/* QR Grid */
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qr-card {
  text-align: center; padding: 20px 16px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.qr-card:hover { border-color: hsl(var(--accent-muted)); transform: translateY(-2px); }
.qr-card img { display: block; width: 100%; max-width: 140px; border-radius: var(--radius-md); margin: 0 auto 10px; }
.qr-card-label { font-size: 0.82rem; font-weight: 600; color: hsl(var(--text-secondary)); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative; padding: 80px 0; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, hsl(222 40% 9%), hsl(217 60% 12%));
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, hsla(217, 91%, 60%, 0.1), transparent 60%);
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.cta-desc { font-size: 1rem; color: hsl(var(--text-secondary)); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, hsl(220 14% 95%), hsl(217 60% 96%));
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 24px;
  background: hsl(var(--bg-secondary));
  border-top: 1px solid hsl(var(--border-primary));
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand-desc { font-size: 0.85rem; color: hsl(var(--text-secondary)); margin-top: 12px; }
.footer-links-title, .footer-heading { font-size: 0.82rem; font-weight: 700; margin-bottom: 14px; color: hsl(var(--text-primary)); letter-spacing: 0.02em; }
.footer-link {
  display: block; font-size: 0.85rem; color: hsl(var(--text-secondary));
  padding: 3px 0; transition: color var(--transition); text-decoration: none;
}
.footer-link:hover { color: hsl(var(--accent)); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid hsl(var(--border-primary));
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.footer-bottom p, .footer-bottom > div { font-size: 0.78rem; color: hsl(var(--text-tertiary)); }
.footer-bottom a { color: hsl(var(--text-secondary)); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: hsl(var(--accent)); }
/* Footer ICP Filing */
.footer-filing { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.footer-filing a { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; color: hsl(var(--text-tertiary)); text-decoration: none; transition: color var(--transition); }
.footer-filing a:hover { color: hsl(var(--accent)); }
.footer-filing img { width: 14px; height: 14px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  background: hsl(var(--accent)); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  box-shadow: 0 2px 12px hsla(217, 91%, 60%, 0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 4px 20px hsla(217, 91%, 60%, 0.4); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid, .eco-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .vis-grid { grid-template-columns: repeat(2, 1fr); }
  .proto-grid, .hw-embed-row, .hwprod-grid, .contact-grid, .cred-highlights { grid-template-columns: repeat(2, 1fr); }
  .cred-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pv2-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pv2-addon-grid { grid-template-columns: 1fr; }
  .pv2-compare-grid { grid-template-columns: 1fr; }
  .fcmp-thead, .fcmp-row { grid-template-columns: 1fr 100px 100px; }
  .comm-panel-grid, .comm-vas-grid, .tp-scope-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu { display: flex; max-height: 0; }
  .features-grid, .eco-grid { grid-template-columns: 1fr; }
  .vis-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding: 100px 0 64px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .faq-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid, .cred-highlights { grid-template-columns: 1fr; }
  .cred-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .fcmp-th-feature { font-size: 0.75rem; }
  .fcmp-cell-name { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .proto-grid, .hw-embed-row, .hwprod-grid { grid-template-columns: 1fr; }
  .cred-cert-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .fcmp-thead, .fcmp-row { grid-template-columns: 1fr 80px 80px; }
  .fcmp-cell { padding: 8px 12px; font-size: 0.78rem; }
  .comm-tabs { flex-direction: column; }
  .back-to-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }
}


/* ============================================================
   DEVELOPER SERVICES SECTION
   ============================================================ */
.devservice-section {
  background: hsl(var(--bg-secondary));
  position: relative;
}
.devsvc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.devsvc-card {
  padding: 28px 24px;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.devsvc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--border-secondary));
}
.devsvc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: hsl(var(--accent-subtle));
  color: hsl(var(--accent));
  margin-bottom: 16px;
}
.devsvc-icon svg {
  width: 24px;
  height: 24px;
}
.devsvc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
  margin-bottom: 8px;
}
.devsvc-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: hsl(var(--text-secondary));
  flex: 1;
}
.devsvc-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: hsl(var(--accent));
  transition: color var(--transition);
}
.devsvc-link:hover {
  color: hsl(var(--accent-hover));
}
.devsvc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.devsvc-chips span {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: hsl(var(--bg-tertiary));
  color: hsl(var(--text-secondary));
  border: 1px solid hsl(var(--border-primary));
}

@media (max-width: 1024px) {
  .devsvc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .devsvc-grid { grid-template-columns: 1fr; }
  .devsvc-card { padding: 22px 18px; }
}

/* ============================================================
   ENTERPRISE CLIENTS SECTION
   ============================================================ */
.clients-section {
  background: hsl(var(--bg-secondary));
  position: relative;
  overflow: hidden;
}
.clients-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(var(--accent), 0.05) 0%, transparent 70%);
  pointer-events: none;
}
/* World Map Background */
.clients-map-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  pointer-events: none;
  z-index: 0;
  color: hsl(var(--accent));
  opacity: 0.12;
}
[data-theme="light"] .clients-map-bg {
  opacity: 0.08;
}
.clients-section .container {
  position: relative;
  z-index: 1;
}

/* Stats Row */
.clients-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.clients-stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.clients-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
/* Subtle glow behind stat card on hover */
.clients-stat-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, hsla(var(--accent), 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.clients-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px hsla(var(--accent), 0.08);
  border-color: hsla(var(--accent), 0.25);
}
.clients-stat-card:hover::before {
  opacity: 1;
}
.clients-stat-card:hover::after {
  opacity: 1;
}
.clients-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: hsl(var(--accent-subtle));
  color: hsl(var(--accent));
  margin-bottom: 14px;
}
.clients-stat-icon svg {
  width: 24px;
  height: 24px;
}
.clients-stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.clients-stat-label {
  font-size: 0.85rem;
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

/* Industry Distribution */
.clients-industries {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.clients-industry-card {
  padding: 20px 14px;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.clients-industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.clients-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--border-secondary));
}
.clients-industry-card:hover::after {
  opacity: 0.5;
}
.clients-industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}
.clients-industry-icon svg {
  width: 22px;
  height: 22px;
}
.clients-industry-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 4px;
}
.clients-industry-pct {
  font-size: 1.2rem;
  font-weight: 800;
  color: hsl(var(--text-primary));
  margin-bottom: 8px;
}
.clients-industry-bar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: hsl(var(--bg-tertiary));
  overflow: hidden;
}
.clients-industry-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Wall */
.clients-logos {
  margin-bottom: 48px;
}
.clients-logos-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.02em;
}
.clients-logos-notice {
  font-size: 0.75rem;
  color: hsl(var(--text-tertiary));
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}
.clients-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}
.clients-logo-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: hsl(var(--bg-card));
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.clients-logo-item span {
  font-size: 0.78rem;
  font-weight: 400;
  color: hsl(var(--text-secondary));
  white-space: nowrap;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.clients-logo-item:hover {
  background: hsl(var(--accent-subtle));
  border-color: hsla(var(--accent), 0.4);
}
.clients-logo-item:hover span {
  color: hsl(var(--accent));
}
.clients-logo-item small {
  font-size: 0.58rem;
  color: hsl(var(--text-tertiary));
}

/* Testimonial */
.clients-testimonial {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 36px;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-lg);
  position: relative;
}
.clients-quote-icon {
  margin-bottom: 12px;
  color: hsl(var(--accent));
}
.clients-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--text-secondary));
  font-style: italic;
  margin-bottom: 20px;
}
.clients-quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.clients-quote-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(var(--accent-subtle));
  color: hsl(var(--accent));
  flex-shrink: 0;
}
.clients-quote-avatar svg {
  width: 20px;
  height: 20px;
}
.clients-quote-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
}
.clients-quote-role {
  font-size: 0.78rem;
  color: hsl(var(--text-tertiary));
  margin-top: 2px;
}

/* Clients Responsive */
@media (max-width: 1024px) {
  .clients-stats { grid-template-columns: repeat(2, 1fr); }
  .clients-industries { grid-template-columns: repeat(3, 1fr); }
  .clients-logos-grid { gap: 8px; }
}
@media (max-width: 768px) {
  .clients-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .clients-industries { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .clients-logos-grid { gap: 6px; }
  .clients-stat-card { padding: 20px 12px; }
  .clients-stat-value { font-size: 1.6rem; }
  .clients-testimonial { padding: 24px 20px; }
  .clients-map-bg { display: none; }
  .clients-logo-item { padding: 5px 10px; }
  .clients-logo-item span { font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .clients-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .clients-industries { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .clients-logos-grid { gap: 5px; }
  .clients-stat-card { padding: 16px 10px; }
  .clients-stat-value { font-size: 1.4rem; }
  .clients-stat-icon { width: 40px; height: 40px; }
  .clients-stat-icon svg { width: 20px; height: 20px; }
  .clients-industry-card { padding: 14px 10px; }
  .clients-industry-icon { width: 36px; height: 36px; }
  .clients-industry-icon svg { width: 18px; height: 18px; }
  .clients-logo-item { padding: 4px 8px; }
  .clients-logo-item span { font-size: 0.68rem; }
  .clients-testimonial { padding: 20px 16px; }
  .clients-quote { font-size: 0.9rem; }
}

/* ============================================================
   OPEN SOURCE SECTION
   ============================================================ */
.opensource-section {
  background: linear-gradient(135deg, hsl(var(--bg-primary)), hsl(var(--bg-secondary)));
}
.opensource-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.opensource-info .section-badge { margin-bottom: 16px; }
.opensource-title { margin-bottom: 12px; }
.opensource-desc { font-size: 0.92rem; color: hsl(var(--text-secondary)); line-height: 1.7; margin-bottom: 24px; }
.opensource-links { display: flex; gap: 12px; flex-wrap: wrap; }
/* Button Variants */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 600;
  background: hsl(var(--accent)); color: #fff; text-decoration: none;
  border: 1px solid hsl(var(--accent)); transition: all var(--transition); cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 600;
  background: transparent; color: hsl(var(--text-primary)); text-decoration: none;
  border: 1px solid hsl(var(--border-secondary)); transition: all var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
/* Repo Cards */
.repo-cards { display: flex; flex-direction: column; gap: 16px; }
.repo-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: hsl(var(--bg-card)); border: 1px solid hsl(var(--border-primary));
  transition: all var(--transition);
}
.repo-card:hover { border-color: hsl(var(--accent-muted)); transform: translateY(-2px); }
.repo-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.repo-card-icon {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.repo-card-icon.gitee { background: #c71d23; color: #fff; }
.repo-card-icon.github { background: hsl(var(--text-primary)); color: hsl(var(--bg-primary)); }
.repo-card-name { font-size: 0.95rem; font-weight: 700; color: hsl(var(--text-primary)); }
.repo-card-desc { font-size: 0.82rem; color: hsl(var(--text-secondary)); line-height: 1.5; margin-bottom: 14px; }
.repo-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.repo-stat {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.78rem; font-weight: 600; color: hsl(var(--text-tertiary));
}
.repo-stat svg { color: hsl(var(--accent)); }

/* ============================================================
   RESPONSIVE — NEW MODULES
   ============================================================ */
@media (max-width: 768px) {
  .opensource-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-filing { flex-direction: column; gap: 6px; }
}

/* ============================================================
   FLOATING CONTACT SIDEBAR
   ============================================================ */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary));
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: hsl(var(--text-secondary));
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.float-sidebar-item:hover {
  background: hsl(var(--accent-subtle));
  color: hsl(var(--accent));
  width: 50px;
}
.float-sidebar-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}

/* Popup panel — appears on hover/click */
.float-sidebar-popup {
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 200px;
  padding: 16px;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border-primary));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
}
.float-sidebar-item:hover .float-sidebar-popup,
.float-sidebar-item.active .float-sidebar-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* Popup arrow */
.float-sidebar-popup::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: hsl(var(--bg-card));
  border-right: 1px solid hsl(var(--border-primary));
  border-top: 1px solid hsl(var(--border-primary));
}

/* Popup content styles */
.float-popup-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.float-popup-title svg {
  width: 14px;
  height: 14px;
  color: hsl(var(--accent));
}
.float-popup-text {
  font-size: 0.78rem;
  color: hsl(var(--text-secondary));
  line-height: 1.55;
  white-space: normal;
  max-width: 220px;
}
.float-popup-text a {
  color: hsl(var(--accent));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.float-popup-text a:hover {
  color: hsl(var(--accent-hover));
}

/* QR code in popup */
.float-popup-qr {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border-primary));
  margin: 8px auto 4px;
  overflow: hidden;
  background: #fff;
}
.float-popup-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.float-popup-sub {
  font-size: 0.72rem;
  color: hsl(var(--text-tertiary));
  text-align: center;
  margin-top: 4px;
}

/* QQ groups list */
.float-popup-groups {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.float-popup-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: hsl(var(--text-secondary));
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: hsl(var(--bg-tertiary));
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all var(--transition);
}
.float-popup-group:hover {
  background: hsl(var(--accent-subtle));
  color: hsl(var(--accent));
}
.float-popup-group svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Email value */
.float-popup-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: hsl(var(--accent));
  font-weight: 600;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: hsl(var(--accent-subtle));
  word-break: break-all;
  white-space: normal;
}

/* Accent indicator dot */
.float-sidebar-item .float-dot {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.float-sidebar-item:hover .float-dot {
  opacity: 1;
}

/* WeChat green accent for WeChat items */
.float-sidebar-item.wechat-item:hover {
  color: #07c160;
}
.float-sidebar-item.wechat-item:hover .float-dot {
  background: #07c160;
}

/* QQ blue accent */
.float-sidebar-item.qq-item:hover {
  color: #12b7f5;
}
.float-sidebar-item.qq-item:hover .float-dot {
  background: #12b7f5;
}

/* Responsive: stack tighter on small screens */
@media (max-width: 768px) {
  .float-sidebar {
    top: auto;
    bottom: 80px;
    transform: none;
    right: 0;
  }
  .float-sidebar-item {
    width: 40px;
    height: 40px;
  }
  .float-sidebar-item:hover { width: 44px; }
  .float-sidebar-item svg {
    width: 17px;
    height: 17px;
  }
  .float-sidebar-popup {
    right: 48px;
    min-width: 180px;
    padding: 12px;
  }
  .float-popup-qr {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .float-sidebar {
    bottom: 70px;
    gap: 1px;
  }
  .float-sidebar-item {
    width: 36px;
    height: 36px;
  }
  .float-sidebar-item:hover { width: 40px; }
  .float-sidebar-popup {
    right: 42px;
    min-width: 160px;
    padding: 10px;
  }
  .float-popup-qr {
    width: 90px;
    height: 90px;
  }
}
