/* Composite Buttons and Loading Styles */
.bx-composite-btn {
  background: url(/src/images/main/composite/sprite-1x.png) no-repeat right 0
    #e94524;
  border-radius: 15px;
  color: #fff !important;
  display: inline-block;
  line-height: 26px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: bold !important;
  height: 27px !important;
  padding: 0 38px 0 14px !important;
  vertical-align: middle !important;
  text-decoration: none !important;
}

@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
  .bx-composite-btn {
    background-image: url(/src/images/main/composite/sprite-2x.png);
    background-size: 42px 124px;
  }
}

.bx-composite-btn-fixed {
  position: absolute;
  top: -45px;
  right: 15px;
  z-index: 10;
}

.bx-btn-white {
  background-position: right 0;
  color: #fff !important;
}

.bx-btn-black {
  background-position: right -31px;
  color: #000 !important;
}

.bx-btn-red {
  background-position: right -62px;
  color: #555 !important;
}

.bx-btn-grey {
  background-position: right -93px;
  color: #657b89 !important;
}

.bx-btn-border {
  border: 1px solid #d4d4d4;
  height: 29px !important;
  line-height: 29px !important;
}

.bx-composite-loading {
  display: block;
  width: 40px;
  height: 40px;
  background: url(/src/images/main/composite/loading.gif);
}

/* Custom Landing Header Styles */
.header-content__header nav a:hover {
  color: #2fc6f6 !important;
}

.header-content__header nav a[href='mailto:demo@77crm.ru']:hover {
  background: #1a9fd8 !important;
}

/* Mobile Header Styles - Hide nav links, show only CTA button */
@media screen and (max-width: 768px) {
  .header-content__header {
    padding: 1rem !important;
  }

  .header-content__header nav {
    gap: 1rem !important;
  }

  .header-nav-link {
    display: none !important;
  }

  .header-cta-btn {
    padding: 0.5rem 1rem !important;
    font-size: 14px !important;
  }

  .header-content__logo img {
    height: 35px !important;
  }
}

/* Livechat and Preview Block Styles */
.bx-livechat-control-btn-like {
  display: none !important;
}

.content-animated-preview-introduce-block__u {
  pointer-events: none !important;
}

/* Pricing Section Styles */
.pricing-table {
  display: table;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.pricing-row {
  display: table-row;
}

.pricing-row:nth-child(even) {
  background: #f9fafb;
}

.pricing-cell {
  display: table-cell;
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-header .pricing-cell {
  background: #001433;
  color: white;
  font-weight: 700;
  text-align: center;
  padding: 30px 20px;
  border-bottom: 3px solid #2fc6f6;
}

.pricing-header h3 {
  font-size: 24px;
  margin: 0;
  color: white;
}

.pricing-featured {
  background: linear-gradient(135deg, #2fc6f6 0%, #1a9fd8 100%) !important;
  color: white !important;
  position: relative;
}

.pricing-badge {
  background: #ff4444;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.pricing-label {
  width: 40%;
  font-size: 16px;
  color: #001433;
}

.pricing-label strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.pricing-description {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  line-height: 1.4;
}

.pricing-value {
  width: 20%;
  text-align: center;
  font-size: 16px;
}

.pricing-price {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #001433;
  margin-bottom: 8px;
}

.pricing-featured .pricing-price {
  color: white;
}

.pricing-price-old {
  display: block;
  font-size: 18px;
  color: white;
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 5px;
}

.pricing-note {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.pricing-featured .pricing-note {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-free {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #10b981;
}

.pricing-featured .pricing-free {
  color: white;
}

.pricing-check {
  text-align: center;
  font-size: 28px;
  color: #10b981;
  font-weight: 700;
}

.pricing-featured.pricing-check {
  color: white;
}

.pricing-cross {
  text-align: center;
  font-size: 28px;
  color: #cbd5e0;
}

.pricing-section-header .pricing-cell {
  background: #f3f4f6 !important;
  border-top: 2px solid #e5e7eb;
}

.pricing-cta {
  background: white !important;
}

.pricing-cta .pricing-cell {
  padding: 30px 20px;
  text-align: center;
  border-bottom: none;
}

.pricing-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #001433;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background: #2fc6f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 198, 246, 0.4);
}

.pricing-btn-featured {
  background: white;
  color: #2fc6f6;
}

.pricing-btn-featured:hover {
  background: #001433;
  color: white;
}

/* Pricing Cards - показать везде, скрыть детальную таблицу */
.pricing-mobile-cards {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-table {
  display: none !important;
}

.pricing-row-price {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 280px;
  max-width: 320px;
}

.pricing-row-price.pricing-featured-mobile {
  background: linear-gradient(135deg, #2fc6f6 0%, #1a9fd8 100%);
  color: white;
  transform: scale(1.05);
  z-index: 1;
}

.pricing-row-price .pricing-plan-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.pricing-row-price .pricing-plan-price {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1;
}

.pricing-row-price .pricing-plan-price-old {
  font-size: 22px;
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 8px;
  text-align: center;
}

.pricing-row-price .pricing-plan-note {
  font-size: 15px;
  text-align: center;
  margin-bottom: 25px;
  opacity: 0.8;
}

.pricing-row-price .pricing-badge-mobile {
  background: #ff4444;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  display: inline-block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-row-price .pricing-btn {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 16px 32px;
  font-size: 18px;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  .pricing-mobile-cards {
    flex-direction: row;
    gap: 20px;
  }

  .pricing-row-price {
    min-width: 250px;
    max-width: none;
    flex: 1;
  }

  .pricing-row-price.pricing-featured-mobile {
    transform: scale(1.02);
  }
}

@media screen and (max-width: 768px) {
  #pricing {
    padding: 40px 15px !important;
    margin-top: 60px !important;
  }

  #pricing h2 {
    font-size: 32px !important;
  }

  #pricing p {
    font-size: 16px !important;
  }

  .pricing-label strong {
    font-size: 16px !important;
  }

  .pricing-price {
    font-size: 20px !important;
  }

  .pricing-mobile-cards {
    flex-direction: column;
    gap: 20px;
  }

  .pricing-row-price {
    min-width: 100%;
    max-width: 100%;
    padding: 30px 20px;
  }

  .pricing-row-price.pricing-featured-mobile {
    transform: scale(1);
  }

  .pricing-row-price .pricing-plan-name {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .pricing-row-price .pricing-plan-price {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1;
  }

  .pricing-row-price .pricing-plan-price-old {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .pricing-row-price .pricing-plan-note {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .pricing-row-price .pricing-badge-mobile {
    padding: 6px 12px;
    font-size: 12px;
    margin-bottom: 15px;
  }

  .pricing-row-price .pricing-btn {
    font-size: 16px;
    padding: 14px 32px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

