/* ==========================================================================
   SUZHOU MICROZONE TECHNOLOGY CO., LTD. (苏州微众科技有限公司)
   Flagship Digital Portal - "Atmospheric Deep-Tech & Sovereign Computing"
   Design System v2026.10
   ========================================================================== */

:root {
  --bg-void: #030712;
  --bg-deep: #070e20;
  --bg-surface: rgba(13, 23, 48, 0.72);
  --bg-surface-hover: rgba(20, 35, 72, 0.88);
  --bg-glass: rgba(15, 25, 50, 0.55);
  --border-subtle: rgba(99, 179, 237, 0.16);
  --border-glow: rgba(56, 189, 248, 0.48);
  --border-gold: rgba(245, 158, 11, 0.42);

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

  --accent-cyan: #00f0ff;
  --accent-blue: #2563eb;
  --accent-indigo: #6366f1;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-telecom: #0284c7;

  --gradient-hero: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.28) 0%, rgba(0, 240, 255, 0.1) 35%, rgba(3, 7, 18, 0) 70%);
  --gradient-brand: linear-gradient(135deg, #00f0ff 0%, #3b82f6 50%, #6366f1 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.85) 100%);

  --shadow-glow: 0 0 35px rgba(0, 240, 255, 0.15);
  --shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

body {
  background-color: var(--bg-void);
  background-image:
    var(--gradient-hero),
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

ul {
  list-style: none;
}

/* Canvas Particle Backdrop */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

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

/* Top Executive Bar */
.topbar {
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-live {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 11, 26, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #00f0ff 0%, #1d4ed8 60%, #4338ca 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #030712;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
  letter-spacing: -0.5px;
}

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

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ffffff 0%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 10.5px;
  letter-spacing: 2.2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #020617;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.35);
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.6);
}

/* Hero Section */
.hero {
  padding: 92px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(95deg, #00f0ff 0%, #60a5fa 48%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  max-width: 860px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #020617;
  box-shadow: 0 12px 32px -6px rgba(0, 240, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -4px rgba(0, 240, 255, 0.65);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-3px);
}

/* Metrics Ribbon */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-deep);
}

.metric-card {
  padding: 14px 18px;
  border-left: 3px solid var(--accent-cyan);
}

.metric-value {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.metric-unit {
  font-size: 16px;
  color: var(--accent-cyan);
  margin-left: 4px;
}

.metric-label {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Section Headers */
.section {
  padding: 84px 0;
  position: relative;
}

.section-alt {
  background: rgba(7, 14, 32, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  max-width: 780px;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-deep);
}

.card:hover::before {
  opacity: 1;
}

.card-gold::before {
  background: var(--gradient-gold);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.card-badge.gold {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.card-badge.emerald {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
}

/* Tables & Matrices */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.data-table th {
  background: rgba(15, 23, 42, 0.95);
  color: var(--accent-cyan);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: rgba(56, 189, 248, 0.05);
  color: var(--text-primary);
}

/* Interactive Calculators & Panels */
.console-box {
  background: rgba(8, 15, 34, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-glow);
}

.slider-group {
  margin-bottom: 22px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.select-input,
.text-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 14.5px;
  margin-bottom: 16px;
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-brand);
  color: #020617;
  border-color: transparent;
}

/* Footer */
.footer {
  background: #02050e;
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 36px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 13.5px;
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
