/* ==========================================================================
   温州青创数智科技有限公司 | Flagship Bento Design System (Dual Theme: Tech Dark & Bright Light)
   ========================================================================== */

:root,
html[data-theme="dark"] {
  --bg-obsidian: #06080d;
  --bg-surface: #0b0f18;
  --bg-card: rgba(16, 22, 34, 0.72);
  --bg-glass: rgba(9, 13, 22, 0.78);

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(56, 189, 248, 0.42);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-blue: #3b82f6;
  --accent-cyan: #38bdf8;
  --accent-warm: #f59e0b;
  --accent-emerald: #10b981;

  --shadow-card: 0 16px 40px -20px rgba(0, 0, 0, 0.65);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-sans: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-expo), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.975rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
  color: #06080d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 10px 30px -10px rgba(56, 189, 248, 0.45);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(56, 189, 248, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-live-link {
  border-color: rgba(56, 189, 248, 0.42);
  color: #bae6fd;
}

.btn-live-link:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.14);
}

.btn-live-link[hidden] {
  display: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-hairline);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.22));
  transition: transform 0.3s var(--ease-expo), filter 0.3s ease;
}

.brand:hover .brand-mark img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 16px rgba(56, 189, 248, 0.38));
}

.brand-mark-lg {
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.site-footer .brand-name {
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-toggle {
  font-family: var(--font-mono);
}

.theme-toggle:hover,
.lang-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.theme-option.active,
.lang-option.active {
  color: var(--text-primary);
  font-weight: 600;
}

.theme-sep,
.lang-sep {
  opacity: 0.35;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 9, 0.72);
  backdrop-filter: blur(8px);
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: #0a0f1a;
  border-left: 1px solid var(--border-hairline);
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-expo);
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-hairline);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  flex: 1;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.mobile-drawer-foot {
  padding-top: 20px;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
}

.mobile-lang-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mobile-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 56px) 0 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-bg-dark {
  display: block;
  opacity: 0.56;
  filter: saturate(1.05) contrast(1.04);
}

.hero-bg-light {
  display: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.55) 0%, rgba(6, 8, 13, 0.45) 45%, rgba(6, 8, 13, 0.96) 92%, #06080d 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(11, 15, 24, 0.62);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  color: #cbd5e1;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.45rem, 5.4vw, 4.45rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.text-gradient {
  background: linear-gradient(105deg, #ffffff 10%, #bae6fd 52%, #60a5fa 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 32px;
}

.hero-quick-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.quick-entry-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 16, 27, 0.72);
  backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease-expo), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.3s ease;
}

.quick-entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(16, 24, 40, 0.9);
  box-shadow: 0 18px 40px -18px rgba(56, 189, 248, 0.35);
}

.quick-entry-warm:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 18px 40px -18px rgba(245, 158, 11, 0.28);
}

.qe-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qe-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #7dd3fc;
  font-weight: 500;
}

.quick-entry-warm .qe-badge {
  color: #fde68a;
}

.qe-arrow {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.quick-entry-card:hover .qe-arrow {
  color: var(--text-primary);
  transform: translate(2px, -2px);
}

.quick-entry-card strong {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-primary);
}

.qe-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 740px;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-hairline);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.metric-unit-text {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0;
}

.metric-label {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 44px;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(56, 189, 248, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
  animation: scrollSlide 2.2s ease-in-out infinite;
}

@keyframes scrollSlide {
  0% { transform: translateY(-8px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ==========================================================================
   Shared Sections
   ========================================================================== */

.section {
  padding: 104px 0;
  position: relative;
}

.section-surface {
  background: linear-gradient(180deg, #090d16 0%, #0b101b 50%, #06080d 100%);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 620px;
  font-weight: 300;
}

.section-header {
  margin-bottom: 48px;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* Filter Tabs */
.filter-tabs {
  display: inline-flex;
  padding: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  gap: 4px;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.filter-tab:hover {
  color: var(--text-primary);
}

.filter-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   Flagship Bento Grid — 6 Core Businesses
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: var(--bg-card);
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-expo), border-color 0.35s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 24px 60px -24px rgba(56, 189, 248, 0.25);
}

.bento-card.accent-warm:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 24px 60px -24px rgba(245, 158, 11, 0.2);
}

.bento-wide {
  grid-column: span 2;
}

.bento-card.is-hidden {
  display: none;
}

.card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
}

.bento-card:hover .card-media img {
  transform: scale(1.05);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.34) 0%, rgba(6, 8, 13, 0.48) 44%, rgba(6, 8, 13, 0.94) 100%);
}

.bento-card.accent-warm .card-media-overlay {
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.46) 0%, rgba(6, 8, 13, 0.32) 38%, rgba(6, 8, 13, 0.95) 86%);
}

