/* =========================================================
   TRIMRLY QR PAGE STYLESHEET (/public/content/qr.css)
   Light Mode + [data-bs-theme="dark"] Dark Mode
   ========================================================= */

/* ── Shimmer CTA Button ── */
.btn-trimrly {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #233DFF, #005BFF);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 14px 28px;
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(35, 61, 255, 0.35);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s ease;
}
.btn-trimrly::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}
.btn-trimrly:hover::before {
  left: 125%;
}
.btn-trimrly:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35, 61, 255, 0.45);
}

/* ── Hero & Generator Controls ── */
#hero .btn-outline-primary {
  border: 1.5px solid rgba(35, 61, 255, 0.4);
  color: #233DFF;
  background: #fff;
  font-weight: 500;
  transition: all 0.25s ease;
}
#hero .btn-outline-primary:hover {
  background: #233DFF;
  color: #fff;
  box-shadow: 0 4px 12px rgba(35, 61, 255, 0.25);
}
#hero .btn-group .btn {
  font-weight: 600;
  border-radius: 8px !important;
  transition: all 0.25s ease;
}
#hero .btn-group .btn:hover {
  background: #233DFF;
  color: #fff;
  border-color: #233DFF;
}

/* ── Section Bands & Cards ── */
.qr-band-alt {
  background: #f9fafb;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.qr-band-soft-blue {
  background: #f9fafb;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.qr-band-compact {
  padding-top: 24px;
  padding-bottom: 24px;
}
.qr-section-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.qr-feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.qr-box-card {
  background: #fff;
  border: 1px solid rgba(35, 61, 255, 0.08);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}
.qr-box-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(35, 61, 255, 0.15);
  border-color: rgba(35, 61, 255, 0.25);
}
.qr-box-card .qr-icon,
.qr-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #233DFF 0%, #005BFF 100%);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(35, 61, 255, 0.25);
  margin-bottom: 18px;
}
.qr-step-badge {
  background: linear-gradient(135deg, #233DFF, #005BFF) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
}
.qr-box-card h3 {
  font-size: 1.25rem;
  color: #111;
}
.qr-box-card p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Comparison Tables ── */
.qr-compare-table {
  max-width: 900px;
  margin: 0 auto;
}
.qr-compare-table table {
  border-radius: 18px !important;
  overflow: hidden;
  border: 2px solid rgba(0, 147, 233, 0.12);
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 115, 230, 0.08);
}
.qr-compare-table thead th {
  background: #eef6ff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-bottom: 2px solid #0093E9 !important;
}
.qr-compare-table td {
  padding: 14px;
  font-size: 15px;
  border-color: rgba(0, 147, 233, 0.12) !important;
}
.cell-yes {
  font-weight: 700;
  color: #22c55e;
  font-size: 17px;
}
.cell-no {
  font-weight: 700;
  color: #ef4444;
  font-size: 17px;
}
.cell-warning {
  font-weight: 700;
  color: #eab308;
}
.cell-neutral {
  font-weight: 700;
  color: #0073e6;
}

/* ── Feature Icons & Swatches ── */
.icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #233DFF 0%, #005BFF 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(35, 61, 255, 0.25);
}
.icon-swatch {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.swatch-1 { background: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%); }
.swatch-2 { background: linear-gradient(45deg, #00DBDE 0%, #FC00FF 100%); }
.swatch-3 { background: linear-gradient(0deg, #08AEEA 0%, #2AF598 100%); }
.swatch-4 { background: linear-gradient(147deg, #FFE53B 0%, #FF2525 74%); }
.swatch-5 { background: linear-gradient(90deg, #FF9A8B 0%, #FF6A88 55%, #FF99AC 100%); }
.swatch-6 { background: linear-gradient(132deg, #F4D03F 0%, #16A085 100%); }

.qr-sample-rect {
  fill: #ffffff;
  stroke-width: 8;
  stroke: #000000;
}
.qr-dynamic-callout {
  background: linear-gradient(135deg, #eef3ff, #f0f7ff);
  border: 1px solid rgba(35, 61, 255, 0.12);
}

/* ── FAQ Section ── */
#faq.qr-faq-section {
  width: 100%;
  background: #f9fafb;
}
#faq.qr-faq-section h2 {
  color: #111;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
#faq.qr-faq-section h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #233DFF, #005BFF);
  border-radius: 2px;
}
#faq.qr-faq-section .accordion-item {
  border: 1px solid rgba(35, 61, 255, 0.12);
  border-radius: 14px !important;
  margin-bottom: 18px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}
#faq.qr-faq-section .accordion-item:hover {
  border-color: rgba(35, 61, 255, 0.25);
  box-shadow: 0 8px 20px rgba(35, 61, 255, 0.10);
}
#faq.qr-faq-section .accordion-button {
  font-weight: 600;
  color: #111;
  background: #fff;
  border: none;
  box-shadow: none;
  border-radius: 14px !important;
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
}
#faq.qr-faq-section .accordion-button:not(.collapsed) {
  color: #233DFF;
  background: rgba(35, 61, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(35, 61, 255, 0.15);
}
#faq.qr-faq-section .accordion-button:focus {
  box-shadow: none;
  border: none;
}
#faq.qr-faq-section .accordion-button::after {
  filter: hue-rotate(220deg);
  transition: transform 0.25s ease;
}
#faq.qr-faq-section .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}
#faq.qr-faq-section .accordion-body {
  color: #444;
  line-height: 1.7;
  background: #fff;
  border-top: 1px solid rgba(35, 61, 255, 0.08);
  border-radius: 0 0 14px 14px;
  padding: 1rem 1.25rem;
}

/* ── Bottom CTA Banner ── */
#qr-analytics .gradient-primary {
  background: linear-gradient(90deg, #233DFF 0%, #005BFF 100%);
}
#qr-analytics .btn-trimrly {
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(35, 61, 255, 0.3);
}
#qr-analytics .btn-trimrly:hover {
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.5), 0 8px 28px rgba(35, 61, 255, 0.4);
}

/* ── Dark Mode Overrides ── */
[data-bs-theme="dark"] .qr-band-alt,
[data-bs-theme="dark"] .qr-band-soft-blue,
[data-bs-theme="dark"] #faq.qr-faq-section {
  background: #0e0f13 !important;
}
[data-bs-theme="dark"] .qr-box-card,
[data-bs-theme="dark"] .qr-compare-table table,
[data-bs-theme="dark"] #faq.qr-faq-section .accordion-item,
[data-bs-theme="dark"] #faq.qr-faq-section .accordion-button,
[data-bs-theme="dark"] #faq.qr-faq-section .accordion-body {
  background: #16161e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-bs-theme="dark"] .qr-compare-table thead th {
  background: #1f2230 !important;
  color: #e8e8e8 !important;
}
[data-bs-theme="dark"] .qr-compare-table td {
  color: #ccc !important;
}
[data-bs-theme="dark"] .qr-box-card h3,
[data-bs-theme="dark"] .qr-box-card h4,
[data-bs-theme="dark"] #faq.qr-faq-section h2,
[data-bs-theme="dark"] #faq.qr-faq-section .accordion-button {
  color: #e8e8e8 !important;
}
[data-bs-theme="dark"] .qr-box-card p,
[data-bs-theme="dark"] .qr-section-lead,
[data-bs-theme="dark"] #faq.qr-faq-section .accordion-body {
  color: #aaa !important;
}
[data-bs-theme="dark"] .qr-dynamic-callout {
  background: #161824 !important;
  border-color: rgba(77, 121, 255, 0.25) !important;
}