/* DigitalSupport365 - Software Marketplace Exact Reference Styles */

/* Header Polish */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5edf7;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-inner {
  width: 96%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: inherit;
  flex-shrink: 0;
}

.brand img {
  height: 38px;
  width: auto;
}

.brand span b {
  font-size: 22px;
  font-weight: 800;
  color: #0066ff;
  letter-spacing: -0.5px;
}

.brand .brand-365 {
  color: #ff7700;
}

.brand span small {
  display: block;
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: -3px;
}

.mobile-toggle {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  position: relative;
}

.main-nav a:hover {
  color: #0066ff;
  background: #f1f5f9;
}

.main-nav a.active {
  color: #0066ff;
  font-weight: 600;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: #0066ff;
  border-radius: 2px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 270px;
  width: 100%;
}

.header-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
}

.header-search input:focus {
  background: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.header-search .icon {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

/* Header Contact Number & Action */
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.header-contact:hover {
  background: #eff6ff;
  border-color: #0066ff;
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.12);
  transform: translateY(-1px);
}

.header-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0066ff;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}

.header-contact:hover .header-contact-icon {
  background: #0052cc;
  transform: scale(1.06);
}

.header-contact-icon .icon {
  width: 14px;
  height: 14px;
}

.header-contact-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.header-contact-label {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-contact-number {
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.header-contact:hover .header-contact-number {
  color: #0066ff;
}

.main-nav > a.mobile-nav-contact,
.mobile-nav-contact {
  display: none !important;
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s;
}

.header-cart:hover {
  background: #f1f5f9;
  color: #0066ff;
}

.header-cart .icon {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* User Account Menu & Dropdown */
.user-menu-wrapper {
  position: relative;
  display: inline-block;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 4px 12px 4px 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.15s ease;
}

.user-menu-btn:hover,
.user-menu-btn:focus {
  border-color: #0066ff;
  background: #f1f5f9;
}

.user-menu-btn .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0066ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.user-menu-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.user-menu-label b {
  font-size: 12px;
  color: #1e293b;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-label small {
  font-size: 10px;
  color: #64748b;
}

.user-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  padding: 6px 0;
  z-index: 1050;
}

.user-dropdown-panel.show,
.user-menu-wrapper:hover .user-dropdown-panel {
  display: block;
}

.user-dropdown-header {
  padding: 10px 16px 8px;
  border-bottom: 1px solid #f1f5f9;
}

.user-dropdown-header strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
}

.user-dropdown-header small {
  display: block;
  font-size: 11px;
  color: #64748b;
  word-break: break-all;
}

.user-dropdown-links {
  padding: 4px 0;
}

.user-dropdown-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.user-dropdown-links a:hover {
  background: #f8fafc;
  color: #0066ff;
}

.user-dropdown-links a .icon {
  width: 15px;
  height: 15px;
  color: #64748b;
}

.user-dropdown-footer {
  border-top: 1px solid #f1f5f9;
  padding: 4px 0 0;
}

.dropdown-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 16px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: #ef4444;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.15s;
}

.dropdown-logout-btn:hover {
  background: #fef2f2;
}

.dropdown-logout-btn .icon {
  width: 15px;
  height: 15px;
  color: #ef4444;
}

/* Marketplace Container */
.marketplace-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

/* 50/50 Dual Hero Banner */
.dual-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-banner-card {
  height: 205px;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.business-hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #ecfeff 50%, #eff6ff 100%);
  border: 1px solid #bae6fd;
}

.ai-hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 50%, #faf5ff 100%);
  border: 1px solid #f0abfc;
}

.hero-banner-content {
  max-width: 320px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-pill-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  align-self: flex-start;
  text-transform: uppercase;
}

.hero-pill-badge.blue {
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #7dd3fc;
}

.hero-pill-badge.purple {
  background: #ffffff;
  color: #7c3aed;
  border: 1px solid #d8b4fe;
}

