/* ============================================================
   Spectrum Control — global stylesheet
   Theme: tech / deep-space / neon cyan
   ============================================================ */

/* ---------- 0. CSS variables ---------- */
:root {
  --bg-0: #04060d;
  --bg-1: #070b18;
  --bg-2: #0a1124;
  --bg-3: #0d1830;
  --line: rgba(0, 194, 255, 0.14);
  --line-2: rgba(125, 249, 255, 0.28);
  --primary: #00c2ff;
  --primary-2: #7df9ff;
  --primary-3: #3b82f6;
  --accent: #a5f3fc;
  --text: #dbe6f5;
  --text-dim: #92a3bd;
  --text-mute: #5b6b85;
  --danger: #ff4d6d;
  --success: #36e0a1;
  --grad-1: linear-gradient(135deg, #00c2ff 0%, #3b82f6 100%);
  --grad-2: linear-gradient(135deg, #7df9ff 0%, #00c2ff 60%, #3b82f6 100%);
  --grad-3: linear-gradient(180deg, rgba(0, 194, 255, 0.18) 0%, rgba(0, 194, 255, 0) 100%);
  --shadow-glow: 0 0 28px rgba(0, 194, 255, 0.35), 0 0 60px rgba(0, 194, 255, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', Consolas, 'Liberation Mono', monospace;
  --container: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary-2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- 2. Background canvas (starfield + grid) ---------- */
.bg-stars {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 194, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #04060d 0%, #070b18 60%, #04060d 100%);
  pointer-events: none;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
#starfield {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
}

/* ---------- 3. Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
}

/* ---------- 4. Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(4, 6, 13, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(4, 6, 13, 0.85);
  border-bottom-color: var(--line-2);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; }
.nav-menu {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
  flex: 1; justify-content: center;
}
.nav-menu a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-dim);
  border-radius: 6px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-menu a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--grad-2);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}
.nav-right {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 194, 255, 0.05);
}
.lang-toggle button {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--text-dim);
  transition: all 0.2s var(--ease);
  letter-spacing: 0.5px;
}
.lang-toggle button.active {
  background: var(--grad-1);
  color: #04060d;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.4);
}
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(4, 6, 13, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-2);
    padding: 20px 28px 28px;
    gap: 4px;
  }
  .nav-menu.open a {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu.open a.active::after { display: none; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  position: relative;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-1);
  color: #04060d;
  box-shadow: 0 4px 20px rgba(0, 194, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 194, 255, 0.5);
  color: #04060d;
}
.btn-ghost {
  background: rgba(0, 194, 255, 0.06);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(0, 194, 255, 0.12);
  border-color: var(--primary);
  color: var(--primary-2);
}
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-2);
  letter-spacing: 0.4px;
}
.btn-link::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}
.btn-link:hover { color: var(--primary-2); }
.btn-link:hover::after { transform: translateX(4px); }

/* ---------- 6. Section ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section-sm { padding: 80px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary-2);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--primary-2);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.section-title em {
  font-style: normal;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-lead {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 720px;
  line-height: 1.8;
  margin: 0 0 60px;
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-sm { padding: 50px 0; }
  .section-desc { margin-bottom: 40px; }
}

/* ---------- 7. Hero ---------- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(59, 130, 246, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 70%, rgba(0, 194, 255, 0.18), transparent 60%);
}
.hero-orb {
  position: absolute; z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, #00c2ff 0%, transparent 70%);
  animation: float 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 194, 255, 0.06);
  font-size: 13px;
  color: var(--primary-2);
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 1px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 8px var(--primary-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -1px;
}
.hero-title .grad {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.8;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 800px;
}
.hero-kpi {
  padding: 22px 20px;
  background: rgba(7, 11, 24, 0.7);
  text-align: center;
  position: relative;
}
.hero-kpi-label {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.hero-kpi-value {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 768px) {
  .hero-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-kpi { padding: 16px 12px; }
}

/* ---------- 8. Page header (inner pages) ---------- */
.page-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 194, 255, 0.18), transparent 70%);
  z-index: -1;
}
.page-header h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.page-header h1 em {
  font-style: normal;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-header .lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 760px;
  line-height: 1.8;
  margin: 0 0 14px;
}
.page-header .desc {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 760px;
  line-height: 1.8;
  margin: 0;
}

/* ---------- 9. Card ---------- */
.card {
  background: linear-gradient(180deg, rgba(13, 24, 48, 0.5) 0%, rgba(7, 11, 24, 0.5) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-3);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 194, 255, 0.15);
}
.card:hover::before { opacity: 1; }
.card-body { position: relative; z-index: 1; }

