/* Mergivo brand overrides for the Sastik-based homepage.
   Loaded after main.css so these variable + hex overrides win the cascade. */

:root {
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-heading: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

.automation-saas {
  --color-primary: #1f9f58;
  --color-secondary: #22c55e;
  --color-heading: #16181d;
  --color-default: #4b5563;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-heading: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

.mergivo-footer-hq li {
  line-height: 1.5;
}

.xb-header-logo img {
  width: auto;
  height: auto;
  max-height: 34px;
  max-width: 100%;
}

.xb-header-btn {
  gap: 26px;
}

.xb-header-btn .mergivo-nav-signin {
  color: #fff;
  font-weight: 700;
}

.xb-header-btn .mergivo-nav-cta .text {
  font-weight: 400;
}

.mergivo-pricing-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: middle;
  background: var(--color-secondary);
  color: #0b1f14;
}

.xb-hero-btn .thm-btn .text {
  font-weight: 400;
}

.hero-area--three .xb-hero-content .sec-title .title,
.hero-area--three .xb-hero-content .xb-item--content {
  text-transform: none;
}

.hero-area--three .xb-hero-content .xb-item--img {
  text-align: center;
  padding-top: 40px;
}

.hero-area--three .xb-hero-content .xb-item--img > img {
  max-width: 70%;
}

.hero-area--three .xb-hero-content .xb-item--img .img {
  top: 30%;
}

.hero-area--three .xb-hero-content .xb-item--img .img--2 {
  top: 56%;
}

.hero-area--three .xb-hero-content .xb-item--img .img .xb-blur-img img {
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.30)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.20));
}

.hero-area--three .xb-hero-content .xb-item--img .img--1 .xb-blur-img img {
  max-width: 33%;
}

.hero-area--three .xb-hero-content .xb-item--img .img--2 .xb-blur-img img {
  max-width: 39%;
}

@media (max-width: 767px) {
  .hero-area--three .xb-hero-content .xb-item--img > img {
    max-width: 100%;
  }

  .hero-area--three .xb-hero-content .xb-item--img .img {
    top: 18%;
  }

  .hero-area--three .xb-hero-content .xb-item--img .img--2 {
    top: 28%;
  }

  .hero-area--three .xb-hero-content .xb-item--img .img--1 .xb-blur-img img {
    max-width: 48%;
  }

  .hero-area--three .xb-hero-content .xb-item--img .img--2 .xb-blur-img img {
    max-width: 55%;
  }
}

.mergivo-compare {
  margin-top: 70px;
}

.mergivo-compare-table {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #e6f9ee;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.mergivo-compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-top: 1px solid #eef1f4;
}

.mergivo-compare-row:first-child {
  border-top: none;
}

.mergivo-compare-cell {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.mergivo-compare-cell--feature {
  color: #16181d;
  font-weight: 600;
}

.mergivo-compare-cell--us,
.mergivo-compare-cell--no {
  border-left: 1px solid #eef1f4;
  color: #4b5563;
}

.mergivo-compare-cell--us {
  background: #f7fbf9;
  color: #16181d;
  font-weight: 500;
}

.mergivo-compare-cell--us::before,
.mergivo-compare-cell--no::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}

.mergivo-compare-cell--us::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231f9f58'/%3E%3Cpath d='M6 10.3l2.6 2.6L14.4 7' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mergivo-compare-cell--no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ef4444'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.mergivo-compare-tag {
  display: none;
}

.mergivo-compare-cell--head-us,
.mergivo-compare-cell--head-them {
  border-left: 1px solid #eef1f4;
  justify-content: center;
  font-weight: 700;
  color: #16181d;
}

.mergivo-compare-row--head {
  background: #f7fbf9;
}

.mergivo-compare-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mergivo-compare-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.mergivo-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #6b7280;
}

.mergivo-brand svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 767px) {
  .mergivo-compare {
    margin-top: 50px;
  }

  .mergivo-compare-table {
    border: none;
    border-radius: 0;
    background: transparent;
    max-width: 100%;
  }

  .mergivo-compare-row--head {
    display: none;
  }

  .mergivo-compare-row {
    display: block;
    border: 1px solid #e6f9ee;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .mergivo-compare-row + .mergivo-compare-row {
    margin-top: 12px;
  }

  .mergivo-compare-cell {
    padding: 12px 16px;
    font-size: 14px;
  }

  .mergivo-compare-cell--feature {
    background: #f7fbf9;
    border-bottom: 1px solid #e6f9ee;
    font-size: 13px;
  }

  .mergivo-compare-cell--us,
  .mergivo-compare-cell--no {
    border-left: none;
  }

  .mergivo-compare-cell--us {
    border-bottom: 1px solid #f2f4f6;
  }

  .mergivo-compare-tag {
    display: inline;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9aa1ac;
    margin-right: 6px;
  }
}

.as-solution-item .xb-item--holder {
  margin-bottom: 0;
}

.xb-logo-mobile {
  max-width: none;
}

.xb-logo-mobile img {
  width: auto;
  max-width: none;
}

.mergivo-hero-trust {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 13px;
  color: #9aa1ac;
  text-align: center;
}