.card-inner {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}

.card-main-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
  cursor: pointer;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.76);
}

.card-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.card-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.42);
  background: rgba(6, 24, 20, 0.74);
  backdrop-filter: blur(8px);
  color: #6ee7b7;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 2.2s ease-in-out infinite;
}

.card-tag {
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.32);
  background: rgba(6, 12, 24, 0.65);
  backdrop-filter: blur(8px);
  color: #bae6fd;
}

.card-tag.tag-pilot {
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.card-cobrand {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: #7dd3fc;
  margin-bottom: 6px;
  font-weight: 500;
}

.card-body {
  margin-top: auto;
}

.card-title {
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.93rem;
  color: #cbd5e1;
  line-height: 1.68;
  font-weight: 300;
  max-width: 58ch;
}

.card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.card-main-link + .card-footer {
  margin-top: 0;
}

.card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-pills span {
  font-size: 0.75rem;
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease, gap 0.25s ease;
}

.card-action:hover {
  color: var(--accent-cyan);
  gap: 10px;
}

/* Custom Mini-UI Panels */
.bento-ui {
  background:
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.11), transparent 48%),
    linear-gradient(160deg, rgba(16, 23, 38, 0.92) 0%, rgba(10, 14, 24, 0.98) 100%);
}

.mini-ui-panel {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 10, 18, 0.72);
  padding: 14px 16px;
}

.mini-ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.mini-ui-title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cap-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.79rem;
  color: #e2e8f0;
}

.cap-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.pipeline-graphic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 18, 0.68);
}

.pipe-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
  flex: 1;
  text-align: center;
}

.pipe-node.active {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.09);
}

.pipe-step {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent-cyan);
}

.pipe-arrow {
  width: 14px;
  height: 1px;
  background: rgba(148, 163, 184, 0.4);
  flex-shrink: 0;
}

.pipeline-caption {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.pipeline-caption strong {
  color: var(--accent-cyan);
  font-weight: 500;
}

.cloud-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cloud-mod-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 15, 0.72);
}

.cloud-mod-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
}

.cloud-mod-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cloud-mod-item span {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Solutions & Wenzhou Workflow
   ========================================================================== */

.solutions-shell {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: rgba(12, 17, 28, 0.75);
  overflow: hidden;
}

.solution-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border-hairline);
}

.solution-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-hairline);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s ease;
}

.solution-tab:last-child {
  border-right: none;
}

.solution-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-expo);
}

.solution-tab:hover {
  background: rgba(255, 255, 255, 0.025);
}

.solution-tab.active {
  background: rgba(56, 189, 248, 0.05);
}

.solution-tab.active::after {
  transform: scaleX(1);
}

.sol-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  padding-top: 3px;
}

.sol-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sol-meta strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sol-meta small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.solution-panel {
  padding: 42px 38px;
}

.sol-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.sol-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.sol-heading {
  font-size: clamp(1.42rem, 2.3vw, 1.88rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.sol-text {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 22px;
}

.sol-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.sol-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.sol-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.sol-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sol-stat-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sol-stat-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: rgba(6, 10, 18, 0.7);
}

.sol-stat-card:last-child {
  grid-column: span 2;
}

.sol-stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.sol-stat-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sol-arch-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.04);
}

.arch-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.arch-step span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
}

.case-workflow-card {
  margin-top: 26px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: rgba(10, 15, 25, 0.72);
}

.case-workflow-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.case-workflow-head h3 {
  font-size: 1.22rem;
  font-weight: 600;
}

