/* ============================================================
   Primecrabtech · Base Styles (深色精密工业风)
   ============================================================ */
body { background: var(--bg-primary); color: var(--text-primary); }

a { color: var(--brand); text-decoration: none; transition: color .3s; }
a:hover { color: var(--brand-light); }

h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 700; line-height: 1.2; }

/* Site breadcrumb */
.site-crumb {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(201, 206, 214, 0.08);
  font-size: 13px; color: var(--text-muted); padding: 10px 0;
}
.site-crumb a { color: var(--text-secondary); }
.site-crumb a:hover { color: var(--brand); }
.site-crumb .sep { margin: 0 8px; color: var(--text-muted); }
.site-crumb .current { color: var(--brand); font-weight: 600; }

/* Navbar */
.navbar {
  position: sticky; top: 0; background: var(--bg-primary);
  border-bottom: 1px solid rgba(201, 206, 214, 0.1); z-index: 1000;
  transition: all .3s ease;
}
.navbar-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; height: 68px;
}
.logo { font-size: 20px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-accent { color: var(--brand); }
.logo-zone { font-size: 12px; color: var(--text-secondary); border-left: 1px solid var(--silver-dark); padding-left: 10px; margin-left: 4px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; background: var(--bg-secondary); padding: 3px; border-radius: 6px; }
.lang-btn { padding: 5px 12px; border: none; background: transparent; color: var(--text-secondary); cursor: pointer; border-radius: 4px; font-size: 13px; font-weight: 500; }
.lang-btn.active { background: var(--brand); color: var(--bg-primary); }
.cta-btn { padding: 10px 22px; background: var(--cta); color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .3s; }
.cta-btn:hover { background: var(--brand); transform: translateY(-2px); box-shadow: 0 4px 20px var(--shadow-glow); }

.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(201, 206, 214, 0.1);
  padding: 20px 0;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.site-title .accent { color: var(--brand); }

/* Section spacing */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.section-title { font-size: 30px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }


/* Polylang dropdown 适配 navbar */
.lang-switch select.pll-switcher-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(201,206,214,0.15);
  padding: 6px 28px 6px 12px;
  border-radius: 6px;
  font-size: 13px; font-weight: 500; line-height: 1.2;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%239CA3AF' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}
.lang-switch select.pll-switcher-select:focus {
  outline: none;
  border-color: var(--brand);
}
.lang-switch select.pll-switcher-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
