/* 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: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(20px, 2.4vw, 34px) clamp(16px, 3vw, 43px);
  margin: clamp(10px, 1.2vw, 16px) 0 0;
  border: 1px solid #dce8f7;
  border-radius: clamp(20px, 3vw, 34px);
  background: radial-gradient(ellipse at 91% 12%, #deedff 0%, transparent 55%),
    linear-gradient(145deg, #fff 10%, #f2f7ff 100%);
}

.home-hero-left,
.home-hero-platform {
  min-width: 0;
}

.home-hero-eyebrow {
  margin: 0 0 14px;
  color: #1651a6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-title {
  margin: 0 0 16px;
  color: #0b1530;
  font-size: clamp(36px, 4.1vw, 64px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.041em;
  text-wrap: balance;
}

.home-hero-title .gradient-span {
  color: #104de0;
  background: linear-gradient(105deg, #0746cd 12%, #5037b9 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-sub {
  max-width: 49ch;
  margin: 0;
  color: #425570;
  font-size: clamp(15px, 1.36vw, 19px);
  line-height: 1.6;
}

.home-trust-pills,
.home-hero-capabilities {
  list-style: none;
  padding: 0;
}

.home-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
}

.home-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #d8e5f7;
  border-radius: 999px;
  background: #fff;
  color: #304664;
  font-size: 12px;
  font-weight: 650;
}

.home-trust-pill .icon {
  width: 14px;
  height: 14px;
  color: #165dc4;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.btn-hero-explore,
.btn-hero-demo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.btn-hero-explore {
  background: #104dc9;
  color: #fff;
  box-shadow: 0 7px 18px #104dc932;
}

.btn-hero-explore:hover {
  background: #073ca8;
  box-shadow: 0 8px 20px #104dc949;
}

.btn-hero-explore .icon {
  width: 17px;
  height: 17px;
}

.btn-hero-demo {
  border-color: #b8cce9;
  background: #fff;
  color: #133b77;
}

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

.home-hero-ctas a:focus-visible {
  outline: 3px solid #165dc4;
  outline-offset: 3px;
}

.home-hero-platform {
  position: relative;
  isolation: isolate;
  display: grid;
  padding: clamp(9px, 1.25vw, 16px);
  border: 1px solid #234577;
  border-radius: clamp(17px, 2vw, 26px);
  background: linear-gradient(145deg, #102348 0%, #091630 78%);
  box-shadow: 0 18px 42px #13275029;
}

.home-hero-platform-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 2px 10px;
  color: #f4f8ff;
  font-size: 13px;
  font-weight: 700;
}

.home-hero-platform-header img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.home-hero-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ffffff25;
  border-radius: clamp(10px, 1.4vw, 17px);
}

.home-hero-capabilities {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: -12px 5px 0;
}

.home-hero-capabilities li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #b8d8ff2e;
  border-radius: 9px;
  background: #182e52;
  color: #f3f7ff;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 650;
}

.home-hero-capabilities li:last-child {
  grid-column: span 2;
}

.home-hero-capabilities .icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: #8acaff;
}

@media (min-width: 820px) {
  .home-hero-section {
    gap: clamp(24px, 3vw, 44px);
    padding-block: 24px;
  }

  .home-hero-eyebrow {
    margin-bottom: 8px;
  }

  .home-hero-title {
    margin-bottom: 10px;
    font-size: clamp(36px, 3.35vw, 50px);
  }

  .home-hero-sub {
    max-width: 58ch;
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.5;
  }

  .home-trust-pills {
    margin-top: 13px;
  }

  .home-hero-ctas {
    margin-top: 16px;
  }

  .home-hero-ctas > a {
    min-height: 42px;
    padding: 8px 16px;
  }

  .home-hero-platform {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 24%);
    grid-template-rows: auto 1fr;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
    max-width: 620px;
    justify-self: end;
    padding: 10px;
  }

  .home-hero-platform-header {
    grid-column: 1 / -1;
    padding: 0 1px;
  }

  .home-hero-platform-header img {
    width: 25px;
    height: 25px;
  }

  .home-hero-img {
    max-height: 248px;
    object-fit: contain;
    background: #091630;
  }

  .home-hero-capabilities {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin: 0;
  }

  .home-hero-capabilities li {
    min-height: 29px;
    padding: 4px 7px;
  }

  .home-hero-capabilities li:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-ctas a {
    transition: none;
  }
}

/* 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);
  }
}

@media (max-width: 819px) {
  .home-hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .home-hero-platform {
    width: min(100%, 540px);
    justify-self: center;
  }
}

@media (max-width: 992px) {
  .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 (min-width: 370px) and (max-width: 640px) {
  .home-hero-section .home-hero-capabilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-hero-section .home-hero-capabilities li:last-child {
    grid-column: 1 / -1;
  }
}

@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: clamp(32px, 8.7vw, 48px);
  }
  .home-hero-ctas > a {
    flex: 1 1 130px;
    text-align: center;
  }
  .home-hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 0;
  }
  .home-step-arrow {
    display: none;
  }
}
