/* ==========================================================================
   Modern Custom Styles for Qrcodegeneratr
   Modern SaaS Aesthetic, High Responsiveness, Polished UX
   ========================================================================== */

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --accent-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --hero-gradient: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #475569;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 14px 34px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Typography */
html {
  scroll-behavior: smooth;
}

body.modern-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  background: #f8fafc !important;
  color: var(--text-main) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Modern Sticky Header */
.modern-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03) !important;
  padding: 10px 0 !important;
  transition: var(--transition);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-badge .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-badge .brand-text {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin: 0;
}

.brand-badge .brand-text span {
  color: var(--primary);
}

.modern-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-nav-links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px !important;
  color: var(--text-sub) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  transition: var(--transition);
  text-decoration: none !important;
}

.modern-nav-links li a:hover,
.modern-nav-links li a.active {
  color: var(--primary) !important;
  background: #eff6ff;
}

/* ==============================================================
   INDUSTRIES MEGA MENU DROPDOWN (Matches user reference design)
   ============================================================== */
.nav-item-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.nav-dropdown-toggle:hover {
  color: var(--primary);
  background: #eff6ff;
}

.nav-item-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: #0f172a !important;
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 1px #2563eb;
  border-radius: 6px;
}

.nav-dropdown-caret {
  font-size: 12px;
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.industries-megamenu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 530px;
  max-width: 90vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  padding: 22px 24px 20px 24px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.nav-item-dropdown.is-open .industries-megamenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.industries-megamenu-heading {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.industries-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}

.industry-menu-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  background: transparent;
}

.industry-menu-option:hover {
  background-color: #f8fafc;
}

.industry-option-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-option-icon.icon-restaurants {
  color: #16a34a;
}

.industry-option-icon.icon-realestate {
  color: #f59e0b;
}

.industry-option-icon.icon-education {
  color: #2563eb;
}

.industry-option-icon.icon-events {
  color: #7c3aed;
}

.industry-option-content {
  flex: 1;
}

.industry-option-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
  transition: color 0.15s ease;
}

.industry-menu-option:hover .industry-option-title {
  color: var(--primary);
}

.industry-option-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.35;
}

/* Highlight animation on target industry card when navigated */
.industry-card-highlight {
  animation: industryCardPulse 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes industryCardPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.2);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    transform: scale(1);
  }
}

/* Mobile drawer adaptation */
@media (max-width: 991.98px) {
  .industries-megamenu-panel.mobile-panel {
    position: static;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item-dropdown.is-open .industries-megamenu-panel.mobile-panel {
    display: block;
  }
  .industries-megamenu-panel.mobile-panel .industries-megamenu-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


.btn-header-cta {
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28) !important;
  transition: var(--transition) !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.38) !important;
  color: #fff !important;
}

/* Mobile Toggler */
.modern-toggler {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  display: none;
  font-size: 18px;
  color: var(--text-main);
  transition: var(--transition);
}

@media (max-width: 991px) {
  .modern-toggler {
    display: inline-block;
  }
  .modern-nav-collapse {
    background: #ffffff;
    border-radius: var(--radius-md);
    margin-top: 10px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
  }
  .modern-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .modern-nav-links li {
    width: 100%;
  }
  .modern-nav-links li a {
    width: 100%;
    padding: 9px 12px !important;
  }
  .nav-header-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    width: 100%;
  }
  .btn-header-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Hero Section Spacing & Smoothness */
.hero-wrapper {
  background: var(--hero-gradient);
  padding: 38px 0 20px 0;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.hero-pill-badge i {
  color: #3b82f6;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-title .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 20px auto;
  line-height: 1.55;
}

/* Social Proof Strip - Modern, Highly Visible & Clickable */
.social-proof-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 8px 18px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  margin: 0 auto 26px auto;
  max-width: 100%;
  transition: all 0.25s ease;
}

.social-proof-strip:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.1);
}

.proof-label-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.proof-label-btn:hover {
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
}

.proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.proof-label-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.proof-label-btn:hover .proof-label-icon {
  transform: translateX(3px);
  color: #ffffff;
}

