/* ============================================================
   Hsnet — Fiber Optic Networking  ·  Design System v1
   Light modern B2B style (deliberately different from the
   previous dark-navy demo site, so both can be compared).
   Palette:
     ink      #101828      body background  #ffffff / #f5f8fc
     azure    #0b5fff  →  cyan  #00c2d1   (gradient accent)
     stage dark (product photo background)  #10141f → #1c2536
   ============================================================ */
:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #5b6b7f;
  --line: #e4eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --azure: #0b5fff;
  --azure-dark: #0846c6;
  --cyan: #00c2d1;
  --grad: linear-gradient(100deg, #0b5fff 0%, #00a6d6 100%);
  --grad-soft: linear-gradient(100deg, rgba(11, 95, 255, .08), rgba(0, 194, 209, .08));
  --stage: radial-gradient(120% 120% at 30% 0%, #232d42 0%, #10141f 70%);
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 42, 100, .25);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-ar: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Arial", sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: var(--font-ar); letter-spacing: 0 !important; }
img { max-width: 100%; display: block; }
a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--azure); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 17px; max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .kicker::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  border: 0; cursor: pointer; transition: .22s ease; white-space: nowrap;
}
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 95, 255, .55); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(11, 95, 255, .6); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--azure); color: var(--azure); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent; transition: .25s;
}
/* Blur only on desktop: backdrop-filter makes the header a containing block for
   fixed descendants, which would misplace the mobile nav drawer. */
@media (min-width: 901px) { .site-header { backdrop-filter: blur(10px); } }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .35); }
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo-badge {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(11, 95, 255, .6);
}
.logo b { color: var(--azure); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav > li { position: relative; }
.main-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 15.5px;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--azure); background: var(--grad-soft); }
.caret { width: 9px; height: 9px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease;
}
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--azure); }
.dropdown a svg { flex: none; }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--azure); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.lang-btn:hover { border-color: var(--azure); color: var(--azure); }
.lang-btn .lg-short { display: none; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 7px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; z-index: 95;
}
.lang-wrap.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.lang-menu a:hover, .lang-menu a.current { background: var(--grad-soft); color: var(--azure); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 85% -10%, rgba(0, 194, 209, .14), transparent 60%),
    radial-gradient(700px 420px at 8% 8%, rgba(11, 95, 255, .12), transparent 55%),
    linear-gradient(180deg, #f2f7ff 0%, #fff 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center;
  padding: 72px 0 46px;
}
.hero-copy h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.03em; margin-bottom: 18px; }
.hero-sub { color: var(--muted); font-size: 17.5px; max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-collage { position: relative; min-height: 480px; }
.hero-collage::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 209, .18), rgba(11, 95, 255, .10) 55%, transparent 70%);
  top: 6%; inset-inline-end: 2%;
}
.hc-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.hc-card img { width: 100%; height: 100%; object-fit: contain; }
.hc-a { width: 60%; aspect-ratio: 4 / 3.1; top: 0; inset-inline-start: 0; z-index: 2; }
.hc-b { width: 58%; aspect-ratio: 4 / 2.6; bottom: 0; inset-inline-end: 0; z-index: 1; }
.hc-c { width: 33%; aspect-ratio: 1 / 1; bottom: 10%; inset-inline-start: 4%; z-index: 3; box-shadow: var(--shadow); }
.hero-media { width: min(1240px, 94%); margin: 30px auto 0; }
.hero-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; padding-bottom: 8px; }

/* ---------- poster hero (cfg.heroImage set): designed banner artwork ----------
   Full-bleed: the artwork spans the entire hero width, edge to edge, square
   corners — the designed poster IS the banner background. Desktop overlays
   transparent hotspot links on the two baked-in CTA buttons. Mobile crops to
   the product half and shows the localized HTML copy below. */