.hero-banner-content h2 {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.hero-banner-content p {
  font-size: 12px;
  color: #475569;
  line-height: 1.35;
  margin: 0 0 14px 0;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.hero-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.hero-cta-btn.blue {
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
}

.hero-cta-btn.purple {
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
  color: #ffffff;
}

.hero-banner-illustration {
  flex-shrink: 0;
  width: 175px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-banner-illustration svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

/* Category Filter Bar */
.category-filter-bar {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.category-filter-bar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cat-filter-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cat-filter-btn:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.cat-filter-btn.active {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

.cat-filter-btn .cat-count {
  font-size: 11px;
  opacity: 0.85;
}

/* Section Header Bar */
.market-section {
  margin-bottom: 32px;
}

.market-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.market-section-title-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.market-section-title-wrap h2 .highlight-blue {
  color: #0066ff;
}

.market-section-title-wrap h2 .highlight-purple {
  color: #7c3aed;
}

.market-section-title-wrap p {
  font-size: 12.5px;
  color: #64748b;
  margin: 3px 0 0 0;
}

.market-view-all {
  font-size: 13px;
  font-weight: 600;
  color: #0066ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.market-view-all:hover {
  background: #eff6ff;
}

/* 6-Column Marketplace Product Grid */
.six-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Product Card */
.marketplace-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.marketplace-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.08);
  border-color: #cbd5e1;
}

/* Card Artwork */
.card-art-box {
  width: 100%;
  height: 112px;
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
}

.card-art-box svg {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  color: #ffffff;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.card-badge.popular {
  background: #ef4444;
}

.card-badge.bestseller {
  background: #0284c7;
}

.card-badge.new {
  background: #10b981;
}

/* Card Body */
.card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 2px 2px;
}

.card-title-link {
  text-decoration: none;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  transition: color 0.15s;
}

.card-title-link:hover .card-title {
  color: #0066ff;
}

.card-desc {
  font-size: 11px;
  color: #64748b;
  margin: 3px 0 8px;
  line-height: 1.3;
  min-height: 28px;
}

/* Feature Bullet Points */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #334155;
  line-height: 1.2;
}

.card-features li svg {
  flex-shrink: 0;
}

/* Pricing */
.card-price-box {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  margin-bottom: 8px;
}

.price-monthly-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-monthly-val {
  font-size: 17px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: -0.3px;
}

.price-monthly-label {
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}

.price-onetime-line {
  font-size: 10.5px;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: 1px;
}

.price-onetime-line span {
  font-weight: 500;
  color: #64748b;
}

/* Card Action Buttons */
.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn-details {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #0066ff;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 6px 4px;
  text-decoration: none;
  text-align: center;
  transition: all 0.15s;
}

.btn-details:hover {
  background: #eff6ff;
  border-color: #0066ff;
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  background: #0066ff;
  border: 1px solid #0066ff;
  border-radius: 6px;
  padding: 6px 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}

.btn-cart:hover {
  background: #0052cc;
}

.btn-cart svg {
  width: 11px;
  height: 11px;
}

/* Compact Solutions Grid (AI & More Business Solutions) */
.compact-solutions-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.compact-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.compact-tool-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.compact-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.08);
  border-color: #0066ff;
}

.compact-tool-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.compact-tool-icon-box svg {
  width: 26px;
  height: 26px;
}

.compact-tool-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.compact-tool-sub {
  font-size: 9.5px;
  color: #64748b;
  margin: 2px 0 6px;
  line-height: 1.2;
}

.compact-tool-price {
  font-size: 12px;
  font-weight: 800;
  color: #dc2626;
  margin-top: auto;
}

.compact-tool-price small {
  font-size: 8.5px;
  font-weight: 500;
  color: #64748b;
}

/* Trust & Benefits Strip */
.trust-benefits-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-wrap.green {
  background: #dcfce7;
  color: #16a34a;
}

.trust-icon-wrap.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.trust-icon-wrap.orange {
  background: #ffedd5;
  color: #ea580c;
}

.trust-icon-wrap.blue {
  background: #dbeafe;
  color: #0284c7;
}

.trust-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.trust-text b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.trust-text span {
  font-size: 11px;
  color: #64748b;
}

/* Footer Styling */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-brand-col .brand span b {
  font-size: 20px;
}

.footer-tagline-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 12px 0 16px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0066ff;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.15s;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.footer-grid h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.footer-grid a {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-grid a:hover {
  color: #0066ff;
}

.footer-contact-col p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin: 0 0 8px 0;
}

.footer-contact-col p .icon {
  width: 15px;
  height: 15px;
  color: #0066ff;
}

.footer-contact-col p a {
  display: inline;
  margin: 0;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #94a3b8;
}

.footer-legal a {
  color: #64748b;
  text-decoration: none;
  margin-left: 16px;
}

