/* ==========================================
   芯卫纳 - 科技风芯片检测公司网站样式
   ========================================== */

/* ---- CSS Variables ---- */
:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --secondary: #7b2fff;
  --accent: #ff6b35;
  --bg-dark: #020c1b;
  --bg-card: #0a1628;
  --bg-card2: #0d1f3c;
  --border: rgba(0, 212, 255, 0.15);
  --border-bright: rgba(0, 212, 255, 0.4);
  --text-primary: #e8f4fd;
  --text-secondary: #8ba8c4;
  --text-muted: #4a6a8a;
  --glow: 0 0 20px rgba(0, 212, 255, 0.4);
  --glow-strong: 0 0 40px rgba(0, 212, 255, 0.6);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-bright);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-lg { padding: 14px 36px; font-size: 1rem; }

.btn-card {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.btn-card:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}
.navbar.scrolled {
  background: rgba(2, 12, 27, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: var(--glow);
}
.logo-text { color: var(--text-primary); }
.logo-text em { font-style: normal; color: var(--primary); }

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: var(--transition);
  box-shadow: var(--glow);
}
.nav-item:hover, .nav-item.active { color: var(--primary); }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 40px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-bright);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp 1.1s ease 0.3s both;
}
.hero-actions button { display: flex; align-items: center; gap: 8px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeInUp 1.2s ease 0.4s both;
}
.stat-item { text-align: center; padding: 0 28px; }
.stat-item:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.78rem; color: var(--text-secondary); letter-spacing: 0.5px; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Chip 3D Visual */
.hero-chip-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.chip-3d {
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.chip-body {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, #0d1f3c, #1a3a6b);
  border: 2px solid rgba(0,212,255,0.5);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,212,255,0.25), inset 0 0 40px rgba(0,212,255,0.05);
}

.chip-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(123,47,255,0.15));
  border: 1px solid rgba(0,212,255,0.6);
  border-radius: 8px;
  animation: pulse-core 2s ease-in-out infinite;
}

.chip-core::before {
  content: '';
  position: absolute;
  inset: 10px;
  background: linear-gradient(45deg, rgba(0,212,255,0.1), transparent);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 4px;
}

.chip-pins {
  position: absolute;
  display: flex;
  gap: 8px;
}
.chip-pins.top, .chip-pins.bottom {
  flex-direction: row;
  left: 50%; transform: translateX(-50%);
}
.chip-pins.top { top: -12px; }
.chip-pins.bottom { bottom: -12px; }
.chip-pins.left, .chip-pins.right {
  flex-direction: column;
  top: 50%; transform: translateY(-50%);
}
.chip-pins.left { left: -12px; }
.chip-pins.right { right: -12px; }

.chip-pins::before, .chip-pins::after,
.chip-pins.top::before, .chip-pins.top::after {
  content: '';
  width: 18px; height: 8px;
  background: rgba(0,212,255,0.6);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0,212,255,0.4);
}
.chip-pins.left::before, .chip-pins.left::after,
.chip-pins.right::before, .chip-pins.right::after {
  width: 8px; height: 18px;
}

.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  top: 0;
  animation: scan 2.5s linear infinite;
  box-shadow: 0 0 12px var(--primary);
}

.chip-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
  z-index: -1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 2s ease 1s both;
}
.scroll-dot {
  width: 6px; height: 20px;
  border: 2px solid var(--border-bright);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
  animation: scroll-dot 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================
   SECTION COMMON
   ========================================== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==========================================
   DEVICES SECTION
   ========================================== */
.devices-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #040f20 50%, var(--bg-dark) 100%);
  position: relative;
}
.devices-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.device-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.87rem;
  font-weight: 500;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(0,212,255,0.1);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.device-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow);
}
.device-card.featured {
  border-color: rgba(123,47,255,0.4);
  background: linear-gradient(135deg, #0a1628, #120f28);
}
.device-card.featured:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(123,47,255,0.4); }