.proof-logos-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.proof-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.proof-logo-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  text-decoration: none;
}

.proof-logo-item img {
  height: 28px;
  max-height: 30px;
  width: auto;
  max-width: 105px;
  object-fit: contain;
  opacity: 0.95;
  filter: none; /* Authentic clear colors */
  transition: all 0.2s ease;
}

.proof-logo-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* Quick Industry Chips */
.proof-industries-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.proof-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.proof-pill-tag i {
  font-size: 11px;
  color: var(--primary);
}

.proof-pill-tag:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.proof-pill-tag:hover i {
  color: #ffffff;
}

.proof-pill-more {
  background: transparent;
  border-color: transparent;
  color: var(--primary);
  padding: 4px 6px;
}

.proof-pill-more:hover {
  background: #eff6ff;
  color: var(--primary);
  border-color: #bfdbfe;
}

/* Studio Workspace Container */
#qr-studio {
  padding-top: 0;
  padding-bottom: 0;
}

.qr-studio-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: 4px;
  margin-bottom: 48px;
  transition: box-shadow 0.25s ease;
}

/* ==============================================================
   ALL-VISIBLE MODERN QR TYPE SELECTOR GRID
   ============================================================== */
.qr-tab-nav-wrapper {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}

.qr-type-selector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qr-type-selector-grid .nav-item {
  margin: 0;
  min-width: 0;
}

.qr-type-selector-grid .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 42px;
  padding: 5px 10px !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub) !important;
  background: #ffffff;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  user-select: none;
  white-space: nowrap;
}

.qr-type-selector-grid .nav-link i {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.qr-type-selector-grid .nav-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1 !important;
  color: var(--text-main) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.qr-type-selector-grid .nav-link:hover i {
  transform: scale(1.12);
}

.qr-type-selector-grid .nav-link.active {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #3b82f6 !important;
  border-width: 2px !important;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.22) !important;
  transform: translateY(-1px);
}

