/* ═══════════════════════════════════════════════════════════════
   IOUXI Digital / VoxVoy — Main Stylesheet
   晶棱舟工作室 · 悠希数码
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Color Palette — Neo Dark Romanticism
     FEAIA brand: Star Frost Purple × Dawn Cyan */
  --c-bg:          #060810;
  --c-bg-alt:      #0c0e1a;
  --c-surface:     #111327;
  --c-surface-2:   #1a1e38;
  --c-border:      rgba(123, 108, 246, 0.14);
  --c-primary:     #7b6cf6;   /* 星霜紫 Star Frost Purple */
  --c-primary-dim: #5a4cd4;
  --c-accent:      #4dd9c0;   /* 黎明青 Dawn Cyan */
  --c-accent-dim:  #35b8a2;
  --c-sakura:      #f4a8c0;   /* 樱花粉 Sakura Pink */
  --c-purple:      #b57bee;
  --c-text:        #e8eaff;
  --c-text-muted:  #8890c0;
  --c-text-dim:    #4a4f80;
  --c-white:       #ffffff;
  --c-danger:      #ff4d6a;
  --c-warning:     #ffb347;
  /* Glow variants */
  --shadow-glow:   0 0 28px rgba(123, 108, 246, 0.28);

  /* Typography */
  --font-sans:   'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --fs-xs:       0.75rem;
  --fs-sm:       0.875rem;
  --fs-base:     1rem;
  --fs-lg:       1.125rem;
  --fs-xl:       1.25rem;
  --fs-2xl:      1.5rem;
  --fs-3xl:      1.875rem;
  --fs-4xl:      2.25rem;
  --fs-5xl:      3rem;
  --fs-hero:     clamp(2.5rem, 6vw, 5rem);

  /* Spacing */
  --space-xs:    0.25rem;
  --space-sm:    0.5rem;
  --space-md:    1rem;
  --space-lg:    1.5rem;
  --space-xl:    2rem;
  --space-2xl:   3rem;
  --space-3xl:   5rem;

  /* Borders */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 24px rgba(0, 212, 255, 0.25);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    150ms;
  --dur-base:    300ms;
  --dur-slow:    500ms;

  /* Layout */
  --nav-h:       4rem;
  --container-w: 1200px;
}

/* Light theme override */
[data-theme="light"] {
  --c-bg:         #f5f4ff;
  --c-bg-alt:     #edeaff;
  --c-surface:    #ddd8ff;
  --c-surface-2:  #c8c2f5;
  --c-border:     rgba(90, 76, 212, 0.14);
  --c-text:       #0d0c2e;
  --c-text-muted: #3a3570;
  --c-text-dim:   #7070a8;
  --shadow-glow:  0 0 24px rgba(123, 108, 246, 0.2);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--c-accent); }
a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 3px; }
button:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 3px; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; }

/* ─── Progress Bar ───────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  z-index: 9999;
  transition: width 100ms linear;
  border-radius: 0 2px 2px 0;
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

/* ─── Section Layout ─────────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
}
.section-alt {
  background: var(--c-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header h2 {
  font-size: var(--fs-4xl);
  margin: var(--space-sm) 0 var(--space-md);
  background: linear-gradient(135deg, var(--c-text), var(--c-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--c-text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: var(--fs-lg);
}
@media (max-width: 768px) {
  .section-header h2 { font-size: var(--fs-3xl); }
}

/* ─── Label Tag ──────────────────────────────────────────────── */
.label-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-full);
  color: var(--c-primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7em 1.6em;
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--dur-base) var(--ease);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  border-radius: inherit;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dim));
  color: var(--c-bg);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 212, 255, 0.45);
  color: var(--c-bg);
}

.btn-ghost {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
  color: var(--c-primary);
}

.btn-sm {
  padding: 0.5em 1.2em;
  font-size: var(--fs-sm);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--dur-base) var(--ease),
              backdrop-filter var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
#nav.scrolled {
  background: rgba(7, 16, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--c-border);
}
[data-theme="light"] #nav.scrolled {
  background: rgba(244, 247, 255, 0.88);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--c-text);
  font-weight: 700;
  text-decoration: none;
}
.nav-logo:hover { color: var(--c-primary); }
.logo-icon {
  font-size: 1.5rem;
  color: var(--c-primary);
  line-height: 1;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-en { font-size: var(--fs-base); font-weight: 700; color: var(--c-text); }
.logo-cn { font-size: var(--fs-xs); color: var(--c-text-muted); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-links a {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  border-radius: var(--radius-full);
  transition: width var(--dur-base) var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.45em 1.1em !important;
  border: 1.5px solid var(--c-primary) !important;
  border-radius: var(--radius-full) !important;
  color: var(--c-primary) !important;
}
.nav-cta:hover { background: rgba(0,212,255,0.1) !important; }
.nav-cta::after { display: none !important; }

.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.nav-controls button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-text-muted);
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--dur-fast) var(--ease);
}
.nav-controls button:hover {
  color: var(--c-primary);
  background: rgba(0,212,255,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px !important;
  width: 40px !important;
  height: 40px !important;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text-muted);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 30, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
#mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}
.mob-link {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease);
  display: block;
  padding: var(--space-sm) 0;
}
.mob-link:hover { color: var(--c-primary); }
.cta-mob {
  color: var(--c-primary) !important;
  padding: 0.6em 2em !important;
  border: 2px solid var(--c-primary) !important;
  border-radius: var(--radius-full) !important;
  display: inline-block !important;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ─── Hero Section ───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 860px;
}

