/* ============================================================
   MXJ Busbar Machine — Global Stylesheet
   Industrial theme: deep blue + orange, system font stack
   ============================================================ */

:root {
  --blue-900: #08203B;
  --blue-800: #0B2A4A;
  --blue-700: #0F3460;
  --blue-600: #155090;
  --orange: #F26B1D;
  --orange-dark: #D95B12;
  --slate-50: #F5F7FA;
  --slate-100: #E7ECF3;
  --slate-200: #E2E8F0;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(8, 32, 59, .08);
  --shadow-lg: 0 16px 40px rgba(8, 32, 59, .14);
  --container: 1200px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--orange); }
ul, ol { list-style: none; }
strong { color: var(--slate-900); }

h1, h2, h3, h4 {
  color: var(--blue-900);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(30px, 4.2vw, 48px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-alt { background: var(--slate-50); }
.section-tight { padding: 56px 0; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; color: var(--slate-500); font-size: 17px; }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head .eyebrow { display: block; }

.lead { font-size: 18px; color: var(--slate-500); }

.grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; gap: 48px; }

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue-900); }
.btn-blue { background: var(--blue-700); color: #fff; }
.btn-blue:hover { background: var(--blue-600); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-900); color: #B7C4D6; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--orange); }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-right a { color: var(--orange); font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }

.nav { display: flex; align-items: center; }

.logo { display: flex; align-items: baseline; gap: 8px; font-size: 24px; font-weight: 800; color: var(--blue-900); letter-spacing: -.02em; }
.logo span { font-size: 13px; font-weight: 600; color: var(--orange); letter-spacing: .06em; text-transform: uppercase; }
.logo:hover { color: var(--blue-900); }
.logo-light, .logo-light:hover { color: #fff; }

.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list > li > a { display: flex; align-items: center; gap: 5px; font-weight: 600; color: var(--blue-900); font-size: 17px; padding: 26px 0; }
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--orange); }

.caret { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 320px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 22px;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 15px;
}
.dropdown a:hover { background: var(--slate-50); color: var(--orange); }
.dropdown a small { display: block; color: var(--slate-500); font-size: 12.5px; font-weight: 400; }

.nav-cta { margin-left: 28px; }

