:root {
  --qr3x-navy: #071421;
  --qr3x-navy-soft: #0d2033;
  --qr3x-green: #24f28c;
  --qr3x-green-dark: #16b96b;
  --qr3x-white: #ffffff;
  --qr3x-muted: #b7c4d6;
  --qr3x-card: #ffffff;
  --qr3x-border: #dce5ef;
  --qr3x-text: #102033;
  --qr3x-soft-bg: #f5f8fb;
  --qr3x-shadow: 0 18px 48px rgba(7, 20, 33, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--qr3x-text);
  background: var(--qr3x-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.qr3x-page {
  color: var(--qr3x-text);
  background: var(--qr3x-white);
}

.qr3x-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.qr3x-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 33, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.qr3x-nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.qr3x-site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.qr3x-brand-logo {
  display: block;
  width: 154px;
  max-height: 48px;
  object-fit: contain;
}
.qr3x-site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.qr3x-site-nav a {
  color: #d8e4f2;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.qr3x-site-nav a:hover { color: var(--qr3x-green); }
.qr3x-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--qr3x-green);
  color: #06120c;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.qr3x-nav-cta:hover { transform: translateY(-1px); }

/* Hero and sections */
.qr3x-hero {
  background:
    radial-gradient(circle at 82% 0%, rgba(36, 242, 140, 0.18), transparent 34%),
    linear-gradient(135deg, var(--qr3x-navy), var(--qr3x-navy-soft));
  color: var(--qr3x-white);
  padding: clamp(72px, 8vw, 110px) 0;
}
.qr3x-eyebrow {
  color: var(--qr3x-green);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
}
.qr3x-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  max-width: 980px;
}
.qr3x-hero p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: var(--qr3x-muted);
  max-width: 850px;
  margin: 0;
}
.qr3x-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.qr3x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}
.qr3x-btn:hover { transform: translateY(-1px); }
.qr3x-btn-primary {
  background: var(--qr3x-green);
  color: #06120c;
}
.qr3x-btn-secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--qr3x-white);
}
.qr3x-section .qr3x-btn:not(.qr3x-btn-primary):not(.qr3x-btn-secondary) {
  border: 1px solid var(--qr3x-border);
  color: var(--qr3x-text);
}
.qr3x-trust-line {
  margin-top: 16px;
  font-size: 14px;
  color: var(--qr3x-muted);
}
.qr3x-section { padding: clamp(58px, 7vw, 88px) 0; }
.qr3x-section-soft { background: var(--qr3x-soft-bg); }
.qr3x-section h1,
.qr3x-section h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.qr3x-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
  color: #405167;
  max-width: 870px;
  margin: 0 0 30px;
}
.qr3x-content p,
.qr3x-card p,
.qr3x-card li {
  color: #43556b;
  line-height: 1.7;
}
.qr3x-grid { display: grid; gap: 22px; }
.qr3x-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qr3x-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qr3x-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qr3x-card {
  background: var(--qr3x-card);
  border: 1px solid var(--qr3x-border);
  border-radius: 24px;
  padding: clamp(22px, 2.8vw, 30px);
  box-shadow: var(--qr3x-shadow);
}
.qr3x-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.qr3x-answer-box {
  border-left: 5px solid var(--qr3x-green);
  background: #eefcf5;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 34px);
}
.qr3x-answer-box h2,
.qr3x-answer-box h3 { margin-top: 0; }
.qr3x-dark-cta {
  background: var(--qr3x-navy);
  color: var(--qr3x-white);
}
.qr3x-dark-cta p { color: var(--qr3x-muted); }
.qr3x-faq details {
  background: var(--qr3x-white);
  border: 1px solid var(--qr3x-border);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.qr3x-faq summary { font-weight: 900; cursor: pointer; }
.qr3x-faq p { color: #43556b; line-height: 1.65; }

/* Footer */
.qr3x-site-footer {
  background: #04101d;
  color: #d8e4f2;
  padding: 56px 0 30px;
}
.qr3x-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 42px;
  align-items: start;
}
.qr3x-footer-logo-link { display: inline-flex; margin-bottom: 14px; }
.qr3x-footer-logo { width: 136px; max-height: 44px; object-fit: contain; }
.qr3x-site-footer p {
  color: #aebdd0;
  line-height: 1.7;
  max-width: 430px;
  margin: 0;
}
.qr3x-site-footer h3 {
  color: #ffffff;
  font-size: 16px;
  margin: 0 0 14px;
}
.qr3x-site-footer a {
  display: block;
  color: #aebdd0;
  text-decoration: none;
  margin-bottom: 10px;
}
.qr3x-site-footer a:hover { color: var(--qr3x-green); }
.qr3x-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 22px;
  color: #8ea0b7;
  font-size: 14px;
}