.card-corner {
  position: absolute; top: 0; right: 0;
  width: 32px; height: 32px;
  pointer-events: none;
}
.card-corner::before, .card-corner::after {
  content: ''; position: absolute;
  background: var(--primary);
  opacity: 0.5;
}
.card-corner::before {
  top: 8px; right: 0; width: 18px; height: 1px;
}
.card-corner::after {
  top: 0; right: 8px; width: 1px; height: 18px;
}

/* ---------- 10. Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 11. Feature card ---------- */
.feature {
  padding: 32px 28px;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid var(--line-2);
  margin-bottom: 20px;
  color: var(--primary-2);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}
.feature p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
}

/* ---------- 12. Product card ---------- */
.prod-card {
  display: flex; flex-direction: column;
  height: 100%;
}
.prod-card .prod-model {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--primary-2);
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.prod-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.4;
}
.prod-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}
.prod-card .specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.spec-chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  background: rgba(0, 194, 255, 0.04);
}

/* ---------- 13. Line card (bigger product line card) ---------- */
.line-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.line-card .line-img {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #0a1124 0%, #1a2745 100%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.line-card .line-img svg { width: 70%; height: 70%; }
.line-card h3 {
  font-size: 26px;
  margin: 6px 0 14px;
  font-weight: 700;
}
.line-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0 0 18px;
}
.line-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.line-card li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-dim);
}
.line-card li::before {
  content: '▸';
  position: absolute; left: 0; top: 0;
  color: var(--primary-2);
}
@media (max-width: 768px) {
  .line-card { grid-template-columns: 1fr; gap: 24px; }
  .line-card h3 { font-size: 22px; }
}

/* ---------- 14. Scenario card ---------- */
.scenario {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a1124 0%, #1a2745 100%);
}
.scenario::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 6, 13, 0.85) 100%);
}
.scenario-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.scenario-img svg { width: 100%; height: 100%; }
.scenario-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 22px;
  z-index: 2;
}
.scenario-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.scenario-text p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}
.scenario-corner {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(4, 6, 13, 0.6);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--primary-2);
  letter-spacing: 1px;
  z-index: 2;
}
.scenario-corner::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 6px var(--primary-2);
}

