/* ========================================
   航泽电子 - 电子芯片交易平台
   Design System & Global Styles
   ======================================== */

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

:root {
  --primary: #0A1F44;
  --primary-light: #1a3a6e;
  --primary-lighter: #2d5390;
  --accent: #2563EB;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --bg-gray: #F5F7FA;
  --bg-white: #ffffff;
  --text-primary: #0A1F44;
  --text-secondary: #5a6a80;
  --text-muted: #8b9bb4;
  --border: #e2e8f0;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #ea580c;
  --warning-bg: #fff7ed;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 68, 0.08);
  --shadow: 0 2px 8px rgba(10, 31, 68, 0.1);
  --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.12);
  --shadow-lg: 0 8px 32px rgba(10, 31, 68, 0.15);
  --shadow-blue: 0 4px 20px rgba(37, 99, 235, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1280px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: var(--bg-gray);
  color: var(--primary);
}

.btn-ghost:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-gray);
  border-radius: 100px;
  padding: 8px 16px;
  width: 240px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.header-search:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-blue);
}

.header-search input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  margin-right: 8px;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .beian-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom .beian-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0A1F44 0%, #1a3a6e 50%, #2563EB 100%);
  color: #fff;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== Chip Animation Layer ===== */
.hero-chip-anim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

/* Circuit Traces */
.circuit-traces {
  position: absolute;
  width: 45%;
  height: 100%;
  opacity: 0.35;
}

.circuit-left {
  left: -5%;
  top: 0;
}

.circuit-right {
  right: -5%;
  top: 0;
}

/* Trace Path Draw Animation */
.trace-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  opacity: 0.6;
  animation: trace-draw 4s ease-out forwards;
}

.trace-1 { animation-delay: 0s; }
.trace-2 { animation-delay: 0.8s; }
.trace-3 { animation-delay: 1.6s; }
.trace-4 { animation-delay: 0.4s; }
.trace-5 { animation-delay: 1.2s; }
.trace-6 { animation-delay: 2s; }

@keyframes trace-draw {
  0% { stroke-dashoffset: 800; opacity: 0.2; }
  60% { opacity: 0.6; }
  100% { stroke-dashoffset: 0; opacity: 0.6; }
}

/* Trace path continuous glow after draw */
.trace-path {
  animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 4s infinite;
}

.trace-1 { animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 4s infinite; animation-delay: 0s, 0s; }
.trace-2 { animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 4.8s infinite; animation-delay: 0.8s, 0.8s; }
.trace-3 { animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 5.6s infinite; animation-delay: 1.6s, 1.6s; }
.trace-4 { animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 4.4s infinite; animation-delay: 0.4s, 0.4s; }
.trace-5 { animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 5.2s infinite; animation-delay: 1.2s, 1.2s; }
.trace-6 { animation: trace-draw 4s ease-out forwards, trace-glow 3s ease-in-out 6s infinite; animation-delay: 2s, 2s; }

@keyframes trace-glow {
  0%, 100% { opacity: 0.4; stroke-width: inherit; filter: none; }
  50% { opacity: 0.8; filter: drop-shadow(0 0 4px currentColor); }
}

/* Pulse Nodes at Circuit Intersections */
.pulse-node {
  opacity: 0;
  animation: node-appear 0.5s ease-out forwards, node-pulse 2s ease-in-out infinite;
}

.pulse-node:nth-child(1) { animation-delay: 1.2s, 1.7s; }
.pulse-node:nth-child(2) { animation-delay: 2s, 2.5s; }
.pulse-node:nth-child(3) { animation-delay: 2.8s, 3.3s; }
.pulse-node:nth-child(4) { animation-delay: 1.6s, 2.1s; }
.pulse-node:nth-child(5) { animation-delay: 2.4s, 2.9s; }
.pulse-node:nth-child(6) { animation-delay: 0.8s, 1.3s; }

.circuit-right .pulse-node:nth-child(1) { animation-delay: 1.6s, 2.1s; }
.circuit-right .pulse-node:nth-child(2) { animation-delay: 2.4s, 2.9s; }
.circuit-right .pulse-node:nth-child(3) { animation-delay: 2s, 2.5s; }
.circuit-right .pulse-node:nth-child(4) { animation-delay: 1.2s, 1.7s; }
.circuit-right .pulse-node:nth-child(5) { animation-delay: 2.8s, 3.3s; }