/* Utility page cards */
.qr3x-mini-list { margin: 18px 0 0; padding-left: 20px; color: #43556b; line-height: 1.75; }
.qr3x-notice-card {
  background: #eefcf5;
  border: 1px solid rgba(36, 242, 140, 0.35);
  border-radius: 22px;
  padding: 24px;
}

@media (max-width: 980px) {
  .qr3x-nav-wrap { min-height: 76px; }
  .qr3x-site-nav { gap: 14px; }
  .qr3x-site-nav a { font-size: 14px; }
  .qr3x-brand-logo { width: 132px; }
  .qr3x-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .qr3x-container { width: min(100% - 28px, 1180px); }
  .qr3x-nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }
  .qr3x-site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .qr3x-nav-cta { width: 100%; }
  .qr3x-hero { padding: 62px 0; }
  .qr3x-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .qr3x-grid-2,
  .qr3x-grid-3,
  .qr3x-grid-4 { grid-template-columns: 1fr; }
  .qr3x-actions { flex-direction: column; }
  .qr3x-btn { width: 100%; }
  .qr3x-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   QR3X Phase W2A-R4 Final Brand Polish
   - Improves micro trust line contrast.
   - Improves card/footer readability.
   - Strengthens mobile grid spacing.
   ============================================================ */
.qr3x-trust-line {
  color: #d6e4f5;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 650;
  letter-spacing: 0.005em;
  opacity: 0.96;
}

.qr3x-card p,
.qr3x-card li,
.qr3x-content p,
.qr3x-answer-box p {
  font-size: 16.5px;
  line-height: 1.78;
}

.qr3x-site-footer p,
.qr3x-site-footer a,
.qr3x-footer-bottom {
  font-size: 15px;
  line-height: 1.75;
}

.qr3x-footer-bottom span {
  display: inline-block;
  word-spacing: 0.02em;
}

@media (max-width: 760px) {
  .qr3x-trust-line {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .qr3x-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .qr3x-grid {
    gap: 18px;
  }

  .qr3x-card,
  .qr3x-answer-box,
  .qr3x-notice-card {
    padding: 22px;
  }

  .qr3x-card p,
  .qr3x-card li,
  .qr3x-content p,
  .qr3x-answer-box p {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .qr3x-site-footer p,
  .qr3x-site-footer a,
  .qr3x-footer-bottom {
    font-size: 14.5px;
  }
}

/* ============================================================
   QR3X Phase W2A-R6 — Request Demo + Site-wide WhatsApp
   ============================================================ */
.qr3x-btn-whatsapp {
  background: #18a957;
  color: #ffffff;
  border: 1px solid #18a957;
}
.qr3x-btn-whatsapp:hover,
.qr3x-btn-whatsapp:focus-visible {
  background: #128a47;
  border-color: #128a47;
  color: #ffffff;
}
.qr3x-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #18a957;
  color: #ffffff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(3, 20, 33, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.qr3x-whatsapp-float:hover,
.qr3x-whatsapp-float:focus-visible {
  transform: translateY(-2px);
  background: #128a47;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(3, 20, 33, 0.34);
}
.qr3x-whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.qr3x-demo-hero p { max-width: 860px; }
.qr3x-eyebrow-dark { color: #0d6d49; }
.qr3x-section-heading { margin-bottom: 26px; }
.qr3x-section-heading h2 { margin-bottom: 12px; }
.qr3x-section-heading p { margin: 0; color: #43556b; line-height: 1.7; }
.qr3x-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}
.qr3x-demo-form-card {
  background: #ffffff;
  border: 1px solid var(--qr3x-border);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--qr3x-shadow);
}
.qr3x-demo-aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 104px;
}
.qr3x-contact-card { border-top: 4px solid #18a957; }
.qr3x-contact-card .qr3x-btn { margin-top: 8px; }
.qr3x-config-note {
  border-radius: 14px;
  background: #f3f6f9;
  padding: 14px;
  font-size: 14px !important;
}
.qr3x-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.qr3x-field { min-width: 0; }
.qr3x-field-full { grid-column: 1 / -1; }
.qr3x-field label,
.qr3x-contact-fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: #102236;
  font-weight: 800;
}
.qr3x-field input,
.qr3x-field select,
.qr3x-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #b9c7d5;
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  color: #102236;
  font: inherit;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.qr3x-field textarea { min-height: 142px; resize: vertical; }
.qr3x-field input:focus,
.qr3x-field select:focus,
.qr3x-field textarea:focus {
  outline: none;
  border-color: #0f9d68;
  box-shadow: 0 0 0 4px rgba(36, 242, 140, 0.16);
}
.qr3x-field input[aria-invalid="true"],
.qr3x-field select[aria-invalid="true"],
.qr3x-field textarea[aria-invalid="true"] {
  border-color: #c43b3b;
  box-shadow: 0 0 0 3px rgba(196, 59, 59, 0.12);
}
.qr3x-contact-fieldset {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #c9d5e0;
  border-radius: 16px;
}
.qr3x-contact-fieldset legend { padding: 0 8px; }
.qr3x-field-help {
  margin: -2px 0 16px;
  color: #586a80;
  font-size: 14px;
}
.qr3x-character-count {
  margin-top: 6px;
  text-align: right;
  color: #67798d;
  font-size: 13px;
}
.qr3x-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 16px;
  background: #eefcf5;
  color: #263a4d;
  line-height: 1.6;
}
.qr3x-consent-row input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.qr3x-consent-row a { color: #075c3d; font-weight: 800; }
.qr3x-submit-btn { min-width: 220px; }
.qr3x-submit-btn:disabled { opacity: 0.65; cursor: wait; }
.qr3x-form-privacy-note {
  margin: 15px 0 0;
  color: #65778c;
  font-size: 13.5px;
  line-height: 1.65;
}
.qr3x-form-notice,
.qr3x-form-error-summary {
  margin: 0 0 22px;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 700;
  line-height: 1.55;
}
.qr3x-form-notice-success { background: #eafaf1; border: 1px solid #74c996; color: #155f35; }
.qr3x-form-notice-error,
.qr3x-form-error-summary { background: #fff0f0; border: 1px solid #df8b8b; color: #8a2222; }
.qr3x-form-error-summary:focus { outline: 3px solid rgba(196, 59, 59, 0.22); }
.qr3x-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.qr3x-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.qr3x-step-card {
  background: #ffffff;
  border: 1px solid var(--qr3x-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--qr3x-shadow);
}
.qr3x-step-card > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--qr3x-green);
  color: #071826;
  font-weight: 900;
  margin-bottom: 16px;
}
.qr3x-step-card h3 { margin: 0 0 10px; }
.qr3x-step-card p { margin: 0; color: #43556b; line-height: 1.7; }
.qr3x-section-actions { margin-top: 28px; }

@media (max-width: 980px) {
  .qr3x-demo-layout { grid-template-columns: 1fr; }
  .qr3x-demo-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr3x-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .qr3x-form-grid,
  .qr3x-demo-aside,
  .qr3x-steps-grid { grid-template-columns: 1fr; }
  .qr3x-contact-fieldset { padding: 16px; }
  .qr3x-submit-btn { width: 100%; }
  .qr3x-whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 11px 14px;
  }
  .qr3x-whatsapp-float span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .qr3x-whatsapp-float { transition: none; }
}
