/* ============================================================
   SKY MIRROR TECH — Overseas Independent Site
   Design system derived from corporate PPT:
   electric blue #0780FF / ink #303A4B / night sections / Arial lineage
   RTL-ready (logical properties) for Arabic locale
   ============================================================ */

:root {
  --blue: #0780FF;
  --blue-deep: #0063CC;
  --blue-soft: #E8F2FF;
  --ink: #303A4B;
  --slate: #5C6675;
  --mute: #6B7488;
  --night: #0B1220;
  --night-2: #101B31;
  --night-line: rgba(255, 255, 255, 0.09);
  --line: #E4EAF3;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(16, 42, 87, 0.10);
  --font-en: "Inter", "Arial", "Helvetica Neue", sans-serif;
  --font-zh: "Inter", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-ar: "Noto Sans Arabic", "Tahoma", "Arial", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
html[lang="zh"] body { font-family: var(--font-zh); }
html[lang="ar"] body { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
img, video { -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.08em; }
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--blue);
  flex: none;
}
.sec-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sec-title.light { color: #fff; }
.sec-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--slate);
  max-width: 720px;
}
.sec-sub.light { color: rgba(255, 255, 255, 0.72); }
.sec-num {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(7, 128, 255, 0.35);
  line-height: 1;
  user-select: none;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-header.solid {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--night-line);
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand svg { flex: none; }
.brand .name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.15;
}
.brand .name small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
  white-space: nowrap;
}
html[lang="ar"] .main-nav { gap: 18px; }
html[lang="ar"] .main-nav a.nav-link { font-size: 13.5px; letter-spacing: 0; }
html[lang="ar"] .brand .name { letter-spacing: 0.06em; }
html[lang="zh"] .main-nav a.nav-link { letter-spacing: 0.04em; }
.main-nav a.nav-link:hover { color: #fff; }
.main-nav a.nav-link.active { color: #fff; border-bottom-color: var(--blue); }
.lang-switch { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.lang-switch a {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 9px;
  border-radius: 6px;
  transition: all 0.2s;
}
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.lang-switch a.on { color: #fff; background: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(7, 128, 255, 0.35); }
.btn.ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn.small { padding: 10px 20px; font-size: 13.5px; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arr { transform: translateX(-4px) scaleX(-1); }
html[dir="rtl"] .btn .arr { transform: scaleX(-1); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transform: scale(1.04);
}
.hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.72) 46%, rgba(11, 18, 32, 0.25) 100%);
}
html[dir="rtl"] .hero .veil {
  background: linear-gradient(-100deg, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.72) 46%, rgba(11, 18, 32, 0.25) 100%);
}
.hero .scan {
  position: absolute;
  inset-inline-end: -12%;
  top: 50%;
  width: 640px;
  height: 640px;
  margin-top: -320px;
  border-radius: 50%;
  border: 1px solid rgba(7, 128, 255, 0.22);
  pointer-events: none;
}
.hero .scan::before,
.hero .scan::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(7, 128, 255, 0.16);
  inset: 18%;
}
.hero .scan::after { inset: 36%; }
.hero .scan .sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(7, 128, 255, 0.28), transparent 22%);
  animation: sweep 6.5s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.hero .inner { position: relative; z-index: 2; padding: 140px 0 90px; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 760px;
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
}
.hero .cta-row { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--night-line);
  margin-top: 70px;
  padding-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.hstat .num {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  color: #fff;
}
.hstat .num em { font-style: normal; color: var(--blue); }
.hstat .lbl { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.night { background: var(--night); color: #fff; }
.section.night-2 { background: var(--night-2); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 52px; }
.sec-head .txt { max-width: 720px; }

/* solution cards */
.grid { display: grid; gap: 26px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
}
.card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #CFE0F5; }
.card:hover::before { transform: scaleX(1); }
.card .idx {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.12em;
}
.card h3 { font-size: 19px; font-weight: 800; margin: 12px 0 10px; line-height: 1.35; }
.card p { font-size: 14.5px; color: var(--slate); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

/* feature pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  border: 1.5px solid rgba(7, 128, 255, 0.45);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(7, 128, 255, 0.05);
}
.section.night .pill, .section.night-2 .pill {
  color: #7FB9FF;
  border-color: rgba(7, 128, 255, 0.5);
  background: rgba(7, 128, 255, 0.12);
}

/* product cards (dark) */
.prod-card {
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45); border-color: rgba(7, 128, 255, 0.55); }
.prod-card .thumb {
  background: radial-gradient(120% 100% at 50% 0%, #182646 0%, #0E1728 70%);
  padding: 18px 22px;
  display: grid;
  place-items: center;
  min-height: 220px;
}
.prod-card .thumb img { max-height: 210px; width: auto; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); }
.prod-card .body { padding: 22px 24px 26px; color: #fff; flex: 1; display: flex; flex-direction: column; }
.prod-card .model { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.prod-card .type {
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.prod-card .specs { margin-top: 16px; border-top: 1px solid var(--night-line); }
.prod-card .specs .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.prod-card .specs .row span:first-child { color: rgba(255, 255, 255, 0.55); }
.prod-card .specs .row span:last-child { color: #fff; font-weight: 600; text-align: end; }

/* family block */
.family { margin-bottom: 84px; }
.family .f-head {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--night-line);
}
.family .f-head .badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--blue);
  border: 1.5px solid rgba(7, 128, 255, 0.5);
  padding: 7px 14px;
  border-radius: 8px;
  text-transform: uppercase;
}
.family .f-head h3 { font-size: 26px; font-weight: 800; color: #fff; }
.family .f-head .meta { color: rgba(255, 255, 255, 0.6); font-size: 14px; }

/* comparison table */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 760px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: start; font-size: 14px; }
table.cmp thead th {
  background: var(--night);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
table.cmp tbody tr { border-top: 1px solid var(--line); }
table.cmp tbody tr:hover { background: var(--bg-soft); }
table.cmp td.model { font-weight: 800; color: var(--blue-deep); white-space: nowrap; }

/* solution detail blocks */
.sol-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 54px 0; border-bottom: 1px solid var(--night-line); }
.sol-block:last-child { border-bottom: none; }
.sol-block.flip > .media { order: 2; }
.sol-block .media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.sol-block .media img { width: 100%; height: auto; }
.sol-block h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: #fff; margin: 10px 0 14px; line-height: 1.25; }
.sol-block .no {
  font-size: 13px; font-weight: 800; letter-spacing: 0.2em; color: var(--blue);
}
.sol-block p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }
.sol-block ul.tick { margin-top: 18px; display: grid; gap: 10px; }
.sol-block ul.tick li {
  position: relative;
  padding-inline-start: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
}
.sol-block ul.tick li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-inline-start: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
html[dir="rtl"] .sol-block ul.tick li::before { transform: rotate(45deg) scaleX(-1); }

/* light solution blocks on solutions intro / home compare */
.compare-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.compare-wrap .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vs-list { display: grid; gap: 14px; margin-top: 26px; }
.vs-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}
.vs-item .t { font-weight: 700; font-size: 15px; }
.vs-item .d { font-size: 13.5px; color: var(--slate); margin-top: 2px; }
.vs-item .mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue-deep);
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
  grid-row: span 2;
}