.case-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-step {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: rgba(6, 9, 16, 0.7);
}

.case-step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.case-step h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.case-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ==========================================================================
   Technology Grid
   ========================================================================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tech-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: rgba(12, 17, 28, 0.55);
  position: relative;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-expo), background-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: rgba(16, 23, 38, 0.85);
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.07);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  margin-bottom: 22px;
}

.tech-icon svg {
  width: 22px;
  height: 22px;
}

.tech-num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.68;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
  margin-top: 18px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-item {
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: rgba(6, 10, 18, 0.65);
}

.pillar-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.pillar-item h3 {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Solution Visual Showcase Photo & Compact Workflow Strip */
.sol-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-card);
}

.sol-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 0.82rem;
}

.sol-photo-badge strong {
  color: #7dd3fc;
  font-weight: 500;
}

.sol-stat-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sol-stat-row-2 .sol-stat-card:last-child {
  grid-column: span 1;
}

.workflow-strip {
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: rgba(10, 15, 25, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wf-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wf-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
}

.wf-item strong {
  font-size: 0.92rem;
  font-weight: 500;
}

.wf-sep {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* About Photo Card & Value Pills */
.about-grid {
  align-items: center;
}

.about-value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-value-pills span {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: rgba(56, 189, 248, 0.08);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-primary);
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-card);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(6, 10, 18, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 0.8rem;
}

html[data-theme="light"] .workflow-strip {
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .wf-num {
  background: #f0f9ff;
}

html[data-theme="light"] .about-value-pills span {
  background: #ffffff;
}
.milestones-bar {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-hairline);
}

.milestones-head {
  margin-bottom: 20px;
}

.milestones-head h3 {
  font-size: 1.32rem;
  font-weight: 600;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ms-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: rgba(6, 10, 18, 0.62);
  transition: transform 0.3s var(--ease-expo), border-color 0.25s ease;
}

.ms-card-link:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.ms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ms-top time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ms-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
}

.ms-tag-live {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
}

.ms-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.38;
}

.ms-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.sector-strip {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sector-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-tags span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.025);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.08), transparent 45%),
    rgba(11, 16, 27, 0.85);
}

.contact-desc {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-hairline);
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.detail-value {
  font-size: 0.96rem;
  color: var(--text-primary);
}

.detail-link:hover {
  color: var(--accent-cyan);
}

.detail-phones-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-person {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-left: 2px;
}

/* Real WeChat QR Card & Lightbox */
.wechat-qr-box {
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.06);
  display: flex;
  align-items: center;
  gap: 18px;
}

.qr-thumb-btn {
  position: relative;
  width: 108px;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease-expo);
}

.qr-thumb-btn:hover {
  transform: scale(1.03);
}

.qr-thumb-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.qr-zoom-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
}

.wechat-qr-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.wechat-qr-info strong {
  font-size: 0.96rem;
  color: var(--text-primary);
}

.wechat-qr-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.wechat-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.copy-wechat-btn {
  font-size: 0.78rem;
}

.form-delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.qr-modal-card {
  max-width: 420px;
}

.qr-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-copied-banner {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #34d399;
  font-size: 0.82rem;
}

.qr-copied-banner[hidden] {
  display: none;
}

.qr-full-wrap {
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  max-width: 280px;
  width: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.qr-full-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.qr-modal-hint {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(6, 9, 16, 0.85);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.94rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-cyan);
}

.privacy-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-feedback {
  font-size: 0.88rem;
  min-height: 20px;
}

.form-feedback.error {
  color: #fb7185;
}

