/**
 * LinkX QR Code Generator — CoralBold Claude Design redesign
 * Scoped to .lx-dc-qr so other pages stay untouched.
 */

.lx-dc-qr {
  --coral: #FF6B4A;
  /* Darker coral for white text on CTA surfaces (WCAG AA large-text ≥ 3:1) */
  --coral-cta: #C2410C;
  --teal: #14806E;
  --bg: #FAF6F1;
  --paper: #ffffff;
  --ink: #2A211C;
  --muted: #756A60;
  --line: rgba(42, 33, 28, 0.08);
  --line-strong: rgba(42, 33, 28, 0.12);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 0) 0 0 / 24px 24px,
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lx-dc-qr a {
  color: #E85535;
  text-decoration: none;
}

.lx-dc-qr a:hover {
  color: var(--coral);
}

.lx-dc-qr ::selection {
  background: var(--coral);
  color: #fff;
}

.lx-dc-qr .container {
  max-width: 1240px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.lx-dc-qr .qr-hero,
.lx-dc-qr .lx-page-hero {
  /* Clear fixed navbar (~80px) with ~48px+ breathing room below it */
  padding: clamp(128px, 16vh, 160px) 0 clamp(40px, 5vw, 56px);
  background: transparent;
  position: relative;
  overflow: visible;
}

.lx-dc-qr .qr-hero-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.lx-dc-qr .lx-eyebrow,
.lx-dc-qr .qr-hero-header .lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.lx-dc-qr .lx-eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--teal);
  display: inline-block;
}

.lx-dc-qr .qr-hero-title,
.lx-dc-qr .lx-dc-qr-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.038em;
  margin: 0 0 18px;
  color: var(--ink);
}

.lx-dc-qr .lx-dc-qr-badge {
  position: relative;
  display: inline-block;
  color: #fff;
  background: var(--coral);
  padding: 0 14px;
  border-radius: 14px;
  transform: rotate(-2deg);
}

.lx-dc-qr .qr-hero-title .gradient-text {
  background: none;
  -webkit-text-fill-color: unset;
  color: inherit;
}

.lx-dc-qr .qr-hero-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ */
/* Generator card                                                      */
/* ------------------------------------------------------------------ */

.lx-dc-qr .qr-generator-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 40px 80px -50px rgba(42, 33, 28, 0.5);
  backdrop-filter: none;
}

.lx-dc-qr .qr-generator-form > .row,
.lx-dc-qr .lx-dc-qr-gen {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin: 0;
}

.lx-dc-qr .qr-generator-form > .row > [class*="col-"] {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}