/* ===== Language switcher ===== */
.lang-switch { position: relative; margin-left: 22px; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: var(--blue-900);
  line-height: 1; transition: border-color .2s, color .2s;
}
.lang-current:hover { border-color: var(--orange); color: var(--orange); }
.lang-current svg { width: 15px; height: 15px; }
.lang-current .caret { width: 6px; height: 6px; border-width: 1.6px; transform: rotate(45deg) translateY(-2px); }
.lang-menu {
  position: absolute; top: calc(100% + 9px); right: 0; z-index: 120;
  min-width: 178px; max-height: 64vh; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--slate-700);
}
.lang-menu a:hover { background: var(--slate-50, #f8fafc); color: var(--orange); }
.lang-menu a.active { color: var(--orange); font-weight: 700; }
.lang-menu a.active::after { content: '\2713'; font-size: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: .25s; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 130px 0 150px;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--orange); }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { max-width: 640px; margin: 20px 0 32px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-chips span {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- Trust bar / stats ---------- */
.trustbar { background: var(--blue-800); color: #fff; padding: 34px 0; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--orange); line-height: 1.1; }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, .75); margin-top: 4px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--slate-500); font-size: 15px; flex: 1; }
.card-link { font-weight: 700; font-size: 14.5px; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: "→"; transition: transform .25s; }
.card:hover .card-link::after { transform: translateX(4px); }

.card-tag {
  align-self: flex-start;
  background: rgba(242, 107, 29, .1);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Product card spec chips */
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips span {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  color: var(--slate-700);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ---------- Split section (image + text) ---------- */
.split-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-text h2 { margin-bottom: 16px; }
.split-text p { color: var(--slate-500); margin-bottom: 14px; }
.check-list { display: grid; gap: 10px; margin: 18px 0 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-700); }
.check-list li::before { content: "✓"; color: var(--orange); font-weight: 800; flex-shrink: 0; }

/* ---------- Feature / why-us ---------- */
.feature-num { font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1; }
.feature-card { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); transition: .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card h3 { margin: 14px 0 10px; font-size: 18px; }
.feature-card p { font-size: 14.5px; color: var(--slate-500); }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(242, 107, 29, .12);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 24px; font-weight: 800;
}

/* ---------- Steps (roadmap style: numbered circles + connector line) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  counter-increment: step;
  position: relative;
  padding: 34px 22px 22px;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 26px;
}
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -26px;
  left: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 84px;
  right: -26px;
  height: 2px;
  background: linear-gradient(90deg, var(--slate-100), var(--orange));
  opacity: .55;
}
.step:last-child::after { display: none; }
.steps-v { grid-template-columns: 1fr; }
.steps-v .step { margin-top: 30px; }
.steps-v .step::after { display: none; }
.step h3 { font-size: 17px; margin: 8px 0 8px; }
.step p { font-size: 14px; color: var(--slate-500); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--slate-100); }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
table.data th {
  background: var(--blue-700);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-size: 14.5px;
  letter-spacing: .02em;
  white-space: nowrap;
}
table.data td { padding: 13px 18px; border-top: 1px solid var(--slate-100); font-size: 15px; }
table.data tr:nth-child(even) td { background: var(--slate-50); }
table.data td:first-child { font-weight: 600; color: var(--blue-900); }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  color: var(--blue-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400;
  color: var(--orange);
  transition: .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 22px 20px; color: var(--slate-500); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 640px; }
.cta-inner p { color: rgba(255, 255, 255, .88); margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 72px 0;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 32, 59, .94), rgba(8, 32, 59, .72)); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 680px; margin-top: 12px; font-size: 16.5px; }

.breadcrumb { font-size: 13.5px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 7px; color: rgba(255, 255, 255, .4); }

/* Anchor chip nav (products page) */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.anchor-nav a {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: .2s;
}
.anchor-nav a:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- Product detail ---------- */
.product-overview { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.product-gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.product-gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video-box {
  position: relative;
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}
.video-box img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-box .play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 32, 59, .35);
}
.video-box .play span {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  padding-left: 5px;
}
.video-box figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 13px; background: rgba(8,32,59,.7); padding: 4px 10px; border-radius: 4px; }

.product-intro h1 { font-size: clamp(26px, 3vw, 38px); }
.product-tagline { font-size: 17.5px; color: var(--slate-500); margin: 14px 0 22px; }
.key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.key-spec {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.key-spec b { display: block; color: var(--blue-900); font-size: 19px; }
.key-spec span { font-size: 12.5px; color: var(--slate-500); text-transform: uppercase; letter-spacing: .05em; }
.product-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.station-block { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.station-block .card-body h3 { color: var(--blue-700); }

.sample-grid img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.testimonial .quote { color: var(--slate-700); font-style: italic; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.testimonial .who b { display: block; color: var(--blue-900); font-size: 15px; line-height: 1.3; }
.testimonial .who span { font-size: 13px; color: var(--slate-500); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14px; color: var(--blue-900); }
.form-field label em { color: var(--orange); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-100);
  border-radius: 8px;
  background: var(--slate-50);
  color: var(--slate-900);
  transition: border-color .2s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.form-note { font-size: 13.5px; color: var(--slate-500); margin-top: 14px; }
.form-actions { margin-top: 20px; }
.form-actions[hidden] { display: none; }
.form-actions .btn { margin-right: 12px; margin-bottom: 10px; }
.form-tip { margin-top: 16px; background: rgba(242, 107, 29, .08); border-left: 3px solid var(--orange); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 14px; color: var(--slate-700); }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.article-toc { position: sticky; top: 96px; background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 22px; }
.article-toc b { display: block; color: var(--blue-900); margin-bottom: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.article-toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--slate-500); border-left: 2px solid transparent; }
.article-toc a:hover { color: var(--orange); }
.article-body { max-width: 780px; }
.article-body h2 { margin: 40px 0 16px; font-size: 26px; }
.article-body h3 { margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; color: var(--slate-700); }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--slate-500); margin-bottom: 8px; }

/* ---------- News cards ---------- */
.news-meta { font-size: 13px; color: var(--slate-500); display: flex; gap: 12px; }

.featured-article { display: grid; grid-template-columns: 1.1fr 1fr; }
.featured-article .card-img { min-height: 260px; }
@media (max-width: 768px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .card-img { min-height: 0; }
}

/* ---------- Certificates / badges ---------- */
.cert-badge {
  background: #fff; border: 1px dashed var(--slate-100);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow);
}
.cert-badge .icon-badge { margin: 0 auto 14px; }

/* ---------- Checklist card ---------- */
.check-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin: 24px 0;
}
.check-card h3 { margin: 0 0 14px; }
.check-card ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.check-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-700); }
.check-card li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(242, 107, 29, .12);
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--slate-100); }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange);
}
.timeline-item b { color: var(--blue-900); }
.timeline-item p { color: var(--slate-500); font-size: 15px; }