.hero-eyebrow {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-primary);
}
.badge-outline {
  background: transparent;
  color: var(--c-text-muted);
  border-color: rgba(224, 231, 255, 0.2);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroLineIn 0.8s var(--ease) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line.accent {
  animation-delay: 0.45s;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(var(--fs-base), 2.5vw, var(--fs-xl));
  color: var(--c-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.7s var(--ease) both;
}
.en-sub { font-size: 0.85em; opacity: 0.7; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s 0.9s var(--ease) both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 1.1s var(--ease) both;
}
.stat {
  text-align: center;
}
.stat-num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 2px;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: fadeInUp 1s 1.5s var(--ease) both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  letter-spacing: 0.1em;
  writing-mode: horizontal-lr;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Reveal Animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }

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

/* ─── Value Cards ─────────────────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: var(--shadow-glow);
}
.value-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,255,157,0.08));
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--c-primary);
  margin-bottom: var(--space-md);
}
.value-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  color: var(--c-text);
}
.value-card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,212,255,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.value-card:hover .card-glow { opacity: 1; }

/* ─── Product Tabs ───────────────────────────────────────────── */
.product-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--space-sm);
  overflow-x: auto;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6em 1.4em;
  border: none;
  background: transparent;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--c-text);
  background: rgba(0,212,255,0.08);
}
.tab-btn.active {
  color: var(--c-primary);
  background: rgba(0,212,255,0.12);
}

.product-panel { display: none; }
.product-panel.active { display: block; }

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (max-width: 900px) {
  .product-showcase { grid-template-columns: 1fr; }
}

/* Product Mockups */
.product-mockup {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-mockup::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.05), transparent 60%);
  pointer-events: none;
}

/* FEAIA Mockup */
.mockup-screen {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}
.ai-avatar-demo {
  position: relative;
  width: 100px; height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.25);
  animation: ringPulse 3s ease-in-out infinite;
}
.ring-1 { width: 100px; height: 100px; animation-delay: 0s; }
.ring-2 { width: 130px; height: 130px; animation-delay: 0.5s; border-color: rgba(0,255,157,0.15); }
.ring-3 { width: 160px; height: 160px; animation-delay: 1s; border-color: rgba(181,123,238,0.1); }
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}
.avatar-core {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--c-bg);
  z-index: 1;
  box-shadow: 0 0 30px rgba(0,212,255,0.4);
}
.chat-bubble {
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.bubble-ai {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  align-self: flex-start;
  border-radius: 4px 16px 16px 16px;
}
.bubble-user {
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,212,255,0.1));
  border: 1px solid rgba(0,212,255,0.25);
  align-self: flex-end;
  border-radius: 16px 4px 16px 16px;
}
.bubble-ai.typing span {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-text-muted);
  border-radius: 50%;
  margin: 0 2px;
  animation: typingDot 1.4s ease-in-out infinite;
}
.bubble-ai.typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble-ai.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Games Mockup */
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  width: 100%;
  max-width: 280px;
}
.game-card-mini {
  background: hsla(var(--hue), 60%, 40%, 0.15);
  border: 1px solid hsla(var(--hue), 60%, 60%, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  color: hsla(var(--hue), 80%, 70%, 1);
  transition: transform var(--dur-base) var(--ease);
  cursor: pointer;
}
.game-card-mini:hover { transform: scale(1.05); }
.game-card-mini span { font-size: var(--fs-xs); font-weight: 600; }

/* Code Mockup */
.code-window {
  background: #0d1117;
  border: 1px solid rgba(48,54,61,0.8);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  font-size: var(--fs-sm);
}
.code-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(48,54,61,0.8);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.code-filename { margin-left: auto; font-size: var(--fs-xs); color: #8b949e; }
.code-block {
  padding: var(--space-md);
  overflow-x: auto;
  line-height: 1.8;
  color: #e6edf3;
  white-space: pre;
}
.ct-kw { color: #ff7b72; }
.ct-str { color: #a5d6ff; }
.ct-fn { color: #d2a8ff; }
.ct-bracket { color: #e6edf3; }
.ct-op { color: #ff7b72; }
.ct-cm { color: #8b949e; font-style: italic; }

/* Product Info */
.product-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0,255,157,0.12);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}
.product-info h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
  color: var(--c-text);
}
.product-desc {
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-base);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.feature-list i {
  color: var(--c-accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.product-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ─── Services Grid ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: var(--shadow-md);
}
.service-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.service-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--c-primary);
}
.service-meta h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--c-text);
}
.service-tag {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
}
.link-arrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: 8px; color: var(--c-accent); }
.service-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(0,255,157,0.04));
  border-style: dashed;
}
.service-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.service-cta-inner i {
  font-size: 2rem;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}