/* case cards */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card .top {
  background: var(--night);
  color: #fff;
  padding: 22px 24px;
  position: relative;
}
.case-card .top::after {
  content: "";
  position: absolute;
  inset-inline-start: 24px;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--blue);
}
.case-card .top .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--blue); text-transform: uppercase; }
.case-card .top h3 { font-size: 18px; font-weight: 800; margin-top: 8px; line-height: 1.4; }
.case-card .body { padding: 22px 24px 26px; flex: 1; }
.case-card .body p { font-size: 14px; color: var(--slate); }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.case-metrics .m { background: var(--bg-soft); border-radius: 10px; padding: 12px 10px; text-align: center; }
.case-metrics .m b { display: block; font-size: 19px; font-weight: 800; color: var(--blue-deep); }
.case-metrics .m span { font-size: 11.5px; color: var(--mute); line-height: 1.35; display: block; margin-top: 3px; }
.case-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.case-imgs img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 3/4; object-fit: cover; width: 100%; }

/* team */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #CFE0F5; }
.team-card .avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--night); color: #fff;
  display: grid; place-items: center;
  font-size: 19px; font-weight: 800; letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.team-card h4 { font-size: 17px; font-weight: 800; color: var(--blue-deep); }
.team-card .role { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 5px; line-height: 1.45; }
.team-card .duty { font-size: 13px; color: var(--mute); margin-top: 7px; line-height: 1.5; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-grid p { color: var(--slate); margin-bottom: 16px; font-size: 15.5px; }
.value-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-item { border-inline-start: 3px solid var(--blue); padding-inline-start: 20px; }
.value-item h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.value-item p { font-size: 14px; color: var(--slate); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { margin-bottom: 18px; }
.f-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #FBFCFE;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 128, 255, 0.15);
}
.f-field textarea { min-height: 120px; resize: vertical; }
.info-card { background: var(--night); color: #fff; border-radius: var(--radius); padding: 34px 32px; }
.info-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.info-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--night-line); }
.info-line:last-child { border-bottom: none; }
.info-line .ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(7, 128, 255, 0.16); display: grid; place-items: center; color: var(--blue); }
.info-line .t { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.info-line .v { font-size: 14.5px; color: rgba(255, 255, 255, 0.85); margin-top: 3px; line-height: 1.55; }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}
.cta-band .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.cta-band .inner { position: relative; z-index: 2; padding: 90px 0; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: 0.01em; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, 0.7); font-size: 17px; }
.cta-band .btn { margin-top: 32px; }

