/* ============================================
   XQUIP — Design System
   Motorsport Helmet Manufacturer
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette — carbon & signal */
  --bg-primary: #08090a;
  --bg-secondary: #0e0f11;
  --bg-tertiary: #15171a;
  --bg-elevated: #1c1e22;
  --surface-glass: rgba(14, 15, 17, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text-primary: #f2f3f5;
  --text-secondary: #9a9da3;
  --text-tertiary: #5c5f66;
  --text-inverse: #08090a;

  /* Accent — signal red */
  --accent: #e8311e;
  --accent-hover: #ff4430;
  --accent-dim: rgba(232, 49, 30, 0.12);
  --accent-glow: rgba(232, 49, 30, 0.35);

  /* Functional */
  --success: #2ecc71;
  --warning: #f39c12;

  /* Typography */
  --font-display: 'Saira', 'Saira Condensed', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 5rem;
  --space-xl: 7.5rem;
  --space-2xl: 11rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Carbon fiber texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 4px);
  pointer-events: none;
  z-index: 0;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
}

.h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

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

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

.text-tertiary {
  color: var(--text-tertiary);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* 按钮文字悬浮切换：默认文案与悬停文案同位叠放，悬停时前者隐去、后者浮现 */
.btn-swap-text {
  position: relative;
  display: inline-block;
  text-align: inherit;
}

.btn-swap-text > span {
  display: inline-block;
  transition: opacity 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

/* 悬停文案：绝对定位叠在默认文案同一位置，默认不可见 */
.btn-swap-text > span:last-child {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(70%);
  pointer-events: none;
}

.btn-swap:hover .btn-swap-text > span:first-child,
.btn-swap:focus-visible .btn-swap-text > span:first-child {
  opacity: 0;
  transform: translateY(-70%);
}

.btn-swap:hover .btn-swap-text > span:last-child,
.btn-swap:focus-visible .btn-swap-text > span:last-child {
  opacity: 1;
  transform: translateY(0);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 0.6rem 0;
}

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

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo .logo-mark {
  width: 140px;
  height: auto;
  position: relative;
}

.nav-logo .logo-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand .nav-logo .logo-mark {
  width: 120px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3.75rem; /* 2.5rem + 20px */
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-base);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0 2rem;
  position: relative;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-bottom .social-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom .social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-bottom .social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050607;
}

/* 填充层：同图放大虚化，铺满容器，消除主图留白 */
.hero-bg-blur {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(42px) saturate(120%) brightness(0.4);
}

/* 主图层：等比完整呈现，任何屏幕比例都不裁切 */
.hero-bg-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 可读性遮罩：左侧加密保证文字对比，右侧留亮露出画面 */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.95) 0%, rgba(8, 9, 10, 0.9) 26%, rgba(8, 9, 10, 0.72) 46%, rgba(8, 9, 10, 0.38) 68%, rgba(8, 9, 10, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0.2) 28%, rgba(8, 9, 10, 0.5) 74%, var(--bg-primary) 100%);
}

.hero-content h1,
.hero-content .display,
.hero-subtitle {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6);
}

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

/* 首页主文案：替代原大标题与副标题，作为品牌宣言式段落 */
.hero-statement {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  max-width: 940px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-stats-inner {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ---------- Product Category Tiles（未上线品类占位） ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cat-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1.5rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
  cursor: default;
  user-select: none;
}

/* ---------- Card Components ---------- */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

/* Product card */
.product-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

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

.product-card .visual {
  height: 320px;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-secondary) 100%);
}

.product-card .body {
  padding: 2rem;
}

.product-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

/* 产品卡「即将上线」占位文字 */
.coming-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.3rem 0 0;
}

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

.product-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-card .spec-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 0.25rem 0.6rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

/* ---------- Section Header ---------- */
.section-header {
  margin-bottom: calc(var(--space-lg) + 1rem);
}

.section-header .eyebrow {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .lead {
  margin: 0 auto;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

/* ---------- Feature Grid ---------- */
.feature-item {
  padding: 2rem 0;
}

.feature-item .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.feature-item h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

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

/* ---------- Material Cards ---------- */
.material-card {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  overflow: hidden;
  transition: all var(--transition-base);
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-base);
}

.material-card:hover {
  border-color: var(--border-strong);
}

.material-card:hover::before {
  transform: scaleY(1);
}

.material-card .mat-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.material-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.material-card .mat-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.material-card .mat-props {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.material-card .mat-prop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.material-card .mat-prop:last-child {
  border-bottom: none;
}

.material-card .mat-prop .key {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.material-card .mat-prop .val {
  color: var(--text-primary);
  font-weight: 500;
}

/* ---------- Cert Badge ---------- */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  transition: all var(--transition-fast);
}

.cert-badge:hover {
  border-color: var(--accent);
}

.cert-badge .cert-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--accent);
}

.cert-badge .cert-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.cert-badge .cert-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* ---------- Stats Block ---------- */
.stats-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-subtle);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-cell .num .unit {
  font-size: 0.5em;
  color: var(--accent);
}

.stat-cell .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: var(--space-xl) 0;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section .cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 1.2rem;
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- Contact Info ---------- */
.contact-info-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-info-item:last-child {
  border-bottom: none;
}

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

.contact-info-item .info-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.3rem;
}

.contact-info-item .info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero .eyebrow {
  margin-bottom: 1.2rem;
}

.page-hero h1 {
  margin-bottom: 1.2rem;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-lg) 0;
}

/* ---------- Tag / Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
}

.badge.badge-accent {
  border-color: var(--accent-dim);
  color: var(--accent);
  background: var(--accent-dim);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Tech Decorations ---------- */
.tech-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  height: 1px;
  width: 100%;
}

.tech-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
}

.tech-corner-tl {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.tech-corner-tr {
  top: 0;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

.tech-corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.tech-corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav-links {
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .stats-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* Hero — 竖屏 / 窄屏：改为上下堆叠，banner 完整呈现于顶部 */
@media (max-width: 900px) {
  .hero {
    display: block;
    min-height: 0;
    padding-top: var(--nav-height);
    padding-bottom: var(--space-md);
  }

  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 800;
    min-height: clamp(170px, 52vw, 260px);
    max-height: 52vh;
  }

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

  .hero-bg-main {
    object-fit: cover;
    object-position: center 45%;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.25) 0%, rgba(8, 9, 10, 0.1) 55%, rgba(8, 9, 10, 0.85) 100%);
  }

  .hero-content {
    padding-top: 2.5rem;
    max-width: 100%;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    margin-top: 2.5rem;
  }

  /* 窄屏统计栏改 2×2 网格，避免长标签撑破视口 */
  .hero-stats-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }

  .hero-stat .num {
    font-size: 1.7rem;
  }

  .hero-stat .label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    word-break: break-word;
  }
}

@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links .nav-link {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-block {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .stat-cell:last-child {
    border-bottom: none;
  }

  .hero-stats-inner {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .display {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Language Switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switch .active-lang {
  color: var(--accent);
  font-weight: 600;
}

.lang-switch .lang-sep {
  color: var(--text-tertiary);
}

/* ---------- News / 企业动态 ---------- */
.news-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.news-card .news-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card .news-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-base);
}

.news-card:hover .news-visual img {
  opacity: 1;
  transform: scale(1.04);
}

.news-card .news-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.news-card .news-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.news-card .news-meta .news-cat {
  color: var(--accent);
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.news-card .news-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.news-card .news-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.news-card .news-link:hover {
  gap: 0.7rem;
}
