/* ============================================================
   CardsFly — Global Stylesheet
   Brand: Shenzhen Huyi Technology Co., Ltd.
   Palette derived from logo: Navy #0B1F3A / Blue #1E5EE5 / Orange #F7931E
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-2: #12294b;
  --blue: #1e5ee5;
  --blue-dark: #1749b4;
  --blue-soft: #e8effc;
  --orange: #f7931e;
  --orange-dark: #dd7d0a;
  --ink: #1c2534;
  --muted: #5a6577;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
  --container: 1180px;
  --header-h: 84px;
  /* Dual brand lockup sizes (CardsFly | divider | HUYI RFID) */
  --logo-cardsfly-h: 44px;
  --logo-huyi-h: 30px;
  --logo-divider-h: 34px;
  --logo-divider-gap: 13px;
}

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

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

body {
  font-family: "Inter", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 12px; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; color:#fff; }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; color:#fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); text-decoration: none; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); text-decoration: none; color:#fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }

/* Dual brand lockup: CardsFly | HUYI RFID */
.brand-logo { display: inline-flex; align-items: center; flex: none; }
.brand .brand-logo img { height: var(--logo-cardsfly-h); width: auto; }
.brand .brand-logo .brand-huyi { height: var(--logo-huyi-h); width: auto; }
.brand-divider {
  display: inline-block;
  width: 1px;
  height: var(--logo-divider-h);
  margin: 0 var(--logo-divider-gap);
  background: #cfd8e3;
  flex: none;
}
.brand-divider-light { background: rgba(255,255,255,0.32); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a.nav-link:hover { color: var(--blue); text-decoration: none; background: var(--blue-soft); }
.main-nav a.nav-link.active { color: var(--blue); font-weight: 600; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 0.92rem;
  border-radius: 6px;
}
.dropdown a:hover { background: var(--blue-soft); color: var(--blue); text-decoration: none; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 170px;
  max-height: 62vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  z-index: 120;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--ink);
  border-radius: 6px;
}
.lang-menu a:hover { background: var(--blue-soft); text-decoration: none; }
.lang-menu a.active { background: var(--blue-soft); color: var(--blue); font-weight: 700; }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #16376b 100%);
  color: #fff;
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.22), transparent 65%);
}
.hero .kicker { color: var(--orange); }
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.08rem;
}
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  max-width: 900px;
}
.hero-stats .stat { border-left: 3px solid var(--orange); padding-left: 16px; }
.hero-stats .num { font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero-stats .lbl { font-size: 0.88rem; color: rgba(255,255,255,0.75); }

/* Stats on a light background (e.g. About page) — dark text for readability */
.hero-stats.stats-light { max-width: none; }
.hero-stats.stats-light .num { color: var(--navy); }
.hero-stats.stats-light .lbl { color: #3d4a5c; }

/* ---------- Category / product cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); background: var(--blue-soft); }
.cat-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cat-card .icon svg { width: 28px; height: 28px; stroke: var(--blue); }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.cat-card .more { margin-top: 16px; font-weight: 600; font-size: 0.92rem; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); background: var(--blue-soft); }
.product-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.product-card .more { margin-top: 14px; font-weight: 600; font-size: 0.88rem; }
/* Card links: no hover underline anywhere inside the card */
a.cat-card, a.product-card,
a.cat-card:hover, a.product-card:hover,
a.cat-card:focus, a.product-card:focus { text-decoration: none; }
a.cat-card h3, a.cat-card p, a.cat-card .more,
a.product-card h3, a.product-card p, a.product-card .more { text-decoration: none; }

/* ---------- Feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .f-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
}
.feature-item .f-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: 0.94rem; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink);
}
.check-list.apps-wide {
  columns: 2;
  column-gap: 56px;
  margin-top: 6px;
}
.check-list.apps-wide li { break-inside: avoid; }
@media (max-width: 820px) {
  .check-list.apps-wide { columns: 1; column-gap: 0; }
}
/* Two-column Applications override (per-product, e.g. transparent cards) */
.apps-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
  margin-top: 6px;
}
.apps-two-col .apps-cols { margin: 0; }
@media (max-width: 820px) {
  .apps-two-col { grid-template-columns: 1fr; gap: 4px; }
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step .num {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 22px 0 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b6bec9; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 56px 0 60px;
}
.page-hero h1 { color: #fff; margin-top: 10px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-hero p.lead { color: rgba(255,255,255,0.85); max-width: 760px; margin-top: 14px; }

/* ---------- Specs table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.94rem;
  vertical-align: top;
}
.spec-table th { background: var(--bg-alt); color: var(--navy); width: 260px; font-weight: 600; }
/* Nested bullets inside a spec-table cell (e.g. chip options by frequency) */
.spec-table ul.spec-sublist { margin: 2px 0 0; padding-left: 18px; }
.spec-table ul.spec-sublist li { margin-bottom: 6px; }
.spec-table ul.spec-sublist li:last-child { margin-bottom: 0; }
.spec-table ul.spec-sublist li::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- FAQ (accordion) ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 56px;
  transition: background .2s ease;
}
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; line-height: 1;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-weight: 400;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after {
  content: "\2013";
  background: var(--navy);
  transform: translateY(-50%) rotate(180deg);
}
.faq-item .faq-body {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-more {
  text-align: center;
  margin-top: 58px;
  font-weight: 500;
  color: var(--navy);
}
.faq-more a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: #fff;
  border-radius: 16px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 1.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 6px; max-width: 560px; }

/* Home QR section visual (replaces old NFC + QR gradient card) */
.qr-visual-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(10, 35, 77, 0.18);
}

/* Category page illustration under the intro text */
.cat-visual-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin-top: 22px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 35, 77, 0.14);
}

