/* --------------------------------------------------------------------------
   Automations page
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

header,
.header,
.header.is-scrolling {
  background-color: black !important;
}
/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.js-hero-automations .button--main{
  margin: initial !important;
}

.js-automation-hero__content {
  padding-right: 2rem;
}

@media (max-width: 991px) {
  .js-automation-hero__content {
    padding-right: 0;
    text-align: center;
  }
}

.js-section__title--highlight {
  color: #9fcc2e;
  font-style: italic;
}

.js-automation-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .js-automation-hero__actions {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Automation Demo Card
   -------------------------------------------------------------------------- */
.js-automation-hero__visual {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .js-automation-hero__visual {
    padding-top: 0;
  }
}

.js-automation-demo {
  background: linear-gradient(135deg, #4c39963b 0%, #4f995633 100%);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f038;
  max-width: 450px;
  width: 100%;
}

.js-automation-demo__header {
  margin-bottom: 1rem;
}

.js-automation-demo__label {
  text-transform: uppercase;
  color: #afc2dd;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Flow Cards
   -------------------------------------------------------------------------- */
.js-flow-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.js-flow-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.js-flow-card__content {
  display: flex;
  align-items: center;
  flex: 1;
}

.js-flow-card__icon {
  font-size: 2rem;
  margin-right: 1rem;
  color: #9fcc2e;
  min-width: 40px;
  text-align: center;
}

.js-flow-card__info {
  text-align: left;
}

.js-flow-card__label {
  text-transform: uppercase;
  color: #8794a6;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 0.25rem;
}

.js-flow-card__title {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Flow Card Badges */
.js-flow-card__badge {
  font-size: 11px;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  white-space: nowrap;
}

.js-flow-card__badge--success {
  background-color: #e1f5c0 !important;
  color: #062b14;
}

.js-flow-card__badge--warning {
  background-color: #fef3c7 !important;
  color: #0f172a;
}

.js-flow-card__badge--light {
  background-color: #f2f7ea !important;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Flow Connector
   -------------------------------------------------------------------------- */
.js-flow-connector {
  width: 1px;
  height: 24px;
  background-color: #e0e0e05e;
  margin: 0.5rem 0 0.5rem 1rem;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Automation Stats
   -------------------------------------------------------------------------- */
.js-automation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.js-automation-stats__item {
  background-color: #d4edda0a;
  border-radius: 0.75rem;
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.js-automation-stats__item:hover {
  transform: scale(1.05);
}

.js-automation-stats__value {
  font-weight: 700;
  font-size: 1.5rem;
  color: #9fcc2e;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.js-automation-stats__label {
  color: #99b7d0;
  font-size: 0.75rem;
  display: block;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .js-automation-demo {
    padding: 0.875rem;
  }

  .js-flow-card {
    padding: 0.875rem;
  }

  .js-flow-card__icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    min-width: 32px;
  }

  .js-flow-card__title {
    font-size: 0.875rem;
  }

  .js-automation-stats__value {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Animation Enhancement (optional)
   -------------------------------------------------------------------------- */
@keyframes pulse-subtle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.js-flow-card__badge--success {
  animation: pulse-subtle 2s ease-in-out infinite;
}

/* ==========================================================================
   AUTOMATION STATS BAR
   ========================================================================== */

.js-automation-stats-bar {
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8f033;
  border-top: 1px solid #e2e8f033;
}

/* --------------------------------------------------------------------------
   Stats Bar Grid
   -------------------------------------------------------------------------- */
.js-stats-bar {
  text-align: center;
  row-gap: 2rem;
}

.js-stats-bar__block {
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .js-stats-bar__block {
    position: relative;
  }

  .js-stats-bar__block:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #363737;
  }
}

/* --------------------------------------------------------------------------
   Stats Bar Item
   -------------------------------------------------------------------------- */
.js-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.js-stats-bar__item:hover {
  transform: translateY(-4px);
}

.js-stats-bar__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.js-stats-bar__value span {
  background: linear-gradient(135deg, #9fcc2e 0%, #7fb324 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.js-stats-bar__label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 200px;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .js-stats-bar__value {
    font-size: 2rem;
  }

  .js-stats-bar__label {
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  .js-automation-stats-bar {
    padding: 2rem 0;
  }

  .js-stats-bar {
    row-gap: 1.5rem;
  }

  .js-stats-bar__value {
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   Animation Enhancement (optional)
   -------------------------------------------------------------------------- */
@keyframes counter-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-stats-bar__item {
  animation: counter-appear 0.6s ease-out;
}

.js-stats-bar__block:nth-child(1) .js-stats-bar__item {
  animation-delay: 0.1s;
}

.js-stats-bar__block:nth-child(2) .js-stats-bar__item {
  animation-delay: 0.2s;
}

.js-stats-bar__block:nth-child(3) .js-stats-bar__item {
  animation-delay: 0.3s;
}

.js-stats-bar__block:nth-child(4) .js-stats-bar__item {
  animation-delay: 0.4s;
}

/* ==========================================================================
   AUTOMATION BENEFITS SECTION
   ========================================================================== */

.js-automation-benefits {
  position: relative;
}

/* --------------------------------------------------------------------------
   Section Header
   -------------------------------------------------------------------------- */
.js-section__badge-wrapper {
  margin-bottom: 1.5rem;
}

.js-section__badge {
  display: inline-block;
  background-color: #f1f5f9;
  color: #0f172a;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.js-section__badge:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Benefits Cards Grid
   -------------------------------------------------------------------------- */
.js-benefits-cards {
  margin-top: 3rem;
  row-gap: 1.5rem;
}

.js-benefits-cards__block {
  display: flex;
}

/* --------------------------------------------------------------------------
   Benefit Card
   -------------------------------------------------------------------------- */
.js-benefit-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.js-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #9fcc2e;
}

/* Card Icon */
.js-benefit-card__icon {
  font-size: 3rem;
  color: #9fcc2e;
  margin-bottom: 1rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.js-benefit-card:hover .js-benefit-card__icon {
  transform: scale(1.1);
  color: #7fb324;
}

.js-benefit-card__icon i {
  display: block;
}

/* Card Title */
.js-benefit-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Card Text */
.js-benefit-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   Alternative Card Styles (opcional)
   -------------------------------------------------------------------------- */

/* Variante con fondo de color en hover */
.js-benefit-card--colored:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Variante con borde izquierdo destacado */
.js-benefit-card--bordered {
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.js-benefit-card--bordered:hover {
  border-left-color: #9fcc2e;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .js-automation-benefits {
    padding: 3rem 0;
  }

  .js-benefits-cards {
    margin-top: 2.5rem;
  }

  .js-benefit-card {
    padding: 1.75rem 1.25rem;
  }

  .js-benefit-card__icon {
    font-size: 2.5rem;
  }

  .js-benefit-card__title {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .js-automation-benefits {
    padding: 2.5rem 0;
  }

  .js-benefit-card {
    padding: 1.5rem 1rem;
  }

  .js-benefit-card__icon {
    font-size: 2.25rem;
  }

  .js-benefit-card__title {
    font-size: 1.0625rem;
  }

  .js-benefit-card__text {
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   Animation Enhancements
   -------------------------------------------------------------------------- */

/* Icon pulse animation on hover */
@keyframes icon-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.js-benefit-card:hover .js-benefit-card__icon {
  animation: icon-pulse 0.6s ease-in-out;
}

/* Stagger animation for cards (if not using AOS) */
.js-benefit-card {
  opacity: 0;
  animation: fade-up 0.6s ease-out forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-benefits-cards__block:nth-child(1) .js-benefit-card {
  animation-delay: 0.1s;
}

.js-benefits-cards__block:nth-child(2) .js-benefit-card {
  animation-delay: 0.2s;
}

.js-benefits-cards__block:nth-child(3) .js-benefit-card {
  animation-delay: 0.3s;
}

/* Si usas AOS, comenta la animación anterior y usa AOS */
[data-aos] .js-benefit-card {
  opacity: 1;
  animation: none;
}

/* Gradient backgrounds for each card */
.js-benefits-cards__block:nth-child(1) .js-benefit-card {
  background: linear-gradient(135deg, #ffffff00 0%, #f0fdf417 100%);
}

.js-benefits-cards__block:nth-child(2) .js-benefit-card {
  background: linear-gradient(135deg, #ffffff00 0%, #fef3c717 100%);
}

.js-benefits-cards__block:nth-child(3) .js-benefit-card {
  background: linear-gradient(135deg, #ffffff00 0%, #fee2e217 100%);
}

/* --------------------------------------------------------------------------
   Templates Header
   -------------------------------------------------------------------------- */
.js-templates__header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: calc(var(--js-padding) * 2);
  margin-bottom: 2.5rem;
}

.js-section__badge--white {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

/* --------------------------------------------------------------------------
   Templates Navigation (Pills)
   -------------------------------------------------------------------------- */
.js-templates__nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.js-templates__nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (max-width: 991px) {
  .js-templates__nav {
    justify-content: flex-start;
  }
}

.js-templates__nav-link {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #64748b;
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 2rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.js-templates__nav-link:hover {
  background-color: #f8fafc10;
}

.js-templates__nav-link.active {
  color: #ffffff;
  background-color: #9fcc2e;
  border-color: #9fcc2e;
}

/* --------------------------------------------------------------------------
   Templates Grid
   -------------------------------------------------------------------------- */
.js-templates__grid {
  margin-top: 2rem;
}

.js-templates__category {
  margin-bottom: 1em;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease;
}

.js-templates__category.hidden {
  display: none;
}

.js-templates__category-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f033;
}

.js-templates__row {
  row-gap: 1rem;
}

.js-templates__block {
  display: flex;
}

/* --------------------------------------------------------------------------
   Template Card
   -------------------------------------------------------------------------- */
.js-template-card {
  background-color: transparent;
  border: 1px solid #e2e8f330;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.js-template-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #9fcc2e;
}

/* Card Icon */
.js-template-card__icon {
  font-size: 2.5rem;
  margin-right: 1rem;
  min-width: 50px;
  text-align: center;
  line-height: 1;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.js-template-card:hover .js-template-card__icon {
  color: #9fcc2e;
  transform: scale(1.1);
  opacity: 1;
}

.js-template-card__icon i {
  display: block;
}

/* Card Content */
.js-template-card__content {
  flex-grow: 1;
  min-width: 0;
}

.js-template-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.js-template-card__text {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
  opacity: 0.7;
}

.js-template-card:hover .js-template-card__text {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .js-automation-templates {
    padding: 3rem 0;
  }

  .js-templates__header {
    margin-bottom: 2rem;
  }

  .js-template-card {
    padding: 1rem;
  }

  .js-template-card__icon {
    font-size: 2rem;
    min-width: 40px;
    margin-right: 0.875rem;
  }
}

@media (max-width: 767px) {
  .js-automation-templates {
    padding: 2.5rem 0;
  }

  .js-template-card {
    padding: 0.875rem;
  }

  .js-template-card__icon {
    font-size: 1.75rem;
    min-width: 36px;
  }

  .js-template-card__title {
    font-size: 0.9375rem;
  }

  .js-template-card__text {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
   Filter Animation
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-templates__category {
  animation: fadeIn 0.4s ease-out;
}

#tpl-grid {
  display: grid;
  gap: 2rem;
}

.tpl-card {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tpl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.nav-pills .nav-link {
  border-radius: 50rem;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
}

.nav-pills .nav-link.active {
  background-color: transparent;
}

.overflow-auto::-webkit-scrollbar {
  height: 6px;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.nav-pills .nav-link.active {
  background: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  border-radius: 4px;
  border-radius: 50px;
}

.nav-pills .nav-link {
  color: var(--main-blue) !important;
  font-size: 14px;
}

.nav-pills {
  display: flex;
  gap: 4px;
  background: transparent;
  border: 1px solid #e2e8f030;
  border-radius: 28px;
  padding: 4px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* ==========================================================================
   AUTOMATION CHANNELS SECTION
   ========================================================================== */

.js-automation-channels {
}

/* --------------------------------------------------------------------------
   Badge Success Variant
   -------------------------------------------------------------------------- */
.js-section__badge--success {
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Channels Cards Grid
   -------------------------------------------------------------------------- */
.js-channels-cards {
  margin-top: 3rem;
  row-gap: 1.5rem;
}

.js-channels-cards__block {
  display: flex;
}

/* --------------------------------------------------------------------------
   Channel Card
   -------------------------------------------------------------------------- */
.js-channel-card {
  background: linear-gradient(135deg, #ffffff00 0%, #fee2e217 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  max-width: 680px;
}

.js-channel-card:hover {
  transform: translateY(-6px);
  border-color: #9fcc2e;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   Card Header
   -------------------------------------------------------------------------- */
.js-channel-card__header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Card Icon */
.js-channel-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.js-channel-card__icon--email {
  background-color: #f0f0f0;
  color: #334155;
}

.js-channel-card--email:hover .js-channel-card__icon--email {
  background-color: #e2e8f0;
  transform: scale(1.1);
}

.js-channel-card__icon--whatsapp {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.js-channel-card--whatsapp:hover .js-channel-card__icon--whatsapp {
  background-color: rgba(37, 211, 102, 0.2);
  transform: scale(1.1);
}

.js-channel-card__icon i {
  display: block;
}

/* Card Title */
.js-channel-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Card Content
   -------------------------------------------------------------------------- */
.js-channel-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

/* Card List */
.js-channel-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.js-channel-card__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.7;
}

.js-channel-card__list li:last-child {
  margin-bottom: 0;
}

.js-channel-card__list li i {
  color: #9fcc2e;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .js-automation-channels {
    padding: 3rem 0;
  }

  .js-channels-cards {
    margin-top: 2.5rem;
  }

  .js-channel-card {
    padding: 1.75rem;
  }

  .js-channel-card__title {
    font-size: 1.375rem;
  }
}

@media (max-width: 767px) {
  .js-automation-channels {
    padding: 2.5rem 0;
  }

  .js-channel-card {
    padding: 1.5rem;
  }

  .js-channel-card__icon {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .js-channel-card__title {
    font-size: 1.25rem;
  }

  .js-channel-card__text {
    font-size: 0.875rem;
  }

  .js-channel-card__list li {
    font-size: 0.875rem;
    padding-left: 1.5rem;
  }

  .js-channel-card__list li::before {
    width: 16px;
    height: 16px;
    top: 0.25rem;
  }

  .js-channel-card__list li::after {
    left: 4px;
    top: 0.125rem;
    font-size: 0.6875rem;
  }
}

/* --------------------------------------------------------------------------
   Animation Enhancement
   -------------------------------------------------------------------------- */
@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.js-channel-card:hover .js-channel-card__icon {
  animation: float-icon 1s ease-in-out infinite;
}

/* Stagger animation for list items */
.js-channel-card__list li {
  opacity: 0;
  animation: fade-in-up 0.5s ease-out forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-channel-card__list li:nth-child(1) {
  animation-delay: 0.1s;
}
.js-channel-card__list li:nth-child(2) {
  animation-delay: 0.2s;
}
.js-channel-card__list li:nth-child(3) {
  animation-delay: 0.3s;
}
.js-channel-card__list li:nth-child(4) {
  animation-delay: 0.4s;
}
.js-channel-card__list li:nth-child(5) {
  animation-delay: 0.5s;
}

/* Disable animation on mobile for performance */
@media (max-width: 767px) {
  .js-channel-card__list li {
    opacity: 1;
    animation: none;
  }

  .js-channel-card:hover .js-channel-card__icon {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Custom Automation Content
   -------------------------------------------------------------------------- */
.js-custom-automation__content {
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: calc(var(--js-padding) * 2);
}

@media (max-width: 991px) {
  .js-custom-automation__content {
    padding-right: 0;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Automation Builder Visual
   -------------------------------------------------------------------------- */
.js-custom-automation__visual {
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .js-custom-automation__visual {
    padding-top: 0;
  }
}

.js-automation-builder {
  background: linear-gradient(135deg, #4c39963b 0%, #4f995633 100%);
  border: 1px solid #e2e8f038;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  max-width: 450px;
  margin: auto;
}

.js-automation-builder__header {
  margin-bottom: 1rem;
  text-align: center;
}

.js-automation-builder__label {
  text-transform: uppercase;
  color: #afc2dd;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Builder Sections
   -------------------------------------------------------------------------- */
.js-automation-builder__section {
  margin-bottom: 1rem;
}

.js-automation-builder__section-label {
  text-transform: uppercase;
  font-weight: 700;
  color: #8794a6;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Builder Blocks
   -------------------------------------------------------------------------- */
.js-builder-block {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.js-builder-block:hover {
  background-color: #f1f5f920;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Block variations */
.js-builder-block--trigger,
.js-builder-block--action,
.js-builder-block--condition {
  width: 100%;
  justify-content: flex-start;
}

.js-builder-block--operator,
.js-builder-block--value {
  flex: 1 1 auto;
  min-width: fit-content;
  justify-content: center;
}

.js-builder-block--value {
  font-weight: 700;
}

/* Block Indicator (colored dots) */
.js-builder-block__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.js-builder-block__indicator--blue {
  background-color: #3b82f6;
}

.js-builder-block__indicator--green {
  background-color: #90c84a;
}

.js-builder-block__indicator--purple {
  background-color: #8b5cf6;
}

/* Block Text */
.js-builder-block__text {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Builder Condition (multiple blocks)
   -------------------------------------------------------------------------- */
.js-builder-condition {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Builder Connector
   -------------------------------------------------------------------------- */
.js-automation-builder__connector {
  text-align: center;
  color: #94a3b8;
  font-size: 1.125rem;
  margin: 0.75rem 0;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Add Section
   -------------------------------------------------------------------------- */
.js-automation-builder__add-section {
  text-align: center;
  margin: 1.5rem 0;
}

.js-automation-builder__add-label {
  color: #8f9fb5;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Add Button
   -------------------------------------------------------------------------- */
.js-automation-builder__footer {
  text-align: center;
  margin-top: 1.5rem;
}

.js-automation-builder__add-btn {
  background-color: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.js-automation-builder__add-btn:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .js-automation-custom {
    padding: 3rem 0;
  }

  .js-automation-builder {
    padding: 1.75rem;
  }
}

@media (max-width: 767px) {
  .js-automation-custom {
    padding: 2.5rem 0;
  }

  .js-custom-automation__visual {
    padding-top: 2rem;
  }

  .js-automation-builder {
    padding: 1.5rem;
  }

  .js-builder-condition {
    flex-direction: column;
  }

  .js-builder-block--operator,
  .js-builder-block--value {
    width: 100%;
  }

  .js-builder-block__text {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
   Animation Enhancements
   -------------------------------------------------------------------------- */
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.js-builder-block {
  animation: slide-in 0.4s ease-out;
}

.js-automation-builder__section:nth-child(1) .js-builder-block {
  animation-delay: 0.1s;
}

.js-automation-builder__section:nth-child(3) .js-builder-block {
  animation-delay: 0.2s;
}

.js-automation-builder__section:nth-child(5) .js-builder-block {
  animation-delay: 0.3s;
}

/* Pulse animation for connectors */
@keyframes pulse-connector {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.js-automation-builder__connector {
  animation: pulse-connector 2s ease-in-out infinite;
}

/* Disable animations on mobile */
@media (max-width: 767px) {
  .js-builder-block {
    animation: none;
  }

  .js-automation-builder__connector {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Interactive States (optional enhancement)
   -------------------------------------------------------------------------- */
.js-builder-block--active {
  border-color: #9fcc2e;
  background-color: rgba(159, 204, 46, 0.1);
}

.js-builder-block--active .js-builder-block__indicator {
  box-shadow: 0 0 0 3px rgba(159, 204, 46, 0.3);
}

/* ==========================================================================
   AUTOMATION CTA SECTION
   ========================================================================== */

.js-automation-cta {
  position: relative;
}

.js-container__content {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Badge Primary Variant
   -------------------------------------------------------------------------- */
.js-section__badge--primary {
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   CTA Content
   -------------------------------------------------------------------------- */
.js-cta__content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: calc(var(--js-padding) * 2);
}

.js-cta__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.js-cta__text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   CTA Actions
   -------------------------------------------------------------------------- */
.js-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .js-automation-cta {
    padding: 4rem 0;
  }

  .js-cta__title {
    font-size: 2.25rem;
  }

  .js-cta__text {
    font-size: 1.0625rem;
  }
}

@media (max-width: 767px) {
  .js-automation-cta {
    padding: 3rem 0;
  }

  .js-cta__title {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
  }

  .js-cta__text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .js-cta__actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Animation Enhancements
   -------------------------------------------------------------------------- */
@keyframes fade-in-up-cta {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-cta__content > * {
  animation: fade-in-up-cta 0.8s ease-out;
}

.js-section__badge-wrapper {
  animation-delay: 0.1s;
}

.js-cta__title {
  animation-delay: 0.2s;
}

.js-cta__text {
  animation-delay: 0.3s;
}

.js-cta__actions {
  animation-delay: 0.4s;
}

/* Disable animations on mobile for performance */
@media (max-width: 767px) {
  .js-cta__content > * {
    animation: none;
  }

  .button--secondary {
    animation: none;
  }
}