@keyframes node-appear {
  0% { opacity: 0; r: 0; }
  100% { opacity: 0.7; }
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.4; filter: none; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px currentColor); }
}

/* Floating Chip Outlines */
.chip-float {
  position: absolute;
  opacity: 0;
  animation: chip-float-in 2s ease-out forwards, chip-drift 8s ease-in-out infinite;
}

.chip-float-1 {
  width: 120px;
  height: 120px;
  left: 3%;
  top: 8%;
  animation-delay: 0.5s, 2.5s;
}

.chip-float-2 {
  width: 80px;
  height: 80px;
  right: 8%;
  top: 25%;
  animation-delay: 1.5s, 3.5s;
}

.chip-float-3 {
  width: 160px;
  height: 160px;
  right: 3%;
  bottom: 5%;
  animation-delay: 2.5s, 4.5s;
}

@keyframes chip-float-in {
  0% { opacity: 0; transform: scale(0.3) translateY(40px); }
  60% { opacity: 0.5; }
  100% { opacity: 0.4; transform: scale(1) translateY(0); }
}

@keyframes chip-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(2deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
  75% { transform: translateY(-18px) rotate(1deg); }
}

.chip-float rect {
  filter: drop-shadow(0 0 6px currentColor);
}

.chip-float line {
  opacity: 0.5;
}

.chip-float text {
  opacity: 0.5;
}

/* Data Flow Particles */
.data-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.data-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  color: #00FFFF;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  opacity: 0;
  letter-spacing: 0.05em;
  animation: data-flow 7s ease-in-out var(--delay) infinite;
}

@keyframes data-flow {
  0% { opacity: 0; transform: translateY(20px); }
  15% { opacity: 0.3; }
  30% { opacity: 0.15; transform: translateY(-30px); }
  50% { opacity: 0; transform: translateY(-60px); }
  100% { opacity: 0; transform: translateY(-80px); }
}