.device-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 0;
  position: relative;
}
.device-icon {
  width: 42px; height: 42px;
  background: rgba(0,212,255,0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}
.featured .device-icon { background: rgba(123,47,255,0.15); border-color: rgba(123,47,255,0.3); color: #a855f7; }

.device-badge {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-optical { background: rgba(0,212,255,0.12); color: var(--primary); border: 1px solid rgba(0,212,255,0.2); }
.badge-electrical { background: rgba(255,193,7,0.12); color: #ffc107; border: 1px solid rgba(255,193,7,0.2); }
.badge-xray { background: rgba(255,107,53,0.12); color: var(--accent); border: 1px solid rgba(255,107,53,0.2); }
.badge-ai { background: rgba(123,47,255,0.12); color: #a855f7; border: 1px solid rgba(123,47,255,0.2); }

.featured-tag {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
}

/* Device Schematics */
.device-image {
  padding: 16px 20px;
}
.device-placeholder {
  height: 130px;
  background: rgba(4,15,32,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Optical Schematic */
.optical-schematic { position: relative; width: 100px; height: 100px; }
.lens-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 50%;
  animation: rotate-ring 4s linear infinite;
}
.lens-ring.r1 { width: 30px; height: 30px; }
.lens-ring.r2 { width: 60px; height: 60px; animation-direction: reverse; animation-duration: 6s; }
.lens-ring.r3 { width: 90px; height: 90px; animation-duration: 8s; }
.center-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: var(--glow);
}
.scan-beam {
  position: absolute;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.6), transparent);
  left: 50%;
  animation: scan-beam 2s ease-in-out infinite;
}

/* Electrical Schematic */
.electrical-schematic { position: relative; width: 120px; height: 80px; }
.probe-array {
  width: 80px; height: 40px;
  border: 1px solid rgba(255,193,7,0.5);
  border-radius: 4px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,193,7,0.05);
}
.signal-wave {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,193,7,0.6), transparent);
  animation: wave-anim 2s ease-in-out infinite;
}
.signal-wave.w1 { top: 20%; animation-delay: 0s; }
.signal-wave.w2 { top: 50%; animation-delay: 0.3s; }
.signal-wave.w3 { top: 80%; animation-delay: 0.6s; }

/* X-Ray Schematic */
.xray-schematic { position: relative; width: 120px; height: 100px; }
.xray-beam {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 80px;
  background: linear-gradient(180deg, rgba(255,107,53,0.8), transparent);
  box-shadow: 0 0 10px rgba(255,107,53,0.6);
}
.xray-target {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 30px;
  border: 1px solid rgba(255,107,53,0.5);
  border-radius: 4px;
  background: rgba(255,107,53,0.05);
}
.xray-scan {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px dashed rgba(255,107,53,0.4);
  top: 20%; left: 50%; transform: translateX(-50%);
  animation: rotate-ring 3s linear infinite;
}

/* AI Schematic */
.ai-schematic { position: relative; width: 120px; height: 80px; }
.neural-node {
  position: absolute;
  width: 16px; height: 16px;
  background: rgba(123,47,255,0.2);
  border: 2px solid rgba(123,47,255,0.6);
  border-radius: 50%;
  animation: pulse-node 2s ease-in-out infinite;
}
.neural-node.n1 { top: 10%; left: 10%; animation-delay: 0s; }
.neural-node.n2 { top: 50%; left: 40%; transform: translate(-50%,-50%); animation-delay: 0.4s; }
.neural-node.n3 { bottom: 10%; right: 10%; animation-delay: 0.8s; }
.neural-conn {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(123,47,255,0.6), transparent);
  transform-origin: left;
  animation: conn-pulse 2s ease-in-out infinite;
}
.neural-conn.c1 { width: 50px; top: 18%; left: 22%; transform: rotate(30deg); }
.neural-conn.c2 { width: 50px; top: 45%; left: 45%; }
.neural-conn.c3 { width: 50px; top: 30%; left: 10%; transform: rotate(60deg); }

.device-info { padding: 16px 20px 20px; }
.device-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.device-info p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }

.device-specs-mini {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.device-specs-mini span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.device-specs-mini i { color: var(--primary); }

/* ==========================================
   SPECS SECTION
   ========================================== */
.specs-section {
  background: var(--bg-dark);
  position: relative;
}
.specs-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.specs-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.specs-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.spec-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px 22px;
  font-size: 0.87rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}