/* ---------- Lock brands table (hotel key cards) ---------- */
.lock-brands {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(10, 35, 77, 0.09);
  overflow: hidden;
}
.lock-brands-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.lock-brands-head h2,
.lock-brands-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: .01em;
}
.lock-brands-head p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.5;
}
.lock-brands-count {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.lock-brands-scroll { overflow-x: auto; }
.lock-brands-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 520px;
}
.lock-brands-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}
.lock-brands-table tr:last-child td { border-bottom: none; }
.lock-brands-table td:nth-child(5n) { border-right: none; }
.lock-brands-table td.lock-brands-empty { background: var(--bg-alt); }
.lock-brands-table tbody tr:nth-child(even) td:not(.lock-brands-empty) { background: var(--bg-alt); }
.lock-brands-table tbody tr:hover td:not(.lock-brands-empty) {
  background: var(--blue-soft);
  color: var(--blue-dark);
}
@media (max-width: 700px) {
  .lock-brands-head { padding: 13px 14px; }
  .lock-brands-head h2,
  .lock-brands-head h3 { font-size: 0.92rem; }
  .lock-brands-head p { font-size: 0.78rem; }
  .lock-brands-table { min-width: 460px; }
  .lock-brands-table td { padding: 8px 6px; font-size: 0.78rem; }
}

/* Product detail page — long rectangular (banner) illustration right under the intro text */
.product-visual {
  margin-top: 22px;
}
.product-visual-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(10, 35, 77, 0.16);
}
@media (max-width: 700px) {
  .product-visual { margin-top: 18px; }
  .product-visual-img { border-radius: 12px; }
}