.footer-legal a:hover {
  color: #0066ff;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .six-column-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .compact-solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .compact-more-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e2e8f0;
    z-index: 999;
  }
  .main-nav.open {
    display: flex;
  }
  .dual-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner-card {
    height: auto;
    min-height: 180px;
  }
  .six-column-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-benefits-strip {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .six-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compact-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compact-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-benefits-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-legal a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (max-width: 480px) {
  .six-column-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   SOFTWARE MARKETPLACE (MATCHING REFERENCE media_1792848770008_8c893c7c.jpg)
   ======================================================== */
.sw-container {
  width: 96%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 0 36px;
}

.sw-dual-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.sw-hero-banner {
  height: 180px;
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.sw-hero-banner.software {
  background: linear-gradient(135deg, #e0f2fe 0%, #ebf8ff 45%, #eff6ff 100%);
  border: 1px solid #bae6fd;
}

.sw-hero-banner.ai {
  background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 50%, #faf5ff 100%);
  border: 1px solid #f0abfc;
}

.sw-hero-content {
  max-width: 320px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sw-hero-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  align-self: flex-start;
  text-transform: uppercase;
}

.sw-hero-pill.blue {
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #7dd3fc;
}

.sw-hero-pill.purple {
  background: #ffffff;
  color: #7c3aed;
  border: 1px solid #d8b4fe;
}

.sw-hero-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 5px 0;
  letter-spacing: -0.3px;
}

.sw-hero-content h2 .text-gradient-blue {
  background: linear-gradient(90deg, #0284c7 0%, #0066ff 40%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sw-hero-content h2 .text-gradient-purple {
  background: linear-gradient(90deg, #7c3aed 0%, #9333ea 40%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sw-hero-content p {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.sw-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sw-hero-cta.blue {
  background: #0066ff;
  color: #ffffff !important;
}

.sw-hero-cta.blue:hover {
  background: #0052cc;
  transform: translateY(-1px);
}

.sw-hero-cta.purple {
  background: linear-gradient(90deg, #7c3aed 0%, #9333ea 100%);
  color: #ffffff !important;
}

.sw-hero-cta.purple:hover {
  background: linear-gradient(90deg, #6d28d9 0%, #7e22ce 100%);
  transform: translateY(-1px);
}

.sw-hero-art {
  height: 145px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  flex-shrink: 0;
  z-index: 1;
}

/* Category Filter Bar */
.sw-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sw-filter-bar::-webkit-scrollbar {
  height: 4px;
}
.sw-filter-bar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sw-filter-btn {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sw-filter-btn:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.sw-filter-btn.active {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

/* Product Grid - 4 Columns on Standard Desktop */
.sw-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Individual Product Card */
.sw-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.sw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.08);
  border-color: #cbd5e1;
}

/* Image Container */
.sw-art-top {
  position: relative;
  width: 100%;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 8px;
  background: transparent;
}

.sw-art-top img {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Badges */
.sw-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  color: #ffffff;
  text-transform: capitalize;
  z-index: 3;
  letter-spacing: 0.3px;
  line-height: 1;
}
.sw-badge.popular { background: #ff5a1f; }
.sw-badge.bestseller { background: #1a73e8; }
.sw-badge.new { background: #10b981; }

/* Card Content Stack */
.sw-card-main {
  display: flex;
  flex-direction: column;
}

.sw-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.sw-card-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

/* 2-Column Features Grid */
.sw-card-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
  min-width: 0;
}

.sw-card-checks li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #334155;
  line-height: 1.2;
  letter-spacing: -0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.sw-check-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Card Bottom Container pinned to bottom */
.sw-card-bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #f1f5f9;
}

/* Pricing Row */
.sw-card-price-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sw-price-monthly {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 20px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
}

.sw-price-monthly small {
  font-size: 11px;
  font-weight: 600;
  color: #ef4444;
}

.sw-price-onetime {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.1;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.sw-price-onetime small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

/* Action Buttons */
.sw-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.sw-btn-details {
  flex: 1 1 0;
  min-width: 0;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #0066ff !important;
  background: #ffffff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  padding: 0 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sw-btn-details:hover {
  background: #eff6ff;
  border-color: #0066ff;
  color: #0052cc !important;
}

.sw-card-actions form {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.sw-btn-cart {
  height: 38px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #0066ff;
  border: none;
  border-radius: 8px;
  padding: 0 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.sw-btn-cart:hover {
  background: #0052cc;
}

.sw-btn-cart svg {
  width: 14px;
  height: 14px;
}

/* Trust Benefits Strip */
.sw-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sw-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sw-trust-icon.green { background: #dcfce7; color: #16a34a; }
.sw-trust-icon.purple { background: #f3e8ff; color: #9333ea; }
.sw-trust-icon.orange { background: #ffedd5; color: #ea580c; }
.sw-trust-icon.yellow { background: #fef3c7; color: #d97706; }

.sw-trust-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.sw-trust-text small {
  display: block;
  font-size: 11px;
  color: #64748b;
}

/* ========================================================
   AI TOOLS MARKETPLACE (EXACT REPRODUCTION OF Ai-tools .png)
   ======================================================== */
.ai-container {
  width: 96%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 14px 0 40px;
}

.ai-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}
.ai-breadcrumb a {
  color: #0066ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ai-breadcrumb span.sep {
  color: #94a3b8;
  font-size: 11px;
}
.ai-breadcrumb span.current {
  color: #0f172a;
  font-weight: 600;
}

.ai-hero-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 45%, #eff6ff 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 20px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.ai-hero-left {
  max-width: 520px;
  z-index: 2;
}

.ai-hero-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #1e293b;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ai-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.ai-hero-title .text-blue {
  color: #0066ff;
}

.ai-hero-title .gradient-orange {
  background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-hero-sub {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.ai-category-bar,
.ai-hero-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.ai-filter-btn {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ai-filter-btn:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.ai-filter-btn.active {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

.ai-hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
}

.ai-hero-art {
  height: 135px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.ai-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ai-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.08);
  border-color: #93c5fd;
}

.ai-card-art {
  width: 100%;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  margin-bottom: 10px;
}

.ai-card-art img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ai-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.ai-card-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
  margin: 0 0 10px 0;
  min-height: 32px;
}

.ai-card-price {
  font-size: 15px;
  font-weight: 800;
  color: #ef4444;
  margin-bottom: 10px;
  line-height: 1;
}

.ai-card-price small {
  font-size: 10.5px;
  font-weight: 600;
  color: #ef4444;
}

.ai-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-btn-details {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #0066ff !important;
  background: #ffffff;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  padding: 7px 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ai-btn-details:hover {
  background: #eff6ff;
  border-color: #0066ff;
}

.ai-btn-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: #0066ff;
  border: none;
  border-radius: 6px;
  padding: 7px 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.ai-btn-cart:hover {
  background: #0052cc;
}

.ai-btn-cart svg {
  width: 13px;
  height: 13px;
}

/* Premium Logo & Brand Styling */
.brand img, .brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 102, 255, 0.22);
  flex-shrink: 0;
}

/* AI Pricing Row - Side by Side (Matching Software Cards) */
.ai-card-price-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-price-monthly {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 16px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1.1;
  white-space: nowrap;
}

.ai-price-monthly small {
  font-size: 11px;
  font-weight: 600;
  color: #ef4444;
}

.ai-price-onetime {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.1;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.ai-price-onetime small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #0284c7;
  margin-top: 2px;
}


/* 1024px to 1180px compact desktop optimization */
@media (max-width: 1180px) and (min-width: 993px) {
  .sw-product-grid {
    gap: 12px;
  }
  .sw-card {
    padding: 12px 10px 12px;
  }
  .sw-card-title {
    font-size: 15px;
  }
  .sw-card-sub {
    font-size: 11.5px;
  }
  .sw-card-checks li {
    font-size: 10.5px;
    gap: 3px;
  }
  .sw-price-monthly {
    font-size: 17px;
  }
  .sw-price-monthly small {
    font-size: 10px;
  }
  .sw-price-onetime {
    font-size: 15px;
  }
  .sw-price-onetime small {
    font-size: 9.5px;
  }
  .sw-btn-details, .sw-btn-cart {
    height: 36px;
    font-size: 11px;
  }
}

/* Responsive Media Queries for Modern Viewports */
@media (max-width: 1200px) {
  .sw-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ai-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .sw-dual-hero {
    grid-template-columns: 1fr;
  }
  .sw-hero-banner {
    min-height: auto;
    padding: 20px;
  }
  .sw-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .ai-hero-banner {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
  .ai-hero-right {
    width: 100%;
    justify-content: center;
  }
  .ai-hero-art {
    max-width: 100%;
    height: auto;
  }
  .sw-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .sw-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ai-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sw-card, .ai-card {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .sw-product-grid {
    grid-template-columns: 1fr;
  }
  .ai-tools-grid {
    grid-template-columns: 1fr;
  }
  .sw-trust-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Extra-wide desktop (6 columns where screen width permits) */
@media (min-width: 1600px) {
  .sw-container {
    max-width: 1720px;
  }
  .sw-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* DS365 Software Marketplace - Verified Complete Uncut Illustrations v1793088000 */


/* Header Contact & Navigation Refinements */
@media (max-width: 1280px) and (min-width: 993px) {
  .header-inner {
    gap: 12px;
  }
  .main-nav {
    gap: 2px;
  }
  .main-nav a {
    padding: 6px 9px;
    font-size: 13px;
  }
  .header-search {
    max-width: 190px;
  }
  .header-contact-label {
    display: none;
  }
  .header-contact {
    padding: 4px 10px 4px 5px;
    gap: 6px;
  }
  .header-contact-number {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .main-nav.open > .mobile-nav-contact {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 11px 16px;
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    color: #0066ff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 102, 255, 0.08);
  }
  .mobile-nav-contact .header-contact-icon {
    width: 26px;
    height: 26px;
  }
  .mobile-nav-contact .header-contact-icon .icon {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 640px) {
  .header-contact-text {
    display: none;
  }
  .header-contact {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    justify-content: center;
  }
  .header-contact-icon {
    width: 32px;
    height: 32px;
  }
  .header-contact-icon .icon {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .header-search {
    max-width: 140px;
  }
  .header-inner {
    gap: 8px;
  }
}