.hero-poster { padding-bottom: 0; }
.hero-poster .hero-media { position: relative; width: 100%; margin: 0; }
.hero-poster .hero-media img { width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
.hero-poster .hotspot { position: absolute; display: block; border-radius: 999px; }
.hero-poster .hotspot:focus-visible { outline: 3px solid rgba(156, 195, 255, .95); outline-offset: 3px; }
.hero-mobile-copy { display: none; }
@media (max-width: 900px) {
  .hero-poster .hero-media img { aspect-ratio: 16 / 9; object-fit: cover; object-position: left center; }
  .hero-poster .hotspot { display: none; }
  .hero-mobile-copy { display: block; width: min(1240px, 94%); margin: 24px auto 0; padding-bottom: 10px; }
}

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 58px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 30px; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.cat-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; transition: .25s ease; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: .25s; z-index: 0;
}
.cat-card:hover::after { opacity: .045; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(11, 95, 255, .16);
  display: flex; align-items: center; justify-content: center; color: var(--azure);
}
.cat-card h3 { font-size: 18.5px; position: relative; z-index: 1; }
.cat-card p { color: var(--muted); font-size: 14.5px; flex: 1; position: relative; z-index: 1; }
.cat-more { display: inline-flex; align-items: center; gap: 7px; color: var(--azure); font-weight: 700; font-size: 14.5px; position: relative; z-index: 1; }
.cat-count { position: absolute; top: 20px; inset-inline-end: 20px; font-size: 12.5px; font-weight: 700; color: var(--azure); background: var(--grad-soft); border: 1px solid rgba(11, 95, 255, .14); padding: 4px 10px; border-radius: 999px; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: .25s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.stage {
  position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg-soft);
}
.stage.dark { background: var(--stage); }
.stage img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .35s ease; }
.prod-card:hover .stage img { transform: scale(1.05); }
.stage .stage-badge {
  position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(255, 255, 255, .94); color: var(--azure);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px;
}
.stage.dark .stage-badge { background: rgba(16, 20, 31, .72); color: #9fd8ff; }
.stage svg.portmap { width: 88%; max-height: 82%; }
.prod-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-model { font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; }
.prod-model a { color: var(--ink); }
.prod-model a:hover { color: var(--azure); }
.prod-tag { color: var(--muted); font-size: 14px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--bg-soft);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.prod-actions { display: flex; gap: 9px; margin-top: 4px; }
.prod-actions .btn { flex: 1; }

/* ---------- why / apps ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.qc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.guide-card {
  display: flex; gap: 14px; align-items: flex-start; background: var(--grad-soft);
  border: 1px solid rgba(11, 95, 255, .16); border-radius: 14px; padding: 18px 22px;
  margin-bottom: 30px; color: var(--ink-2); font-size: 15px; line-height: 1.7;
}
.guide-card .ic { color: var(--azure); flex: none; margin-top: 3px; }
.guide-card strong { color: var(--azure); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(11, 95, 255, .35); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 16px; padding: 14px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--azure); transform: rotate(90deg); transition: transform .2s; flex: none; }
.faq-item[open] summary .ic { transform: rotate(-90deg); }
.faq-item p { color: var(--muted); font-size: 15px; padding: 0 0 16px; max-width: 92%; }
.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.prose { display: grid; gap: 16px; }
.prose h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: ""; width: 5px; height: 20px; border-radius: 4px; background: var(--grad); flex: none; }
.prose p { color: var(--ink-2); font-size: 16.5px; line-height: 1.8; }
.pn-card {
  display: flex; flex-direction: column; gap: 5px; padding: 18px 22px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; font-size: 15.5px;
  transition: .2s;
}
.pn-card small { color: var(--muted); font-weight: 600; font-size: 13px; }
.pn-card:hover { border-color: var(--azure); box-shadow: var(--shadow); transform: translateY(-2px); }
.pn-next { text-align: end; align-items: flex-end; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.why-card .num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 16px;
}
.why-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 14.5px; }
.apps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 42px; }
.app-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px;
  text-align: center; transition: .25s; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.app-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11, 95, 255, .3); }
.app-tile .cat-icon { width: 48px; height: 48px; border-radius: 13px; }
.app-tile span { font-weight: 700; font-size: 14px; color: var(--ink-2); }

/* ---------- quote strip ---------- */
.quote-strip {
  background: linear-gradient(115deg, #0a1030 0%, #0b2a6b 55%, #0b5fff 100%);
  border-radius: 24px; color: #fff; padding: 54px 8%; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.quote-strip::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 209, .35), transparent 65%); top: -180px; inset-inline-end: -120px;
}
.quote-strip h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; position: relative; }
.quote-strip p { color: #c9d8f5; max-width: 560px; position: relative; }
.quote-strip .btn { position: relative; background: #fff; color: var(--azure-dark); }
.quote-strip .btn:hover { transform: translateY(-2px); }

/* ---------- breadcrumb & page hero ---------- */
.page-hero { background: linear-gradient(180deg, #eef4ff, #fff); padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--azure); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }

/* ---------- product listing / filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 6px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--azure); color: var(--azure); }
.filter-btn.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(11, 95, 255, .5); }

/* ---------- product detail ---------- */
.detail-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.gallery-main {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center; background: var(--bg-soft); border: 1px solid var(--line);
}
.gallery-main.dark { background: var(--stage); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.gallery-main svg.portmap { width: 82%; max-height: 80%; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 78px; height: 62px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg-soft);
  cursor: pointer; overflow: hidden; padding: 4px; transition: .2s;
}
.gallery-thumbs button.dark { background: var(--stage); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button.active { border-color: var(--azure); }
.detail-info h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 6px 0 10px; }
.detail-info .tagline { font-size: 17px; color: var(--muted); margin-bottom: 22px; }
.spec-mini { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.feature-list { display: grid; gap: 11px; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.feature-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft); color: var(--azure);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.detail-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.detail-section { margin-top: 64px; }
.detail-section > h2 { font-size: 24px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.detail-section > h2::before { content: ""; width: 5px; height: 24px; border-radius: 4px; background: var(--grad); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: start; font-size: 14.8px; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 700; width: 34%; white-space: nowrap; }
.spec-table td { color: var(--ink-2); font-weight: 600; }
.order-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-table th { background: #0d1420; color: #fff; padding: 12px 18px; text-align: start; font-size: 14px; letter-spacing: .04em; }
.order-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.order-table td:first-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.apps-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.apps-chips .chip { font-size: 13.5px; padding: 8px 16px; background: var(--grad-soft); border-color: rgba(11, 95, 255, .16); color: var(--azure); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; }
.about-copy p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.about-aside { display: grid; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.aside-card h3 { font-size: 16px; margin-bottom: 10px; color: var(--azure); }
.aside-card p { color: var(--muted); font-size: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); background: #fff; box-shadow: 0 0 0 4px rgba(11, 95, 255, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 700; display: none; }
.form-status.ok { display: block; color: #0a8a4a; }
.form-status.err { display: block; color: #c0392b; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); align-items: flex-start; }
.contact-card .cat-icon { width: 46px; height: 46px; border-radius: 12px; }
.contact-card h3 { font-size: 15px; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14.5px; font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--azure); }

/* ---------- footer ---------- */
.site-footer { background: #0d1420; color: #aeb8c9; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 38px; padding: 64px 0 44px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: #6db4ff; }
.footer-about { font-size: 14px; line-height: 1.75; margin-top: 14px; max-width: 300px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer ul a { color: #aeb8c9; font-size: 14.5px; }
.site-footer ul a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; font-size: 14.5px; }
.footer-contact a { color: #aeb8c9; } .footer-contact a:hover { color: #fff; }
.footer-contact .fi { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cert-chips span { border: 1px solid #2a3550; border-radius: 8px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; color: #cfd9ea; letter-spacing: .06em; }
.footer-bottom { border-top: 1px solid #1d2739; padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13.5px; color: #77839a; }

/* ---------- floaters ---------- */
.floaters { position: fixed; inset-inline-end: 22px; bottom: 24px; display: grid; gap: 12px; z-index: 80; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(16, 24, 40, .4); border: 0; cursor: pointer; transition: .22s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-wa { background: var(--wa); color: #fff; }
.float-top { background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; visibility: hidden; }
.float-top.show { opacity: 1; visibility: visible; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RTL ---------- */
html[dir="rtl"] .kicker::before, html[dir="rtl"] .detail-section > h2::before { transform: scaleX(-1); }
html[dir="rtl"] .cat-more svg, html[dir="rtl"] .breadcrumb .sep { transform: scaleX(-1); }
html[dir="rtl"] .btn svg, html[dir="rtl"] .prod-actions svg { transform: scaleX(-1); }
html[dir="rtl"] .stat b, html[dir="rtl"] .aside-card p { unicode-bidi: isolate; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; flex-direction: column;
    align-items: stretch; padding: 90px 22px 30px; gap: 6px; box-shadow: -20px 0 60px rgba(16, 24, 40, .2);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; z-index: 99; margin: 0;
  }
  html[dir="rtl"] .main-nav { inset: 0 auto 0 0; transform: translateX(-100%); box-shadow: 20px 0 60px rgba(16, 24, 40, .2); }
  .main-nav.open { transform: none !important; }
  .main-nav > li > a.nav-link { font-size: 17px; padding: 13px 10px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; display: none; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; }
  .burger { display: block; z-index: 100; }
  .burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header-quote { display: none; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .lang-btn { padding: 9px 10px; gap: 6px; }
  .lang-btn .lg-full { display: none; }
  .lang-btn .lg-short { display: inline; }
  .detail-top, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 46px 0 26px; }
  .hero-collage { min-height: 400px; }
  .hc-c { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .qc-grid, .pn-nav { grid-template-columns: 1fr; }
  .pn-next { text-align: start; align-items: flex-start; }
}
@media (max-width: 620px) {
  .cat-grid, .prod-grid, .why-grid, .apps-grid, .stats-band { grid-template-columns: 1fr 1fr; }
  .hero-collage { min-height: 300px; }
  .hc-a { width: 70%; } .hc-b { width: 66%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .prod-actions { flex-direction: column; }
}
@media (max-width: 460px) {
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
}

/* a11y: visible keyboard focus (2026-10-24) */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--azure, #0b5fff); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(11, 95, 255, .22); }


/* ---------- project wizard (2026-10-24) ---------- */
.wizard-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:30px; max-width:640px; margin:26px auto 0; box-shadow:var(--shadow) }
.wizard-steps { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:24px }
.wstep { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:1.5px solid var(--line); color:var(--muted); font-weight:700; font-size:14px }
.wstep.active { background:linear-gradient(100deg,#0b5fff,#00c2d1); border-color:transparent; color:#fff }
.wline { width:54px; height:1.5px; background:var(--line) }
.wpanel { display:none }
.wpanel.active { display:block }
.wpanel label { display:block; font-weight:600; margin-bottom:8px; color:var(--ink-2) }
.wpanel select, .wpanel input { width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); font:inherit }
.wizard-nav { display:flex; justify-content:space-between; align-items:center; margin-top:22px }
html[dir="rtl"] .wizard-nav { flex-direction:row-reverse }

/* ---------- product stage upgrade (2026-10-24): square, studio look, bigger product ---------- */
.stage { aspect-ratio: 1 / 1; background: radial-gradient(120% 100% at 50% 30%, #ffffff 0%, #f3f6fa 58%, #e7edf6 100%); }
.stage img { padding: 10px; }
.gallery-main { aspect-ratio: 1 / 1; background: radial-gradient(120% 100% at 50% 30%, #ffffff 0%, #f3f6fa 58%, #e7edf6 100%); }
.gallery-main img { padding: 14px; }
.gallery-thumbs button { aspect-ratio: 1 / 1; }
.stage img:hover { transform: scale(1.04); }
.hc-card img { padding: 4px; }

/* ---------- v2 full-bleed product imagery (2026-10-24) ----------
   Product photo IS the stage: edge-to-edge, zero padding, zero inner
   frames. Contrast comes from the dark hardware on pure white. */
.stage, .gallery-main { background: #ffffff; }
.stage img, .gallery-main img { padding: 0; }
.gallery-thumbs button { background: #ffffff; }
@media (min-width: 901px) {
  .detail-top { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 36px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
.prod-card .stage { border-bottom: 1px solid var(--line); }

/* ---------- hero v2: floating flagship product (2026-10-24) ---------- */
.hero-stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.hero-glow { position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 95, 255, .16) 0%, rgba(0, 194, 209, .10) 52%, transparent 76%); }
.hero-product { position: relative; width: 86%; height: auto;
  filter: drop-shadow(0 34px 44px rgba(8, 30, 80, .22));
  animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@media (prefers-reduced-motion: reduce) { .hero-product { animation: none } }
.hero-chip { position: absolute; padding: 9px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow); white-space: nowrap; }
.chip-a { top: 10%; left: -2%; }
.chip-b { bottom: 20%; right: -2%; }
.chip-c { bottom: 2%; left: 10%; color: var(--azure); }

/* ---------- v3 scene hero (2026-10-24) ----------
   Deep brand gradient scene + white product card + glass chips.
   Rhythm: dark hero -> white product sections. Accent = interaction only. */
.hero { background:
  radial-gradient(900px 460px at 88% -10%, rgba(0, 194, 209, .25), transparent 60%),
  radial-gradient(700px 420px at 2% 108%, rgba(0, 194, 209, .14), transparent 55%),
  linear-gradient(118deg, #061230 0%, #0a2a72 40%, #0b5fff 76%, #00a6d6 100%); }
.hero-copy h1 { color: #fff; }
.hero .kicker { color: #9fd8ff; }
.hero-sub { color: #cfe0ff; }
.hero-trust .chip { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #dceaff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.hero-glow { display: none; }
.hero-stage { aspect-ratio: auto; }
.hero-card { background: #ffffff; border-radius: 22px; padding: 22px;
  box-shadow: 0 44px 90px -30px rgba(2, 10, 40, .65), 0 0 0 1px rgba(255, 255, 255, .18);
  transform: rotate(-1.2deg); transition: transform .3s ease; }
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-card img { width: 100%; height: auto; border-radius: 12px; display: block; }
.hero-chip { background: rgba(9, 24, 60, .55); border: 1px solid rgba(255, 255, 255, .30);
  color: #eaf2ff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip-c { color: #7fe3f2; }
/* product cards: interaction accent */
.prod-card:hover { border-color: rgba(11, 95, 255, .55); transform: translateY(-3px);
  box-shadow: 0 18px 44px -18px rgba(11, 95, 255, .35); }

/* ---------- v4 hero fixes (2026-10-24) ---------- */
.hero-card { display: none; }
.hero-glow { display: block; position: absolute; inset: 2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 194, 209, .26) 0%, rgba(11, 95, 255, .18) 48%, transparent 74%); }
.hero-product { position: relative; width: 88%; height: auto; display: block;
  filter: drop-shadow(0 38px 48px rgba(2, 10, 40, .45));
  animation: heroFloat 7s ease-in-out infinite; }
.hero .btn-ghost { background: #ffffff; color: #0b5fff; border-color: #ffffff; font-weight: 700;
  box-shadow: 0 10px 26px -12px rgba(2, 10, 40, .55); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .92); color: #0846c6; }
.hero-stage { aspect-ratio: auto; }

/* ---------- v5 hero: fiber-line decoration (2026-10-24) ---------- */
.hero-product { display: none; }
.hero-stage { aspect-ratio: auto; min-height: 420px; align-items: center; }
.hero-fiber { width: 100%; max-width: 520px; height: auto; }
.hero-chip { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- v6: floating product back (QC-passed cutout) ---------- */
.hero-product { display: block; width: 88%; height: auto;
  filter: drop-shadow(0 38px 48px rgba(2, 10, 40, .45));
  animation: heroFloat 7s ease-in-out infinite; }

/* ---------- v7: product as protagonist (2026-10-24) ---------- */
.hero { overflow: hidden; }
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.hero-stage { min-height: 0; }
.hero-product { display: block; width: 138%; max-width: none; height: auto;
  margin-right: -14%; filter: drop-shadow(0 44px 54px rgba(2, 10, 40, .5));
  animation: heroFloat3d 8s ease-in-out infinite; transform-origin: 70% 60%; }
@keyframes heroFloat3d {
  0%, 100% { transform: perspective(1500px) rotateY(-9deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1500px) rotateY(-9deg) rotateX(2deg) translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) { .hero-product { animation: none } }
.hero-chip.chip-a { top: 6%; right: 38%; left: auto; }
.hero-chip.chip-b { bottom: 10%; right: -4%; }
.hero-chip.chip-c { display: none; }
@media (max-width: 900px) {
  .hero-product { width: 100%; margin-right: 0; }
  .hero-chip.chip-b { right: 2%; }
}

/* ---------- v8: multiply blend — artifact-free product on gradient ---------- */
.hero-product { mix-blend-mode: multiply; filter: none; }

/* ---------- v9: mirrored hero — multigig switch (2026-10-25) ---------- */
.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.hero-copy { text-align: right; }
.hero-copy .hero-ctas { justify-content: flex-end; }
.hero-copy .hero-trust { justify-content: flex-end; }
.hero-stage { aspect-ratio: auto; }
.hero-glow { display: block; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 194, 209, .24) 0%, rgba(11, 95, 255, .16) 48%, transparent 74%); }
.hero-product { display: block; mix-blend-mode: normal; width: 118%; max-width: none; height: auto;
  margin: 0 0 0 -11%; filter: drop-shadow(0 40px 44px rgba(2, 10, 40, .5));
  animation: heroFloat 7s ease-in-out infinite; }
.hero-chip.chip-a { top: 4%; left: 2%; }
.hero-chip.chip-b { top: 38%; right: -3%; left: auto; }
.hero-chip.chip-c { display: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; }
  .hero-copy { text-align: left; }
  .hero-copy .hero-ctas, .hero-copy .hero-trust { justify-content: flex-start; }
  .hero-product { width: 100%; margin: 0; }
  .hero-chip.chip-b { right: 2%; }
}

/* ---------- v10: hero layout tuning (2026-10-25) ---------- */
.hero-chip { display: none; }
.hero-grid { padding: 26px 0 40px; }
.hero-stage { min-height: 0; }
.hero-product { width: 112%; margin-left: -4%; }
@media (max-width: 900px) {
  .hero-product { width: 100%; margin-left: 0; }
}

/* ---------- v11: cool blue-gray palette + presentation polish (2026-10-25) ---------- */
body { background: #E8EEF4; }
.section.soft { background: #DFE7F0; }
.prod-card, .cat-card, .why-card, .form-card, .contact-card, .pn-card, .aside-card, .stat, .app-tile { border-radius: 10px; }
.prod-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(30, 60, 120, .28); }
.hero-product { filter: drop-shadow(0 26px 30px rgba(2, 10, 40, .35)); }
.prod-actions .btn-ghost { border: none; background: none; padding: 6px 4px; color: var(--azure); font-weight: 600; }
.prod-actions .btn-ghost:hover { color: var(--azure-dark); }
.page-hero .ph-model { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 0; color: var(--ink); }

/* ---------- v12: factory gallery (2026-10-25) ---------- */
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.factory-tile { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.factory-visual { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #f2f6fb, #e4ebf5); color: var(--azure); }
.factory-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.factory-tile figcaption { padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) { .factory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .factory-grid { grid-template-columns: 1fr; } }

/* ---------- v14: guides magazine layout (2026-10-25) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  text-decoration: none; box-shadow: 0 1px 2px rgba(20,40,80,.05); transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(30,60,120,.30); }
.guide-cover { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #eaf1f9, #dce7f4); }
.guide-cover > img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cover-split { display: flex; width: 100%; height: 100%; }
.cover-split img { width: 50%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cover-split img:first-child { border-right: 1px solid rgba(255,255,255,.9); }
.cover-art { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; position: relative; overflow: hidden; }
.cover-art svg { width: 46px; height: 46px; opacity: .95; }
.cover-art i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.cover-art i:first-of-type { width: 190px; height: 190px; right: -60px; top: -70px; }
.cover-art i:last-of-type { width: 120px; height: 120px; left: -40px; bottom: -50px; }
.art-wave { background: linear-gradient(135deg, #0b5fff, #00b4d1); }
.art-poe { background: linear-gradient(135deg, #7b2ff7, #0b5fff); }
.art-factory { background: linear-gradient(135deg, #0e8a7b, #0b5fff); }
.art-network { background: linear-gradient(135deg, #0092bd, #0b5fff); }
.art-doc { background: linear-gradient(135deg, #34558b, #0b5fff); }
.art-chart { background: linear-gradient(135deg, #d97706, #ef7d1a); }
.art-ship { background: linear-gradient(135deg, #475569, #0b5fff); }
.guide-body { display: flex; flex-direction: column; gap: 9px; padding: 16px 18px 18px; color: var(--ink); }
.guide-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.guide-tag { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 11.5px; color: #fff; background: var(--azure); }
.guide-tag.tag-buy { background: #0b8457; }
.guide-tag.tag-tech { background: #0b5fff; }
.guide-tag.tag-biz { background: #b45309; }
.guide-tag.tag-factory { background: #7b2ff7; }
.guide-card h3 { margin: 0; font-size: 17px; line-height: 1.4; color: var(--ink); }
.guide-card p { margin: 0; font-size: 13.8px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card .cat-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--azure); font-weight: 700; font-size: 13.5px; }
.guide-mins { margin-left: auto; font-style: normal; font-weight: 500; color: var(--ink-2); font-size: 12.5px; }
.page-hero .guide-meta time { font-weight: 600; }
@media (max-width: 980px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }
/* prose extensions: tables, lists, notes, figures */
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .table-wrap { margin: 22px 0 26px; border: 1px solid var(--line); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #eef3fa; color: var(--ink); font-weight: 700; white-space: nowrap; }
.prose tr:last-child td { border-bottom: none; }
.prose-note { display: flex; gap: 10px; align-items: flex-start; background: #eef4fd; border: 1px solid #d4e3f8; border-left: 4px solid var(--azure); border-radius: 10px; padding: 13px 16px; margin: 20px 0 24px; color: var(--ink); }
.prose-note svg { flex: none; color: var(--azure); margin-top: 2px; }
.prose-note p { margin: 0; }
.prose-fig { margin: 26px 0; }
.prose-fig img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.prose-fig figcaption { font-size: 13px; color: var(--ink-2); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 22px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--azure); color: var(--ink-2); font-style: italic; }

/* ---------- v16: contact social row (2026-10-25) ---------- */
.social-icons { display: flex; gap: 10px; margin-top: 4px; }
.social-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #eef3fa; color: var(--azure); transition: .18s; }
.social-ic:hover { background: var(--azure); color: #fff; transform: translateY(-2px); }
/* ---------- v15.2: floating chat card (2026-10-25) ---------- */
.fc-card { position: fixed; inset-inline-end: 22px; bottom: 160px; z-index: 80;
  width: min(272px, calc(100vw - 44px)); background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 54px -18px rgba(9, 30, 66, .42), 0 0 0 1px rgba(9, 30, 66, .04);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: 85% 100%;
  transition: opacity .38s ease, transform .38s cubic-bezier(.2,.9,.3,1.2), visibility .38s; }
.fc-card.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fc-card.hide { display: none; }
.fc-card::after { content: ""; position: absolute; inset-inline-end: 19px; bottom: -6px; width: 12px; height: 12px;
  background: #128c7e; transform: rotate(45deg); }
.fc-head { display: flex; align-items: center; gap: 10px; padding: 12px 13px;
  background: linear-gradient(135deg, #075e54, #128c7e); }
.fc-ava { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0b5fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.fc-head-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.fc-head-txt b { color: #fff; font-size: 13.5px; font-weight: 800; line-height: 1.2; }
.fc-head-txt i { display: flex; align-items: center; gap: 5px; font-style: normal; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 500; }
.fc-head-txt u { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4ae371;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25); text-decoration: none; }
.fc-close { position: absolute; top: 8px; inset-inline-end: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; }
.fc-close:hover { background: rgba(255,255,255,.28); }
.fc-body { padding: 13px 13px 13px; }
.fc-msg { position: relative; background: #f1f5f9; border-radius: 3px 14px 14px 14px; padding: 10px 12px 8px; }
.fc-msg p { margin: 0; font-size: 13.2px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.fc-msg .fc-msg-sub { font-weight: 400; color: var(--ink-2); font-size: 12.3px; margin-top: 2px; }
.fc-msg .fc-time { display: block; text-align: end; font-size: 10px; color: #98a6b8; margin-top: 3px; font-weight: 600; }
.fc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 11px; align-items: stretch; }
.fc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; font-weight: 800; font-size: 13.5px;
  padding: 11px 14px; border-radius: 999px; text-decoration: none; transition: .18s;
  box-shadow: 0 8px 18px -8px rgba(18, 140, 126, .65); }
.fc-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.fc-link { text-align: center; font-size: 12.3px; font-weight: 600; color: var(--azure); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .fc-card { inset-inline-end: 14px; bottom: 152px; width: min(272px, calc(100vw - 28px)); } }
@media (prefers-reduced-motion: reduce) { .fc-card { transition: opacity .3s, visibility .3s; } }

/* ---------- v15.3: fc compact + typography (2026-10-25) ---------- */
.fc-card { width: min(256px, calc(100vw - 44px)); }
.fc-head { padding: 11px 12px; gap: 9px; }
.fc-ava { width: 34px; height: 34px; font-size: 14px; }
.fc-head-txt b { font-size: 13px; letter-spacing: .01em; }
.fc-head-txt i { font-size: 10.5px; }
.fc-body { padding: 11px 12px 12px; }
.fc-msg { padding: 9px 11px 7px; border-radius: 3px 12px 12px 12px; }
.fc-msg p { font-size: 12.6px; line-height: 1.45; }
.fc-msg .fc-msg-sub { font-size: 11.8px; }
.fc-actions { gap: 7px; margin-top: 10px; }
.fc-btn { padding: 10px 13px; font-size: 13px; }
.fc-link { font-size: 11.8px; }
@media (max-width: 640px) { .fc-card { inset-inline-end: 14px; bottom: 152px; width: min(256px, calc(100vw - 28px)); } }

/* ---------- v17: site search (2026-10-26) ---------- */
.search-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: .15s; }
.search-btn:hover { border-color: var(--azure); color: var(--azure); }
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10, 22, 48, .45);
  backdrop-filter: blur(4px); display: flex; justify-content: center; padding: 10vh 16px 0; }
.search-overlay[hidden] { display: none; }
.search-panel { width: min(680px, 100%); max-height: 74vh; background: #fff; border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(9, 30, 66, .5); display: flex; flex-direction: column; overflow: hidden;
  animation: searchIn .18s ease; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-10px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .search-panel { animation: none } }
.search-bar { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-bar .ic { color: var(--azure); flex: none; }
.search-bar input { flex: 1; border: 0; outline: none; font-size: 17px; color: var(--ink); background: none; }
.search-bar input::placeholder { color: #9db1c7; }
.search-close { border: 0; background: #f1f5fa; color: var(--ink-2); width: 32px; height: 32px; border-radius: 8px;
  font-size: 20px; line-height: 1; cursor: pointer; }
.search-close:hover { background: #e4ebf5; }
.search-hints { padding: 10px 18px 0; color: #9db1c7; font-size: 12.5px; }
.search-results { overflow-y: auto; padding: 8px; }
.sr-group { padding: 8px 10px 4px; color: var(--azure); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sr-item:hover { background: #f0f6fd; }
.sr-img { flex: none; width: 46px; height: 46px; border-radius: 8px; background: #f4f8fc; object-fit: contain; }
.sr-img-ph { flex: none; width: 46px; height: 46px; border-radius: 8px; background: #eef3fa; display: flex; align-items: center; justify-content: center; color: #9db1c7; font-size: 10px; }
.sr-main { min-width: 0; }
.sr-model { font-weight: 800; font-size: 14px; }
.sr-model mark { background: #ffe58a; color: inherit; border-radius: 2px; padding: 0 1px; }
.sr-sub { color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-sub mark { background: #ffe58a; color: inherit; border-radius: 2px; padding: 0 1px; }
.sr-empty { padding: 30px 18px; text-align: center; color: var(--ink-2); font-size: 14px; }

/* ---------- v20: header nav spread (2026-10-26, desktop only) ---------- */
@media (min-width: 901px) {
  .site-header nav { flex: 1 1 auto; min-width: 0; }
  .main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; width: 100%; margin-inline-start: 0; }
  .main-nav a.nav-link { padding: 11px 22px; font-size: 15.5px; }
  .header-actions { gap: 14px; margin-inline-start: 0; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .main-nav a.nav-link { padding: 11px 13px; font-size: 14.5px; }
  .header-inner { gap: 14px; }
}

/* v20b: wider container */
.container { max-width: 1280px; }

/* Launch accessibility: reserve hidden text without exposing it visually. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* Knowledge-center sections preserve a clear reading path. */
.guide-topic-section + .guide-topic-section { margin-block-start:56px; }
.guide-topic-header { display:flex; align-items:flex-start; gap:16px; margin-block-end:22px; }
.guide-topic-kicker { flex:none; font-size:14px; line-height:32px; font-weight:800; color:var(--azure); padding-inline-end:14px; border-inline-end:2px solid var(--line); }
.guide-topic-header h2 { margin:0; font-size:clamp(22px,2.5vw,28px); line-height:1.3; }
.guide-topic-intro { margin:8px 0 0; max-width:760px; color:var(--ink-2); line-height:1.7; }
@media(max-width:900px) {
 .main-nav:not(.open), .main-nav:not(.open) * { visibility:hidden; pointer-events:none; }
 .main-nav.open { visibility:visible; pointer-events:auto; }
}
@media(max-width:640px) { .guide-topic-section + .guide-topic-section { margin-block-start:40px; } .guide-topic-header { gap:12px; } }

/* Keep the header controls and statistics inside narrow phone viewports. */
@media (max-width:360px) {
  .site-header .logo { font-size:19px; gap:6px; flex-shrink:0; }
  .site-header .logo-badge { width:30px; height:30px; font-size:15px; }
  .header-inner { gap:8px; }
  .header-actions { gap:6px; margin-inline-start:auto; }
  .search-btn { width:32px; height:34px; }
  .lang-btn { padding:8px; gap:5px; }
  .burger { padding:6px; }
  .stats-band { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stat { min-width:0; padding:18px 12px; }
  .stat b { font-size:22px; }
}

/* Long technical labels must not widen the mobile product-detail grid. */
.detail-top > * { min-width:0; }
.detail-info { overflow-wrap:anywhere; }
.spec-mini .chip { white-space:normal; overflow-wrap:anywhere; }
.feature-list li > span:last-child { min-width:0; overflow-wrap:anywhere; }
@media (max-width:900px) { .detail-top { grid-template-columns:minmax(0,1fr); } }