/* ---------- RFID chip options (product pages) ---------- */
.chips-section { padding-top: 74px; scroll-margin-top: 100px; }
.chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.chip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.chip-card:hover { box-shadow: 0 12px 30px rgba(11, 31, 58, 0.14); transform: translateY(-3px); }
.chip-card-head {
  padding: 20px 24px;
  background: #eef2f8;
  border-top: 4px solid var(--navy);
}
.chip-card.chip-hf .chip-card-head {
  background: var(--blue-soft);
  border-top-color: var(--blue);
}
.chip-card.chip-uhf .chip-card-head {
  background: #fdf1e1;
  border-top-color: var(--orange);
}
.chip-freq {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.75;
}
.chip-card.chip-hf .chip-freq { color: var(--blue-dark); }
.chip-card.chip-uhf .chip-freq { color: #a55a06; }
.chip-card-head h3 { font-size: 1.06rem; margin-top: 6px; color: var(--navy); }
.chip-card.chip-hf .chip-card-head h3 { color: var(--blue-dark); }
.chip-card.chip-uhf .chip-card-head h3 { color: #8f4c05; }
.chip-card-body { padding: 22px 24px; flex: 1; }
.chip-group + .chip-group { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.chip-group-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.chip-list { list-style: none; margin: 0; padding: 0; }
.chip-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 9px;
}
.chip-list li:last-child { margin-bottom: 0; }
.chip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.chip-model { font-weight: 600; }
.chip-note { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 1px; }
.chip-card-foot {
  padding: 16px 24px 18px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.chip-foot-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a55a06;
  margin-bottom: 5px;
}
.chip-card-foot p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) {
  .chips-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .chips-section { padding-top: 56px; }
  .chip-card-head, .chip-card-body, .chip-card-foot { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Product image gallery ---------- */
.gallery-section { padding-top: 74px; scroll-margin-top: 100px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 3px 14px rgba(11, 31, 58, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gallery-grid img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--blue-soft);
}
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 700px) {
  .gallery-section { padding-top: 56px; }
  .gallery-grid { gap: 12px; }
  .gallery-grid img { padding: 12px; border-radius: 10px; }
}

/* ---------- Grouped product applications ---------- */
.apps-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.app-group {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
}
.app-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.app-num {
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.app-group-head h3 { margin: 0; font-size: 1.12rem; }
.app-group-list { list-style: none; padding: 0; margin: 0; }
.app-group-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.app-group-list li:last-child { margin-bottom: 0; }
.app-group-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
@media (max-width: 980px) {
  .apps-groups { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .app-group { padding: 18px 20px; }
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Left panel: company details + why-us list, on a raised white card. */
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 30px;
}
.contact-panel__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-panel__head h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-panel__head p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* Contact rows as a two-column badge grid. */
.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 0;
}
.contact-links li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.ci-ico {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-ico svg { width: 17px; height: 17px; stroke: var(--blue); }
.ci-ico--wa svg { stroke: #25a05a; }
.ci-text { display: flex; flex-direction: column; min-width: 0; }
.ci-text strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ci-text span, .ci-text a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ci-text a:hover { color: var(--blue); }

/* Why-us block with check marks. */
.contact-why { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.why-title { font-size: 1.08rem; margin-bottom: 14px; }
.why-list { display: grid; gap: 11px; }
.why-item { display: flex; gap: 11px; align-items: flex-start; }
.why-check {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-check svg { width: 12px; height: 12px; stroke: var(--blue); }
.why-body h3 { font-size: 0.96rem; margin-bottom: 1px; }
.why-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.5; }

/* Right column: the two promo images. Each keeps its native 770x500 ratio -
   width:100% with height:auto scales it down proportionally, never squashing
   it horizontally. The artwork already carries its own rounded white frame,
   so no extra border is added here. */
.contact-media-card { background: transparent; border: 0; padding: 0; box-shadow: none; }
.contact-form-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.contact-form-media img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .contact-links { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .contact-panel { padding: 26px 22px; }
  .contact-links { grid-template-columns: 1fr; }
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-field label .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.form-note { font-size: 0.82rem; color: var(--muted); grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; display: none; padding: 12px 16px; border-radius: 8px; font-size: 0.92rem; }
.form-status.ok { display: block; background: #e6f6ec; color: #14713d; border: 1px solid #b7e4c7; }
.form-status.err { display: block; background: #fdecec; color: #a02020; border: 1px solid #f5c2c2; }

/* ---------- Legal / content pages ---------- */
.content-page { max-width: 860px; }
.content-page h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.content-page p { color: var(--ink); margin-bottom: 12px; }
.content-page ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; color: var(--ink); }
.content-page li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  margin-top: 72px;
  font-size: 0.92rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: 9px; }
.footer-huyi-btn { display: inline-flex; margin-top: 16px; padding: 9px 18px; font-size: 0.88rem; border-radius: 7px; }
.footer-brand .footer-brand-logos { display: flex; align-items: center; margin-bottom: 16px; }
.footer-brand .brand-logo img { height: var(--logo-cardsfly-h); width: auto; }
.footer-brand .brand-logo .brand-huyi { height: var(--logo-huyi-h); width: auto; }
.footer-brand p { max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(11,31,58,0.18);
  padding: 20px 24px;
  display: none;
  max-width: 860px;
  margin: 0 auto;
}
.cookie-banner.visible { display: block; }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { flex: 1 1 340px; font-size: 0.9rem; color: var(--ink); }
.cookie-inner a { font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 9px 20px; font-size: 0.9rem; }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
/* Product page: spec table sits full-width below the intro/visual two-col */
.two-col + .spec-table { margin-top: 44px; }
.lock-brands + .spec-table { margin-top: 44px; }
.cat-intro + .spec-table { margin-top: 28px; }
/* Category intro: one <p> per paragraph, consistent spacing between them */
.cat-intro { color: var(--muted); line-height: 1.75; }
.cat-intro p { margin: 0 0 14px; }
.cat-intro p:last-child { margin-bottom: 0; }
/* Product page intro: same multi-paragraph spacing as category intro */
.prod-intro { color: var(--muted); line-height: 1.75; }
.prod-intro p { margin: 0 0 16px; }
.prod-intro p:last-child { margin-bottom: 0; }
/* Custom category content sections (e.g. rfid-wristbands) */
.cat-section-body { max-width: 840px; margin: 0 auto; }
.cat-section-body p { color: var(--muted); margin: 0 0 16px; }
.cat-section-body p:last-child { margin-bottom: 0; }
.cat-section-body ul, .cat-section-body ol { margin: 0; }
.cat-section-body li strong { color: var(--navy); }
/* Home QR section: give the illustration a wider column so it isn't squeezed */
.qr-cols { grid-template-columns: 0.72fr 1.28fr; gap: 48px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.error-page { text-align: center; padding: 90px 0; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--blue); line-height: 1; }
.error-page p { color: var(--muted); margin: 16px 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  :root {
    --logo-cardsfly-h: 39px;
    --logo-huyi-h: 27px;
    --logo-divider-h: 30px;
    --logo-divider-gap: 10px;
  }
  .header-inner { gap: 14px; }
  .main-nav a.nav-link { padding: 9px 10px; font-size: 0.9rem; }
  .lang-btn { padding: 7px 10px; font-size: 0.86rem; }
  .header-cta { padding: 11px 20px; font-size: 0.92rem; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }  :root {
    --logo-cardsfly-h: 39px;
    --logo-huyi-h: 27px;
    --logo-divider-h: 30px;
    --logo-divider-gap: 10px;
  }
  .header-inner { gap: 12px; }
  .main-nav a.nav-link { padding: 8px 8px; font-size: 0.86rem; }
  /* Collapsible nav: the dual brand lockup needs the room below 1024px. */
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .main-nav a.nav-link { padding: 11px 12px; font-size: 0.95rem; }
  .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
  }
  .lang-switch { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  :root {
    --logo-cardsfly-h: 35px;
    --logo-huyi-h: 25px;
    --logo-divider-h: 28px;
    --logo-divider-gap: 8px;
  }
  .hero { padding: 64px 0 72px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .feature-grid, .two-col { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 28px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 14px; }
  :root {
    --logo-cardsfly-h: 31px;
    --logo-huyi-h: 22px;
    --logo-divider-h: 24px;
    --logo-divider-gap: 7px;
  }
  .spec-table th { width: auto; display: block; border: none; padding-bottom: 0; }
  .spec-table td { display: block; border: none; padding-top: 4px; }
  .spec-table tr { display: block; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Compare table (product detail pages) ===== */
.compare-intro { max-width: 980px; margin: 0 auto 36px; color: var(--muted); text-align: center; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare-table.wide { min-width: 960px; }
.compare-table.wide thead th { font-size: 13.5px; padding: 14px 12px; }
.compare-table.wide thead th:first-child { width: 150px; }
.compare-table.wide tbody th, .compare-table.wide tbody td { font-size: 13.5px; line-height: 1.5; padding: 12px; }
.compare-table thead th { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; text-align: left; padding: 16px 20px; font-size: 15px; letter-spacing: .01em; }
.compare-table thead th:first-child { width: 200px; }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--navy); padding: 14px 20px; background: var(--bg-alt); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table tbody td { padding: 14px 20px; color: var(--ink); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table tbody tr:nth-child(even) td { background: #fafbfd; }
.compare-table tbody tr { transition: background .15s ease; }
.compare-table tbody tr:hover th, .compare-table tbody tr:hover td { background: var(--blue-soft); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .compare-intro { text-align: left; }
}
.compare-section .section-head { max-width: 980px; }
.compare-section .compare-intro { max-width: 980px; }

/* ---------- WhatsApp floating chat ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: Inter, system-ui, Arial, sans-serif;
}
.wa-float__toggle {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.wa-float__toggle:focus-visible { outline: 3px solid rgba(37, 211, 102, 0.5); outline-offset: 3px; }
.wa-float__toggle .wa-float__close { display: none; }
.wa-float__toggle.is-open .wa-float__icon { display: none; }
.wa-float__toggle.is-open .wa-float__close { display: block; }
.wa-float__row { display: flex; align-items: flex-end; gap: 14px; }
.wa-float__btn-email {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange, #f7931e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(247, 147, 30, 0.42);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float__btn-email:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(247, 147, 30, 0.52); text-decoration: none; }
.wa-float__btn-email:focus-visible { outline: 3px solid rgba(247, 147, 30, 0.5); outline-offset: 3px; }
.wa-float__card {
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 44px rgba(11, 31, 58, 0.22);
  overflow: hidden;
  animation: waPop .2s ease;
}
.wa-float__card[hidden] { display: none; }
@keyframes waPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wa-float__head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  padding: 16px 18px;
}
.wa-float__avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-float__id strong { display: block; font-size: 1rem; line-height: 1.2; }
.wa-float__id small { font-size: .78rem; opacity: .9; }
.wa-float__msg { padding: 16px 18px; margin: 0; color: #1f2d3d; font-size: .92rem; line-height: 1.5; border-bottom: 1px solid #eef1f4; }
.wa-float__btn {
  display: block;
  margin: 14px 18px 18px;
  background: #25D366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 11px 14px;
  border-radius: 10px;
}
.wa-float__btn:hover { background: #1ebe5a; text-decoration: none; color: #fff; }
@media (max-width: 600px) {
  .wa-float { bottom: 92px; right: 14px; gap: 10px; }
  .wa-float__toggle { width: 54px; height: 54px; }
  .wa-float__btn-email { width: 54px; height: 54px; }
}

/* ===== Dynamic QR Redirect System page ===== */
.qr-hero { text-align: center; }
.qr-hero .lead { max-width: 780px; margin: 14px auto 0; }
.qr-hero .price-pill {
  display: inline-flex; align-items: baseline; gap: 9px;
  background: var(--orange); color: #fff; padding: 12px 28px;
  border-radius: 999px; margin-top: 22px;
  box-shadow: 0 10px 30px rgba(247, 147, 30, .42); font-weight: 700; line-height: 1;
}
.qr-hero .price-pill .pp-label { font-size: .72rem; letter-spacing: .14em; opacity: .92; font-weight: 700; }
.qr-hero .price-pill strong { font-size: 1.9rem; font-weight: 800; }
.qr-hero .price-pill span { font-size: 1rem; opacity: .96; }
.hero-cta-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }

.qr-shot { padding: 8px 0 60px; }
.browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d4dae3; display: inline-block; }
.browser-bar em { margin-left: 12px; font-style: normal; font-size: .8rem; color: var(--muted); }
.browser img { width: 100%; height: auto; display: block; }
.browser-lg { max-width: 100%; margin: 0 auto; }
.shot .browser img { aspect-ratio: 16 / 10; object-fit: cover; }
.shot-cap { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 16px; }
.qr-what { align-items: center; }

.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { margin: 0; }
.shot figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); text-align: center; min-height: 2.6em; }

.scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.scenario-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.scenario-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sc-num { position: absolute; top: 14px; right: 18px; font-size: 2.2rem; font-weight: 800; color: var(--blue-soft); line-height: 1; letter-spacing: -.5px; }
.sc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-icon svg { width: 20px; height: 20px; stroke: var(--blue); }
.sc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 52px; }
.scenario-card h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.scenario-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-bottom: 12px; }
.sc-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sc-bullets li { position: relative; padding-left: 18px; font-size: .85rem; line-height: 1.45; color: var(--ink); }
.sc-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.price-card {
  max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 46px 56px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.price-main { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.price-amt { font-size: 3.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-per { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-sub { color: var(--muted); margin-top: 10px; }
.price-includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; text-align: left; max-width: 760px; margin: 26px auto 0; list-style: none; }
.price-includes li { position: relative; padding-left: 26px; color: var(--ink); font-size: .94rem; }
.price-includes li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5ee5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-note { color: var(--muted); font-size: .86rem; margin-top: 22px; }
.price-cta { margin-top: 22px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list .faq-item { margin-bottom: 12px; }
.qr-check li { margin-bottom: 12px; font-size: 1rem; }

@media (max-width: 980px) {
  .feature-grid.cols-3, .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .price-includes { grid-template-columns: 1fr; }
  .price-card { padding: 38px 30px; }
}
@media (max-width: 700px) {
  .feature-grid.cols-3, .scenario-grid, .shot-grid { grid-template-columns: 1fr; }
  .price-card { padding: 32px 22px; }
  .price-amt { font-size: 2.6rem; }
}

/* ---------------------------------------------------------------- RTL (Arabic) */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .main-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero-stats .stat { border-left: 0; border-right: 3px solid var(--orange); padding-left: 0; padding-right: 16px; }
[dir="rtl"] .check-list li,
[dir="rtl"] .chip-list li,
[dir="rtl"] .app-group-list li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .chip-list li,
[dir="rtl"] .app-group-list li { padding-right: 18px; }
[dir="rtl"] .check-list li::before,
[dir="rtl"] .chip-list li::before,
[dir="rtl"] .app-group-list li::before { left: auto; right: 0; }
[dir="rtl"] .faq-item summary { padding-right: 56px; padding-left: 18px; }
[dir="rtl"] .faq-item summary::after { right: auto; left: 18px; }
[dir="rtl"] .spec-table { text-align: right; }
[dir="rtl"] .spec-table ul.spec-sublist { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .compare-table thead th, [dir="rtl"] .compare-table tbody th { text-align: right; }
[dir="rtl"] .compare-intro { text-align: right; }
[dir="rtl"] .content-page ul { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .breadcrumb li + li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .sc-num { right: auto; left: 18px; }
[dir="rtl"] .sc-head { padding-right: 0; padding-left: 52px; }
[dir="rtl"] .browser-bar em { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .step .num, [dir="rtl"] .price-pill { direction: ltr; }