.service-cta-inner h3 { font-size: var(--fs-lg); }
.service-cta-inner p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-md);
}

/* ─── Case Studies ───────────────────────────────────────────── */
.cases-timeline {
  position: relative;
  padding-left: 40px;
}
.cases-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
}
.case-item {
  position: relative;
  margin-bottom: var(--space-xl);
}
.case-dot {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 14px; height: 14px;
  background: var(--c-primary);
  border-radius: 50%;
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}
.case-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.case-card:hover {
  border-color: rgba(0,212,255,0.35);
  box-shadow: var(--shadow-glow);
}
.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.case-tags { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(181,123,238,0.12);
  border: 1px solid rgba(181,123,238,0.25);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-purple);
}
.case-year {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  font-weight: 600;
}
.case-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
  color: var(--c-text);
}
.case-card > p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.case-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.case-card[aria-expanded="true"] .case-expand {
  max-height: 300px;
  margin-top: var(--space-lg);
}
.case-metrics {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric strong {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--c-accent);
}
.metric span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.case-stack {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.stack-tag {
  padding: 3px 10px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* ─── Tech Ecosystem ─────────────────────────────────────────── */
.tech-canvas {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto var(--space-2xl);
}
.tech-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0,212,255,0.4);
}
.tc-label { font-size: var(--fs-sm); font-weight: 800; color: var(--c-bg); }
.tc-sub { font-size: 9px; color: rgba(7,16,30,0.7); font-weight: 600; }

.tech-orbits { position: absolute; inset: 0; }
.tech-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--c-border);
}
.orbit-1 {
  width: 220px; height: 220px;
  top: calc(50% - 110px);
  left: calc(50% - 110px);
  animation: rotateSlow 20s linear infinite;
}
.orbit-2 {
  width: 360px; height: 360px;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
  animation: rotateSlow 35s linear infinite reverse;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.tech-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform-origin: center center;
  transform: rotate(var(--angle)) translate(calc(50% + 58px), -50%) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.orbit-2 .tech-node {
  transform: rotate(var(--angle)) translate(calc(50% + 128px), -50%) rotate(calc(-1 * var(--angle)));
}
.tech-node i {
  width: 36px; height: 36px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--dur-fast) var(--ease);
}
.tech-node:hover { color: var(--c-primary); }
.tech-node:hover i {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.4);
  color: var(--c-primary);
}
.tech-node span { font-size: 10px; text-align: center; }

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}
.tech-cat h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-sm);
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.pill {
  padding: 4px 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-muted);
  transition: all var(--dur-fast) var(--ease);
  cursor: default;
}
.pill:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(0,212,255,0.08);
}