.qr-type-selector-grid .nav-link.active i {
  transform: scale(1.18);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

/* ==============================================================
   OFFICIAL BRAND & LOGO COLORS FOR QR TYPE TABS
   ============================================================== */
/* 1. URL / Website: Vibrant Digital Blue */
.qr-type-selector-grid .nav-link i.fa-link {
  color: #2563eb !important;
}

/* 2. Plain Text: Slate Dark */
.qr-type-selector-grid .nav-link i.fa-file-text-o {
  color: #475569 !important;
}

/* 3. Digital vCard: Professional Teal Contact Badge */
.qr-type-selector-grid .nav-link i.fa-address-card-o {
  color: #0d9488 !important;
}

/* 4. Wi-Fi: Official Wi-Fi Sky Blue */
.qr-type-selector-grid .nav-link i.fa-wifi {
  color: #0284c7 !important;
}

/* 5. WhatsApp: Official WhatsApp Green */
.qr-type-selector-grid .nav-link i.fa-whatsapp {
  color: #25d366 !important;
}

/* 6. Email: Official Gmail Red */
.qr-type-selector-grid .nav-link i.fa-envelope-o {
  color: #ea4335 !important;
}

/* 7. Apps: Google Play / Android Green */
.qr-type-selector-grid .nav-link i.fa-mobile {
  color: #10b981 !important;
  font-size: 16px;
}

/* 8. Instagram: Official Instagram Pink/Magenta Gradient */
.qr-type-selector-grid .nav-link i.fa-instagram {
  color: #e1306c !important;
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 9. Facebook: Official Facebook Blue */
.qr-type-selector-grid .nav-link i.fa-facebook-square {
  color: #1877f2 !important;
}

/* 10. YouTube: Official YouTube Red */
.qr-type-selector-grid .nav-link i.fa-youtube-play {
  color: #ff0000 !important;
}

/* 11. Phone: Call Button Green */
.qr-type-selector-grid .nav-link i.fa-phone {
  color: #16a34a !important;
}

/* 12. File / PDF: Adobe Acrobat Red */
.qr-type-selector-grid .nav-link i.fa-file-pdf-o {
  color: #e11d48 !important;
}

/* Tablet: 4 columns x 3 rows - 100% visible */
@media (max-width: 991px) {
  .qr-type-selector-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

/* Mobile: 3 columns x 4 rows - Every single type is visible! */
@media (max-width: 767px) {
  .qr-tab-nav-wrapper {
    padding: 12px 10px;
  }
  .qr-type-selector-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .qr-type-selector-grid .nav-link {
    height: 40px;
    padding: 4px 6px !important;
    font-size: 12px;
    gap: 5px;
  }
  .qr-type-selector-grid .nav-link i {
    font-size: 13px;
  }
}

/* Small mobile: 3 columns, clean compact layout */
@media (max-width: 480px) {
  .qr-type-selector-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .qr-type-selector-grid .nav-link {
    height: 38px;
    padding: 2px 4px !important;
    font-size: 11px;
    gap: 4px;
  }
  .qr-type-selector-grid .nav-link i {
    font-size: 12px;
  }
}

/* Studio Workspace Columns */
.studio-workspace-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.qr-studio-card .studio-content-col,
.studio-workspace-row > .studio-content-col,
.studio-content-col {
  padding: 42px 40px 48px 40px !important;
  box-sizing: border-box !important;
}

.qr-studio-card .studio-preview-col,
.studio-workspace-row > .studio-preview-col,
.studio-preview-col {
  background: #fafbfc;
  border-left: 1px solid var(--border);
  padding: 42px 32px !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box !important;
}

/* Smooth Tab Transitions */
.tab-content > .tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content > .tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Form Styles */
.form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title i {
  color: var(--primary);
}

.modern-form-group {
  margin-bottom: 16px;
}

.modern-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
  display: block;
}

.modern-form-group label span.opt {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11.5px;
}

.modern-input,
.modern-textarea,
.modern-select {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.modern-input:focus,
.modern-textarea:focus,
.modern-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.14);
}

.modern-input::placeholder,
.modern-textarea::placeholder {
  color: #94a3b8;
}

.modern-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Accordion Customization Panel */
.design-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.design-accordion-header {
  background: #f8fafc;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.design-accordion-header.active {
  border-bottom-color: var(--border);
  background: #eff6ff;
}

.design-accordion-header h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.design-accordion-header h5 i {
  color: var(--primary);
}

.design-accordion-body {
  padding: 22px 18px;
  background: #ffffff;
}

/* Option Chips (Shapes & Styles) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.option-chip {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #ffffff;
  user-select: none;
}

.option-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-1px);
}

.option-chip.active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.16);
}

.option-chip .chip-icon {
  font-size: 16px;
  margin-bottom: 4px;
  display: block;
}

.option-chip span {
  font-size: 12px;
  display: block;
}

/* Color Palette Picker */
.palette-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  transition: var(--transition);
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  box-shadow: 0 0 0 2.5px var(--primary);
}

.custom-color-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-color-control input[type="color"] {
  -webkit-appearance: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 36px;
  cursor: pointer;
  background: none;
  padding: 2px;
}

.custom-color-control input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.custom-color-control input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 5px;
}

/* Preset Icons Grid */
.preset-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.preset-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-sub);
}

.preset-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f7ff;
  transform: translateY(-1px);
}

.preset-icon-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.28);
}

/* Sticky Preview Card */
.sticky-preview-card {
  position: sticky;
  top: 88px;
  text-align: center;
}

.preview-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.preview-canvas-box {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  width: 100%;
  max-width: 290px;
  margin: 0 auto 16px auto;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-canvas-box:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.preview-canvas-box #qr-code {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.preview-canvas-box #qr-code svg,
.preview-canvas-box #qr-code canvas {
  max-width: 100%;
  height: auto !important;
  border-radius: 6px;
}

/* Download Action Buttons */
.download-action-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
}

.btn-download-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none !important;
}

.btn-download-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42);
  color: #ffffff !important;
}

.btn-download-primary:active {
  transform: scale(0.98);
}

.btn-download-secondary {
  background: #ffffff;
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none !important;
}

.btn-download-secondary:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
}