.form-feedback.success {
  color: #34d399;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

/* ==========================================================================
   Footer & Modal
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 64px 0 34px;
  background: #05070c;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.85fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li,
.footer-link-btn {
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-icp {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-icp a:hover {
  color: var(--accent-cyan);
}

.icp-sep {
  opacity: 0.4;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.back-to-top:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 4, 9, 0.78);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #0c111d;
  box-shadow: 0 32px 90px -20px rgba(0, 0, 0, 0.75);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-expo);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border-hairline);
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 600;
  margin-top: 4px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.modal-body {
  padding: 24px 32px;
}

.modal-lead {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
}

.modal-section-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.modal-feature-item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.025);
}

.modal-feature-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.modal-feature-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-meta-bar {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.84rem;
  color: #bae6fd;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 32px 26px;
  border-top: 1px solid var(--border-hairline);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-expo), transform 0.65s var(--ease-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   BRIGHT MINIMALIST LIGHT THEME (简洁明亮 · 国际极简浅色体系)
   ========================================================================== */

html[data-theme="light"] {
  --bg-obsidian: #ffffff;
  --bg-surface: #f7f9fc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);

  --border-hairline: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-accent: rgba(2, 132, 199, 0.42);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-blue: #0284c7;
  --accent-cyan: #0284c7;
  --accent-warm: #d97706;
  --accent-emerald: #059669;

  --shadow-card: 0 2px 6px rgba(15, 23, 42, 0.04), 0 14px 34px -14px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

html[data-theme="light"] .site-header.scrolled {
  background: var(--bg-glass);
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .brand-mark img {
  filter: none;
}

html[data-theme="light"] .btn-primary {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.35);
}

html[data-theme="light"] .btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 12px 28px -10px rgba(2, 132, 199, 0.35);
}

html[data-theme="light"] .btn-ghost {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

html[data-theme="light"] .btn-ghost:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
}

html[data-theme="light"] .btn-live-link {
  border-color: rgba(2, 132, 199, 0.42);
  color: #0284c7;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .lang-toggle,
html[data-theme="light"] .menu-toggle {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html[data-theme="light"] .mobile-drawer-panel,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .site-footer {
  background: #ffffff;
}

html[data-theme="light"] .mobile-drawer-backdrop,
html[data-theme="light"] .modal-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

html[data-theme="light"] .mobile-nav-link {
  border-bottom-color: #f1f5f9;
}

html[data-theme="light"] .hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

html[data-theme="light"] .hero-bg-dark {
  display: none;
}

html[data-theme="light"] .hero-bg-light {
  display: block;
  opacity: 0.86;
  object-position: right center;
}

html[data-theme="light"] .hero-canvas {
  opacity: 0;
}

html[data-theme="light"] .hero-vignette {
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0.3) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.96) 100%);
}

