/* ========== A版「稳重高端」工业设备官网 — 设计系统 ==========
 * 色彩: 深石墨黑 #0f172a / 工业蓝 #2563eb / 青蓝 #22d3ee / 安全橙 #f97316 / 冷白 #f8fafc
 * 字体: PingFang SC / Microsoft YaHei / Inter
 * 定位: 面向采购方的设备展示型官网，不做在线交互
 * ================================================================ */

:root {
  --deep: #0f172a;
  --hero-bg: #0b1630;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #22d3ee;
  --cta: #f97316;
  --cta-hover: #ea580c;
  --white: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --section-light: #f1f5f9;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========== Container ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ========== Scroll Animations ========== */
.reveal {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== Header ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  transition: all 0.35s ease;
}
.header.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  color: #fff;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cta), #fbbf24);
  border-radius: 9px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon::after {
  content: '华';
  font-size: 18px; font-weight: 800; color: #fff;
}
.logo-sub {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  color: var(--text-light);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: #fff; }

.nav-contact-btn {
  display: inline-flex; align-items: center;
  padding: 8px 20px; border-radius: 20px;
  font-size: 14px; font-weight: 600;
  background: var(--deep);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.25s;
  cursor: pointer;
}
.nav-contact-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; background: #fff;
  position: absolute; left: 0; transition: 0.3s;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* ========== Hero ========== */
.hero {
  min-height: 82vh;
  display: flex; align-items: center;
  position: relative;
  padding: 96px 0 52px;
  background: linear-gradient(135deg, #07111f 0%, #0b1d35 48%, #111827 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800; line-height: 1.18;
  color: #fff; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-text p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 8px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-machine {
  width: min(52vw, 620px); max-width: 620px; aspect-ratio: 16/11;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
}
.hero-machine::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-machine-inner {
  text-align: center;
  position: relative; z-index: 1;
}
.hero-machine-inner .icon {
  font-size: 64px; margin-bottom: 12px;
  display: block;
}
.hero-machine-inner span {
  font-size: 14px; color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

/* Engineering callout lines */
.hero-callout {
  position: absolute;
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.hero-callout::before {
  content: '';
  position: absolute; top: -6px; left: -3px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-callout.c1 { top: 10%; right: 8%; height: 50px; transform: rotate(15deg); }
.hero-callout.c2 { bottom: 20%; left: 5%; height: 35px; transform: rotate(-10deg); }
.hero-callout.c3 { top: 30%; left: -3%; height: 45px; transform: rotate(5deg); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 26px;
  font-size: 15px; font-weight: 600;
  transition: all 0.25s ease; cursor: pointer; border: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}
.btn-cta {
  background: linear-gradient(135deg, var(--cta), #fbbf24);
  color: #fff;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35);
}
.btn-outline-light {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ========== Sections ========== */
section { padding: 100px 0; }
.hero + .section-light { padding-top: 72px; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-white { background: #fff; }
.section-light { background: var(--section-light); }
.section-dark {
  background: linear-gradient(135deg, #0b1630, #0f172a);
  color: #fff;
}

.section-header {
  margin-bottom: 56px;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.2; margin-bottom: 14px;
}
.section-header p {
  font-size: 16px; color: var(--text-muted);
  max-width: 520px; line-height: 1.7;
}
.section-dark .section-label { color: var(--accent); }
.section-dark .section-header p { color: rgba(255,255,255,0.5); }
.section-dark .section-header h2 { color: #fff; }

/* ========== Product Center (sidebar + grid) ========== */
.product-center-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .product-center-layout { grid-template-columns: 1fr; }
}

.product-categories {
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 100px;
}
.product-categories button {
  text-align: left; padding: 10px 16px; border-radius: 10px;
  border: none; background: transparent;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.product-categories button:hover { color: var(--text); background: var(--section-light); }
.product-categories button.active {
  color: var(--primary); background: rgba(37, 99, 235, 0.08);
  font-weight: 600;
}
@media (max-width: 768px) {
  .product-categories {
    flex-direction: row; flex-wrap: wrap; gap: 6px;
    position: static; margin-bottom: 24px;
  }
  .product-categories button {
    padding: 8px 14px; font-size: 13px;
    border: 1px solid var(--border); border-radius: 20px;
  }
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
}
.product-card-image {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  overflow: hidden;
}
.product-card-image.i1 { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.product-card-image.i2 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.product-card-image.i3 { background: linear-gradient(135deg, #0f172a, #1e40af); }
.product-card-image.i4 { background: linear-gradient(135deg, #1e40af, #2563eb); }
.product-card-image.i5 { background: linear-gradient(135deg, #0f172a, #2563eb); }
.product-card-image.i6 { background: linear-gradient(135deg, #1e3a5f, #0f172a); }
.product-card-body { padding: 20px 22px; }
.product-card-body .category {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.07);
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 10px;
}
.product-card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.product-card-body .industry {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 14px; line-height: 1.5;
}
.product-card-body .view-link {
  font-size: 13px; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card-body .view-link:hover { color: var(--primary-hover); }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.product-tags span {
  font-size: 11px; padding: 3px 10px; border-radius: 100px;
  background: var(--section-light); color: var(--text-muted);
}

/* ========== Scenarios ========== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.scenario-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.scenario-card:hover {
  box-shadow: 0 16px 36px -8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.scenario-card-banner {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  overflow: hidden;
}
.scenario-card-banner img {
  width: 100%; height: 100%; object-fit: cover;
}
.scenario-card-banner-placeholder {
  font-size: 48px; color: rgba(255,255,255,0.3);
}
.scenario-card-body { padding: 24px; text-align: center; }
.scenario-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.scenario-card-body .materials { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.scenario-link { font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.scenario-link:hover { color: var(--primary-hover); }

/* ========== Capability (Factory) ========== */
.capability-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) { .capability-layout { grid-template-columns: 1fr; } }

.capability-image {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
}
.capability-text p {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 28px;
}
.capability-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.capability-stat {
  text-align: center; padding: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.capability-stat .num {
  font-size: 28px; font-weight: 800; color: var(--primary);
  letter-spacing: -0.5px;
}
.capability-stat .lbl {
  font-size: 13px; color: var(--text-muted);
  margin-top: 4px;
}

/* ========== Cases ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}
.case-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.case-card-image {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; overflow: hidden;
}
.case-card-image img { width: 100%; height: 100%; object-fit: cover; }
.case-card-image.ci1 { background: linear-gradient(135deg, #0f172a, #334155); }
.case-card-image.ci2 { background: linear-gradient(135deg, #1e293b, #475569); }
.case-card-image.ci3 { background: linear-gradient(135deg, #0f172a, #3b82f6); }
.case-card-image.ci4 { background: linear-gradient(135deg, #1e293b, #0f172a); }
.case-card-body { padding: 20px 22px; }
.case-card-body .case-industry {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--cta);
  background: rgba(249, 115, 22, 0.08);
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 8px;
}
.case-card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.case-card-body .equipment {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 6px; line-height: 1.5;
}
.case-card-body .summary {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Case Detail ========== */
.case-detail { max-width: 800px; margin: 0 auto; }
.case-detail-header { margin-bottom: 32px; }
.case-detail-header .industry-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--cta);
  background: rgba(249, 115, 22, 0.08);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 14px;
}
.case-detail-header h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800; margin-bottom: 16px;
}
.case-detail-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-detail-meta .meta-item h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 4px;
}
.case-detail-meta .meta-item p {
  font-size: 15px; font-weight: 600;
}
.case-detail-content { margin-top: 32px; }
.case-detail-content h3 {
  font-size: 18px; font-weight: 700;
  margin: 28px 0 12px;
}
.case-detail-content p {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 12px;
}
.case-result {
  background: rgba(37, 99, 235, 0.04);
  border-left: 4px solid var(--primary);
  padding: 20px 24px; border-radius: 0 12px 12px 0;
  margin: 20px 0;
}
.case-result .label {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--primary); margin-bottom: 6px;
}
.case-result p { font-size: 15px; color: var(--text); margin: 0; }

/* ========== Hero Machine Image ========== */
.hero-machine-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 1;
}

/* ========== About ========== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; } }
.about-image {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.about-image img { width: 100%; height: auto; display: block; }
.about-content {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.9;
}
.about-content p { margin-bottom: 14px; }

/* ========== Capability Image ========== */
.capability-image {
  overflow: hidden;
}
.capability-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ========== Certifications ========== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.cert-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}
.cert-card:hover {
  box-shadow: 0 16px 36px -8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.cert-image {
  width: 100%; height: 180px;
  margin: -28px -28px 20px -28px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; overflow: hidden;
}
.cert-image img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 16px;
}
.cert-category {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 14px;
  padding: 3px 10px; border-radius: 100px;
}
.cert-category.cat-cert { background: rgba(37, 99, 235, 0.08); color: var(--primary); }
.cert-category.cat-honor { background: rgba(249, 115, 22, 0.08); color: var(--cta); }
.cert-category.cat-patent { background: rgba(34, 211, 238, 0.08); color: #0891b2; }
.cert-category.cat-report { background: rgba(34, 197, 94, 0.08); color: #16a34a; }
.cert-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.cert-card .cert-no {
  font-size: 13px; color: var(--text-light);
  font-family: "SF Mono", "Consolas", monospace;
  margin-bottom: 8px;
}
.cert-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.cert-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 36px;
}
.cert-filters button {
  padding: 8px 20px; border-radius: 20px;
  border: 1px solid var(--border); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.cert-filters button:hover { border-color: var(--primary); color: var(--primary); }
.cert-filters button.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ========== Contact (info only, no form) ========== */
.contact-info-only {
  max-width: 560px; margin: 0 auto;
}
.contact-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-info-card h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 28px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-item-icon.phone { background: rgba(37, 99, 235, 0.08); }
.contact-item-icon.email { background: rgba(34, 211, 238, 0.08); }
.contact-item-icon.addr { background: rgba(249, 115, 22, 0.08); }
.contact-item-icon.time { background: rgba(34, 197, 94, 0.08); }
.contact-item-icon.wechat { background: rgba(34, 197, 94, 0.08); }
.contact-item-body h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-body p {
  font-size: 16px; font-weight: 500; color: var(--text);
}
.wechat-qr-placeholder {
  width: 120px; height: 120px;
  background: var(--section-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-muted);
  margin-top: 8px;
}

/* ========== Page Hero (sub-pages) ========== */
.page-hero {
  background: linear-gradient(135deg, #07111f, #0b1d35, #0f172a);
  color: #fff;
  text-align: center; padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.5);
  max-width: 480px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.08);
  border-color: rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}
.feature-card .icon-circle {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px; font-weight: 700;
  color: #fff;
}
.feature-card:nth-child(1) .icon-circle { background: linear-gradient(135deg, var(--primary), #1d4ed8); }
.feature-card:nth-child(2) .icon-circle { background: linear-gradient(135deg, var(--cta), #ea580c); }
.feature-card:nth-child(3) .icon-circle { background: linear-gradient(135deg, var(--accent), #0891b2); }
.feature-card:nth-child(4) .icon-circle { background: linear-gradient(135deg, var(--deep), #334155); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ========== Stats ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.stat-item { padding: 24px 0; }
.stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800; letter-spacing: -1.5px;
  color: #fff; line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.5); }

/* ========== Product Detail ========== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .product-detail-layout { grid-template-columns: 1fr; } }

.product-detail-image {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  overflow: hidden;
}
.product-detail-image.pdi1 { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.product-detail-image.pdi2 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.product-detail-image.pdi3 { background: linear-gradient(135deg, #0f172a, #1e40af); }
.product-detail-image.pdi4 { background: linear-gradient(135deg, #1e40af, #2563eb); }
.product-detail-image.pdi5 { background: linear-gradient(135deg, #0f172a, #2563eb); }
.product-detail-image.pdi6 { background: linear-gradient(135deg, #1e3a5f, #0f172a); }

.product-detail-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.product-detail-info .cat {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.07);
  padding: 3px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.product-detail-info .desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 20px;
}
.product-detail-info h3.sec-title {
  font-size: 16px; font-weight: 700; margin-bottom: 10px;
}

.feature-list { margin-bottom: 20px; }
.feature-list li {
  padding: 7px 0; font-size: 15px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.feature-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%; flex-shrink: 0;
}

/* Specs table */
.specs-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0 28px;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 10px 0; font-size: 14px;
}
.specs-table td:first-child {
  color: var(--text-muted); font-weight: 500;
  width: 120px;
}
.specs-table td:last-child { color: var(--text); font-weight: 600; }

.related-products { margin-top: 40px; }
.related-products h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.related-products-list {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.related-products-list a {
  padding: 8px 18px; border-radius: 20px;
  background: var(--section-light); color: var(--text);
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.related-products-list a:hover {
  background: var(--primary); color: #fff;
}

/* ========== News ========== */
.news-list { max-width: 760px; margin: 0 auto; }
.news-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: all 0.25s;
}
.news-item:first-child { padding-top: 0; }
.news-item:hover { padding-left: 12px; }
.news-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.news-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--primary); background: rgba(37, 99, 235, 0.07);
  padding: 3px 10px; border-radius: 100px;
}
.news-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; transition: color 0.2s; }
.news-item:hover h3 { color: var(--primary); }
.news-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* News detail */
.news-detail { max-width: 760px; margin: 0 auto; }
.news-detail .news-meta { margin-bottom: 24px; }
.news-detail h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.news-detail-content { font-size: 16px; color: var(--text-muted); line-height: 1.9; }
.news-detail-content p { margin-bottom: 16px; }

/* ========== Contact section (home page bottom) ========== */
.contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.contact-mini-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
}
.contact-mini-card .icon {
  font-size: 28px; margin-bottom: 10px;
}
.contact-mini-card h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-mini-card p { font-size: 15px; font-weight: 600; }

/* ========== Error / Empty State ========== */
.empty-state {
  text-align: center; padding: 60px 0; color: var(--text-muted);
}
.empty-state .icon { font-size: 40px; margin-bottom: 16px; }
.empty-state p { font-size: 15px; }

/* ========== Footer ========== */
.footer {
  background: linear-gradient(135deg, #07111f, #0f172a);
  color: rgba(255,255,255,0.4);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.footer-brand h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; margin-bottom: 10px;
  color: rgba(255,255,255,0.4); transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; font-size: 13px; text-align: center;
}

/* ========== Loading State ========== */
.loading {
  text-align: center; padding: 60px 0; color: var(--text-light); font-size: 14px;
}
.loading-dots { display: inline-flex; gap: 6px; }
.loading-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #cbd5e1;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* ========== Responsive Header ========== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px 32px; gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header { padding: 0 20px; }

  .hero {
    min-height: auto;
    padding: 88px 0 36px;
    align-items: flex-start;
  }
  .hero + .section-light { padding-top: 56px; }
  .hero::before { background-size: 36px 36px; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .hero-label {
    font-size: 11px;
    letter-spacing: 1.2px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 31px;
    line-height: 1.18;
    margin-bottom: 12px;
  }
  .hero-text p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-actions {
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .btn {
    min-width: 136px;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 22px;
    font-size: 14px;
  }
  .hero-visual { order: -1; }
  .hero-machine {
    width: min(100%, 350px);
    max-width: 350px;
    aspect-ratio: 16/10;
    margin: 0 auto;
    border-radius: 16px;
  }
  .hero-machine-img { border-radius: 16px; }
}

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