.spec-tab:hover { color: var(--primary); }
.spec-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.spec-content { display: none; }
.spec-content.active { display: block; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
.spec-table th, .spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table thead tr {
  background: rgba(0,212,255,0.05);
}
.spec-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.spec-table td { color: var(--text-secondary); }
.spec-table tbody tr:hover { background: rgba(0,212,255,0.04); }
.spec-val { color: var(--primary) !important; font-weight: 700; font-family: 'Courier New', monospace; }

/* Radar Chart */
.specs-visual {
  position: sticky;
  top: 100px;
}

.radar-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.radar-labels { position: relative; }
.rl {
  position: absolute;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  pointer-events: none;
}
/* Labels position */
.rl-top    { top: 0; left: 50%; transform: translateX(-50%); }
.rl-tr     { top: 20%; right: 0; }
.rl-br     { bottom: 10%; right: 0; }
.rl-bottom { bottom: -4px; left: 50%; transform: translateX(-50%); }
.rl-bl     { bottom: 10%; left: 0; }
.rl-tl     { top: 20%; left: 0; }

.capability-bars {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.cap-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 8px;
  margin-bottom: 18px;
}
.cap-bar:last-child { margin-bottom: 0; }
.cap-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  grid-row: 1;
}
.cap-label i { color: var(--primary); font-size: 0.75rem; }
.cap-val { font-size: 0.82rem; color: var(--primary); font-weight: 700; grid-row: 1; }
.cap-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  grid-column: 1 / 3;
  grid-row: 2;
}
.cap-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0,212,255,0.5);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #040f20 100%);
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
}

.tl-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0.6;
  transition: var(--transition);
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item.active, .tl-item:hover { opacity: 1; }

.tl-dot {
  position: absolute;
  left: -28px; top: 4px;
  width: 16px; height: 16px;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  border-radius: 50%;
  transition: var(--transition);
}
.tl-item.active .tl-dot, .tl-item:hover .tl-dot {
  background: var(--primary);
  box-shadow: var(--glow);
}

.tl-year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.tl-content { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.7; }

/* About Content */
.about-content .section-tag { display: inline-flex; }
.about-content .section-title { text-align: left; margin-top: 12px; }
.about-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.9; margin-bottom: 16px; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.highlight-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 14px;
  transition: var(--transition);
}
.highlight-item:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.hi-icon {
  width: 40px; height: 40px;
  background: rgba(0,212,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hi-content h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.hi-content p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.6; }

.cert-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,255,0.06);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.cert-badge:hover {
  border-color: var(--border-bright);
  color: var(--primary);
}
.cert-badge i { color: var(--primary); font-size: 0.72rem; }

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  background: var(--bg-dark);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--border-bright); transform: translateX(4px); }

.cc-icon {
  width: 42px; height: 42px;
  background: rgba(0,212,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-btn {
  width: 42px; height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: rgba(0,212,255,0.1); border-color: var(--primary); color: var(--primary); box-shadow: var(--glow); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.form-group label span { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(4,15,32,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-group select option { background: var(--bg-card2); color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #020c1b;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

.footer-links h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   MODAL
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,12,27,0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

.modal-content { padding: 32px; }
.modal-content h2 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-content .modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.modal-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.modal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.modal-spec-item {
  background: rgba(4,15,32,0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.modal-spec-item .spec-key { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.modal-spec-item .spec-value { font-size: 0.9rem; color: var(--primary); font-weight: 700; }

/* ==========================================
   TOAST
   ========================================== */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
@keyframes scan-beam { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes rotate-ring { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse-core { 0%, 100% { opacity: 0.6; box-shadow: 0 0 10px rgba(0,212,255,0.3); } 50% { opacity: 1; box-shadow: 0 0 30px rgba(0,212,255,0.6); } }
@keyframes pulse-glow { 0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } }
@keyframes pulse-node { 0%, 100% { transform: scale(1); box-shadow: 0 0 5px rgba(123,47,255,0.4); } 50% { transform: scale(1.3); box-shadow: 0 0 15px rgba(123,47,255,0.7); } }
@keyframes wave-anim { 0%, 100% { opacity: 0.3; transform: scaleX(0.7); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes conn-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes scroll-dot { 0% { top: -10px; opacity: 0; } 50% { opacity: 1; } 100% { top: 20px; opacity: 0; } }

/* Intersection Observer animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  .specs-layout { grid-template-columns: 1fr; }
  .specs-visual { position: static; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(2,12,27,0.97); border-bottom: 1px solid var(--border); padding: 20px 40px; flex-direction: column; gap: 16px; backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat-item { padding: 12px 20px; }
  .hero-chip-visual { min-height: 280px; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-container { padding: 0 20px; }
  .section-container { padding: 60px 20px; }
  .about-layout { padding: 60px 20px; }
  .devices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .spec-tab { padding: 10px 12px; font-size: 0.8rem; }
  .hero-title { font-size: 2rem; }
  .hero-actions { justify-content: center; }
}