/* footer */
.site-footer { background: #080E1A; color: rgba(255, 255, 255, 0.62); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 66px 0 44px; }
.site-footer h5 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { display: block; padding: 5px 0; transition: color 0.2s; }
.site-footer a:hover { color: var(--blue); }
.site-footer .f-brand { color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 14px; }
.site-footer .bottom {
  border-top: 1px solid var(--night-line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* page hero (inner pages) */
.page-hero { position: relative; background: var(--night); color: #fff; padding: 170px 0 84px; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0.32; }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.01em; }
.page-hero .crumbs { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-bottom: 16px; letter-spacing: 0.06em; }
.page-hero .crumbs b { color: var(--blue); font-weight: 700; }
.page-hero p { margin-top: 16px; max-width: 720px; color: rgba(255, 255, 255, 0.72); font-size: 16.5px; }

/* reveal animation (only when JS is available — content must be visible without JS) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 0.08s; } .js .rv.d2 { transition-delay: 0.16s; } .js .rv.d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .sol-block, .compare-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .sol-block.flip > .media { order: 0; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(8, 14, 26, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5%;
    display: none;
    border-bottom: 1px solid var(--night-line);
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-link { padding: 14px 6px; border-bottom: 1px solid var(--night-line); }
  .lang-switch { margin: 12px 6px; justify-content: flex-start; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
  }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  .grid.c3, .grid.c4, .grid.c2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .value-band { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .hero .scan { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* keep the signature hero sweep; only simplify layout-level motion */
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   v2.0 — native components (no PPT imagery), video, compliance
   ============================================================ */

/* video hero */
.hero video.bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--night-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.video-card video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #060B14; }
.video-card .vtag {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 128, 255, 0.85);
  padding: 6px 12px;
  border-radius: 6px;
}

/* native radar-vs-video comparison */
.vs-table { display: grid; gap: 12px; }
.vs-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}
.vs-row.head { background: var(--night); border-color: var(--night); }
.vs-row.head .c { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.vs-row .c.lbl { font-weight: 800; font-size: 14.5px; color: var(--ink); }
.vs-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vs-bar { flex: 1; height: 8px; border-radius: 99px; background: #EDF1F7; overflow: hidden; }
.vs-bar i { display: block; height: 100%; border-radius: 99px; background: var(--blue); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.vs-bar.dim i { background: #B9C3D2; }
.vs-cell .v { font-size: 12.5px; font-weight: 700; color: var(--slate); white-space: nowrap; }
.vs-cell.good .v { color: var(--blue-deep); }
.rv.in .vs-bar i { width: var(--w); }

/* svg scene card (solutions) */
.scene {
  background: linear-gradient(160deg, #101C33 0%, #0B1424 70%);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  place-items: center;
  min-height: 320px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.scene svg { width: 100%; max-width: 460px; height: auto; }

/* system chain stepper */
.chain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 920px) { .chain-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; } }
@media (max-width: 640px) { .chain-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* legend coverage diagrams */
.cov-svg { width: 100%; max-width: 200px; height: auto; margin-inline: auto; display: block; }

/* trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 44px;
  align-items: center;
  justify-content: center;
  padding: 30px 0 6px;
  border-top: 1px solid var(--night-line);
}
.trust-strip .ti { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.65); font-size: 13.5px; font-weight: 600; }
.trust-strip .ti b { color: #fff; font-weight: 800; }

/* cookie banner */
.cookie-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(8, 14, 26, 0.97);
  border-top: 1px solid var(--night-line);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cookie-bar p { color: rgba(255,255,255,.7); font-size: 13px; max-width: 760px; }
.cookie-bar a { color: var(--blue); font-weight: 700; }

/* privacy / legal page */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 20px; font-weight: 800; margin: 34px 0 12px; color: var(--ink); }
.legal-body p, .legal-body li { font-size: 15px; color: var(--slate); margin-bottom: 10px; }
.legal-body ul { padding-inline-start: 22px; list-style: disc; }

/* footer compliance line */
.f-compliance {
  font-size: 12px;
  color: rgba(255,255,255,.52);
  max-width: 720px;
  margin-top: 10px;
  line-height: 1.6;
}
.f-legal-links { display: flex; gap: 18px; }
.f-legal-links a { display: inline !important; padding: 0 !important; color: rgba(255,255,255,.45); font-size: 12.5px; }
.f-legal-links a:hover { color: var(--blue); }

/* ---------- media center gallery ---------- */
.media-gallery { display: grid; gap: 14px; }
.mg-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--night-line);
  background: #060B14;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
}
.mg-stage video, .mg-stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; object-position: center; display: block;
}
.mg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 14, 26, 0.65);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 3;
}
.mg-nav:hover { background: rgba(7, 128, 255, 0.8); }
.mg-nav.prev { inset-inline-start: 14px; }
.mg-nav.next { inset-inline-end: 14px; }
html[dir="rtl"] .mg-nav svg { transform: scaleX(-1); }
.mg-cap {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  min-height: 22px;
}
.mg-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mg-thumb {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 5);
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #0B1220;
  cursor: pointer;
  padding: 0;
  aspect-ratio: 16 / 9;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.mg-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; object-position: center; display: block;
}
.mg-thumb.on { border-color: var(--blue); opacity: 1; }
.mg-thumb:hover { opacity: 1; }
.mg-thumb .mg-kind {
  position: absolute;
  z-index: 2;
  inset-inline-start: 8px;
  bottom: 6px;
  color: #fff;
  background: rgba(7, 128, 255, 0.9);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
/* ---------- social / official channels ---------- */
.social-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.soc-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-inline-end: 4px; }
.soc-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  transition: all 0.2s;
}
.soc-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.soc-btn svg { display: block; }
.soc-youtube:hover { background: #FF0000; border-color: #FF0000; }
.soc-linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.soc-x:hover { background: #111; border-color: #111; }
.soc-facebook:hover { background: #1877F2; border-color: #1877F2; }
.soc-whatsapp:hover { background: #25D366; border-color: #25D366; }
html[dir="rtl"] .soc-x svg, html[dir="rtl"] .soc-facebook svg { transform: scaleX(-1); }

/* floating WhatsApp inquiry button */
.wa-float {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 150;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* share bar (CTA band) */
.cta-band .share-bar { margin-top: 30px; justify-content: center; }
.cta-band .soc-lbl { color: rgba(255,255,255,.55); }

/* contact: official channel cards */
.chan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.chan-card {
  display: grid; gap: 10px; justify-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; color: var(--ink);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.chan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #CFE0F5; }
.chan-card .ci { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.chan-card .ci svg { display: block; }
.chan-card:nth-child(1) .ci { background: #FF0000; }
.chan-card:nth-child(2) .ci { background: #0A66C2; }
.chan-card:nth-child(3) .ci { background: #111; }
.chan-card:nth-child(4) .ci { background: #1877F2; }
.chan-card .cn { font-weight: 800; font-size: 16px; }
.chan-card .ch { font-size: 13px; color: var(--mute); word-break: break-all; }
@media (max-width: 920px) { .chan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chan-grid { grid-template-columns: 1fr; } }

/* TSR dual product art */
.tsr-art { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.prod-card .thumb .tsr-art img { width: 100%; max-height: none; filter: none; border-radius: 10px; border: 1px solid var(--line); display: block; aspect-ratio: 4/3; object-fit: contain; background: #fff; }
.tsr-effect { margin: 34px 0 0; }
.tsr-effect img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; box-shadow: var(--shadow); }
.tsr-effect figcaption { margin-top: 10px; font-size: 12.5px; color: var(--mute); line-height: 1.55; }
@media (max-width: 640px) { .tsr-art { grid-template-columns: 1fr; } }

/* youtube click-to-load facade */
.mg-yt { position: relative; width: 100%; height: 100%; border: none; padding: 0; cursor: pointer; background: #060B14; }
.mg-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 48px; border-radius: 14px;
  background: rgba(255, 0, 0, 0.85); color: #fff;
  display: grid; place-items: center; font-size: 22px;
  transition: transform 0.2s;
}
.mg-yt:hover .mg-yt-play { transform: translate(-50%, -50%) scale(1.1); }
.mg-stage iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 640px) {
  .mg-thumb { flex-basis: calc((100% - 20px) / 3); }
}

@media (max-width: 920px) {
  .vs-row { grid-template-columns: 1fr; gap: 8px; }
  .vs-row.head { display: none; }
  .vs-cell .v { white-space: normal; }
}

/* radar vs video comparison chart */
.cmpchart { max-width: 620px; margin: 8px auto 0; }
.cmpchart svg { width: 100%; height: auto; display: block; }


/* ============================================================
   UX polish v2.3 — focus, press, motion, chrome
   ============================================================ */
/* keyboard focus ring (visible only for keyboard users) */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #6FB2FF; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* press feedback */
.btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }
.prod-card:active, .card:active, .case-card:active { transform: translateY(-1px) scale(0.997); }
.soc-btn:active, .mg-nav:active { transform: scale(0.94); }

/* product image micro-zoom on hover */
.prod-card .thumb img { transition: transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1); }
.prod-card:hover .thumb img { transform: scale(1.035); }

/* chrome: scrollbar & selection */
html { scrollbar-color: rgba(7, 128, 255, 0.55) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(7, 128, 255, 0.45); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: rgba(7, 128, 255, 0.22); }

/* mobile nav backdrop + scroll lock */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(5, 10, 20, 0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* back to top */
.to-top {
  position: fixed; inset-inline-end: 22px; bottom: 92px; z-index: 140;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 18, 32, 0.82); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); border-color: var(--blue); }

/* form states */
.f-field input:user-invalid, .f-field textarea:user-invalid {
  border-color: #E5484D;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12);
}
#form-note.ok { color: #0E9F6E; font-weight: 600; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none !important; box-shadow: none !important; }

@media (prefers-reduced-motion: reduce) {
  .prod-card:hover .thumb img { transform: none; }
  .to-top { transition: none; }
}

/* float buttons must clear the cookie bar when it is visible */
.cookie-bar.show ~ .to-top { bottom: 132px; }
.cookie-bar.show ~ .wa-float { bottom: 88px; }
@media (max-width: 640px) {
  .cookie-bar.show ~ .to-top { bottom: 156px; }
  .cookie-bar.show ~ .wa-float { bottom: 112px; }
}
.to-top { z-index: 220; }
.wa-float { z-index: 215; }