/* ---------- Downloads ---------- */
.download-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 12px; flex-wrap: wrap;
}
.download-item b { color: var(--blue-900); display: block; }
.download-item span { font-size: 13.5px; color: var(--slate-500); }

/* ---------- Contact info ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; color: var(--slate-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #B7C4D6; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #B7C4D6; font-size: 14.5px; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { display: grid; gap: 10px; }
.footer-brand p { font-size: 14.5px; margin: 14px 0; }
.footer-cert { color: var(--orange); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 28px; bottom: 96px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--blue-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 90;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.back-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--blue-600); }
.back-top svg { width: 24px; height: 24px; fill: #fff; }
@media (max-width: 640px) {
  .back-top { right: 16px; bottom: 92px; width: 42px; height: 42px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .step { margin-top: 26px; }
  .product-overview, .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }

  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-lg);
    padding: 12px 24px 24px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .site-header.nav-open .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 14px 0; justify-content: space-between; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-left: 2px solid var(--slate-100);
    margin-left: 6px;
    padding: 0 0 0 14px;
    min-width: 0;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-cta { margin: 16px 0 0; width: 100%; }
  /* Language switcher inside the mobile drawer */
  .lang-switch { margin: 16px 0 0; }
  .lang-current { width: 100%; justify-content: center; padding: 11px 12px; }
  .lang-menu { position: static; transform: none; box-shadow: none; border: 1px solid var(--slate-100); margin-top: 8px; opacity: 1; visibility: visible; display: none; max-height: 46vh; }
  .lang-switch.open .lang-menu { display: block; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .cards-3, .cards-4, .grid-2 { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .hero { padding: 90px 0 110px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-left { gap: 12px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr; }
  .stat-num { font-size: 28px; }
}

/* ============================================================
 * Google Translate — hide all native chrome (banner, logo, popup)
 * ============================================================ */
#gt-container { height: 0; overflow: hidden; line-height: 0; }
#gt-container .goog-te-gadget { font-size: 0 !important; color: transparent !important; }
#gt-container .goog-te-gadget span,
#gt-container .goog-te-gadget .goog-logo-link,
#gt-container .goog-te-gadget .goog-te-gadget-label,
#gt-container .goog-te-gadget-icon { display: none !important; }
#gt-container .goog-te-combo { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

iframe.goog-te-banner-frame.skiptranslate,
iframe.goog-te-menu-frame.skiptranslate { display: none !important; visibility: hidden !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { display: none !important; background: none !important; box-shadow: none !important; }

/* ============================================================
 * RTL languages (Arabic / Hebrew / Persian / Urdu)
 * ============================================================ */
html[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 22px; }
html[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 28px; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; text-align: right; }
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .cta-actions { direction: ltr; }
html[dir="rtl"] .dropdown { left: auto; right: 50%; transform: translateX(50%) translateY(10px); }
html[dir="rtl"] .nav-item:hover .dropdown,
html[dir="rtl"] .nav-item:focus-within .dropdown,
html[dir="rtl"] .nav-item.open .dropdown { transform: translateX(50%) translateY(0); }
@media (max-width: 1024px) {
  html[dir="rtl"] .dropdown {
    left: auto; right: 0; transform: none;
    border-left: 0; border-right: 2px solid var(--slate-100);
    margin-left: 0; margin-right: 6px; padding: 0 14px 0 0;
  }
  html[dir="rtl"] .nav-item:hover .dropdown,
  html[dir="rtl"] .nav-item:focus-within .dropdown,
  html[dir="rtl"] .nav-item.open .dropdown { transform: none; }
}
