/* QR Code Scanner & Barcode Reader — landing site styles */
:root {
  --blue: #0d7ffe;
  --blue-text: #0b63cf;
  --blue-dark: #0059c8;
  --blue-deep: #0a2a5e;
  --ink: #0b1c33;
  --ink-soft: #46587a;
  --bg: #ffffff;
  --bg-soft: #f2f7ff;
  --bg-softer: #e8f1ff;
  --cyan: #27d6c2;
  --amber: #ffb020;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(10, 42, 94, .10);
  --shadow-lg: 0 24px 60px rgba(10, 42, 94, .16);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, 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);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 42, 94, .08);
}
.site-header .container {
  display: flex; align-items: center; gap: 24px; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--blue-dark); color: #fff !important; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; transition: background .15s;
}
.nav-cta:hover { background: #00479f; text-decoration: none; }
@media (max-width: 860px) { .site-nav a:not(.nav-cta) { display: none; } }

/* ---------- buttons ---------- */
.btn-appstore { display: inline-block; transition: transform .15s, box-shadow .15s; border-radius: 12px; }
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.btn-appstore svg { display: block; height: 56px; width: auto; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue); padding: 14px 24px;
  border: 2px solid rgba(13, 127, 254, .35); border-radius: 999px; transition: all .15s;
}
.btn-secondary:hover { border-color: var(--blue); background: rgba(13, 127, 254, .06); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, #0a6ff0 0%, #1487ff 55%, #35a5ff 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(255, 255, 255, .14), transparent 60%),
    radial-gradient(500px 500px at 5% 90%, rgba(39, 214, 194, .18), transparent 60%);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.hero .sub { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .92); max-width: 54ch; }
.hero .cta-row { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero .fineprint { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.trust-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: rgba(6, 38, 92, .38); border: 1px solid rgba(255, 255, 255, .35);
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.chip .star { color: #ffd764; }
.hero-shot { position: relative; display: flex; justify-content: center; }
.hero-shot img {
  width: min(340px, 80%); border-radius: 32px; box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 56px; padding-bottom: 56px; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .trust-chips { justify-content: center; }
  .hero-shot { margin-top: 36px; }
  .hero-shot img { width: min(260px, 70%); }
}

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px;
}
h2.section-title { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.02em; line-height: 1.15; }
.section-lead { margin-top: 14px; color: var(--ink-soft); max-width: 62ch; font-size: 18px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- feature grid ---------- */
.feature-grid {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: #fff; border: 1px solid rgba(10, 42, 94, .08); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 14px rgba(10, 42, 94, .05); transition: transform .15s, box-shadow .15s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-softer); font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }
.feature-card a.more { font-size: 14px; font-weight: 600; display: inline-block; margin-top: 10px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- screenshots ---------- */
.shots {
  margin-top: 44px; display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62vw);
  gap: 20px; overflow-x: auto; padding: 8px 4px 24px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots figure { scroll-snap-align: center; }
.shots img { border-radius: 22px; box-shadow: var(--shadow); }
.shots figcaption { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* ---------- steps ---------- */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius); padding: 28px; position: relative;
  border: 1px solid rgba(10, 42, 94, .08);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-dark); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- guide cards ---------- */
.guide-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-card {
  display: block; background: #fff; border: 1px solid rgba(10, 42, 94, .08);
  border-radius: var(--radius); padding: 24px 26px; color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(13, 127, 254, .4); text-decoration: none; }
.guide-card .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-text); }
.guide-card h3, .guide-card h2 { font-size: 18px; margin: 8px 0 6px; }
.guide-card p { color: var(--ink-soft); font-size: 15px; }
.guide-card .read { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--blue-text); }
@media (max-width: 780px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-item {
  background: #fff; border: 1px solid rgba(10, 42, 94, .08); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--blue-text); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--ink-soft); }
.faq-item .faq-body a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, #0a2a5e 0%, #0d5ad4 60%, #0d7ffe 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 56px 48px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .85); }
.cta-band .cta-row { margin-top: 28px; display: flex; justify-content: center; }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c6dd; padding: 56px 0 32px; margin-top: 72px; font-size: 15px; }
.site-footer a { color: #dbe6f7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid .footer-h { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8fa1c0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- guide article pages ---------- */
.article-hero { background: var(--bg-soft); padding: 48px 0 40px; border-bottom: 1px solid rgba(10, 42, 94, .06); }
.breadcrumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--blue); }
.article-hero h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; letter-spacing: -.02em; max-width: 22ch; }
.article-hero .meta { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.article { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
.article h2 { font-size: 27px; letter-spacing: -.01em; margin: 44px 0 14px; }
.article h3 { font-size: 20px; margin: 30px 0 10px; }
.article p, .article li { color: #2b3b57; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.quick-answer {
  background: var(--bg-softer); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 8px 0 28px;
}
.quick-answer .qa-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-text); display: block; margin-bottom: 6px; }
.quick-answer p { margin: 0; color: var(--ink); }
.step-list { counter-reset: sl; list-style: none; margin: 0 0 18px 0 !important; }
.step-list li {
  counter-increment: sl; position: relative; padding-left: 48px; margin-bottom: 14px;
}
.step-list li::before {
  content: counter(sl); position: absolute; left: 0; top: 2px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--blue-dark); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.tip {
  background: #fff8e8; border: 1px solid #f4dfae; border-radius: var(--radius);
  padding: 16px 20px; margin: 20px 0; font-size: 15px;
}
.tip strong { color: #8a6100; }
.article-cta {
  background: linear-gradient(140deg, #0a6ff0, #35a5ff); color: #fff; border-radius: var(--radius-lg);
  padding: 32px; margin: 40px 0; text-align: center;
}
.article-cta h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.article-cta p { color: rgba(255, 255, 255, .88); margin-bottom: 20px; }
.article-shot { margin: 28px auto; max-width: 300px; }
.article-shot img { border-radius: 22px; box-shadow: var(--shadow); }
.article-shot figcaption { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.related { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 28px; margin: 40px 0 8px; }
.related h3 { margin-top: 0; }
.related ul { margin-bottom: 0; }