/* Aurora radial overlay for chip animation */
.hero-chip-anim::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(147, 129, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(19, 221, 196, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .trace-path,
  .pulse-node,
  .chip-float,
  .data-particle {
    animation: none !important;
    opacity: 0.3 !important;
  }
  .trace-path {
    stroke-dashoffset: 0 !important;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge span.dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ===== Search Section ===== */
.search-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.search-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.search-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-gray);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.search-tab.active {
  background: var(--primary);
  color: #fff;
}

.search-input-wrap {
  display: flex;
  gap: 12px;
}

.search-input-wrap input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.search-input-wrap input:focus {
  border-color: var(--accent);
}

.search-input-wrap .btn {
  flex-shrink: 0;
}

.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.search-tags span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.search-tags a {
  font-size: 0.82rem;
  color: var(--accent);
  padding: 4px 12px;
  background: var(--accent-light);
  border-radius: 100px;
  transition: var(--transition);
}

.search-tags a:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Section Spacing ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .badge {
  margin-bottom: 16px;
}

/* ===== Brand Wall ===== */
.brand-wall {
  background: #fff;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.brand-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.brand-item {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(1);
}

.brand-item:hover {
  opacity: 1;
  color: var(--primary);
  filter: grayscale(0);
  transform: scale(1.05);
}

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-card .img-wrap {
  position: relative;
  aspect-ratio: 1.6;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .img-wrap .chip-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.4;
}

.product-card .stock-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stock-tag.in-stock {
  background: var(--success-bg);
  color: var(--success);
}

.stock-tag.order {
  background: var(--warning-bg);
  color: var(--warning);
}

.product-card .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .card-brand {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.product-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-card .card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-card .card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.product-card .card-price small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ===== Advantage Section ===== */
.advantage-section {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.advantage-item {
  text-align: center;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.advantage-icon:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.advantage-icon svg {
  width: 30px;
  height: 30px;
  color: #60a5fa;
}

.advantage-item:hover .advantage-icon svg {
  color: #fff;
}

.advantage-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ===== Application Section ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1.4;
  cursor: pointer;
  transition: var(--transition);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.app-card .bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 82% 14%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 10% 92%, rgba(37, 99, 235, 0.45), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #0A1F44 0%, #143060 52%, #2563EB 100%);
}

.app-card .bg svg {
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.15);
}

/* 8 张方案卡片统一背景，定义见 .app-card .bg（深蓝渐变 + 双光晕 + 电路网格） */

.app-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 68, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.app-card .overlay h4 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.app-card .overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* ===== News Section ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-card .news-img {
  position: relative;
  aspect-ratio: 1.8;
  background: linear-gradient(135deg, #1a3a6e 0%, #2563EB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card .news-img svg {
  width: clamp(44px, 13%, 64px);
  height: auto;
  max-width: 70%;
  overflow: visible;
  color: rgba(255, 255, 255, 0.2);
}

.news-card .news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.news-card .news-body {
  padding: 24px;
}

.news-card .news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card .news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .read-more {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 600;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #0A1F44 0%, #1a3a6e 100%);
  color: #fff;
  padding: 64px 0 72px;
  text-align: center;
}

.page-header .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Taxonomy (应用领域) Hero ===== */
.tax-hero {
  background: linear-gradient(135deg, #0A1F44 0%, #1a3a6e 100%);
  color: #fff;
  padding: 56px 0 64px;
  text-align: center;
}

.tax-hero .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}

.tax-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.tax-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Product Listing Page ===== */
.plp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px 0;
}

.filter-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.filter-group {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 4px 8px;
  margin-left: -8px;
  margin-right: -8px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-option:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.filter-option .count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.filter-option:has(input:checked) {
  color: var(--accent);
  background: var(--accent-light);
}

.filter-option:has(input:checked) .count {
  color: var(--accent);
  font-weight: 500;
}

.plp-main {
  min-width: 0;
}

.plp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.plp-toolbar .result-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plp-toolbar .result-count strong {
  color: var(--primary);
}

.plp-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plp-sort select {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
}

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

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .ellipsis {
  border: none;
  background: transparent;
  cursor: default;
}

.pagination a.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

/* ===== Product Detail Page ===== */
.pdp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
}

.pdp-image {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.pdp-image .chip-large {
  width: 120px;
  height: 120px;
  color: var(--accent);
  opacity: 0.3;
}

.pdp-image .thumbs {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.pdp-image .thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.pdp-image .thumb.active,
.pdp-image .thumb:hover {
  border-color: var(--accent);
}

.pdp-image .thumb svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.pdp-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pdp-info .brand-line {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pdp-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.pdp-tag {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
}

.pdp-tag.green {
  background: var(--success-bg);
  color: var(--success);
}

.pdp-tag.blue {
  background: var(--accent-light);
  color: var(--accent);
}

.pdp-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pdp-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.specs-section {
  padding: 40px 0;
}

.specs-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.specs-table .spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border);
}

.specs-table .spec-row:last-child {
  border-bottom: none;
}

.specs-table .spec-row:nth-child(odd) {
  background: var(--bg-gray);
}

.specs-table .spec-label {
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.specs-table .spec-value {
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.brand-intro {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}

.brand-intro .brand-logo-box {
  width: 200px;
  height: 120px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-intro .brand-logo-box span {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.brand-intro h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.brand-intro p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Solutions Page ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.solution-card .sol-icon-box {
  padding: 40px 32px 24px;
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  display: flex;
  align-items: center;
  gap: 16px;
}

.solution-card .sol-icon-box svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
}

.solution-card .sol-icon-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.solution-card .sol-body {
  padding: 28px 32px;
}

.solution-card .sol-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.solution-card .sol-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.solution-card .sol-tags span {
  padding: 4px 12px;
  font-size: 0.78rem;
  background: var(--bg-gray);
  color: var(--text-secondary);
  border-radius: 100px;
}

.solution-card .sol-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}

.solution-card:hover .sol-more {
  opacity: 1;
  transform: translateX(0);
}

.cta-section {
  background: linear-gradient(135deg, #0A1F44 0%, #2563EB 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: #fff;
  margin-top: 64px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-intro .about-visual {
  aspect-ratio: 1.3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0A1F44, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-intro .about-visual svg {
  width: 100px;
  height: 100px;
  color: rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.stat-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-num {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563EB, #0A1F44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.timeline {
  position: relative;
  padding-left: 40px;
  margin-bottom: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item .year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.cert-card svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}

.cert-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== News Page ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Contact Page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 40px 0;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--bg-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item .icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item .icon-box svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.info-item .info-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.info-item .info-content p {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}

.contact-map {
  position: relative;
  margin-top: 32px;
  aspect-ratio: 2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef2f7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-map .map-actions {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.contact-map .map-actions .btn {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container { max-width: 100%; }

  .product-grid,
  .plp-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid,
  .app-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .pdp-hero { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .plp-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .brand-intro { grid-template-columns: 1fr; }

  /* PDP spec table responsive on medium screens */
  .specs-table { overflow-x: auto; }
  .specs-table .spec-row { grid-template-columns: 160px 1fr; }
}

/* ===== Hamburger Button (mobile) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1010;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== Mobile Slide Menu ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1005;
  padding: 80px 24px 24px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.mobile-menu a.active {
  font-weight: 600;
}

.mobile-menu a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mobile-menu .mobile-cta {
  margin-top: 24px;
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: none;
}

.mobile-menu .mobile-cta:hover {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu-overlay { display: block; opacity: 0; pointer-events: none; }
  .mobile-menu-overlay.active { pointer-events: auto; }

  .main-nav { display: none; }
  .header-search { display: none; }
  .header-actions .btn { display: none; }
  .header-actions { gap: 0; }

  .site-header .container {
    position: relative;
  }

  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  .page-header h1 { font-size: 2rem; }
  .page-header { padding: 60px 0 40px; }

  .product-grid,
  .plp-grid,
  .solutions-grid,
  .app-grid,
  .news-grid,
  .advantage-grid,
  .stats-grid,
  .certs-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Chip animation - simpler on mobile */
  .circuit-traces { opacity: 0.2; width: 50%; }
  .chip-float-1 { width: 80px; height: 80px; }
  .chip-float-2 { width: 60px; height: 60px; }
  .chip-float-3 { width: 100px; height: 100px; }
  .data-particles { display: none; }
  .pulse-node { r: 3; }
  .cta-section { padding: 32px 24px; }
  .cta-section h2 { font-size: 1.5rem; }

  /* Filter sidebar becomes bottom drawer on mobile */
  .plp-layout { grid-template-columns: 1fr; }
  .filter-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    max-height: 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.35s ease;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #fff;
  }
  .filter-sidebar.open {
    transform: translateY(0);
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    padding: 20px 24px 100px;
  }
  /* Drawer header bar */
  .filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
  }
  .filter-drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
  }
  .filter-drawer-close {
    width: 32px;
    height: 32px;
    background: var(--bg-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
  }
  .filter-drawer-close:hover {
    background: var(--border);
    color: var(--text-primary);
  }
  /* Drawer bottom action bar */
  .filter-drawer-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1150;
    background: #fff;
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    display: none;
    gap: 12px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  }
  .filter-sidebar.open .filter-drawer-actions {
    display: flex;
  }
  .filter-drawer-actions .btn {
    flex: 1;
    padding: 12px;
    text-align: center;
  }
  /* Larger touch targets for filter options on mobile */
  .filter-option {
    padding: 10px 12px;
    margin: 4px -12px;
    font-size: 0.92rem;
    min-height: 44px;
  }
  .filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
  .filter-group h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .filter-group {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  /* Filter overlay backdrop */
  .filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .filter-overlay.active {
    display: block;
    opacity: 1;
  }
  /* More prominent toggle button */
  .filter-toggle-btn {
    display: flex !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 10px;
  }
  .filter-toggle-btn svg {
    width: 18px;
    height: 18px;
  }
  /* Active filter count badge */
  .filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
  }
  .plp-toolbar { flex-wrap: wrap; gap: 8px; }

  /* PDP mobile */
  .pdp-hero { grid-template-columns: 1fr; gap: 24px; }
  .pdp-tags { flex-wrap: wrap; }
  .pdp-actions { flex-direction: column; }
  .pdp-actions .btn { width: 100%; text-align: center; }

  /* About page */
  .about-intro { grid-template-columns: 1fr; }
  .stat-card .stat-num { font-size: 2rem; }

  /* Contact page */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  /* Spec table scrollable */
  .specs-table { overflow-x: auto; }
  .specs-table .spec-row { grid-template-columns: 140px 1fr; }
  .specs-table .spec-label { padding: 12px 16px; }
  .specs-table .spec-value { padding: 12px 16px; }

  /* Card images smaller on mobile */
  .product-card .img-wrap { height: 120px; }
  .app-card { aspect-ratio: 1.6; }

  /* Advantage section */
  .advantage-section { padding: 48px 0; }

  /* Search section on homepage */
  .search-section { padding: 32px 0; margin-top: -40px; }
  .search-box { padding: 24px; }
  .search-tabs { flex-wrap: wrap; gap: 6px; }
  .search-tab { padding: 6px 14px; font-size: 0.8rem; }
  .search-input-wrap { flex-direction: column; }
  .search-input-wrap .btn { width: 100%; }
  .search-input-wrap input { font-size: 0.9rem; }
  .search-tags { justify-content: flex-start; }

  /* Solutions page */
  .solutions-grid { gap: 16px; }
  .solution-card .card-body { padding: 20px; }

  /* Brand wall */
  .brand-grid { gap: 24px; }
  .brand-item { font-size: 1rem; }

  /* News cards */
  .news-card .news-img { aspect-ratio: 1.8; height: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.25rem; }
  .page-header h1 { font-size: 1.6rem; }
  .container { padding-left: 16px; padding-right: 16px; }
  .product-card .card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-card .btn-ghost { width: 100%; text-align: center; }
  .product-card .img-wrap { height: 100px; }
  .stat-card .stat-num { font-size: 1.8rem; }
  .stat-card { padding: 24px 16px; }
  .brand-item { font-size: 0.78rem; padding: 6px 12px; }
  .timeline { padding-left: 24px; }
  .timeline::before { left: 6px; }
  .timeline-dot { width: 12px; height: 12px; }
  .pagination { font-size: 0.85rem; }
  .pagination a, .pagination span { padding: 8px 12px; }
  .contact-form, .contact-info { padding: 16px; }
  .mobile-menu { width: 260px; }
}

/* Filter toggle button (hidden on desktop) */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-toggle-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.filter-toggle-btn svg {
  width: 16px;
  height: 16px;
}

/* Filter drawer elements (hidden on desktop, shown on mobile) */
.filter-drawer-header,
.filter-drawer-close,
.filter-drawer-actions,
.filter-overlay,
.filter-count-badge {
  display: none;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== Article Detail Page ===== */
.article-hero {
  background: var(--primary);
  border-radius: 16px;
  padding: 48px 56px;
  margin-bottom: 40px;
  color: #fff;
}

.article-hero .article-badge {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.article-hero .article-date {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.article-hero .article-date + .article-badge {
  margin-left: 12px;
}

.article-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-hero .article-summary {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding-bottom: 80px;
}

.article-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  min-width: 0;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 24px 0 12px;
}

.article-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  margin: 12px 0 16px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content .data-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.article-content .data-item {
  text-align: center;
}

.article-content .data-item .data-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.article-content .data-item .data-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.article-content .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article-content .compare-table th,
.article-content .compare-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content .compare-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.article-content .compare-table td {
  color: var(--text-secondary);
}

.article-content .compare-table tr:nth-child(even) td {
  background: var(--bg-gray);
}

.article-content .tip-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.article-content .tip-box strong {
  color: var(--accent);
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.article-sidebar h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.related-card {
  background: var(--bg-gray);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: var(--transition);
  display: block;
  color: inherit;
  text-decoration: none;
}

.related-card:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.related-card .related-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.related-card .related-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.related-card .related-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.article-share span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-gray);
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
}

.article-share a:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Article Detail Responsive ===== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-sidebar {
    position: static;
  }
  .article-hero {
    padding: 32px 24px;
  }
  .article-hero h1 {
    font-size: 1.6rem;
  }
  .article-content {
    padding: 24px;
  }
  .article-content .data-highlight {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 24px 16px;
    border-radius: 12px;
  }
  .article-hero h1 {
    font-size: 1.4rem;
  }
  .article-hero .article-summary {
    font-size: 0.88rem;
  }
  .article-content {
    padding: 20px 16px;
  }
  .article-content h2 {
    font-size: 1.25rem;
  }
  .article-content .data-highlight {
    grid-template-columns: 1fr 1fr;
  }
  .article-content .compare-table {
    font-size: 0.8rem;
  }
  .article-content .compare-table th,
  .article-content .compare-table td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .article-hero h1 {
    font-size: 1.2rem;
  }
  .article-content {
    padding: 16px 12px;
  }
  .article-content .data-highlight {
    grid-template-columns: 1fr;
  }
  .article-content .data-item .data-num {
    font-size: 1.3rem;
  }
  .article-content .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-40 { margin-bottom: 40px; }