.btn-download-secondary:active {
  transform: scale(0.98);
}

.download-format-row {
  display: flex;
  gap: 8px;
}

.download-format-row .btn-download-secondary {
  flex: 1;
}

.quick-scan-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 12px;
  text-decoration: none !important;
  transition: var(--transition);
}

.quick-scan-link:hover {
  text-decoration: underline !important;
  color: var(--primary-hover);
}

/* Landing Section Dividers & Balanced Spacing */
.landing-section {
  padding: 52px 0;
  position: relative;
}

.landing-section.alt-bg {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.section-heading-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.section-heading-wrap h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-heading-wrap p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Smooth Gutters for Bootstrap 4 Grid */
.row-smooth-gutter {
  margin-left: -12px;
  margin-right: -12px;
}

.row-smooth-gutter > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
}

/* 3-Step Guide Cards */
.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.step-number {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
}

.step-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.12);
}

.step-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Feature Cards Grid */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-card .feat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Use Case Cards (Legacy) */
.usecase-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.usecase-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.usecase-card .uc-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
}

.usecase-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.usecase-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==============================================================
   PREMIUM INDUSTRIES SECTION (TQRCG Inspired)
   ============================================================== */
.industry-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: transparent;
  transition: background 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* Dynamic Accent Top Line on Hover */
