/* DigitalSupport365 - Home Page Pixel-Accurate Styles */

.home-container {
  width: 96%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 0 40px;
}

/* 1. Hero Section */
.home-hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0 20px;
  position: relative;
}

.home-hero-left {
  flex: 0 0 46%;
  max-width: 48%;
  min-width: 0;
}

.home-hero-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #1e293b;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.home-hero-title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 850;
  color: #0b132a;
  margin-bottom: 12px;
  letter-spacing: -0.6px;
}

.home-hero-title .gradient-span {
  background: linear-gradient(90deg, #0284c7 0%, #0066ff 35%, #9333ea 70%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 18px;
  max-width: 520px;
}

.home-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.home-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.home-trust-pill .icon {
  width: 13px;
  height: 13px;
}
.home-trust-pill.green .icon { color: #16a34a; }
.home-trust-pill.blue .icon { color: #0284c7; }
.home-trust-pill.pink .icon { color: #d946ef; }
.home-trust-pill.navy .icon { color: #3b82f6; }

.home-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.btn-hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #0066ff 0%, #7c3aed 50%, #ec4899 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 26px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hero-explore:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-hero-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #0066ff !important;
  border: 1.5px solid #0066ff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 26px;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-hero-demo:hover {
  background: #eff6ff;
}

.home-stat-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.home-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.home-stat-item strong {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 800;
}

.home-stat-item .stars {
  color: #f59e0b;
  font-size: 11px;
}

.home-hero-right {
  flex: 0 0 52%;
  max-width: 53%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.home-hero-img {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Section Shared Headers */
.home-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 34px 0 16px;
}

.home-section-title-wrap h3 {
  font-size: 24px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.home-section-title-wrap p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.home-section-title-wrap .title-software { color: #0284c7; }
.home-section-title-wrap .title-solutions { color: #d946ef; }
.home-section-title-wrap .title-ai { color: #0066ff; }
.home-section-title-wrap .title-tools { color: #f97316; }

.home-section-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0066ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.15s;
}

.home-section-link:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

/* 2. Featured 5-Column Grid */
.home-five-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.home-software-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.home-software-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.08);
}

.home-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  color: #ffffff;
  z-index: 2;
  text-transform: capitalize;
}

.home-card-badge.popular { background: #ef4444; }
.home-card-badge.bestseller { background: #0066ff; }
.home-card-badge.new { background: #10b981; }

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

.home-card-art-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-card-title {
  font-size: 15px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 3px;
  line-height: 1.2;
}

.home-card-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 30px;
}

.home-card-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.home-card-checks li {
  font-size: 10.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.home-card-checks li .icon {
  width: 12px;
  height: 12px;
  color: #16a34a;
  flex-shrink: 0;
}

.home-card-prices {
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
}

.home-card-monthly {
  font-size: 18px;
  font-weight: 850;
  color: #ef4444;
  line-height: 1;
  white-space: nowrap;
}

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

.home-card-onetime {
  font-size: 11.5px;
  font-weight: 700;
  color: #0044aa;
  white-space: nowrap;
}

.home-card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.home-card-actions a.btn-details {
  flex: 1;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 700;
  color: #0066ff;
  text-decoration: none;
  background: #ffffff;
  transition: all 0.15s;
}

.home-card-actions a.btn-details:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.home-card-actions button.btn-cart {
  flex: 1.15;
  background: #0066ff;
  border: 1px solid #0066ff;
  border-radius: 7px;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s;
}

.home-card-actions button.btn-cart:hover {
  background: #0052cc;
}

.home-card-actions button.btn-cart .icon {
  width: 12px;
  height: 12px;
}

/* 3. Industry AI Tools 8-Column Row */
.home-eight-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

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

.home-mini-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.08);
  border-color: #93c5fd;
}

.home-mini-tool-icon {
  width: 100%;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.home-mini-tool-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-mini-tool-name {
  font-size: 11.5px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-mini-tool-price {
  font-size: 12.5px;
  font-weight: 850;
  color: #ef4444;
  line-height: 1.1;
}

.home-mini-tool-price small {
  font-size: 9px;
  font-weight: 600;
  color: #ef4444;
}

.home-mini-tool-setup {
  font-size: 9.5px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 2px 6px;
  margin-top: 4px;
  white-space: nowrap;
}

/* 4. More Business Solutions 6-Column Row (Horizontal Cards) */
.home-six-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.home-solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.home-solution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: #93c5fd;
}

.home-solution-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.home-solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-solution-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.home-solution-name {
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-solution-sub {
  font-size: 9px;
  color: #64748b;
  line-height: 1.2;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-solution-price {
  font-size: 12px;
  font-weight: 850;
  color: #ef4444;
  line-height: 1;
}

.home-solution-price small {
  font-size: 9px;
  font-weight: 600;
  color: #ef4444;
}

/* 5. How Digital Support 365 Works? */
.home-works-section {
  background: linear-gradient(135deg, #09122c 0%, #0d1e4c 50%, #0f172a 100%);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 38px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.home-works-header {
  text-align: center;
  margin-bottom: 22px;
}

.home-works-header h3 {
  font-size: 22px;
  font-weight: 850;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.home-works-header h3 .title-365 { color: #10b981; }
.home-works-header h3 .title-works { color: #ec4899; }

.home-works-header p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.home-works-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  position: relative;
}

.home-step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.home-step-badge.blue { background: #0066ff; }
.home-step-badge.purple { background: #9333ea; }
.home-step-badge.green { background: #10b981; }
.home-step-badge.orange { background: #f97316; }

.home-step-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-step-icon .icon {
  width: 18px;
  height: 18px;
}

.home-step-icon.blue { color: #0066ff; }
.home-step-icon.purple { color: #9333ea; }
.home-step-icon.green { color: #10b981; }
.home-step-icon.orange { color: #f97316; }

.home-step-content {
  flex: 1;
  min-width: 0;
}

.home-step-content h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.home-step-content p {
  font-size: 10px;
  color: #64748b;
  line-height: 1.3;
  margin: 0;
}

.home-step-arrow {
  font-size: 18px;
  font-weight: 400;
  color: #cbd5e1;
  margin-left: auto;
  flex-shrink: 0;
}

/* 6. Need a Custom Solution or Expert Advice? */
.home-advice-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 30%, #7c3aed 65%, #ec4899 100%);
  border-radius: 16px;
  padding: 12px 24px 0;
  margin: 34px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.home-advice-left {
  flex-shrink: 0;
  width: 135px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
}

.home-advice-left img {
  width: 100%;
  height: auto;
  display: block;
}

.home-advice-center {
  flex: 1;
  min-width: 0;
  padding-bottom: 16px;
}

.home-advice-center h3 {
  font-size: 19px;
  font-weight: 850;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.home-advice-center h3 .advice-highlight {
  color: #67e8f9;
}

.home-advice-center p {
  font-size: 12.5px;
  color: #f1f5f9;
  margin: 0 0 12px;
}

.home-advice-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-advice-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}

.home-advice-badge .icon {
  width: 12px;
  height: 12px;
}

.home-advice-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
  padding-bottom: 16px;
}

.btn-advice-quote {
  background: #ffffff;
  color: #0066ff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 22px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s;
}

.btn-advice-quote:hover {
  transform: translateY(-1px);
}

.home-advice-phone-pill {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
}

.home-advice-phone-pill .whatsapp-circle {
  width: 22px;
  height: 22px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.home-advice-phone-pill .whatsapp-circle .icon {
  width: 12px;
  height: 12px;
}

.home-advice-phone-pill .phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.home-advice-phone-pill .phone-text strong {
  font-size: 12px;
}

.home-advice-phone-pill .phone-text small {
  font-size: 9.5px;
  color: #cbd5e1;
}

/* Footer Social Icon Brand Colors */
.footer-social-links .social-icon.fb { background: #1877f2; }
.footer-social-links .social-icon.yt { background: #ff0000; }
.footer-social-links .social-icon.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social-links .social-icon.in { background: #0a66c2; }
.footer-social-links .social-icon.wa { background: #25d366; }
.footer-social-links .social-icon svg { width: 15px; height: 15px; fill: #ffffff; color: #ffffff; }

/* Responsive Media Queries */
@media (max-width: 1360px) {
  .home-five-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-eight-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-six-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-hero-title {
    font-size: 34px;
  }
  .home-hero-img {
    max-width: 620px;
  }
}

@media (max-width: 992px) {
  .home-hero-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .home-hero-left {
    flex: 1;
    max-width: 100%;
  }
  .home-hero-right {
    flex: 1;
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  .home-hero-img {
    max-width: 520px;
    margin: 0 auto;
  }
  .home-five-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-eight-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-six-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-works-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-advice-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .home-advice-left {
    margin-left: 0;
  }
  .home-advice-badges {
    justify-content: center;
  }
  .home-advice-right {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .home-five-grid {
    grid-template-columns: 1fr;
  }
  .home-eight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-six-grid {
    grid-template-columns: 1fr;
  }
  .home-works-steps {
    grid-template-columns: 1fr;
  }
  .home-hero-title {
    font-size: 28px;
  }
  .home-hero-sub {
    font-size: 13px;
  }
  .home-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-explore, .btn-hero-demo {
    justify-content: center;
    text-align: center;
  }
  .home-stat-strip {
    flex-wrap: wrap;
    gap: 12px;
  }
  .home-stat-item {
    flex: 1 1 40%;
  }
  .home-step-arrow {
    display: none;
  }
}