html[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: #e2e8f0;
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .text-gradient {
  background: linear-gradient(100deg, #0284c7 0%, #0ea5e9 52%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .quick-entry-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .quick-entry-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 14px 32px -14px rgba(2, 132, 199, 0.22);
}

html[data-theme="light"] .quick-entry-warm:hover {
  border-color: #d97706;
  box-shadow: 0 14px 32px -14px rgba(217, 119, 6, 0.22);
}

html[data-theme="light"] .qe-badge {
  color: #0284c7;
}

html[data-theme="light"] .quick-entry-warm .qe-badge {
  color: #d97706;
}

html[data-theme="light"] .section-surface {
  background: #f7f9fc;
}

html[data-theme="light"] .filter-tabs {
  background: #f1f5f9;
}

html[data-theme="light"] .filter-tab.active {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Keep photo Bento cards crisp & high-contrast in Light Mode while making UI Bento cards bright white! */
html[data-theme="light"] .bento-card.has-image {
  color: #f8fafc;
  box-shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.2);
}

html[data-theme="light"] .bento-card.has-image .card-action,
html[data-theme="light"] .bento-card.has-image .card-title {
  color: #ffffff;
}

html[data-theme="light"] .bento-card.has-image .card-action:hover {
  color: #7dd3fc;
}

html[data-theme="light"] .bento-card.bento-ui {
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .bento-card.bento-ui .card-index {
  color: #64748b;
}

html[data-theme="light"] .bento-card.bento-ui .card-desc {
  color: #475569;
}

html[data-theme="light"] .bento-card.bento-ui .card-footer {
  border-top-color: #e2e8f0;
}

html[data-theme="light"] .bento-card.bento-ui .card-pills span {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

html[data-theme="light"] .bento-card.bento-ui .card-live-badge {
  background: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.26);
  color: #059669;
}

html[data-theme="light"] .bento-card.bento-ui .card-tag {
  background: #f0f9ff;
  border-color: rgba(2, 132, 199, 0.22);
  color: #0284c7;
}

html[data-theme="light"] .bento-card.bento-ui .card-tag.tag-pilot {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

html[data-theme="light"] .mini-ui-panel,
html[data-theme="light"] .pipeline-graphic,
html[data-theme="light"] .cloud-mod-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html[data-theme="light"] .cap-row,
html[data-theme="light"] .pipe-node {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #334155;
}

html[data-theme="light"] .pipe-node.active {
  background: #f0f9ff;
  border-color: rgba(2, 132, 199, 0.35);
}

html[data-theme="light"] .solutions-shell,
html[data-theme="light"] .case-workflow-card,
html[data-theme="light"] .tech-card,
html[data-theme="light"] .pillar-item,
html[data-theme="light"] .contact-shell {
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .tech-card:hover {
  background: #ffffff;
  border-color: #0284c7;
}

html[data-theme="light"] .tech-icon {
  background: #f0f9ff;
  border-color: rgba(2, 132, 199, 0.2);
}

html[data-theme="light"] .solution-tabs {
  background: #f8fafc;
}

html[data-theme="light"] .solution-tab.active {
  background: #ffffff;
}

html[data-theme="light"] .sol-stat-card,
html[data-theme="light"] .case-step,
html[data-theme="light"] .ms-card,
html[data-theme="light"] .modal-feature-item,
html[data-theme="light"] .sector-tags span {
  background: #ffffff;
  border-color: #e2e8f0;
}

html[data-theme="light"] .ms-tag {
  background: #f0f9ff;
  color: #0284c7;
}

html[data-theme="light"] .ms-tag-live {
  background: #ecfdf5;
  color: #059669;
}

html[data-theme="light"] .wechat-qr-box {
  background: #f0fdf4;
  border-color: rgba(5, 150, 105, 0.26);
}

html[data-theme="light"] .qr-copied-banner {
  background: #ecfdf5;
  color: #059669;
}

html[data-theme="light"] .sol-arch-flow,
html[data-theme="light"] .modal-meta-bar {
  background: #f0f9ff;
  border-color: rgba(2, 132, 199, 0.22);
  color: #0369a1;
}

html[data-theme="light"] .arch-step span {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.22);
}

html[data-theme="light"] .wechat-tip-card {
  background: #f0fdf4;
  border-color: rgba(5, 150, 105, 0.24);
}

html[data-theme="light"] .wechat-tip-icon {
  background: #dcfce7;
  color: #059669;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group select:focus,
html[data-theme="light"] .form-group textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
}

html[data-theme="light"] .form-feedback.error {
  color: #e11d48;
}

html[data-theme="light"] .form-feedback.success {
  color: #059669;
  background: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.24);
}

html[data-theme="light"] .modal-close {
  background: #f1f5f9;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1080px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-wide {
    grid-column: span 2;
  }
  .tech-grid,
  .milestones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid,
  .contact-shell,
  .sol-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }
  .container {
    padding: 0 20px;
  }
  .main-nav,
  .header-cta,
  .header-actions .lang-toggle {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .brand-mark {
    height: 30px;
  }
  .brand-name {
    font-size: 1.04rem;
    letter-spacing: 0.04em;
  }
  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 42px) 0 60px;
  }
  .scroll-cue {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  .bento-grid,
  .hero-quick-entries,
  .hero-metrics,
  .cloud-modules,
  .solution-tabs,
  .case-steps-grid,
  .tech-grid,
  .milestones-grid,
  .form-row-2,
  .modal-features,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .wechat-qr-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .wf-sep {
    display: none;
  }

  .workflow-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .bento-card {
    min-height: 350px;
  }
  .solution-tab {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 18px 20px;
  }
  .solution-panel {
    padding: 26px 20px;
  }
  .case-workflow-card {
    padding: 24px 20px;
  }
  .contact-shell {
    padding: 28px 20px;
  }
  .wechat-tip-card {
    flex-wrap: wrap;
  }
  .copy-wechat-btn {
    margin-left: 0;
  }
  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .status-dot,
  .live-dot,
  .scroll-line {
    animation: none;
  }
}