/* ---------- 15. KPI strip ---------- */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 50px 0;
}
.kpi-strip > div {
  padding: 26px 20px;
  background: rgba(7, 11, 24, 0.7);
  text-align: center;
}
.kpi-strip .k {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.kpi-strip .v {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 960px) {
  .kpi-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 16. CTA banner ---------- */
.cta-banner {
  margin-top: 100px;
  padding: 60px 48px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(0, 194, 255, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(59, 130, 246, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(13, 24, 48, 0.6) 0%, rgba(7, 11, 24, 0.6) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.3;
}
.cta-banner h2 em {
  font-style: normal;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-banner p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-banner .actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ---------- 17. Tabs (applications) ---------- */
.tabs {
  display: flex; gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.5);
  margin-bottom: 36px;
  width: fit-content;
  margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: var(--grad-1);
  color: #04060d;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.3);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.tab-panel-head h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-mono);
  color: var(--primary-2);
  letter-spacing: 0.5px;
}
.tab-panel-head .meta {
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 1.5px;
}
.tab-panel-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.tab-panel-body .visual {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a1124 0%, #1a2745 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.tab-panel-body .visual svg { width: 80%; height: 80%; }
.tab-panel-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0 0 24px;
}
.tab-panel-body ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.tab-panel-body li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
}
.tab-panel-body li::before {
  content: '◆';
  position: absolute; left: 0; top: 0;
  color: var(--primary-2);
  font-size: 10px;
  top: 5px;
}
@media (max-width: 768px) {
  .tab-panel-body { grid-template-columns: 1fr; }
  .tab-panel-body ul { grid-template-columns: 1fr; }
}

/* ---------- 18. Table ---------- */
.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0 50px;
  font-size: 13px;
  background: rgba(7, 11, 24, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tbl th, .tbl td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--text-dim);
}
.tbl th {
  background: rgba(0, 194, 255, 0.06);
  color: var(--primary-2);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.tbl th:last-child, .tbl td:last-child { border-right: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(0, 194, 255, 0.04); color: var(--text); }
.tbl td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .tbl { font-size: 11px; }
  .tbl th, .tbl td { padding: 8px 6px; }
}

/* ---------- 19. Form ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.form-field label::after { content: ''; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  background: rgba(7, 11, 24, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s var(--ease);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.15);
  background: rgba(7, 11, 24, 0.8);
}
.form-field textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.form-field .req { color: var(--danger); }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 20. Tag pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--primary-2);
  background: rgba(0, 194, 255, 0.04);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}
.pill::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 6px var(--primary-2);
}

/* ---------- 21. Filter chips (products page) ---------- */
.filter-chips {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(7, 11, 24, 0.4);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-chip:hover { color: var(--text); border-color: var(--line-2); }
.filter-chip.active {
  background: var(--grad-1);
  color: #04060d;
  border-color: var(--primary);
  font-weight: 600;
}

/* ---------- 22. Footer ---------- */
.footer {
  margin-top: 100px;
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 11, 24, 0) 0%, rgba(7, 11, 24, 0.6) 100%);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .tag {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 1.5px;
}
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-2);
  margin: 0 0 18px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer a { color: var(--text-dim); font-size: 14px; }
.footer a:hover { color: var(--primary-2); }
.footer .info {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}
.footer .info .row { display: flex; gap: 8px; align-items: flex-start; }
.footer .info .row svg {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--primary-2);
  margin-top: 3px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: var(--text-mute);
}
.footer-socials {
  display: flex; gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary-2);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.3);
}
.footer-socials svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 23. Reveal-on-scroll (only when JS marks body.ready and supports IO) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
body.js-ready.io .reveal:not(.in) {
  opacity: 0;
  transform: translateY(20px);
}
body.js-ready .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 24. Contact info card ---------- */
.contact-info {
  display: flex; flex-direction: column; gap: 18px;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 24, 0.5);
}
.contact-row .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid var(--line-2);
  color: var(--primary-2);
  flex-shrink: 0;
}
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row .label {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.contact-row .value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* ---------- 25. About page blocks ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-grid .visual {
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a1124 0%, #1a2745 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-grid .visual svg { width: 80%; height: 80%; }
.about-grid .text p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.85;
  margin: 0 0 16px;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.value-block {
  text-align: center;
  padding: 32px 24px;
}
.value-block .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid var(--line-2);
  color: var(--primary-2);
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-bottom: 18px;
}
.value-block h3 {
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 700;
}
.value-block p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
}

.mv-block {
  text-align: center;
  padding: 40px 28px;
}
.mv-block .pill {
  margin-bottom: 18px;
}
.mv-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}
.mv-block p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0;
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- 26. Tech chain (horizontal flow) ---------- */
.chain {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  margin: 30px 0 0;
}
.chain-step {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(7, 11, 24, 0.5);
  position: relative;
  flex: 0 0 auto;
  min-width: 180px;
}
.chain-step .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-1);
  color: #04060d;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.chain-step .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.chain-arrow {
  display: flex; align-items: center;
  color: var(--primary-2);
  font-family: var(--font-mono);
  font-size: 18px;
}
@media (max-width: 768px) {
  .chain { gap: 8px; }
  .chain-step { min-width: 140px; padding: 12px 14px; }
}

/* ---------- 27. Modal (placeholder) ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 24px;
  background: rgba(7, 11, 24, 0.95);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s var(--ease);
  pointer-events: none;
  display: flex; align-items: center; gap: 10px;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast .ic {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  color: #04060d;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 28. Utilities ---------- */
.text-grad {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }
.center { text-align: center; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  margin: 60px 0;
}