/* Mergivo premium refresh: black/white foundation with the established green. */
.automation-saas {
  --mergivo-green: #1f9f58;
  --mergivo-green-bright: #22c55e;
  --mergivo-green-soft: #7ad79a;
  --mergivo-text: #111116;
  --mergivo-muted: #777780;
  --mergivo-border: rgba(20, 20, 30, .055);
  --mergivo-shadow: 0 10px 35px rgba(20, 20, 40, .05);
  color: var(--mergivo-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.automation-saas h1,
.automation-saas h2,
.automation-saas h3,
.automation-saas h4,
.automation-saas h5,
.automation-saas h6,
.automation-saas .title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.04em;
}

.automation-saas .sec-title .content,
.automation-saas .xb-item--content {
  color: var(--mergivo-muted);
  line-height: 1.5;
}

.header-area--three {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(9, 9, 10, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
}

.header-area--three .header__wrap {
  min-height: 76px;
}

.header-area--three .main-menu > ul > li {
  margin-right: 4px;
}

.header-area--three .main-menu > ul > li > a {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
}

.header-area--three .main-menu > ul > li:hover > a,
.header-area--three .main-menu > ul > li.active > a {
  background: rgba(255, 255, 255, .085);
}

.xb-header-btn .mergivo-nav-signin {
  font-size: 14px;
  font-weight: 600;
}

.thm-btn,
.thm-btn--gradient2 {
  min-height: 58px;
  padding: 17px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.015em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease;
}

.thm-btn:hover,
.thm-btn--gradient2:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.thm-btn--gradient2::before {
  display: none;
}

.thm-btn--gradient2::after {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #188c4c, #24b963) !important;
}

.thm-btn--gradient2 .btn-shape {
  display: none;
}

.hero-area--three .as-hero-container {
  padding-top: 190px;
}

.hero-area--three .xb-hero-content .xb-item--breadcrumd {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 550;
}

.hero-area--three .xb-hero-content .sec-title .title {
  max-width: 1050px;
  margin-inline: auto;
  padding-inline: 40px;
  font-size: clamp(52px, 6.6vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
  background: linear-gradient(145deg, #a2c5b0 0%, #fff 38%, #fff 68%, #78af8f 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-area--three .xb-hero-content .xb-item--content {
  max-width: 700px;
  margin: 24px auto 38px;
  color: rgba(255, 255, 255, .64);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-area--three .xb-hero-content .xb-item--img > img {
  border-radius: 24px;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .32));
}

.as-solution-inner,
.as-feature-item,
.as-faq-contact .xb-item--inner,
.mergivo-compare-table {
  border: 1px solid var(--mergivo-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--mergivo-shadow);
}

.as-solution-inner {
  overflow: hidden;
}

.as-solution-item {
  padding: 42px 24px 46px;
}

.as-solution-item::before {
  background-color: #f0faf4;
  background-image: none;
}

.as-solution-item .xb-item--icon {
  background: #eaf8ef;
}

.as-solution-item .xb-item--title,
.as-feature-item .xb-item--title {
  font-weight: 700;
  letter-spacing: -.035em;
}

.as-feature-item {
  padding: 0;
  overflow: hidden;
}

.as-feature-item .xb-item--inner {
  padding: 30px;
  border-radius: 23px;
}

.mergivo-compare-table {
  overflow: hidden;
}

.mergivo-compare-row,
.mergivo-compare-cell--us,
.mergivo-compare-cell--no,
.mergivo-compare-cell--head-us,
.mergivo-compare-cell--head-them {
  border-color: var(--mergivo-border);
}

.mergivo-compare-cell--us,
.mergivo-compare-row--head {
  background: #f3faf6;
}

.as-pricing-inner {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 28px;
  background: linear-gradient(145deg, #1a1a1a, #101010);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .16);
}

.as-pricing-item {
  border-radius: 24px;
}

.as-pricing-item.pro-item {
  background: linear-gradient(145deg, #f8fff9, #dff6e7 58%, #b7e8c9);
}

.as-pricing-item .xb-item--top {
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: #181818;
  box-shadow: none;
}

.mergivo-pricing-badge {
  color: #fff;
  background: #1f9f58;
}

.as-faq-wrapper {
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 15%, rgba(31, 159, 88, .08), transparent 38%),
    linear-gradient(180deg, #f7fcf9, #fff);
}

.as-faq .accordion_box .block {
  border-color: var(--mergivo-border);
}

.as-faq .accordion_box .block .acc-btn {
  font-weight: 650;
}

.as-faq .accordion_box .block.active-block .acc-btn .arrow {
  background: #e7f7ed;
}

@media (max-width: 991px) {
  .header-area--three {
    background: rgba(9, 9, 10, .84);
  }

  .header-area--three .header__wrap {
    min-height: 68px;
  }

  .hero-area--three .as-hero-container {
    padding-top: 142px;
  }

  .hero-area--three .xb-hero-content .sec-title .title {
    padding-inline: 0;
  }

  .as-pricing-inner {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .hero-area--three .as-hero-container {
    padding-top: 112px;
  }

  .hero-area--three .xb-hero-content .sec-title .title {
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 1.04;
  }

  .hero-area--three .xb-hero-content .xb-item--content {
    margin: 20px auto 32px;
    padding-inline: 24px;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-area--three .xb-hero-content .xb-item--breadcrumd {
    padding: 7px 12px;
    font-size: 11px;
  }

  .thm-btn,
  .thm-btn--gradient2 {
    min-height: 56px;
    padding-inline: 24px;
  }

  .as-solution-inner,
  .as-feature-item,
  .as-faq-contact .xb-item--inner,
  .mergivo-compare-row {
    border-radius: 20px;
  }

  .as-pricing-inner {
    padding: 22px 18px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .automation-saas *,
  .automation-saas *::before,
  .automation-saas *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
