/* ==========================================================================
   GEEKFIX - PRINTER SETUP & SUPPORT PORTAL
   Brand Design System & Setup Wizard Stylesheet
   ========================================================================== */

/* Typography & Reset */
:root {
  --primary-color: #0096D6;
  --primary-hover: #007fb5;
  --primary-light: #eaf7fc;
  --primary-glow: rgba(0, 150, 214, 0.18);
  
  --brand-hp: #0096D6;
  --brand-brother: #15438c;
  --brand-canon: #cc0000;
  --brand-epson: #003399;

  --text-dark: #1d2939;
  --text-muted: #667085;
  --text-light: #98a2b3;
  --border-color: #d0d5dd;
  --border-light: #eaecf0;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --footer-bg: #16294b;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-alt: 'Outfit', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.55;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-badge-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: #16294b;
  line-height: 1.1;
  display: block;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.independent-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid rgba(0, 150, 214, 0.25);
  color: var(--primary-color);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-phone:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 1: PRINTER BRANDS ROW (HP, BROTHER, CANON, EPSON)
   ========================================================================== */
.printer-brands-section {
  padding: 50px 0 35px;
  background: #ffffff;
}

.printer-brands-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}

.printer-brands-heading h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.printer-brands-heading p {
  font-size: 16px;
  color: var(--text-muted);
}

.printer-brands-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.printer-brand-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.printer-brand-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
}

.printer-brand-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform 0.2s ease;
}

.printer-brand-box:hover .printer-brand-icon {
  transform: scale(1.06);
}

.printer-brand-hp .printer-brand-icon {
  background: #eaf7fc;
  color: var(--brand-hp);
}
.printer-brand-hp:hover {
  border-color: var(--brand-hp);
}

.printer-brand-brother .printer-brand-icon {
  background: #eff6ff;
  color: var(--brand-brother);
}
.printer-brand-brother:hover {
  border-color: var(--brand-brother);
}

.printer-brand-canon .printer-brand-icon {
  background: #fef2f2;
  color: var(--brand-canon);
}
.printer-brand-canon:hover {
  border-color: var(--brand-canon);
}

.printer-brand-epson .printer-brand-icon {
  background: #eff6ff;
  color: var(--brand-epson);
}
.printer-brand-epson:hover {
  border-color: var(--brand-epson);
}

.printer-brand-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.printer-brand-btn {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  display: block;
  text-align: center;
  transition: all 0.2s ease;
}

.printer-brand-hp:hover .printer-brand-btn,
.printer-brand-hp .printer-brand-btn:hover {
  background: var(--brand-hp);
  border-color: var(--brand-hp);
  color: #ffffff;
}

.printer-brand-brother:hover .printer-brand-btn,
.printer-brand-brother .printer-brand-btn:hover {
  background: var(--brand-brother);
  border-color: var(--brand-brother);
  color: #ffffff;
}

.printer-brand-canon:hover .printer-brand-btn,
.printer-brand-canon .printer-brand-btn:hover {
  background: var(--brand-canon);
  border-color: var(--brand-canon);
  color: #ffffff;
}

.printer-brand-epson:hover .printer-brand-btn,
.printer-brand-epson .printer-brand-btn:hover {
  background: var(--brand-epson);
  border-color: var(--brand-epson);
  color: #ffffff;
}

/* ==========================================================================
   SECTION 2: SETUP BANNER (HERO SEARCH & START SETUP)
   ========================================================================== */
.printer-setup-banner {
  width: 100%;
  min-height: 520px;
  background: #ffffff;
  padding: 40px 0;
  display: flex;
  align-items: center;
}

.setup-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto !important;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.setup-content {
  width: 52%;
}

.setup-content-inner {
  position: relative;
  padding-left: 28px;
  border-left: 4px solid var(--primary-color);
}

.printer-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 14px;
}

.setup-tagline {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.setup-content h1 {
  margin: 0 0 14px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 700;
}

.setup-content p {
  max-width: 600px;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Printer Search Form */
.hero-search-form {
  max-width: 520px;
  margin-bottom: 16px;
}

.printer-search {
  position: relative;
  margin-bottom: 14px;
}

.printer-search input {
  width: 100%;
  height: 56px;
  padding: 0 50px 0 18px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  outline: none;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.printer-search input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 150, 214, 0.12);
}

.printer-search i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}

.start-setup-btn {
  border: 0;
  background: var(--primary-color);
  color: #ffffff;
  padding: 16px 34px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.start-setup-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 150, 214, 0.25);
}

.start-setup-btn.full-width {
  width: 100%;
}

.hero-subtext-notes {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.hero-subtext-notes i {
  color: #10b981;
}

.setup-image {
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-cover {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: block;
}

/* ==========================================================================
   SECTION 3: BRAND DISCLAIMER
   ========================================================================== */
.brand-disclaimer {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.brand-disclaimer p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-disclaimer strong {
  color: var(--text-dark);
}

/* ==========================================================================
   SECTION 4: PRINTER SETUP GUIDE
   ========================================================================== */
.printer-guide-section {
  padding: 80px 0;
  background: #ffffff;
}

.printer-guide-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.printer-guide-content {
  width: 54%;
}

.guide-label {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.printer-guide-content h2,
.printer-online-content h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.guide-intro,
.online-intro {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}

.guide-steps,
.online-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.guide-step,
.online-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.guide-step:hover,
.online-step:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 150, 214, 0.08);
  transform: translateX(4px);
}

.step-number,
.online-number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3,
.online-step-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.step-content p,
.online-step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.printer-guide-image,
.printer-online-image {
  width: 46%;
}

.section-img-cover {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  display: block;
}

.guide-cta-row {
  margin-top: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 16px var(--primary-glow);
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 5: PRINTER OFFLINE GUIDE
   ========================================================================== */
.printer-online-section {
  padding: 80px 0;
  background: #f8fafc;
}

.printer-online-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.printer-online-content {
  width: 54%;
}

.online-label {
  color: #0284c7;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* ==========================================================================
   INTERACTIVE SETUP MODAL / GUIDED FLOW WIZARD
   ========================================================================== */
.setup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.setup-modal.active {
  display: flex;
}

.setup-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.70);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.setup-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  max-height: 92vh;
  overflow-y: auto;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modalSubtleShake {
  0%, 100% { transform: scale(1) translateX(0); }
  20%, 60% { transform: scale(1.008) translateX(-5px); }
  40%, 80% { transform: scale(1.008) translateX(5px); }
}

.modal-shake {
  animation: modalSubtleShake 0.35s ease-in-out !important;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 30;
  width: 36px;
  height: 36px;
  border: 0;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

/* Stepper Header in Modal */
.wizard-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.wizard-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.node-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.node-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.wizard-step-node.active .node-num {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.wizard-step-node.active .node-name {
  color: var(--primary-color);
}

.wizard-step-node.completed .node-num {
  background: #10b981;
  color: #ffffff;
}

.node-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  margin: 0 6px -14px 6px;
}

.node-line.completed {
  background: #10b981;
}

/* Wizard Views Switching */
.wizard-card-view {
  display: none;
}

.wizard-card-view.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-printer-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 26px;
}

.setup-modal-box h2 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
}

.modal-view-desc {
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.text-left {
  text-align: left;
}

/* Form Styles Inside Modal */
.form-group {
  margin-bottom: 16px;
}

.form-field-label,
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.req {
  color: #ef4444;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  font-size: 16px;
}

.input-with-icon input,
.form-group input,
.form-group select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--text-dark);
  outline: none;
  background: #ffffff;
}

.input-with-icon input {
  padding-left: 42px;
}

.input-with-icon input:focus,
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 150, 214, 0.12);
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.field-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-group.invalid .field-error {
  display: block;
}