.industry-card.ind-retail:hover::before { background: #2563eb; }
.industry-card.ind-realestate:hover::before { background: #059669; }
.industry-card.ind-healthcare:hover::before { background: #0284c7; }
.industry-card.ind-education:hover::before { background: #7c3aed; }
.industry-card.ind-events:hover::before { background: #d97706; }
.industry-card.ind-hospitality:hover::before { background: #e11d48; }

.industry-header {
  margin-bottom: 4px;
}

.industry-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-badge-icon {
  transform: scale(1.08);
}

/* Badge Color Themes */
.ind-retail .industry-badge-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.ind-realestate .industry-badge-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.ind-healthcare .industry-badge-icon {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.ind-education .industry-badge-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.ind-events .industry-badge-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ind-hospitality .industry-badge-icon {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.industry-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.industry-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 42px;
}

.industry-usecases {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.industry-usecases li {
  font-size: 13.5px;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.industry-usecases li a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s ease;
}

.industry-usecases li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.industry-usecases li .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.industry-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

.btn-industry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--text-main);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-industry-cta i {
  transition: transform 0.2s ease;
  color: var(--text-muted);
  font-size: 12.5px;
}

.btn-industry-cta:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-industry-cta:hover i {
  transform: translateX(4px);
  color: #ffffff;
}

/* Studio Pulse highlight */
@keyframes studioPulseAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.studio-highlight-pulse {
  animation: studioPulseAnim 1.2s ease-out 1;
}

.input-focus-pulse {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25) !important;
  transition: box-shadow 0.3s ease;
}

/* FAQ Accordion */
.modern-faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.modern-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.modern-faq-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
  transition: var(--transition);
}

.modern-faq-header:hover {
  background: #f8fafc;
}

.modern-faq-header i {
  color: var(--text-muted);
  transition: transform 0.22s ease;
}

.modern-faq-header.active i {
  transform: rotate(180deg);
  color: var(--primary);
}

.modern-faq-body {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modern Footer */
.modern-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 52px 0 20px 0;
  border-top: 1px solid #1e293b;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand h4 span {
  color: var(--primary);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 9px;
}

.footer-links-list li a {
  color: #94a3b8 !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: var(--transition);
}

.footer-links-list li a:hover {
  color: #ffffff !important;
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Mobile Responsiveness Padding Tweaks */
@media (max-width: 991px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .qr-studio-card .studio-content-col,
  .studio-workspace-row > .studio-content-col,
  .studio-content-col {
    padding: 32px 28px !important;
  }
  .qr-studio-card .studio-preview-col,
  .studio-workspace-row > .studio-preview-col,
  .studio-preview-col {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 32px 24px !important;
  }
  .sticky-preview-card {
    position: static;
  }
  .preview-canvas-box {
    max-width: 270px;
    min-height: 250px;
    padding: 14px;
  }
  .download-action-group {
    max-width: 270px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-wrapper {
    padding: 28px 0 16px 0;
  }
  .hero-title {
    font-size: 25px;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .landing-section {
    padding: 38px 0;
  }
  .section-heading-wrap {
    margin-bottom: 24px;
  }
  .section-heading-wrap h2 {
    font-size: 23px;
  }
  .qr-studio-card .studio-content-col,
  .studio-workspace-row > .studio-content-col,
  .studio-content-col {
    padding: 24px 18px !important;
  }
  .qr-studio-card .studio-preview-col,
  .studio-workspace-row > .studio-preview-col,
  .studio-preview-col {
    padding: 24px 16px !important;
  }
  .preview-canvas-box {
    max-width: 240px;
    min-height: 230px;
    padding: 10px;
    margin-bottom: 14px;
  }
  .download-action-group {
    max-width: 240px;
  }
  .industry-card {
    padding: 24px 20px;
  }
  .industry-desc {
    min-height: auto;
    margin-bottom: 16px;
  }
  .industry-title {
    font-size: 19px;
  }
  .industry-usecases {
    margin-bottom: 20px;
    gap: 10px;
  }
  .social-proof-strip {
    border-radius: var(--radius-md);
    padding: 12px 14px;
    gap: 10px;
    width: 100%;
  }
  .proof-label-btn {
    width: 100%;
    justify-content: center;
  }
  .proof-logos-group {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .proof-logo-item img {
    height: 24px;
    max-width: 85px;
  }
}

/* ==============================================================
   AUTH / LOGIN PAGE STYLES
   ============================================================== */
.auth-page-wrapper {
  padding: 60px 0 80px 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  background: var(--surface-subtle);
}

.auth-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.auth-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
}

.btn-google-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-google-sso:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.1);
  text-decoration: none;
}

.btn-google-sso svg {
  flex-shrink: 0;
}

.auth-features-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  border-top: 1px dashed var(--border);
  padding-top: 20px;
}

.auth-features-list li {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 9px;
}

.auth-features-list li i {
  color: #10b981;
  font-size: 14px;
}

.auth-footer-terms {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 20px;
}

.auth-footer-terms a {
  color: var(--primary);
  text-decoration: underline;
}

/* ==============================================================
   DASHBOARD / PROFILE STYLES
   ============================================================== */
.dashboard-wrapper {
  padding: 40px 0 70px 0;
  background: var(--surface-subtle);
  min-height: calc(100vh - 180px);
}

.dashboard-header-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.dashboard-user-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dashboard-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--primary);
  object-fit: cover;
}

.dashboard-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.dashboard-user-details h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.dashboard-user-details p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dashboard-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-badge.active-plan {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.tier-badge.trial-plan {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.tier-badge.canceled-plan {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.dashboard-stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.stat-icon-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.stat-icon-green { background: rgba(16, 185, 129, 0.1); color: #059669; }
.stat-icon-purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }

.dashboard-main-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.dashboard-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
  padding: 0 16px;
  overflow-x: auto;
}

.dashboard-tabs-nav .nav-link {
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dashboard-tabs-nav .nav-link:hover {
  color: var(--primary);
}

.dashboard-tabs-nav .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.dashboard-tab-body {
  padding: 32px;
}

.info-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.info-table-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-muted);
  font-weight: 500;
}

.info-value {
  color: var(--text-main);
  font-weight: 600;
}

/* ==============================================================
   SUBSCRIPTION CHECKOUT STYLES
   ============================================================== */
.checkout-wrapper {
  padding: 50px 0 80px 0;
  background: var(--surface-subtle);
  min-height: calc(100vh - 180px);
}

.checkout-plan-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.checkout-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.stripe-field-box {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 46px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stripe-field-box.StripeElement--focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.14);
}

.stripe-field-box.StripeElement--invalid {
  border-color: #ef4444;
}

.accepted-cards-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 22px;
  margin-top: 14px;
}

.checkout-plan-select {
  height: 48px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background-color: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-plan-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.14);
}