/* Static / Dynamic — beat CoralBold pill-in-gradient chrome */
.lx-dc-qr .qr-type-toggle {
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

.lx-dc-qr .qr-type-btn {
  flex: 1 !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 12px 14px !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  border: none !important;
  background: var(--ink) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

.lx-dc-qr .qr-type-btn.active {
  background: var(--ink) !important;
  color: #fff !important;
}

.lx-dc-qr .qr-type-btn.locked {
  background: var(--bg) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.lx-dc-qr .qr-type-btn.locked i {
  display: none;
}

/* Type tabs as Space Mono pills — no icons, no cream tray */
.lx-dc-qr .qr-tabs,
[data-scheme="light"] .lx-dc-qr .qr-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-bottom: 20px !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.lx-dc-qr .qr-tab,
[data-scheme="light"] .lx-dc-qr .qr-tab {
  font-family: var(--mono) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 12px 16px !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  background: var(--bg) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--muted) !important;
  gap: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.lx-dc-qr .qr-tab i {
  display: none !important;
}

.lx-dc-qr .qr-tab:hover,
[data-scheme="light"] .lx-dc-qr .qr-tab:hover {
  background: color-mix(in srgb, var(--coral) 10%, var(--bg)) !important;
  color: var(--ink) !important;
  border-color: color-mix(in srgb, var(--coral) 35%, var(--line-strong)) !important;
}

.lx-dc-qr .qr-tab.active,
.lx-dc-qr .qr-tab.border-success,
[data-scheme="light"] .lx-dc-qr .qr-tab.active,
[data-scheme="light"] .lx-dc-qr .qr-tab.border-success {
  background: var(--coral) !important;
  border-color: var(--coral) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Form panels */
.lx-dc-qr .qr-form-panels {
  margin-bottom: 22px;
}

.lx-dc-qr .qr-panel {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.lx-dc-qr .qr-panel .form-label {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin-bottom: 8px !important;
}

.lx-dc-qr .qr-panel .form-control,
.lx-dc-qr .qr-panel .form-select {
  width: 100%;
  border: 1px solid var(--line-strong) !important;
  outline: none;
  background: var(--bg) !important;
  font-family: var(--body);
  font-size: 15px !important;
  color: var(--ink) !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.lx-dc-qr .qr-panel .form-control::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.lx-dc-qr .qr-panel .form-control:focus,
.lx-dc-qr .qr-panel .form-select:focus {
  background: var(--bg);
  border-color: var(--coral);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 18%, transparent);
  color: var(--ink);
}

.lx-dc-qr .qr-panel .form-select {
  appearance: auto;
}

.lx-dc-qr .btn-outline-coral {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--bg);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.lx-dc-qr .btn-outline-coral:hover {
  background: color-mix(in srgb, var(--coral) 12%, var(--bg));
  border-color: var(--coral);
  color: var(--coral);
}

/* Customization — design swatches */
.lx-dc-qr .qr-customization {
  margin-bottom: 8px;
}

.lx-dc-qr .qr-customize-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.lx-dc-qr .qr-swatch-groups {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.lx-dc-qr .qr-swatch-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 9px;
}

.lx-dc-qr .qr-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lx-dc-qr .qr-swatch {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(42, 33, 28, 0.08);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lx-dc-qr .qr-swatch:hover {
  transform: translateY(-1px);
}

.lx-dc-qr .qr-swatch.is-active {
  border-color: var(--coral) !important;
}

.lx-dc-qr .qr-swatches[data-swatch-target="bg"] .qr-swatch.is-active {
  border-color: var(--coral);
}

.lx-dc-qr .qr-swatches[data-swatch-target="bg"] .qr-swatch:not(.is-active) {
  border-color: rgba(42, 33, 28, 0.12);
}

.lx-dc-qr .lx-dc-qr-locks {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.lx-dc-qr .lx-dc-qr-lock-pill {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg) !important;
  border: 1px solid var(--line-strong) !important;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lx-dc-qr .lx-dc-qr-lock-pill:hover {
  border-color: var(--coral) !important;
  color: var(--coral) !important;
}

/* Generate */
.lx-dc-qr .btn-generate,
.lx-dc-qr button[type="submit"].btn-generate {
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border: none !important;
  border-radius: 13px;
  background: var(--coral) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px -10px var(--coral);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.lx-dc-qr .btn-generate:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  background: var(--coral) !important;
  color: #fff !important;
}

.lx-dc-qr .btn-generate:disabled {
  opacity: 0.7;
  transform: none;
}

/* Preview column */
.lx-dc-qr .qr-preview-card {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  padding: 26px !important;
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: none !important;
  min-height: 100%;
}

.lx-dc-qr .qr-preview-frame {
  width: 230px;
  max-width: 100%;
  border-radius: 20px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(42, 33, 28, 0.4);
}

.lx-dc-qr .qr-preview-image,
.lx-dc-qr #return-ajax {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 0;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lx-dc-qr #return-ajax img,
.lx-dc-qr .qr-preview-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

.lx-dc-qr .qr-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.lx-dc-qr .qr-download-btn {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box !important;
  font-family: var(--mono) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 12px 14px !important;
  border-radius: 11px !important;
  cursor: pointer;
  border: 1px solid var(--line-strong) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  gap: 6px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lx-dc-qr .qr-download-btn:hover {
  border-color: var(--coral) !important;
  color: var(--coral) !important;
  background: var(--paper) !important;
}

.lx-dc-qr .qr-download-btn i {
  display: none;
}

.lx-dc-qr .qr-preview-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.lx-dc-qr .qr-pro-cta {
  display: none !important;
}

.lx-dc-qr .qr-pro-cta .lx-btn,
.lx-dc-qr .qr-pro-cta a.lx-btn-primary {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 22px -10px var(--coral);
}

.lx-dc-qr .qr-pro-cta .lx-btn:hover {
  filter: brightness(1.05);
  color: #fff;
  transform: translateY(-1px);
}

/* Non-publicqr CTA card */
.lx-dc-qr .qr-cta-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 40px 80px -50px rgba(42, 33, 28, 0.45);
}

.lx-dc-qr .qr-cta-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.lx-dc-qr .qr-cta-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.lx-dc-qr .qr-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lx-dc-qr .qr-demo-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.lx-dc-qr .qr-demo-card.primary {
  background: color-mix(in srgb, var(--coral) 12%, var(--paper));
  color: var(--coral);
}

.lx-dc-qr .qr-demo-card i {
  font-size: 22px;
}

/* ------------------------------------------------------------------ */
/* Features                                                            */
/* ------------------------------------------------------------------ */

.lx-dc-qr .qr-features,
.lx-dc-qr .lx-sec-paper.qr-features {
  background: transparent;
  padding: 56px 0;
}

.lx-dc-qr .qr-features .lx-eyebrow {
  color: var(--coral);
  letter-spacing: 0.14em;
}

.lx-dc-qr .qr-features .lx-eyebrow::before {
  display: none;
}

.lx-dc-qr .qr-features .lx-h2,
.lx-dc-qr .lx-dc-qr-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 16px;
  color: var(--ink);
}

.lx-dc-qr .qr-features .lx-lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 26px;
  line-height: 1.55;
  max-width: 460px;
}

.lx-dc-qr .lx-dc-qr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.lx-dc-qr .qr-feature-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  max-width: 460px;
}

.lx-dc-qr .qr-feature-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.lx-dc-qr .qr-feature-item .feature-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: color-mix(in srgb, var(--coral) 14%, transparent);
  color: var(--coral);
}

.lx-dc-qr .qr-feature-item:nth-child(2) .feature-icon {
  background: color-mix(in srgb, #7B61C9 16%, transparent);
  color: #7B61C9;
}

.lx-dc-qr .qr-feature-item:nth-child(3) .feature-icon {
  background: color-mix(in srgb, #E8A23A 18%, transparent);
  color: #E8A23A;
}

.lx-dc-qr .qr-feature-item:nth-child(4) .feature-icon {
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--teal);
}

.lx-dc-qr .qr-feature-item h4 {
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: var(--ink);
}

.lx-dc-qr .qr-feature-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 2px 0 0;
}

.lx-dc-qr .qr-features .lx-btn-primary {
  display: inline-block;
  margin-top: 26px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 13px;
  border: none;
}

.lx-dc-qr .qr-features .lx-btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  filter: brightness(1.05);
}

.lx-dc-qr .qr-features-visual,
[data-scheme="light"] .lx-dc-qr .qr-features-visual {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.lx-dc-qr .lx-dc-qr-gallery {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 !important;
}

.lx-dc-qr .lx-dc-qr-gallery-card {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  padding: 22px !important;
  box-shadow: 0 20px 44px -34px rgba(42, 33, 28, 0.4) !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  position: static;
  animation: none;
}

.lx-dc-qr .lx-dc-qr-gallery-code {
  width: 96px;
  height: 96px;
  box-sizing: border-box;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  margin: 0 !important;
}

.lx-dc-qr .lx-dc-qr-gallery-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.lx-dc-qr .lx-dc-qr-gallery-code--url { background: #fff !important; }
.lx-dc-qr .lx-dc-qr-gallery-code--vcard { background: #FFEDE6 !important; }
.lx-dc-qr .lx-dc-qr-gallery-code--wifi { background: #EAF5F1 !important; }
.lx-dc-qr .lx-dc-qr-gallery-code--event { background: #2A211C !important; }

.lx-dc-qr .lx-dc-qr-gallery-label {
  font-family: var(--mono) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

.lx-dc-qr .lx-dc-qr-gallery-label--url { color: var(--ink) !important; }
.lx-dc-qr .lx-dc-qr-gallery-label--vcard { color: #E85535 !important; }
.lx-dc-qr .lx-dc-qr-gallery-label--wifi { color: var(--teal) !important; }
.lx-dc-qr .lx-dc-qr-gallery-label--event { color: #FFB39E !important; }

.lx-dc-qr .qr-features-visual .qr-mockup-card {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Analytics spotlight — matches design ink panel                      */
/* ------------------------------------------------------------------ */

.lx-dc-qr .qr-tracking,
.lx-dc-qr .lx-sec-mist.qr-tracking,
[data-scheme="light"] .lx-dc-qr .qr-tracking {
  background: transparent !important;
  padding: 8px 0 64px !important;
}

.lx-dc-qr .qr-tracking > .container {
  max-width: 1240px;
  padding-left: 32px;
  padding-right: 32px;
}

.lx-dc-qr .lx-dc-qr-analytics {
  position: relative;
  overflow: hidden;
  background: var(--ink) !important;
  border-radius: 28px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  color: #fff;
}

.lx-dc-qr .qr-tracking-content {
  padding: 0 !important;
}

.lx-dc-qr .lx-dc-qr-analytics-eyebrow {
  font-family: var(--mono);
  color: #FFB39E;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.lx-dc-qr .lx-dc-qr-analytics-title {
  font-family: var(--display) !important;
  font-weight: 800 !important;
  font-size: 42px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.04 !important;
  margin: 0 0 16px !important;
  color: #fff !important;
}

.lx-dc-qr .lx-dc-qr-analytics-lead {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  margin: 0 0 24px !important;
  max-width: 440px;
}

.lx-dc-qr .lx-dc-qr-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.lx-dc-qr .lx-dc-qr-check {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Kill CoralBold light-mode ink/cream overrides inside the ink panel */
[data-scheme="light"] .lx-dc-qr .qr-tracking-content h2,
[data-scheme="light"] .lx-dc-qr .lx-dc-qr-analytics-title {
  color: #fff !important;
}

[data-scheme="light"] .lx-dc-qr .qr-tracking-content p,
[data-scheme="light"] .lx-dc-qr .lx-dc-qr-analytics-lead {
  color: rgba(255, 255, 255, 0.7) !important;
}

[data-scheme="light"] .lx-dc-qr .qr-tracking {
  background: transparent !important;
}

.lx-dc-qr .lx-dc-qr-check-mark {
  color: #8FD8C6;
  font-weight: 700;
  flex-shrink: 0;
}

.lx-dc-qr .lx-dc-qr-check strong {
  font-weight: 700;
  color: #fff;
}

.lx-dc-qr .lx-dc-qr-check-note {
  color: rgba(255, 255, 255, 0.55);
}

.lx-dc-qr .lx-dc-qr-check-note::before {
  content: '— ';
}

.lx-dc-qr .lx-dc-qr-analytics-cta {
  display: inline-block;
  background: var(--coral) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 13px;
  border: none;
  text-decoration: none;
  box-shadow: none;
}

.lx-dc-qr .lx-dc-qr-analytics-cta:hover {
  transform: translateY(-2px);
  color: #fff !important;
  filter: brightness(1.05);
}

.lx-dc-qr .lx-dc-qr-scan-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  overflow: visible !important;
}

.lx-dc-qr .lx-dc-qr-scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 !important;
  border: none !important;
}

.lx-dc-qr .lx-dc-qr-scan-title {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.lx-dc-qr .lx-dc-qr-scan-live {
  font-family: var(--mono);
  font-size: 11px;
  color: #8FD8C6;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.lx-dc-qr .lx-dc-qr-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lx-dc-qr .lx-dc-qr-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-bottom: 5px;
}

.lx-dc-qr .lx-dc-qr-bar-meta span:last-child {
  color: rgba(255, 255, 255, 0.55);
}

.lx-dc-qr .lx-dc-qr-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.lx-dc-qr .lx-dc-qr-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF8A6B, #FF6B4A);
  border-radius: 999px;
}

.lx-dc-qr .lx-dc-qr-scan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.lx-dc-qr .lx-dc-qr-scan-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  line-height: 1.1;
}

.lx-dc-qr .lx-dc-qr-scan-value--teal {
  color: #8FD8C6;
}

.lx-dc-qr .lx-dc-qr-scan-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 2px;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.lx-dc-qr .qr-faq-section,
.lx-dc-qr .faq-section.qr-faq-section {
  background: transparent;
  padding: 24px 0 64px;
}

.lx-dc-qr .qr-faq-section .container {
  max-width: 820px;
}

.lx-dc-qr .qr-faq-section .lx-head {
  text-align: center;
  margin-bottom: 44px;
}

.lx-dc-qr .qr-faq-section .lx-eyebrow {
  color: var(--coral);
  letter-spacing: 0.14em;
}

.lx-dc-qr .qr-faq-section .lx-eyebrow::before {
  display: none;
}

.lx-dc-qr .qr-faq-section .lx-h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.lx-dc-qr .qr-faq-section .lx-lead {
  display: none;
}

.lx-dc-qr .qr-faq-section .faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: none;
}

.lx-dc-qr .qr-faq-section .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.lx-dc-qr .qr-faq-section .faq-item:hover {
  box-shadow: none;
}

.lx-dc-qr .qr-faq-section .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}

.lx-dc-qr .qr-faq-section .faq-question span {
  color: inherit;
}

.lx-dc-qr .qr-faq-section .faq-question i {
  flex-shrink: 0;
  color: var(--coral);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.lx-dc-qr .qr-faq-section .faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.lx-dc-qr .qr-faq-section .faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  background: transparent;
  border: none;
}

.lx-dc-qr .qr-faq-section .faq-item:not(.active) .faq-answer {
  display: none;
}

.lx-dc-qr .qr-faq-section .faq-item.active .faq-answer {
  display: block;
}

/* ------------------------------------------------------------------ */
/* Closing CTA — coral → teal card (beats .lx-slab / CoralBold tokens) */
/* ------------------------------------------------------------------ */

.lx.lx-dc-qr .qr-cta,
.lx-dc-qr .qr-cta,
.lx-dc-qr .lx-slab.qr-cta,
[data-scheme="light"] .lx-dc-qr .qr-cta {
  background: transparent !important;
  padding: 8px 0 96px !important;
  color: #fff !important;
}

.lx-dc-qr .qr-cta .container {
  max-width: 1240px;
  padding-left: 32px;
  padding-right: 32px;
}

.lx.lx-dc-qr .qr-cta-content,
.lx-dc-qr .qr-cta-content {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  /* Design reads as a single coral surface; darkened for white-text contrast */
  background: var(--coral-cta, #C2410C) !important;
  border-radius: 28px !important;
  padding: 76px 48px !important;
  text-align: center;
  box-sizing: border-box;
  color: #fff !important;
}

.lx.lx-dc-qr .qr-cta-content .qr-cta-title,
.lx.lx-dc-qr .qr-cta-content h2,
.lx-dc-qr .qr-cta-content .qr-cta-title,
.lx-dc-qr .qr-cta-content h2 {
  font-family: var(--display) !important;
  font-weight: 800 !important;
  font-size: 56px !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  margin: 0 0 16px !important;
  color: #fff !important;
  text-wrap: balance;
}

.lx.lx-dc-qr .qr-cta-content .qr-cta-lead,
.lx.lx-dc-qr .qr-cta-content > p,
.lx-dc-qr .qr-cta-content .qr-cta-lead,
.lx-dc-qr .qr-cta-content > p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px !important;
  margin: 0 auto 30px !important;
  max-width: 520px !important;
  line-height: 1.5 !important;
}

.lx-dc-qr .qr-cta .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 !important;
}

.lx-dc-qr .qr-cta-btn {
  display: inline-block;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 14px !important;
  text-decoration: none;
  border: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lx.lx-dc-qr .qr-cta-btn-solid,
.lx-dc-qr .qr-cta-btn-solid {
  background: #fff !important;
  color: var(--coral-cta, #C2410C) !important;
  font-weight: 800;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
}

.lx.lx-dc-qr .qr-cta-btn-solid:hover,
.lx-dc-qr .qr-cta-btn-solid:hover {
  transform: translateY(-2px);
  background: #fff !important;
  color: var(--coral-cta, #C2410C) !important;
}

.lx.lx-dc-qr .qr-cta-btn-ghost,
.lx-dc-qr .qr-cta-btn-ghost {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  font-weight: 700;
}

.lx.lx-dc-qr .qr-cta-btn-ghost:hover,
.lx-dc-qr .qr-cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #fff !important;
}

/* Design has no secondary note under the buttons */
.lx-dc-qr .qr-cta .cta-note {
  display: none !important;
}

/* Neutralize legacy dark QR hero orbs / mist if present */
.lx-dc-qr .qr-hero-bg,
.lx-dc-qr .qr-hero .gradient-orb {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 991.98px) {
  .lx-dc-qr .qr-generator-form > .row,
  .lx-dc-qr .lx-dc-qr-gen,
  .lx-dc-qr .lx-dc-qr-split,
  .lx-dc-qr .lx-dc-qr-analytics {
    grid-template-columns: 1fr !important;
  }

  .lx-dc-qr .qr-preview-card {
    position: static;
  }

  .lx-dc-qr .qr-features .lx-h2,
  .lx-dc-qr .lx-dc-qr-h2,
  .lx-dc-qr .qr-faq-section .lx-h2,
  .lx-dc-qr .lx-dc-qr-analytics-title {
    font-size: clamp(28px, 7vw, 36px) !important;
  }

  .lx-dc-qr .qr-cta-content {
    padding: 52px 28px !important;
  }

  .lx-dc-qr .qr-cta-content h2 {
    font-size: clamp(28px, 8vw, 40px) !important;
  }

  .lx-dc-qr .lx-dc-qr-analytics {
    padding: 36px 28px;
  }
}

@media (max-width: 575.98px) {
  .lx-dc-qr .lx-dc-qr-scan-stats {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .lx-dc-qr .qr-samples,
  .lx-dc-qr .lx-dc-qr-gallery {
    grid-template-columns: 1fr;
  }

  .lx-dc-qr .qr-hero {
    padding: 108px 0 32px;
  }

  .lx-dc-qr .qr-generator-card {
    padding: 18px;
    border-radius: 22px;
  }
}