.form-group.invalid input {
  border-color: #ef4444;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wizard-action-buttons {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.btn-outline-back {
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline-back:hover {
  background: #f1f5f9;
  color: var(--text-dark);
}

/* Issue Selection Grid in Modal */
.selected-printer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.wizard-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.wizard-issue-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.wizard-issue-card:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.wizard-issue-card i {
  font-size: 18px;
  color: var(--primary-color);
  width: 24px;
  text-align: center;
}

.wizard-issue-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

/* Question Step */
.question-tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.btn-subtle-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.question-badge-count {
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
}

.interactive-prompt {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.interactive-subtext {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.wizard-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-opt-btn {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.wizard-opt-btn:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateX(3px);
}

.wizard-opt-btn i {
  color: var(--text-light);
}

/* Callout for power instructions */
.callout-instruction {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 14px;
  text-align: left;
  margin-bottom: 18px;
}

.callout-icon {
  font-size: 20px;
  color: #d97706;
}

.callout-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
}

.callout-body p {
  font-size: 12.5px;
  color: #b45309;
  line-height: 1.4;
  margin-bottom: 12px;
}

.callout-actions {
  display: flex;
  gap: 8px;
}

.btn-callout-primary {
  background: #d97706;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-callout-secondary {
  background: #ffffff;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
}

/* Optional input */
.optional-input-group {
  margin-top: 16px;
  text-align: left;
}

.optional-label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.optional-input-wrapper {
  display: flex;
  gap: 8px;
}

.optional-input-wrapper input {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13px;
}

.btn-sm {
  height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

/* Contact Step Mini Summary */
.context-mini-summary {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.c-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.context-mini-summary strong {
  font-size: 14px;
  color: var(--text-dark);
}

.privacy-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Step 5 Final Assessment */
.assessment-complete-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.final-assessment-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.ticket-reference-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: left;
}

.ticket-ref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.status-active {
  color: #10b981;
  font-weight: 700;
  font-size: 12px;
}

.ticket-ref-body {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ref-col {
  display: flex;
  flex-direction: column;
}

.ref-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.ref-col strong {
  font-size: 13.5px;
  color: var(--text-dark);
}

.highlight-assessment {
  color: var(--primary-color);
}

/* 3 Action Cards */
.final-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.final-action-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.final-action-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.final-action-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.final-action-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.f-phone {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

.f-info {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  margin-top: 4px;
}

.btn-action-primary:hover {
  background: var(--primary-hover);
}

.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  margin-top: 4px;
}

.btn-action-secondary:hover {
  background: #f1f5f9;
}

.modal-footer-reset {
  margin-top: 14px;
}

.btn-text-restart {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}

.btn-text-restart:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   CHAT MODAL FALLBACK
   ========================================================================== */
.chat-modal-box {
  max-width: 440px;
  padding: 0;
  overflow: hidden;
}

.chat-modal-header {
  background: #16294b;
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-modal-header h4 {
  font-size: 15px;
  font-weight: 700;
}

.chat-active-indicator {
  font-size: 12px;
  color: #34d399;
}

.chat-context-pill {
  background: var(--primary-light);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  font-size: 12px;
  color: var(--primary-color);
  text-align: left;
}

.chat-messages-container {
  height: 250px;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
}

.chat-bubble.agent {
  background: #ffffff;
  border: 1px solid var(--border-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble.user {
  background: var(--primary-color);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-send-row {
  display: flex;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}

.chat-send-row input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13.5px;
  outline: none;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 42px;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.footer-grid p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.footer-grid h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 14px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffffff;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .printer-brands-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .setup-container,
  .printer-guide-container,
  .printer-online-container {
    flex-direction: column;
    gap: 35px;
    padding: 20px 20px;
  }

  .setup-content,
  .setup-image,
  .printer-guide-content,
  .printer-guide-image,
  .printer-online-content,
  .printer-online-image {
    width: 100%;
  }

  .setup-image {
    order: -1;
  }

  .printer-online-image {
    order: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-contact {
    align-self: flex-start;
  }

  .printer-brands-row {
    grid-template-columns: 1fr;
  }

  .setup-content h1 {
    font-size: 30px;
  }

  .setup-content p {
    font-size: 15px;
  }

  .printer-brands-heading h2,
  .printer-guide-content h2,
  .printer-online-content h2 {
    font-size: 26px;
  }

  .setup-modal-box {
    padding: 28px 18px;
  }

  .wizard-issue-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   BRAND-SPECIFIC PAGES (HP, BROTHER, CANON, EPSON)
   Matching spaceswix.com/printers/{brand} styling and layout
   ========================================================================== */

/* ==========================================================================
   OFFICIAL BRAND OEM UTILITY BAR & DETECTED OS BAR
   ========================================================================== */

.oem-top-utility-bar {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-family: var(--font-body);
  border-bottom: 1px solid #e2e8f0;
  padding: 6px 0;
  position: relative;
  z-index: 50;
}

.oem-utility-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.oem-utility-left,
.oem-utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.oem-utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.oem-utility-item:hover {
  color: #0f172a;
}

.oem-utility-item.oem-region-pill {
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.oem-utility-item.oem-status-pill {
  color: #059669;
  font-weight: 600;
}

.oem-utility-divider {
  width: 1px;
  height: 12px;
  background: #cbd5e1;
}

/* Breadcrumb Bar */
.brand-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 7px 0;
  font-size: 12.5px;
  color: #64748b;
}

.brand-breadcrumb-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-breadcrumb-trail a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.brand-breadcrumb-trail a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.brand-breadcrumb-trail .breadcrumb-separator {
  color: #94a3b8;
  font-size: 10px;
}

.brand-breadcrumb-trail .breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

.brand-breadcrumb-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

/* Detected Operating System Bar (Realistic OEM Hub Element) */
.detected-os-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.detected-os-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.os-info-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid #e2e8f0;
}

.os-text-details {
  display: flex;
  flex-direction: column;
}

.os-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.os-name-pill {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.os-arch-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
  padding: 1px 6px;
  border-radius: 4px;
}

.os-actions-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-change-os {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-change-os:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.os-security-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #059669;
  font-weight: 600;
}

/* Series Navigation Tabs (Official Product Family Filter) */
.brand-series-nav-bar {
  margin-top: 14px;
  margin-bottom: 6px;
}

.brand-series-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.brand-series-tabs::-webkit-scrollbar {
  display: none;
}

.series-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  color: #475467;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.series-tab-item:hover {
  background: #f8fafc;
  color: #1d2939;
  border-color: #98a2b3;
}

.brand-hero-hp .series-tab-item.active {
  background: #e0f2fe;
  border-color: #0096D6;
  color: #026aa2;
  font-weight: 600;
}

.brand-hero-canon .series-tab-item.active {
  background: #fff1f2;
  border-color: #f43f5e;
  color: #be123c;
  font-weight: 600;
}

.brand-hero-epson .series-tab-item.active {
  background: #e0e7ff;
  border-color: #003399;
  color: #1e40af;
  font-weight: 600;
}

.brand-hero-brother .series-tab-item.active {
  background: #e0e7ff;
  border-color: #003087;
  color: #1e3a8a;
  font-weight: 600;
}

.serial-helper-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #0284c7;
  font-weight: 500;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.serial-helper-link:hover {
  color: #0369a1;
}

/* Authentic Serial / Model Helper Modal */
.serial-help-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.serial-help-overlay.active {
  opacity: 1;
  visibility: visible;
}

.serial-help-card {
  background: #ffffff;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transform: translateY(15px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.serial-help-overlay.active .serial-help-card {
  transform: translateY(0) scale(1);
}

.serial-help-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.serial-help-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.serial-help-title i {
  color: #0284c7;
  font-size: 17px;
}

.btn-close-serial-modal {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-close-serial-modal:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.serial-help-body {
  padding: 20px;
}

.serial-help-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.serial-help-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-detail-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.step-detail-text p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.serial-help-tip-box {
  margin-top: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #166534;
}

.serial-help-footer {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.btn-got-it {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-got-it:hover {
  background: #1e293b;
}

/* Responsive tweaks for OEM Top Bar */
@media (max-width: 768px) {
  .oem-utility-right {
    display: none;
  }
  .oem-utility-container {
    justify-content: center;
  }
  .detected-os-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .os-actions-block {
    width: 100%;
    justify-content: space-between;
  }
  .brand-breadcrumb-tag {
    display: none;
  }
}

/* Brand Navbars */
.brand-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.brand-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-back-btn {
  display: none !important;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

.brand-nav-logo {
  height: 38px;
  width: auto;
  max-width: 140px;
  display: block;
}

.brand-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.brand-nav-links a:hover {
  color: var(--primary-color);
}

.brand-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

/* Brand specific navbar accents */
.brand-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 13px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.brand-navbar-hp { 
  border-top: 4px solid #0096D6; 
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}
.brand-navbar-canon { 
  border-top: 4px solid #CC0000; 
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}
.brand-navbar-epson { 
  border-top: 4px solid #003399; 
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}
.brand-navbar-brother { 
  border-top: 4px solid #003087; 
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.brand-navbar-hp .brand-nav-links a:hover { color: #0096D6; font-weight: 600; }
.brand-navbar-canon .brand-nav-links a:hover { color: #CC0000; font-weight: 600; }
.brand-navbar-epson .brand-nav-links a:hover { color: #003399; font-weight: 600; }
.brand-navbar-brother .brand-nav-links a:hover { color: #003087; font-weight: 600; }

/* Brand Hero Banners - Studio Showcase Environment */
.brand-hero-section {
  padding: 55px 0 65px;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Studio Lighting & Curated Immersive Brand Atmospheres */
.brand-hero-hp {
  background: linear-gradient(180deg, #f8fcff 0%, #edf6fc 100%);
  border-bottom: 1px solid #dbeafe;
}

.brand-hero-canon {
  background: linear-gradient(180deg, #fffafa 0%, #fdf2f2 100%);
  border-bottom: 1px solid #fee2e2;
}

.brand-hero-epson {
  background: linear-gradient(180deg, #f8faff 0%, #eef3fc 100%);
  border-bottom: 1px solid #dbeafe;
}

.brand-hero-brother {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4fa 100%);
  border-bottom: 1px solid #e2e8f0;
}

.brand-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand-hero-content {
  width: 54%;
}

.brand-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.brand-hero-hp .brand-hero-badge {
  color: var(--brand-hp);
  border: 1px solid #bae6fd;
}
.brand-hero-brother .brand-hero-badge {
  color: var(--brand-brother);
  border: 1px solid #cbdcf7;
}
.brand-hero-canon .brand-hero-badge {
  color: var(--brand-canon);
  border: 1px solid #fed7d7;
}
.brand-hero-epson .brand-hero-badge {
  color: var(--brand-epson);
  border: 1px solid #bae6fd;
}

.brand-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.22;
  margin-bottom: 14px;
}

.brand-hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.brand-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.brand-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.brand-checklist i {
  color: #10b981;
}

.brand-search-box {
  max-width: 540px;
}

/* Authentic OEM Resource Switcher Tabs (Drivers vs Diagnostics) */
.search-mode-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.search-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-mode-tab:hover {
  color: #0f172a;
}

.search-mode-tab.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Brand Model Quick Filter Pills */
.brand-quick-models {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.brand-quick-models .quick-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-right: 3px;
}

.model-tag {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.model-tag:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.brand-hero-hp .model-tag:hover {
  border-color: var(--brand-hp);
  color: var(--brand-hp);
  background: #f0f9ff;
}
.brand-hero-brother .model-tag:hover {
  border-color: var(--brand-brother);
  color: var(--brand-brother);
  background: #f4f6fc;
}
.brand-hero-canon .model-tag:hover {
  border-color: var(--brand-canon);
  color: var(--brand-canon);
  background: #fef2f2;
}
.brand-hero-epson .model-tag:hover {
  border-color: var(--brand-epson);
  color: var(--brand-epson);
  background: #f0f6ff;
}

/* Search Focus Rings */
.brand-hero-hp .printer-search input:focus {
  border-color: var(--brand-hp);
  box-shadow: 0 0 0 3.5px rgba(0, 150, 214, 0.18);
}
.brand-hero-brother .printer-search input:focus {
  border-color: var(--brand-brother);
  box-shadow: 0 0 0 3.5px rgba(21, 67, 140, 0.18);
}
.brand-hero-canon .printer-search input:focus {
  border-color: var(--brand-canon);
  box-shadow: 0 0 0 3.5px rgba(204, 0, 0, 0.18);
}
.brand-hero-epson .printer-search input:focus {
  border-color: var(--brand-epson);
  box-shadow: 0 0 0 3.5px rgba(0, 51, 153, 0.18);
}

/* Studio Showcase Stage for Hardware */
.brand-hero-media {
  width: 48%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 15px 10px;
}

/* Studio Ambient Halo behind printer */
.brand-hero-media .stage-glow {
  position: absolute;
  width: 470px;
  height: 330px;
  border-radius: 50%;
  filter: blur(42px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}
.brand-hero-hp .stage-glow {
  background: radial-gradient(circle, rgba(0, 150, 214, 0.30) 0%, rgba(0, 150, 214, 0.08) 50%, transparent 75%);
}
.brand-hero-brother .stage-glow {
  background: radial-gradient(circle, rgba(21, 67, 140, 0.28) 0%, rgba(21, 67, 140, 0.07) 50%, transparent 75%);
}
.brand-hero-canon .stage-glow {
  background: radial-gradient(circle, rgba(204, 0, 0, 0.25) 0%, rgba(204, 0, 0, 0.06) 50%, transparent 75%);
}
.brand-hero-epson .stage-glow {
  background: radial-gradient(circle, rgba(0, 51, 153, 0.28) 0%, rgba(0, 51, 153, 0.07) 50%, transparent 75%);
}

/* Studio Pedestal Ground Disc under printer */
.brand-hero-media .stage-pedestal {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.14) 38%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

/* Floating Glassmorphic Live Tech Chips */
.brand-floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  pointer-events: none;
  animation: floatChip 4.5s ease-in-out infinite alternate;
}

.chip-top {
  top: 8px;
  right: -5px;
  animation-delay: 0s;
}

.chip-bottom {
  bottom: 18px;
  left: -10px;
  animation-delay: 2.2s;
}

@keyframes floatChip {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

.chip-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.28);
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

.brand-floating-chip i {
  font-size: 13px;
}
.brand-hero-canon .brand-floating-chip i { color: var(--brand-canon); }
.brand-hero-hp .brand-floating-chip i { color: var(--brand-hp); }
.brand-hero-brother .brand-floating-chip i { color: var(--brand-brother); }
.brand-hero-epson .brand-floating-chip i { color: var(--brand-epson); }

.brand-printer-graphic {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-printer-graphic:hover {
  transform: translateY(-5px) scale(1.015);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.22));
}

/* Brand Button Classes */
.btn-hp {
  background: var(--brand-hp) !important;
}
.btn-hp:hover {
  background: #007fb5 !important;
}

.btn-brother {
  background: var(--brand-brother) !important;
}
.btn-brother:hover {
  background: #0d2d60 !important;
}

.btn-canon {
  background: var(--brand-canon) !important;
}
.btn-canon:hover {
  background: #a30000 !important;
}

.btn-epson {
  background: var(--brand-epson) !important;
}
.btn-epson:hover {
  background: #002266 !important;
}

/* 4-Step Grid */
.brand-steps-section {
  padding: 65px 0;
  background: #ffffff;
}

.brand-steps-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.brand-steps-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.brand-steps-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.brand-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.brand-step-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px 20px;
  transition: all 0.2s ease;
}

.brand-step-card:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.b-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.brand-step-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.brand-step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.brand-cta-banner {
  background: var(--brand-gradient);
  color: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px var(--brand-theme-glow);
}

.cta-left h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-left p {
  color: #94a3b8;
  font-size: 14.5px;
}

@media (max-width: 992px) {
  .brand-hero-container {
    flex-direction: column;
    gap: 30px;
  }
  .brand-hero-content,
  .brand-hero-media {
    width: 100%;
  }
  .brand-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .brand-nav-links {
    display: none;
  }
  .brand-nav-container {
    padding: 0 12px;
    gap: 10px;
  }
  .brand-nav-left {
    gap: 10px;
  }
  .brand-nav-logo {
    max-height: 32px !important;
    max-width: 110px !important;
  }
  .brand-nav-support-pill {
    padding: 6px 13px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .brand-steps-grid {
    grid-template-columns: 1fr;
  }
  .brand-hero-content h1 {
    font-size: 24px;
    line-height: 1.25;
  }
  .brand-hero-content p {
    font-size: 14px;
  }
  .brand-features-list {
    font-size: 13.5px;
    gap: 8px;
  }
  .brand-floating-chip {
    display: none !important;
  }
  .start-setup-btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    justify-content: center;
    box-sizing: border-box;
  }
  .printer-search input {
    height: 50px;
    font-size: 14px;
  }
  .brand-quick-models {
    gap: 6px;
  }
  .model-tag {
    padding: 4px 9px;
    font-size: 11.5px;
  }
  .setup-modal {
    padding: 10px;
  }
  .setup-modal-box {
    padding: 24px 14px;
    max-height: 94vh;
    border-radius: 12px;
  }
  .wizard-sticky-brand-header,
  .setup-modal:has(#wizardView-5.active) .wizard-sticky-brand-header,
  .setup-modal:has(#wizardView-scan.active) .wizard-sticky-brand-header {
    top: 0;
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
  }
  .sticky-brand-logo {
    max-height: 26px;
    max-width: 95px;
  }
  .setup-modal-box h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  .step5-unified-error-header {
    padding: 8px 10px;
    margin-bottom: 10px;
  }
  .step5-error-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tech-error-box {
    width: 100%;
    justify-content: flex-start;
    padding: 3px 6px;
  }
  .error-code-val {
    font-size: 10px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .step5-title {
    font-size: 13.5px;
    line-height: 1.25;
  }
  .tan-content h5 {
    font-size: 0.78rem;
  }
  .tan-content p {
    font-size: 0.74rem;
  }
  .modal-view-desc {
    font-size: 13.5px;
    margin-bottom: 16px;
  }
  .wizard-issue-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .issue-card {
    padding: 12px 14px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wizard-action-buttons {
    flex-direction: column-reverse;
  }
  .wizard-action-buttons button {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   WIZARD STEPPER SUPPRESSION & DIAGNOSTIC SCANNER ENGINE
   ========================================================================== */
.wizard-stepper-header {
  display: none !important;
}

.verification-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

/* Diagnostic & Setup Progress Scanner */
.scan-engine-card {
  padding: 4px 2px 2px;
  text-align: center;
}

.scan-header {
  margin-bottom: 10px;
}

/* Sleek Compact Inline Live Scanner Pulse Badge */
.scan-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scan-live-indicator .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  animation: pulseBlue 1.2s infinite;
}

@keyframes pulseBlue {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.scan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.scan-engine-card h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.scan-engine-card h2 i.fa-spin {
  color: var(--primary-color);
  font-size: 16px;
}

.scan-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.35;
}

/* Compact Progress bar */
.scan-progress-wrapper {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 14px;
  margin: 10px 0 10px 0;
}

.scan-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
}

.scan-status-pill {
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scan-percent-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary-color);
}

.scan-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.scan-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0096d6 0%, #2563eb 100%);
  border-radius: 9999px;
  transition: width 0.35s ease-out;
  box-shadow: 0 0 8px rgba(0, 150, 214, 0.4);
}

/* Compact 2-Column Milestones Grid (Fits without scroll!) */
.scan-milestones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  text-align: left;
}

@media (max-width: 600px) {
  .scan-milestones {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.25s ease;
  line-height: 1.3;
}

.milestone-item .m-icon {
  font-size: 13px;
  flex-shrink: 0;
}

.milestone-item.active {
  border-color: var(--primary-color);
  background: #f0f9ff;
  font-weight: 600;
}

.milestone-item.active .m-icon {
  color: var(--primary-color);
}

.milestone-item.done {
  border-color: #a7f3d0;
  background: #f0fdf4;
  color: #166534;
}

.milestone-item.done .m-icon {
  color: #16a34a;
}

.milestone-item.failed {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
}

.milestone-item.failed .m-icon {
  color: #dc2626;
  font-size: 14px;
}

.milestone-item.warning {
  border-color: #fde047;
  background: #fefce8;
  color: #854d0e;
  font-weight: 600;
}

.milestone-item.warning .m-icon {
  color: #d97706;
}

.milestone-item.pending {
  color: var(--text-light);
  opacity: 0.65;
}

.milestone-item.pending .m-icon {
  color: #cbd5e1;
}

/* Sleek Compact Terminal Console */
.scan-terminal-log {
  background: #0f172a;
  border-radius: 6px;
  padding: 8px 12px;
  color: #38bdf8;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  text-align: left;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid #1e293b;
}

.terminal-header .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-header .dot.red { background: #ef4444; }
.terminal-header .dot.yellow { background: #f59e0b; }
.terminal-header .dot.green { background: #10b981; }

.terminal-title {
  margin-left: 5px;
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terminal-body {
  max-height: 52px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.log-line {
  line-height: 1.35;
  word-break: break-all;
}
.log-line.warn { color: #fbbf24; }
.log-line.err { color: #f87171; font-weight: 700; }
.log-line.success { color: #4ade80; }

/* Technical Error Alert in Step 5 - Sleek Compact Banner */
.assessment-error-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Unified Compact Error Header - Clean Single Block Diagnostic Banner */
.step5-unified-error-header {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  text-align: left;
}

.step5-error-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.assessment-error-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tech-error-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #fca5a5;
  border-radius: 5px;
  padding: 2px 8px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.error-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #991b1b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.error-code-val {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11.5px;
  font-weight: 800;
  color: #b91c1c;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.step5-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #991b1b;
  margin: 3px 0 3px 0;
  line-height: 1.3;
}

.final-assessment-desc {
  display: none; /* Merged into clean single technical assistance reason to eliminate redundancy */
}

/* Step 5: Critical Technical Assistance Alert Box */
.tech-assistance-needed-box {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 6px 0 0 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tan-icon {
  color: #ea580c;
  font-size: 1.05rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.tan-content {
  flex: 1;
}

.tan-badge-pulse {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tan-content h5 {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.tan-content p {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 0;
}

/* Auto-expand wizard modal for Scan and Step 5 to fit side-by-side without vertical scroll */
.setup-modal:has(#wizardView-5.active),
.setup-modal:has(#wizardView-scan.active) {
  align-items: center;
}

.setup-modal:has(#wizardView-5.active) .setup-modal-box {
  max-width: 690px;
  padding: 18px 24px 16px 24px;
}

.setup-modal:has(#wizardView-scan.active) .setup-modal-box {
  max-width: 620px;
  padding: 20px 24px 18px 24px;
}

/* Clean, Non-Overlapping Brand Header (No Negative Margins) */
.wizard-sticky-brand-header {
  position: relative;
  top: 0;
  margin: 0 0 14px 0;
  padding: 0 0 10px 0;
  background: transparent;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.setup-modal:has(#wizardView-5.active) .wizard-sticky-brand-header,
.setup-modal:has(#wizardView-scan.active) .wizard-sticky-brand-header {
  top: 0;
  margin: 0 0 12px 0;
  padding: 0 0 8px 0;
}

/* Step 5: Side-by-Side 2-Column Action Cards Grid (Balanced & Zero Scroll) */
.final-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .final-actions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.final-action-card {
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-sizing: border-box;
}

.final-action-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 3px 0 2px 0;
  line-height: 1.25;
}

.final-action-card p {
  font-size: 11.5px;
  line-height: 1.35;
  margin-bottom: 8px;
}

/* 1st Priority: Request a Callback Card */
.final-action-card.callback-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid #86efac;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.06);
  position: relative;
  overflow: hidden;
}

.final-action-card.callback-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.f-badge-specialist {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.f-badge-specialist i {
  color: #10b981;
  font-size: 7px;
  animation: pulseGreen 1.5s infinite;
}

.specialist-callout-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin: 2px 0 4px 0;
}

/* 2nd Option: Live Chat with Dedicated Brand Specialist */
.final-action-card.chat-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1.5px solid #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
  position: relative;
  overflow: hidden;
}

.final-action-card.chat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.final-action-card.chat-card .f-icon {
  background: #dbeafe;
  color: #1d4ed8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.final-action-card.chat-card .btn-action-chat {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 6px;
  margin-top: auto;
  border: none;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  width: 100%;
}

.final-action-card.chat-card .btn-action-chat:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.chat-card-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #334155;
}

.chat-card-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-card-features li i {
  color: #2563eb;
  font-size: 10px;
}

/* Callback Card Inputs */
.cb-input-group {
  margin-bottom: 6px;
}

.cb-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 12px;
  box-sizing: border-box;
  background: #ffffff;
  color: var(--text-dark);
}

.cb-input:focus {
  border-color: #16a34a;
  outline: none;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.final-action-card.callback-card .btn-action-primary {
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 6px;
  margin-top: 4px;
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.22);
  cursor: pointer;
  font-weight: 700;
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.final-action-card.callback-card .btn-action-primary:hover {
  background: #15803d;
}

.modal-footer-reset {
  margin-top: 4px;
}

.btn-text-restart {
  font-size: 11px;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-text-restart:hover {
  color: #64748b;
  text-decoration: underline;
}

.f-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.f-badge-fast {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cb-form-container {
  margin-top: 8px;
}

.mb-2 {
  margin-bottom: 8px !important;
}

.cb-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
  background: #ffffff;
  color: var(--text-dark);
}

.cb-input:focus {
  border-color: #16a34a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.final-action-card.callback-card .btn-action-primary {
  background: #16a34a;
  color: #ffffff;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 6px;
  margin-top: 6px;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.25);
  cursor: pointer;
}

.final-action-card.callback-card .btn-action-primary:hover {
  background: #15803d;
}

/* Callback Success Notification Box */
.cb-success-container {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: left;
}

.cb-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #15803d;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cb-success-meta {
  font-size: 12px;
  color: #166534;
  margin-bottom: 10px;
}

.cb-success-alert {
  background: #ffffff;
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cb-success-alert .alert-icon {
  font-size: 20px;
  color: #16a34a;
  margin-top: 2px;
}

.cb-success-alert h5 {
  margin: 0 0 4px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #14532d;
}

.cb-success-alert p {
  margin: 0;
  font-size: 12.5px;
  color: #166534;
  line-height: 1.45;
}

/* 2nd Option: Direct Phone Line (Toll-Free US Direct Line) */
.final-action-card.call-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.final-action-card.call-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.1);
}

.direct-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.direct-status-tag i {
  font-size: 7px;
  color: #22c55e;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.final-action-card.call-card .f-phone.direct-local-phone {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
  margin: 10px 0 4px 0;
  font-family: var(--font-heading, sans-serif);
}

.direct-phone-subtext {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 500;
}

.btn-call-direct {
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  border: 0;
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-call-direct:hover {
  background: #0f172a;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

/* ==========================================================================
   HERO SEARCH VALIDATION STYLING (BINA MODEL/SERIES/BRAND DALE AAGE NA JAYE)
   ========================================================================== */
.printer-search.has-error input {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
  animation: heroInputShake 0.4s ease;
}

@keyframes heroInputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.hero-model-error {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
  animation: heroErrorFadeIn 0.25s ease;
  text-align: left;
}

.hero-model-error i {
  font-size: 16px;
  color: #dc2626;
  flex-shrink: 0;
}

@keyframes heroErrorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   STICKY BRAND LOGO HEADER (VERIFY REGISTER PRINTER SUPPORT SE HI STICKY LOGO)
   ========================================================================== */
.wizard-sticky-brand-header {
  position: relative;
  top: 0;
  margin: 0 0 16px 0;
  padding: 0 0 12px 0;
  background: transparent;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.wizard-sticky-brand-header.hidden {
  display: none !important;
}

.sticky-brand-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sticky-brand-logo {
  max-height: 34px;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.sticky-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

/* Step 4 Dedicated Brand Logo Header */
.step4-brand-header {
  margin: 0 auto 14px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step4-brand-logo {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   GeekFix - Legal & Information Pages Styling
   ========================================================================== */
.legal-page-container {
  max-width: 880px;
  margin: 40px auto 60px;
  background: #ffffff;
  border: 1px solid #d8e8f5;
  border-radius: 16px;
  padding: 42px 48px;
  box-shadow: 0 4px 20px rgba(13, 46, 160, 0.06);
}

.legal-page-header {
  border-bottom: 2px solid #f0f7ff;
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.legal-page-header h1 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  color: #0b2545;
  font-size: 2.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.legal-page-meta {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

.legal-content h2 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  color: #0b2545;
  font-size: 1.25rem;
  margin: 30px 0 12px;
  font-weight: 700;
}

.legal-content p, .legal-content li {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-content a {
  color: #007db8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #005a87;
}

.callout-box {
  background: #f0f7ff;
  border-left: 4px solid #007db8;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 0.92rem;
  color: #1e3a8a;
  line-height: 1.65;
}

.guarantee-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-left: 5px solid #10b981;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  color: #065f46;
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 26px;
  margin: 22px 0;
}

/* Contact Page Layout */
.contact-page-container {
  max-width: 980px;
  margin: 40px auto 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #d8e8f5;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(13, 46, 160, 0.06);
}

.contact-card h1 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  color: #0b2545;
  font-size: 1.9rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-info-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 22px;
}

.contact-item-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item-row:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #e6f3fa;
  color: #007db8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  box-sizing: border-box;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.2s;
}

.contact-input:focus {
  border-color: #007db8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.15);
}

/* Standalone Page Header & Footer */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo-img {
  height: 38px;
  max-width: 220px;
  object-fit: contain;
}

.site-footer {
  background: #0b1e36;
  color: #94a3b8;
  padding: 30px 0;
  margin-top: auto;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-legal-inline {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-legal-inline a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-inline a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page-container {
    padding: 26px 20px;
    margin: 20px 14px 40px;
  }
  .legal-page-header h1 {
    font-size: 1.6rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 24px 20px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-inline {
    justify-content: center;
  }
}

/* ==========================================================================
   DYNAMIC BRAND SELECTION PROMPT & GLOW EFFECT
   ========================================================================== */
.brand-selection-notice {
  margin: 14px auto 0;
  display: inline-block;
  padding: 10px 22px;
  background: #eff6ff;
  border: 1.5px solid #3b82f6;
  border-radius: 30px;
  color: #1d4ed8;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.16);
  animation: noticePulse 1.8s infinite ease-in-out;
}

@keyframes noticePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes brandPulseGlow {
  0% { transform: translateY(0); box-shadow: 0 0 0 rgba(0, 113, 227, 0); border-color: var(--border-color); }
  50% { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 113, 227, 0.35); border-color: #0071e3; }
  100% { transform: translateY(0); box-shadow: 0 0 0 rgba(0, 113, 227, 0); border-color: var(--border-color); }
}

.printer-brand-box.brand-box-highlight {
  animation: brandPulseGlow 1.2s ease-in-out 3;
  border-color: #0071e3 !important;
}






/* ==========================================================================
   AUTHENTIC BRAND THEME SYSTEM (HP, CANON, EPSON, BROTHER)
   Transforms each brand page into an authentic, official-grade portal
   ========================================================================== */

/* 1. Brand Tokens dynamically mapped to body[data-brand] */
body[data-brand="hp"] {
  --brand-theme: #0096D6;
  --brand-theme-dark: #0076a8;
  --brand-theme-darker: #00567a;
  --brand-theme-light: #f0f9ff;
  --brand-theme-subtle: #e0f2fe;
  --brand-theme-border: #bae6fd;
  --brand-theme-glow: rgba(0, 150, 214, 0.22);
  --brand-gradient: linear-gradient(135deg, #0096D6 0%, #0076a8 100%);
  --primary-color: #0096D6;
  --primary-hover: #0076a8;
  --primary-light: #f0f9ff;
  --primary-glow: rgba(0, 150, 214, 0.22);
}

body[data-brand="canon"] {
  --brand-theme: #CC0000;
  --brand-theme-dark: #A30000;
  --brand-theme-darker: #7d0000;
  --brand-theme-light: #fef2f2;
  --brand-theme-subtle: #fee2e2;
  --brand-theme-border: #fecaca;
  --brand-theme-glow: rgba(204, 0, 0, 0.22);
  --brand-gradient: linear-gradient(135deg, #CC0000 0%, #a80000 100%);
  --primary-color: #CC0000;
  --primary-hover: #a80000;
  --primary-light: #fef2f2;
  --primary-glow: rgba(204, 0, 0, 0.22);
}

body[data-brand="epson"] {
  --brand-theme: #003399;
  --brand-theme-dark: #002266;
  --brand-theme-darker: #001642;
  --brand-theme-light: #f0f5fc;
  --brand-theme-subtle: #e1ecfa;
  --brand-theme-border: #c7d7f7;
  --brand-theme-glow: rgba(0, 51, 153, 0.22);
  --brand-gradient: linear-gradient(135deg, #003399 0%, #002266 100%);
  --primary-color: #003399;
  --primary-hover: #002266;
  --primary-light: #f0f5fc;
  --primary-glow: rgba(0, 51, 153, 0.22);
}

body[data-brand="brother"] {
  --brand-theme: #003087;
  --brand-theme-dark: #001f5c;
  --brand-theme-darker: #001238;
  --brand-theme-light: #f0f4fa;
  --brand-theme-subtle: #dde7f5;
  --brand-theme-border: #bfd3f2;
  --brand-theme-glow: rgba(0, 48, 135, 0.22);
  --brand-gradient: linear-gradient(135deg, #003087 0%, #001f5c 100%);
  --primary-color: #003087;
  --primary-hover: #001f5c;
  --primary-light: #f0f4fa;
  --primary-glow: rgba(0, 48, 135, 0.22);
}

/* 2. Brand Official Top Utility Bar */
.brand-top-utility-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-top-utility-bar .utility-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-left, .utility-center, .utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.utility-portal-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  font-size: 12.5px;
}

.utility-portal-tag i {
  color: var(--brand-theme);
}

.utility-divider {
  color: #475569;
}

.utility-region {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.utility-server-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
  animation: dotPulse 1.8s infinite;
}

.utility-phone-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.utility-phone-link strong {
  color: #38bdf8;
  font-weight: 700;
}

body[data-brand="canon"] .utility-phone-link strong { color: #f87171; }
body[data-brand="epson"] .utility-phone-link strong { color: #93c5fd; }
body[data-brand="brother"] .utility-phone-link strong { color: #a5b4fc; }

.utility-phone-link:hover {
  color: var(--brand-theme);
}

/* 3. Brand Navbar Enhancements */
.brand-navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 2px solid var(--brand-theme-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.brand-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-nav-links a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.brand-nav-links a:hover {
  color: var(--brand-theme);
  background: var(--brand-theme-light);
}

.brand-nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-nav-support-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--brand-theme-light);
  border: 1px solid var(--brand-theme-border);
  border-radius: 9999px;
  color: var(--brand-theme);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

.brand-nav-support-pill:hover {
  background: var(--brand-theme);
  color: #ffffff;
  border-color: var(--brand-theme);
  box-shadow: 0 4px 14px var(--brand-theme-glow);
  transform: translateY(-1px);
}

.chat-live-pulse {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: chatLivePulseAnim 2s infinite;
  flex-shrink: 0;
}

@keyframes chatLivePulseAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* 4. OS Auto-Detection Bar */
.brand-os-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.os-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.os-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.os-pill-badge i {
  color: #0284c7;
  font-size: 15px;
}

.os-status-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #15803d;
  font-size: 12.5px;
  font-weight: 600;
}

.os-status-verified i {
  font-size: 13px;
}

.os-banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
}

.btn-change-os {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-change-os:hover {
  background: var(--brand-theme-light);
  border-color: var(--brand-theme);
  color: var(--brand-theme);
}

/* 5. Brand Driver & Diagnostic Tools Hub Section */
.brand-tools-section {
  padding: 65px 0 75px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--brand-theme-light);
  border: 1px solid var(--brand-theme-border);
  color: var(--brand-theme);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.section-head-center h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-head-center p {
  font-size: 16px;
  color: var(--text-muted);
}

.brand-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-tool-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.brand-tool-card:hover {
  border-color: var(--brand-theme);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--brand-theme-glow);
}

.brand-tool-card.featured-tool {
  border-color: var(--brand-theme);
  box-shadow: 0 6px 22px var(--brand-theme-glow);
}

.tool-featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tool-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.tool-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-theme-light);
  color: var(--brand-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1px solid var(--brand-theme-border);
}

.tool-title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.tool-version-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-version-meta span.badge-release {
  background: #f1f5f9;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.tool-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.tool-features-list {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-features-list li {
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-features-list li i {
  color: #10b981;
  font-size: 12px;
}

.btn-tool-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--brand-theme-glow);
}

.btn-tool-action:hover {
  filter: brightness(1.08);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px var(--brand-theme-glow);
}

.btn-tool-outline {
  background: #ffffff;
  border: 1.5px solid var(--brand-theme);
  color: var(--brand-theme);
  box-shadow: none;
}

.btn-tool-outline:hover {
  background: var(--brand-theme-light);
  color: var(--brand-theme-dark);
}

/* 6. Brand Common Error Code Matrix */
.brand-error-section {
  padding: 65px 0 75px;
  background: #ffffff;
}

.brand-error-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-error-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 22px 18px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-error-card:hover {
  border-color: var(--brand-theme);
  box-shadow: 0 8px 24px var(--brand-theme-glow);
  transform: translateY(-2px);
}

.error-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-theme-light);
  border: 1px solid var(--brand-theme-border);
  color: var(--brand-theme-dark);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 12px;
}

.brand-error-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.brand-error-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-fix-error {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid var(--brand-theme);
  border-radius: 6px;
  color: var(--brand-theme);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fix-error:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--brand-theme-glow);
  transform: translateY(-1px);
}

/* 7. Brand Trust & Guarantee Strip */
.brand-trust-strip {
  background: #0f172a;
  color: #ffffff;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--brand-theme);
  flex-shrink: 0;
}

.trust-text h4 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

/* 8. Modal & Wizard Dynamic Brand Theming */
body[data-brand="hp"] .wizard-sticky-brand-header {
  border-bottom: 2px solid #0096D6;
}
body[data-brand="canon"] .wizard-sticky-brand-header {
  border-bottom: 2px solid #CC0000;
}
body[data-brand="epson"] .wizard-sticky-brand-header {
  border-bottom: 2px solid #003399;
}
body[data-brand="brother"] .wizard-sticky-brand-header {
  border-bottom: 2px solid #003087;
}

body[data-brand="hp"] .scan-spinner-ring {
  border-top-color: #0096D6;
  border-right-color: #0096D6;
}
body[data-brand="canon"] .scan-spinner-ring {
  border-top-color: #CC0000;
  border-right-color: #CC0000;
}
body[data-brand="epson"] .scan-spinner-ring {
  border-top-color: #003399;
  border-right-color: #003399;
}
body[data-brand="brother"] .scan-spinner-ring {
  border-top-color: #003087;
  border-right-color: #003087;
}

body[data-brand="hp"] .scan-progress-bar-fill {
  background: linear-gradient(90deg, #0096D6, #38bdf8);
}
body[data-brand="canon"] .scan-progress-bar-fill {
  background: linear-gradient(90deg, #CC0000, #f87171);
}
body[data-brand="epson"] .scan-progress-bar-fill {
  background: linear-gradient(90deg, #003399, #60a5fa);
}
body[data-brand="brother"] .scan-progress-bar-fill {
  background: linear-gradient(90deg, #003087, #818cf8);
}

body[data-brand="hp"] .modal-printer-icon {
  color: #0096D6;
  background: #f0f9ff;
  border-color: #bae6fd;
}
body[data-brand="canon"] .modal-printer-icon {
  color: #CC0000;
  background: #fef2f2;
  border-color: #fecaca;
}
body[data-brand="epson"] .modal-printer-icon {
  color: #003399;
  background: #f0f5fc;
  border-color: #c7d7f7;
}
body[data-brand="brother"] .modal-printer-icon {
  color: #003087;
  background: #f0f4fa;
  border-color: #bfd3f2;
}

body[data-brand="hp"] .selected-printer-pill {
  color: #0096D6;
  background: #f0f9ff;
  border-color: #bae6fd;
}
body[data-brand="canon"] .selected-printer-pill {
  color: #CC0000;
  background: #fef2f2;
  border-color: #fecaca;
}
body[data-brand="epson"] .selected-printer-pill {
  color: #003399;
  background: #f0f5fc;
  border-color: #c7d7f7;
}
body[data-brand="brother"] .selected-printer-pill {
  color: #003087;
  background: #f0f4fa;
  border-color: #bfd3f2;
}

body[data-brand="hp"] .wizard-issue-card:hover {
  border-color: #0096D6;
  background: #f0f9ff;
}
body[data-brand="canon"] .wizard-issue-card:hover {
  border-color: #CC0000;
  background: #fef2f2;
}
body[data-brand="epson"] .wizard-issue-card:hover {
  border-color: #003399;
  background: #f0f5fc;
}
body[data-brand="brother"] .wizard-issue-card:hover {
  border-color: #003087;
  background: #f0f4fa;
}

body[data-brand="hp"] .wizard-opt-btn:hover {
  border-color: #0096D6;
  background: #f0f9ff;
  color: #0096D6;
}
body[data-brand="canon"] .wizard-opt-btn:hover {
  border-color: #CC0000;
  background: #fef2f2;
  color: #CC0000;
}
body[data-brand="epson"] .wizard-opt-btn:hover {
  border-color: #003399;
  background: #f0f5fc;
  color: #003399;
}
body[data-brand="brother"] .wizard-opt-btn:hover {
  border-color: #003087;
  background: #f0f4fa;
  color: #003087;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .brand-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-error-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-tools-grid,
  .brand-error-grid,
  .brand-trust-grid {
    grid-template-columns: 1fr;
  }
  .utility-center {
    display: none;
  }
  .os-banner-container {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* ==========================================================================
   DEEP AUTHENTIC BRAND IDENTITY ENGINE (HP, CANON, EPSON, BROTHER)
   Applies authentic brand palette across all elements, badges, buttons, cards,
   step numbers, CTA banners, and interactive modals.
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. HP AUTHENTIC THEME
   -------------------------------------------------------------------------- */
body[data-brand="hp"] {
  --brand-theme: #0096D6;
  --brand-theme-dark: #0076a8;
  --brand-theme-light: #f0f9ff;
  --brand-theme-subtle: #e0f2fe;
  --brand-theme-border: #bae6fd;
  --brand-theme-glow: rgba(0, 150, 214, 0.25);
  --brand-gradient: linear-gradient(135deg, #0096D6 0%, #0076a8 100%);
  --primary-color: #0096D6;
}

body[data-brand="hp"] .brand-navbar {
  border-top: 4px solid #0096D6;
}
body[data-brand="hp"] .brand-nav-support-pill {
  background: #0096D6;
  color: #ffffff;
  border-color: #0096D6;
  box-shadow: 0 3px 10px rgba(0, 150, 214, 0.3);
}
body[data-brand="hp"] .brand-nav-support-pill:hover {
  background: #0076a8;
  border-color: #0076a8;
  color: #ffffff;
}
body[data-brand="hp"] .brand-nav-support-pill strong {
  color: #ffffff;
}

body[data-brand="hp"] .brand-hero-badge {
  background: #0096D6;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 150, 214, 0.28);
}
body[data-brand="hp"] .brand-hero-badge i {
  color: #ffffff;
}
body[data-brand="hp"] .brand-hero-badge {
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}
body[data-brand="hp"] .brand-hero-badge i {
  color: #0096D6;
}
body[data-brand="hp"] .brand-checklist i {
  color: #10b981;
}
body[data-brand="hp"] .start-setup-btn {
  background: #0096D6 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 150, 214, 0.25);
  border: none;
}
body[data-brand="hp"] .start-setup-btn:hover {
  background: #007fb5 !important;
  box-shadow: 0 4px 12px rgba(0, 150, 214, 0.35);
}
body[data-brand="hp"] .printer-search input:focus {
  border-color: #0096D6;
  box-shadow: 0 0 0 3.5px rgba(0, 150, 214, 0.2);
}
body[data-brand="hp"] .model-tag:hover {
  border-color: #0096D6;
  color: #0096D6;
  background: #e0f2fe;
}
body[data-brand="hp"] .brand-floating-chip {
  border-color: #bae6fd;
}
body[data-brand="hp"] .brand-floating-chip i {
  color: #0096D6;
}
body[data-brand="hp"] .chip-status-dot {
  background: #0096D6;
  box-shadow: 0 0 0 2.5px rgba(0, 150, 214, 0.28);
}
body[data-brand="hp"] .stage-glow {
  background: radial-gradient(circle, rgba(0, 150, 214, 0.35) 0%, rgba(0, 150, 214, 0.08) 50%, transparent 75%);
}

body[data-brand="hp"] .section-tag-badge {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}
body[data-brand="hp"] .tool-icon-wrap {
  background: #f0f9ff;
  color: #0096D6;
  border-color: #bae6fd;
}
body[data-brand="hp"] .tool-features-list li i {
  color: #0096D6;
}
body[data-brand="hp"] .b-step-num {
  background: #0096D6;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 150, 214, 0.35);
}
body[data-brand="hp"] .brand-step-card:hover {
  border-color: #0096D6;
}
body[data-brand="hp"] .brand-cta-banner {
  background: linear-gradient(135deg, #071e3d 0%, #0d2c54 100%);
  border: 1.5px solid rgba(0, 150, 214, 0.4);
  box-shadow: 0 10px 30px rgba(0, 150, 214, 0.2);
}
body[data-brand="hp"] .brand-trust-strip {
  background: #051329;
  border-top: 1px solid rgba(0, 150, 214, 0.25);
}
body[data-brand="hp"] .trust-icon {
  color: #38bdf8;
  background: rgba(0, 150, 214, 0.15);
}


/* --------------------------------------------------------------------------
   B. CANON AUTHENTIC THEME
   -------------------------------------------------------------------------- */
body[data-brand="canon"] {
  --brand-theme: #CC0000;
  --brand-theme-dark: #A30000;
  --brand-theme-light: #fef2f2;
  --brand-theme-subtle: #fee2e2;
  --brand-theme-border: #fecaca;
  --brand-theme-glow: rgba(204, 0, 0, 0.25);
  --brand-gradient: linear-gradient(135deg, #CC0000 0%, #a80000 100%);
  --primary-color: #CC0000;
}

body[data-brand="canon"] .brand-navbar {
  border-top: 4px solid #CC0000;
}
body[data-brand="canon"] .brand-nav-links a:hover {
  color: #CC0000;
  background: #fef2f2;
}
body[data-brand="canon"] .brand-nav-support-pill {
  background: #CC0000;
  color: #ffffff;
  border-color: #CC0000;
  box-shadow: 0 3px 10px rgba(204, 0, 0, 0.32);
}
body[data-brand="canon"] .brand-nav-support-pill:hover {
  background: #a80000;
  border-color: #a80000;
  color: #ffffff;
}
body[data-brand="canon"] .brand-nav-support-pill strong {
  color: #ffffff;
}

body[data-brand="canon"] .brand-hero-badge {
  background: #ffffff;
  color: #c62828;
  border: 1px solid #ffcdd2;
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.08);
}
body[data-brand="canon"] .brand-hero-badge i {
  color: #d32f2f;
}
body[data-brand="canon"] .brand-checklist i {
  color: #10b981;
}
body[data-brand="canon"] .start-setup-btn {
  background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(211, 47, 47, 0.22);
}
body[data-brand="canon"] .start-setup-btn:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%) !important;
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}
body[data-brand="canon"] .printer-search input:focus {
  border-color: #e53935;
  box-shadow: 0 0 0 3.5px rgba(229, 57, 53, 0.15);
}
body[data-brand="canon"] .model-tag:hover {
  border-color: #CC0000;
  color: #CC0000;
  background: #fee2e2;
}
body[data-brand="canon"] .brand-floating-chip {
  border-color: #fecaca;
}
body[data-brand="canon"] .brand-floating-chip i {
  color: #CC0000;
}
body[data-brand="canon"] .chip-status-dot {
  background: #CC0000;
  box-shadow: 0 0 0 2.5px rgba(204, 0, 0, 0.28);
}
body[data-brand="canon"] .stage-glow {
  background: radial-gradient(circle, rgba(204, 0, 0, 0.32) 0%, rgba(204, 0, 0, 0.07) 50%, transparent 75%);
}

body[data-brand="canon"] .section-tag-badge {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}
body[data-brand="canon"] .tool-icon-wrap {
  background: #fef2f2;
  color: #CC0000;
  border-color: #fecaca;
}
body[data-brand="canon"] .tool-features-list li i {
  color: #CC0000;
}
body[data-brand="canon"] .b-step-num {
  background: #CC0000;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.35);
}
body[data-brand="canon"] .brand-step-card:hover {
  border-color: #CC0000;
}
body[data-brand="canon"] .brand-cta-banner {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  border: 1.5px solid rgba(204, 0, 0, 0.45);
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.25);
}
body[data-brand="canon"] .brand-trust-strip {
  background: #141416;
  border-top: 1px solid rgba(204, 0, 0, 0.25);
}
body[data-brand="canon"] .trust-icon {
  color: #f87171;
  background: rgba(204, 0, 0, 0.15);
}


/* --------------------------------------------------------------------------
   C. EPSON AUTHENTIC THEME
   -------------------------------------------------------------------------- */
body[data-brand="epson"] {
  --brand-theme: #003399;
  --brand-theme-dark: #002266;
  --brand-theme-light: #f0f5fc;
  --brand-theme-subtle: #e1ecfa;
  --brand-theme-border: #c7d7f7;
  --brand-theme-glow: rgba(0, 51, 153, 0.25);
  --brand-gradient: linear-gradient(135deg, #003399 0%, #002266 100%);
  --primary-color: #003399;
}

body[data-brand="epson"] .brand-navbar {
  border-top: 4px solid #003399;
}
body[data-brand="epson"] .brand-nav-links a:hover {
  color: #003399;
  background: #f0f5fc;
}
body[data-brand="epson"] .brand-nav-support-pill {
  background: #003399;
  color: #ffffff;
  border-color: #003399;
  box-shadow: 0 3px 10px rgba(0, 51, 153, 0.3);
}
body[data-brand="epson"] .brand-nav-support-pill:hover {
  background: #002266;
  border-color: #002266;
  color: #ffffff;
}
body[data-brand="epson"] .brand-nav-support-pill strong {
  color: #ffffff;
}

body[data-brand="epson"] .brand-hero-badge {
  background: #ffffff;
  color: #003399;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(0, 51, 153, 0.08);
}
body[data-brand="epson"] .brand-hero-badge i {
  color: #003399;
}
body[data-brand="epson"] .brand-checklist i {
  color: #10b981;
}
body[data-brand="epson"] .start-setup-btn {
  background: #003399 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 51, 153, 0.25);
  border: none;
}
body[data-brand="epson"] .start-setup-btn:hover {
  background: #002266 !important;
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.35);
}
body[data-brand="epson"] .printer-search input:focus {
  border-color: #003399;
  box-shadow: 0 0 0 3.5px rgba(0, 51, 153, 0.2);
}
body[data-brand="epson"] .model-tag:hover {
  border-color: #003399;
  color: #003399;
  background: #e1ecfa;
}
body[data-brand="epson"] .brand-floating-chip {
  border-color: #c7d7f7;
}
body[data-brand="epson"] .brand-floating-chip i {
  color: #003399;
}
body[data-brand="epson"] .chip-status-dot {
  background: #00a3e0;
  box-shadow: 0 0 0 2.5px rgba(0, 163, 224, 0.28);
}
body[data-brand="epson"] .stage-glow {
  background: radial-gradient(circle, rgba(0, 51, 153, 0.34) 0%, rgba(0, 51, 153, 0.08) 50%, transparent 75%);
}

body[data-brand="epson"] .section-tag-badge {
  background: #e1ecfa;
  color: #003399;
  border-color: #c7d7f7;
}
body[data-brand="epson"] .tool-icon-wrap {
  background: #f0f5fc;
  color: #003399;
  border-color: #c7d7f7;
}
body[data-brand="epson"] .tool-features-list li i {
  color: #003399;
}
body[data-brand="epson"] .b-step-num {
  background: #003399;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.35);
}
body[data-brand="epson"] .brand-step-card:hover {
  border-color: #003399;
}
body[data-brand="epson"] .brand-cta-banner {
  background: linear-gradient(135deg, #031438 0%, #092257 100%);
  border: 1.5px solid rgba(0, 51, 153, 0.4);
  box-shadow: 0 10px 30px rgba(0, 51, 153, 0.2);
}
body[data-brand="epson"] .brand-trust-strip {
  background: #030e24;
  border-top: 1px solid rgba(0, 51, 153, 0.25);
}
body[data-brand="epson"] .trust-icon {
  color: #60a5fa;
  background: rgba(0, 51, 153, 0.15);
}


/* --------------------------------------------------------------------------
   D. BROTHER AUTHENTIC THEME
   -------------------------------------------------------------------------- */
body[data-brand="brother"] {
  --brand-theme: #003087;
  --brand-theme-dark: #001f5c;
  --brand-theme-light: #f0f4fa;
  --brand-theme-subtle: #dde7f5;
  --brand-theme-border: #bfd3f2;
  --brand-theme-glow: rgba(0, 48, 135, 0.25);
  --brand-gradient: linear-gradient(135deg, #003087 0%, #001f5c 100%);
  --primary-color: #003087;
}

body[data-brand="brother"] .brand-navbar {
  border-top: 4px solid #003087;
}
body[data-brand="brother"] .brand-nav-links a:hover {
  color: #003087;
  background: #f0f4fa;
}
body[data-brand="brother"] .brand-nav-support-pill {
  background: #003087;
  color: #ffffff;
  border-color: #003087;
  box-shadow: 0 3px 10px rgba(0, 48, 135, 0.3);
}
body[data-brand="brother"] .brand-nav-support-pill:hover {
  background: #001f5c;
  border-color: #001f5c;
  color: #ffffff;
}
body[data-brand="brother"] .brand-nav-support-pill strong {
  color: #ffffff;
}

body[data-brand="brother"] .brand-hero-badge {
  background: #ffffff;
  color: #003087;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(0, 48, 135, 0.08);
}
body[data-brand="brother"] .brand-hero-badge i {
  color: #003087;
}
body[data-brand="brother"] .brand-checklist i {
  color: #10b981;
}
body[data-brand="brother"] .start-setup-btn {
  background: #003087 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 48, 135, 0.25);
  border: none;
}
body[data-brand="brother"] .start-setup-btn:hover {
  background: #001f5c !important;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.35);
}
body[data-brand="brother"] .printer-search input:focus {
  border-color: #003087;
  box-shadow: 0 0 0 3.5px rgba(0, 48, 135, 0.2);
}
body[data-brand="brother"] .model-tag:hover {
  border-color: #003087;
  color: #003087;
  background: #dde7f5;
}
body[data-brand="brother"] .brand-floating-chip {
  border-color: #bfd3f2;
}
body[data-brand="brother"] .brand-floating-chip i {
  color: #003087;
}
body[data-brand="brother"] .chip-status-dot {
  background: #003087;
  box-shadow: 0 0 0 2.5px rgba(0, 48, 135, 0.28);
}
body[data-brand="brother"] .stage-glow {
  background: radial-gradient(circle, rgba(0, 48, 135, 0.34) 0%, rgba(0, 48, 135, 0.08) 50%, transparent 75%);
}

body[data-brand="brother"] .section-tag-badge {
  background: #dde7f5;
  color: #003087;
  border-color: #bfd3f2;
}
body[data-brand="brother"] .tool-icon-wrap {
  background: #f0f4fa;
  color: #003087;
  border-color: #bfd3f2;
}
body[data-brand="brother"] .tool-features-list li i {
  color: #003087;
}
body[data-brand="brother"] .b-step-num {
  background: #003087;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.35);
}
body[data-brand="brother"] .brand-step-card:hover {
  border-color: #003087;
}
body[data-brand="brother"] .brand-cta-banner {
  background: linear-gradient(135deg, #061329 0%, #0f244a 100%);
  border: 1.5px solid rgba(0, 48, 135, 0.4);
  box-shadow: 0 10px 30px rgba(0, 48, 135, 0.2);
}
body[data-brand="brother"] .brand-trust-strip {
  background: #050f21;
  border-top: 1px solid rgba(0, 48, 135, 0.25);
}
body[data-brand="brother"] .trust-icon {
  color: #818cf8;
  background: rgba(0, 48, 135, 0.15);
}


/* --------------------------------------------------------------------------
   E. INTERACTIVE WIZARD MODAL - BRAND-SPECIFIC PALETTES
   -------------------------------------------------------------------------- */
body[data-brand="hp"] #finalCallBtn,
body[data-brand="hp"] #btnSubmitCallback {
  background: linear-gradient(135deg, #0096D6 0%, #0076a8 100%) !important;
  color: #ffffff !important;
  border: none !important;
}
body[data-brand="hp"] .verification-lock-badge {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}
body[data-brand="hp"] .sticky-verified-pill {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
body[data-brand="hp"] .call-card .f-icon {
  color: #0096D6;
}
body[data-brand="hp"] .f-phone.direct-local-phone {
  color: #0096D6;
}

body[data-brand="canon"] #finalCallBtn,
body[data-brand="canon"] #btnSubmitCallback {
  background: linear-gradient(135deg, #CC0000 0%, #a80000 100%) !important;
  color: #ffffff !important;
  border: none !important;
}
body[data-brand="canon"] .verification-lock-badge {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
body[data-brand="canon"] .sticky-verified-pill {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
body[data-brand="canon"] .call-card .f-icon {
  color: #CC0000;
}
body[data-brand="canon"] .f-phone.direct-local-phone {
  color: #CC0000;
}

body[data-brand="epson"] #finalCallBtn,
body[data-brand="epson"] #btnSubmitCallback {
  background: linear-gradient(135deg, #003399 0%, #002266 100%) !important;
  color: #ffffff !important;
  border: none !important;
}
body[data-brand="epson"] .verification-lock-badge {
  background: #f0f5fc;
  border-color: #c7d7f7;
  color: #003399;
}
body[data-brand="epson"] .sticky-verified-pill {
  background: #e1ecfa;
  color: #003399;
  border: 1px solid #c7d7f7;
}
body[data-brand="epson"] .call-card .f-icon {
  color: #003399;
}
body[data-brand="epson"] .f-phone.direct-local-phone {
  color: #003399;
}

body[data-brand="brother"] #finalCallBtn,
body[data-brand="brother"] #btnSubmitCallback {
  background: linear-gradient(135deg, #003087 0%, #001f5c 100%) !important;
  color: #ffffff !important;
  border: none !important;
}
body[data-brand="brother"] .verification-lock-badge {
  background: #f0f4fa;
  border-color: #bfd3f2;
  color: #003087;
}
body[data-brand="brother"] .sticky-verified-pill {
  background: #dde7f5;
  color: #003087;
  border: 1px solid #bfd3f2;
}
body[data-brand="brother"] .call-card .f-icon {
  color: #003087;
}
body[data-brand="brother"] .f-phone.direct-local-phone {
  color: #003087;
}


/* ==========================================================================
   BRAND MICRO-FOOTER (SLEEK SINGLE-LINE LEGAL STRIP FOR BRAND PAGES)
   ========================================================================== */
.brand-micro-footer {
  background: #090d16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 12.5px;
  color: #94a3b8;
}

.micro-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.micro-footer-copy {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.micro-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.micro-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

.micro-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.micro-footer-links .bullet {
  color: #475569;
  user-select: none;
  font-size: 10px;
}

.brand-disclaimer {
  background: #f8fafc !important;
  color: #64748b !important;
  padding: 12px 0 10px !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.brand-disclaimer p {
  max-width: 960px !important;
  margin: 0 auto !important;
  font-size: 11.5px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}

.brand-disclaimer strong {
  color: #334155 !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .micro-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .micro-footer-links {
    justify-content: center;
  }

  /* Global Mobile Responsive Master Rules */
  .container {
    padding: 0 24px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .brand-nav-links {
    display: none !important;
  }
  .brand-nav-container {
    padding: 0 24px !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }
  .brand-nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }
  .brand-nav-logo {
    max-height: 32px !important;
    max-width: 90px !important;
    width: auto !important;
  }
  .brand-nav-right-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .brand-nav-support-pill {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }
  .brand-hero-section {
    padding: 28px 0 36px !important;
    min-height: auto !important;
    overflow: hidden !important;
  }
  .brand-hero-container {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 0 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .brand-hero-content {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  .brand-hero-badge {
    font-size: 12px !important;
    padding: 6px 14px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
    display: inline-flex !important;
    max-width: 100% !important;
  }
  .brand-hero-content h1 {
    font-size: 23px !important;
    line-height: 1.32 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.2px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .brand-hero-lead {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
    color: #475569 !important;
  }
  .brand-checklist {
    gap: 10px !important;
    margin-bottom: 22px !important;
  }
  .brand-checklist li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
  }
  .brand-checklist li i {
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    font-size: 14px !important;
  }
  .brand-search-box {
    width: 100% !important;
    max-width: 100% !important;
  }
  .printer-search {
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  .printer-search input {
    height: 50px !important;
    font-size: 14px !important;
    width: 100% !important;
    padding: 0 45px 0 16px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .start-setup-btn {
    width: 100% !important;
    height: 50px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    justify-content: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .brand-quick-models {
    gap: 6px !important;
    margin-top: 14px !important;
  }
  .model-tag {
    padding: 5px 11px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
  }
  .brand-hero-media {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 10px 0 !important;
  }
  .brand-hero-media .stage-glow {
    width: 240px !important;
    height: 160px !important;
    max-width: 80% !important;
  }
  .brand-floating-chip {
    display: none !important;
  }
  .brand-printer-graphic {
    max-width: 260px !important;
    max-height: 200px !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .setup-modal {
    padding: 10px !important;
  }
  .setup-modal-box {
    padding: 24px 16px !important;
    max-height: 92vh !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .setup-modal-box h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  .modal-view-desc {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
  }
  .wizard-issue-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .issue-card {
    padding: 12px 14px !important;
  }
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .wizard-action-buttons {
    flex-direction: column-reverse !important;
    gap: 8px !important;
  }
  .wizard-action-buttons button {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   BRAND PERMISSION NOTICE BAR (Browser Prompt Guidance)
   ========================================================================== */
.brand-permission-notice-bar {
  position: relative;
  z-index: 9999;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 10px 16px;
  border-bottom: 2px solid #38bdf8;
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: slideDownBar 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownBar {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-permission-notice-bar .bpn-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-permission-notice-bar .bpn-icon {
  font-size: 17px;
  color: #38bdf8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-permission-notice-bar .bpn-text {
  flex: 1;
  color: #e2e8f0;
}

.brand-permission-notice-bar .bpn-text strong {
  color: #ffffff;
}

.brand-permission-notice-bar .bpn-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.brand-permission-notice-bar .bpn-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .brand-permission-notice-bar {
    padding: 8px 12px;
    font-size: 12px;
  }
  .brand-permission-notice-bar .bpn-inner {
    gap: 8px;
  }
}

/* ==========================================================================
   WIZARD VIEW AUTH (Step 4.5 Permission Dialog - Clean & Simple)
   ========================================================================== */
.auth-icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #2563eb;
  animation: pulseAuth 2s infinite ease-in-out;
}

@keyframes pulseAuth {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
}

.auth-problem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.auth-problem-badge i {
  color: #2563eb;
  font-size: 10px;
}

.auth-prompt-cue {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  margin: 14px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bounceCue 1.5s infinite;
}

@keyframes bounceCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.auth-prompt-cue i {
  color: #d97706;
  font-size: 14px;
}

.auth-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ==========================================================================
   CORPORATE BRAND-THEMED ACTION BUTTONS (Step 5)
   ========================================================================== */
.step5-corporate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 16px;
}

.btn-corp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}

.btn-corp i {
  font-size: 16px;
}

/* Primary Button: Solid Brand Theme Color */
.btn-corp-primary {
  background: var(--brand-theme, #2563eb);
  color: #ffffff !important;
  border-color: var(--brand-theme, #2563eb);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-corp-primary:hover {
  background: var(--brand-theme-dark, #1d4ed8);
  border-color: var(--brand-theme-dark, #1d4ed8);
  box-shadow: 0 4px 10px var(--brand-theme-glow, rgba(37, 99, 235, 0.25));
  transform: translateY(-1px);
}

.btn-corp-primary:active {
  transform: translateY(0);
}

/* Secondary Button: Clean Corporate Outlined with Brand Tint */
.btn-corp-secondary {
  background: #ffffff;
  color: var(--brand-theme, #2563eb) !important;
  border: 1.5px solid var(--brand-theme, #2563eb);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.btn-corp-secondary:hover {
  background: var(--brand-theme-light, #eff6ff);
  border-color: var(--brand-theme-dark, #1d4ed8);
  color: var(--brand-theme-dark, #1d4ed8) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.btn-corp-secondary:active {
  transform: translateY(0);
}

.btn-corp-link {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-corp-link:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* Callback Form Wrapper */
.cb-form-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  text-align: left;
}

.cb-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cb-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.cb-header-title i {
  color: var(--brand-theme, #2563eb);
}

.btn-cb-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
}

.btn-cb-close:hover {
  color: #0f172a;
}

.cb-form-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.45;
}

.step5-callback-form .form-group {
  margin-bottom: 12px;
}

.step5-callback-form .form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.step5-callback-form .form-group label .req {
  color: #ef4444;
}

.step5-callback-form .form-group label .opt {
  color: #94a3b8;
  font-weight: 480;
  font-size: 11.5px;
}

.step5-callback-form .form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  box-sizing: border-box;
  background: #ffffff;
  transition: border-color 0.2s;
}

.step5-callback-form .form-input:focus {
  outline: none;
  border-color: var(--brand-theme, #2563eb);
  box-shadow: 0 0 0 3px var(--brand-theme-glow, rgba(37, 99, 235, 0.15));
}

.cb-action-row {
  margin-top: 14px;
}


/* Corporate Guarantee & Zero-Cost Assurance Box */
.corporate-guarantee-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 13px 16px;
  margin: 16px 0 18px;
  text-align: left;
}

.cgb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #dcfce7;
}

.cgb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 20px;
}

.cgb-badge i {
  font-size: 12px;
  color: #16a34a;
}

.cgb-time {
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cgb-time i {
  color: #16a34a;
}

.cgb-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cgb-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cgb-row i {
  font-size: 14px;
  color: #16a34a;
  margin-top: 2px;
  flex-shrink: 0;
}

.cgb-row div {
  font-size: 12.5px;
  line-height: 1.45;
  color: #166534;
}

.cgb-row strong {
  color: #14532d;
  font-weight: 700;
}

.cgb-row span {
  display: block;
  color: #15803d;
  font-size: 11.5px;
}

#cbFormContainer.hidden {
  display: none !important;
}

.cb-no-charge-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-no-charge-notice i {
  color: #16a34a;
  font-size: 14px;
  flex-shrink: 0;
}

/* ==============================================
   LIVE CHAT DIAGNOSTIC TOAST NOTIFICATION
=============================================== */
.geekfix-chat-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999999;
  border-left: 4px solid #2563eb;
  transform: translateY(140%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.geekfix-chat-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.geekfix-chat-toast .toast-icon {
  font-size: 1.4rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.geekfix-chat-toast .toast-content {
  flex: 1;
}

.geekfix-chat-toast .toast-content strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 2px;
}

.geekfix-chat-toast .toast-content p {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}

.geekfix-chat-toast .toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 0 0 6px;
  line-height: 1;
  transition: color 0.15s;
}

.geekfix-chat-toast .toast-close:hover {
  color: #ffffff;
}
