/* VOFU.NET v2 — Refined Industrial Minimalism aligned with vofu.cn (#043873 / #DA291C / #FFFFFF) */
:root {
  --navy: #043873;
  --navy-d: #032A56;
  --navy-l: #0B4F96;
  --accent: #DA291C;
  --accent-d: #B01F14;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --surface-warm: #F7F5EE;
  --line: #E2E8F0;
  --line-soft: #EEF2F7;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 12px 32px rgba(15, 23, 42, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-l); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.24; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .18s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-d); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-white { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #021E3E 0%, #043873 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 4px 20px rgba(2, 30, 62, .18);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-link { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand-logo {
  width: clamp(146px, 12.2vw, 170px);
  max-width: 100%;
  height: auto;
  opacity: .97;
  transition: opacity .15s ease;
}
.brand-link:hover .brand-logo { opacity: 1; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255,255,255,.88);
  font-size: .855rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 7px 11px;
  border-radius: 8px;
  transition: .15s ease;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(255,255,255,.14); }
.mobile-nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta {
  padding: 8px 17px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(218, 41, 28, .28);
  transition: .16s ease;
}
.header-cta:hover { background: var(--accent-d); color: #fff; transform: translateY(-1px); }
.lang-wrap { position: relative; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.26);
  color: #fff;
  padding: 6px 26px 6px 11px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  max-width: 156px;
  text-overflow: ellipsis;
}
.lang-select:focus-visible { outline: 2px solid #93C5FD; outline-offset: 2px; }
.lang-select option { background: var(--navy-d); color: #fff; }
.lang-wrap::after {
  content: "▾";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  pointer-events: none;
}
.nav-toggle {
  display: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  padding: 8px 9px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: #fff; border-radius: 1px; }

/* Home Hero */
.hero {
  padding: 62px 0 54px;
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(11, 79, 150, .07), transparent 65%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(1.62rem, 3.2vw, 2.75rem); line-height: 1.15; letter-spacing: -.024em; margin-bottom: 16px; color: var(--ink); }
.hero-lead { font-size: 1.03rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.hero-points li {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(203, 213, 225, .85);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(4, 56, 115, .08), 0 2px 8px rgba(15, 23, 42, .04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media img { max-height: 400px; width: auto; object-fit: contain; border-radius: 14px; }

/* Trust bar */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-items span { display: inline-flex; align-items: center; gap: 8px; }
.trust-items span::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* Section Head */
.sec-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.sec-head h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Export 2-column model cards */
.export-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 24px; }
.model-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: .2s ease;
}
.model-card:hover { border-color: #CBD5E1; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.model-card-media {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.model-card-media img { max-height: 218px; width: auto; object-fit: contain; }
.model-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.sku-pill {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  background: #FFF1F0;
  padding: 4px 10px;
  border-radius: 999px;
}
.route-pill {
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
  background: #EFF6FF;
  padding: 4px 10px;
  border-radius: 999px;
}
.model-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.model-card p { font-size: .94rem; color: var(--ink-soft); margin-bottom: 16px; }
.pill-specs { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0 0 20px; }
.pill-specs li {
  font-size: .79rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 4px 10px;
  border-radius: 8px;
}
.model-card-foot { margin-top: auto; }

/* Callouts */
.callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: .93rem;
  line-height: 1.65;
  margin: 20px 0;
}
.callout-warn { background: #FFF5F5; border: 1px solid #FECACA; border-left: 4px solid var(--accent); color: #7F1D1D; }
.callout-info { background: #F0F6FF; border: 1px solid #BFDBFE; border-left: 4px solid var(--navy); color: #1E3A8A; }
.callout strong { color: inherit; }

/* Comparison Table */
.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
  margin-top: 28px;
}
.table-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--surface); color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
.spec-table tbody th { color: var(--muted); font-weight: 600; width: 24%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* Next-gen rollout section */
.rollout-box {
  background: #fff;
  border: 1.5px solid #CBD5E1;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-1);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.status-pending { background: #FFF7ED; color: #9A3412; border: 1px solid #FED7AA; }
.status-active { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.nextgen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.ng-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.ng-img {
  height: 170px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ng-img img { max-height: 146px; width: auto; object-fit: contain; }
.ng-tier { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ng-card h3 { font-size: 1.12rem; margin: 4px 0 8px; }
.ng-specs { list-style: none; padding: 0; margin: 0; font-size: .84rem; color: var(--ink-soft); }
.ng-specs li { padding: 3px 0; border-top: 1px dashed var(--line); }
.ng-specs li:first-child { border-top: 0; }
.rollout-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Distributor Recruitment / Active Partner */
.recruit-banner {
  background: linear-gradient(135deg, #021E3E 0%, #043873 58%, #094484 100%);
  color: #fff;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  padding: 38px;
  box-shadow: var(--shadow-2);
}
.recruit-banner .eyebrow { color: #FCA5A5; }
.recruit-banner h2 { color: #fff; font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 10px; }
.recruit-lead { color: rgba(255,255,255,.86); max-width: 800px; font-size: .98rem; margin-bottom: 24px; }
.recruit-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 26px; }
.recruit-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 20px 22px;
}
.recruit-panel h3 { color: #fff; font-size: 1.02rem; margin-bottom: 10px; }
.recruit-panel ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.88); font-size: .9rem; }
.recruit-panel li { margin-bottom: 6px; }
.partner-box {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.partner-item span { display: block; font-size: .75rem; color: rgba(255,255,255,.68); text-transform: uppercase; letter-spacing: .06em; }
.partner-item strong, .partner-item a { color: #fff; font-size: .98rem; }

/* Guides Grid */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: .2s ease;
}
.guide-card:hover { border-color: var(--navy-l); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.guide-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  color: var(--navy);
  margin-bottom: 10px;
}
.guide-card h3 { font-size: 1.04rem; margin-bottom: 8px; color: var(--ink); }
.guide-card p { font-size: .88rem; color: var(--muted); flex: 1; margin-bottom: 14px; }
.guide-more { font-size: .86rem; font-weight: 700; color: var(--accent); }

/* Inner Article / Product / FAQ / Legal Pages */
.page-shell { padding: 32px 0 64px; background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 280px); }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.page-header { margin-bottom: 26px; }
.page-header h1 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-bottom: 10px; }
.page-summary { font-size: 1.02rem; color: var(--muted); line-height: 1.7; margin: 0; }
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-1);
}
.article-body { font-size: 1rem; color: var(--ink-soft); line-height: 1.82; }
.article-body h2 {
  font-size: 1.32rem;
  margin: 1.9em 0 .6em;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.08rem; margin: 1.3em 0 .45em; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.45em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .45em; }
.article-body figure {
  margin: 1.5em 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  text-align: center;
}
.article-body figure img { margin: 0 auto; max-height: 360px; width: auto; object-fit: contain; border-radius: 10px; }
.article-body figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; display: block; overflow-x: auto; font-size: .92rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; vertical-align: top; }
.article-body th { background: var(--surface); color: var(--ink); font-weight: 700; white-space: nowrap; }
.article-body tr:nth-child(even) td { background: #FCFDFF; }

.page-cta-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #032A56 0%, #043873 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.page-cta-box h3 { color: #fff; font-size: 1.22rem; margin-bottom: 8px; }
.page-cta-box p { color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 18px; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.related-box {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.related-box h3 { font-size: 1rem; margin-bottom: 10px; }
.related-box ul { margin: 0; padding-left: 18px; }
.related-box li { margin-bottom: 6px; font-size: .93rem; }

/* Footer */
.site-footer {
  background: #0F172A;
  color: rgba(255,255,255,.72);
  padding: 36px 24px 28px;
  font-size: .84rem;
  line-height: 1.85;
}
.footer-inner { max-width: 1140px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.88); font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-company { color: rgba(255,255,255,.62); margin: 0; }

/* RTL Support */
[dir="rtl"] .lang-wrap::after { right: auto; left: 9px; }
[dir="rtl"] .lang-select { padding: 6px 11px 6px 26px; }
[dir="rtl"] .article-body h2 { border-left: 0; border-right: 4px solid var(--accent); padding-left: 0; padding-right: 14px; }
[dir="rtl"] .callout-warn, [dir="rtl"] .callout-info { border-left-width: 1px; border-right-width: 4px; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td, [dir="rtl"] .article-body th, [dir="rtl"] .article-body td { text-align: right; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .export-grid, .nextgen-grid, .recruit-cols, .guides-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-inner { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .brand-logo { width: 132px; }
  .lang-select { max-width: 122px; }
  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: .94rem;
  }
  .site-nav a.mobile-nav-cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
  }
  .site-nav a.mobile-nav-cta:hover { background: var(--accent-d); }
  .hero { padding: 30px 0 36px; }
  .hero-grid { gap: 24px; }
  .hero-media { padding: 14px; border-radius: 18px; }
  .hero-media img { max-height: 270px; }
  .model-card { padding: 20px; }
  .model-card-media { height: 210px; }
  .model-card-media img { max-height: 184px; }
  .article-card { padding: 22px 18px; }
  .rollout-box, .recruit-banner { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .container, .narrow { padding: 0 16px; }
  .section { padding: 40px 0; }
  .brand-logo { width: 116px; }
  .header-actions { gap: 7px; }
  .lang-select { max-width: 108px; padding: 5px 22px 5px 9px; font-size: .78rem; }
  [dir="rtl"] .lang-select { padding: 5px 9px 5px 22px; }
  .hero { padding: 22px 0 30px; }
  .eyebrow { font-size: .7rem; margin-bottom: 8px; }
  .hero h1 { font-size: 1.54rem; line-height: 1.2; margin-bottom: 12px; }
  .hero-lead { font-size: .95rem; line-height: 1.65; margin-bottom: 16px; }
  .hero-points { gap: 7px 14px; margin-bottom: 18px; }
  .hero-points li { font-size: .84rem; }
  .hero-cta-row { flex-direction: column; gap: 10px; }
  .hero-cta-row .btn, .rollout-actions .btn, .page-cta-actions .btn, .model-card-foot .btn { width: 100%; justify-content: center; min-height: 46px; }
  .trust-strip { padding: 12px 0; }
  .trust-items { justify-content: flex-start; gap: 7px 16px; font-size: .8rem; }
  .sec-head { margin-bottom: 24px; }
  .table-card { padding: 18px 14px; border-radius: 16px; }
  .spec-table { min-width: 480px; font-size: .84rem; }
  .spec-table th, .spec-table td { padding: 9px 10px; }
  .page-header h1 { font-size: 1.46rem; }
  .article-card { padding: 20px 16px; border-radius: 16px; }
  .article-body figure { padding: 10px; }
  .article-body figure img { max-height: 230px; }
  .page-cta-box { padding: 22px 18px; }
  .footer-links { gap: 8px 14px; }
}
@media (max-width: 380px) {
  .header-inner { padding: 10px 12px; gap: 6px; }
  .brand-logo { width: 104px; }
  .lang-select { max-width: 98px; }
}