/* ─── About Section ──────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
}
.about-left h2 {
  font-size: var(--fs-4xl);
  margin: var(--space-sm) 0 var(--space-lg);
  line-height: 1.2;
}
.about-left p {
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.av-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.av-item i {
  color: var(--c-primary);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 24px;
}
.av-item strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.av-item p { margin: 0; font-size: var(--fs-sm); }

.team-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.team-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: center;
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  cursor: default;
}
.team-card:hover {
  transform: translateX(6px);
  border-color: rgba(0,212,255,0.3);
}
.tc-avatar {
  position: relative;
  flex-shrink: 0;
}
.avatar-placeholder {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface));
  border: 2px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--c-text-muted);
}
.tc-badge {
  position: absolute;
  bottom: -4px; right: -4px;
  background: var(--c-primary);
  color: var(--c-bg);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-full);
}
.tc-info h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.tc-info p {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--space-xs);
}
.tc-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tc-tags span {
  padding: 2px 8px;
  background: var(--c-bg);
  border-radius: var(--radius-full);
  font-size: 10px;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}
.company-info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.company-info-card h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--c-text);
}
.company-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.company-details li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.company-details i {
  color: var(--c-primary);
  width: 16px;
  flex-shrink: 0;
}

/* ─── Contact Section ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}
@media (max-width: 600px) {
  .contact-form-wrap { padding: var(--space-lg); }
}

.visitor-selector {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.vs-label { font-size: var(--fs-sm); color: var(--c-text-muted); }
.vs-btn {
  padding: 5px 14px;
  border: 1px solid var(--c-border);
  background: transparent;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.vs-btn.active,
.vs-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(0,212,255,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}
.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}
.req { color: var(--c-danger); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0.7em 1em;
  color: var(--c-text);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--c-danger);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237f9cc0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.field-error {
  font-size: var(--fs-xs);
  color: var(--c-danger);
  min-height: 16px;
}

.budget-selector {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.budget-btn {
  padding: 5px 14px;
  border: 1px solid var(--c-border);
  background: transparent;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.budget-btn.selected,
.budget-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(0,255,157,0.08);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  text-align: center;
  margin-top: var(--space-sm);
}
.form-success {
  text-align: center;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.form-success i {
  font-size: 3rem;
  color: var(--c-accent);
  animation: popIn 0.4s var(--ease);
}
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success h3 { font-size: var(--fs-2xl); color: var(--c-text); }
.form-success p { color: var(--c-text-muted); }

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.ci-card {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.ci-card i {
  color: var(--c-primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 24px;
}
.ci-card strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); }
.ci-card a, .ci-card span {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.ci-social {
  display: flex;
  gap: var(--space-sm);
}
.social-btn {
  width: 42px; height: 42px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: 1.1rem;
  transition: all var(--dur-fast) var(--ease);
}
.social-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(0,212,255,0.1);
}
.qr-placeholder {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.qr-inner {
  width: 100px; height: 100px;
  background: var(--c-bg);
  border: 2px dashed var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--c-text-dim);
}
.qr-box p { font-size: var(--fs-xs); color: var(--c-text-muted); }

/* ─── Footer ─────────────────────────────────────────────────── */
#footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-main {
  display: flex;
  gap: var(--space-2xl);
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.footer-brand {
  max-width: 280px;
}
.footer-tagline {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-top: var(--space-md);
}
.footer-nav {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.fn-col h5 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-md);
}
.fn-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.fn-col a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.fn-col a:hover { color: var(--c-primary); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-legal p {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  line-height: 1.8;
}
.beian-link {
  color: var(--c-text-dim) !important;
  font-size: var(--fs-xs);
  transition: color var(--dur-fast) var(--ease);
}
.beian-link:hover { color: var(--c-primary) !important; }
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
}
.footer-bottom-links a:hover { color: var(--c-primary); }
.footer-bottom-links span { color: var(--c-text-dim); }

/* ─── AI Assistant Float ─────────────────────────────────────── */
#ai-assistant {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 900;
}
#ai-toggle {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border: none;
  border-radius: 50%;
  color: var(--c-bg);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,212,255,0.4);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
#ai-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,212,255,0.55);
}

#ai-popup {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 280px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: popUp 0.25s var(--ease);
  overflow: hidden;
}
@keyframes popUp {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(0,255,157,0.06));
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
}
.ai-status-dot {
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ai-popup-body {
  padding: var(--space-md);
}
.ai-popup-body p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-md);
}
.ai-quick-btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.ai-q-btn {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
  text-align: left;
  transition: all var(--dur-fast) var(--ease);
}
.ai-q-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(0,212,255,0.06);
}
.ai-popup-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--c-border);
}

/* ─── Responsive Fixes ───────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .hero-stats { gap: var(--space-lg); }
  .stat-divider { display: none; }
  .tech-canvas { width: 280px; height: 280px; }
  .orbit-1 { width: 160px; height: 160px; top: calc(50% - 80px); left: calc(50% - 80px); }
  .orbit-2 { width: 260px; height: 260px; top: calc(50% - 130px); left: calc(50% - 130px); }
  .tech-center { width: 70px; height: 70px; }
  .tech-node { width: 42px; height: 42px; }
  .tech-node i { width: 30px; height: 30px; font-size: 0.8rem; }
  .orbit-1 .tech-node { transform: rotate(var(--angle)) translate(calc(50% + 38px), -50%) rotate(calc(-1 * var(--angle))); }
  .orbit-2 .tech-node { transform: rotate(var(--angle)) translate(calc(50% + 88px), -50%) rotate(calc(-1 * var(--angle))); }
  .cases-timeline { padding-left: 24px; }
  .cases-timeline::before { left: 8px; }
  .case-dot { left: -24px; }
  #ai-assistant { bottom: var(--space-md); right: var(--space-md); }
  .footer-nav { gap: var(--space-lg); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .product-actions { flex-direction: column; }
}

/* ─── Print ───────────────────────────────────────────────────── */
@media print {
  #nav, #ai-assistant, #progress-bar, .hero-scroll-hint { display: none; }
  #hero { min-height: auto; }
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .orbit-1, .orbit-2 { animation: none; }
}
