/* Features Section Styles */
.features-section {
  position: relative;
}

.features-header {
  background-image: url("https://images.pexels.com/photos/5505150/pexels-photo-5505150.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.features-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 1rem 2rem;
}

.features-title {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  font-family: "Assistant ExtraBold";
}

.features-accent {
  color: #2563eb;
}

.features-description {
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  max-width: 42rem;
  margin: 0 auto;
  font-family: "Assistant Regular";
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-header {
    padding: 2rem 0;
  }

  .features-title {
    font-size: 2rem;
  }

  .features-description {
    font-size: 1rem;
  }

  .features-content {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .features-title {
    font-size: 1.75rem;
  }

  .features-description {
    font-size: 0.9rem;
  }
}

/* Animate on scroll left styles */
.animate-on-scroll-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 1s ease;
}

.animate-on-scroll-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Main Features Section */
.main-features-section {
  background: #f9fafb;
  padding: 5rem 1.5rem;
}

.main-features-container {
  max-width: 1500px;
  margin: 0 auto;
}

.main-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: right;
}

.main-feature-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease, transform 1s ease, box-shadow 0.3s ease;
}

.main-feature-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.main-feature-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.main-feature-icon {
  background: #dbeafe;
  color: #2563eb;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.main-feature-icon svg {
  color: #2563eb;
  height: 1.5rem;
  width: 1.5rem;
}

.main-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  font-family: "Assistant Bold";
}

.main-feature-description {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  font-family: "Assistant Regular";
}

/* Additional Capabilities Section */
.additional-capabilities-section {
  background: white;
  padding: 6rem 1.5rem;
}

.capabilities-container {
  max-width: 1500px;
  margin: 0 auto;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 3rem;
}

.capabilities-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  font-family: "Assistant Bold";
}

.capabilities-accent {
  color: #2563eb;
}

.capabilities-description {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto;
  font-family: "Assistant Regular";
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: right;
}

.capability-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  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;
  gap: 1rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease, transform 1s ease, box-shadow 0.3s ease;
}

.capability-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.capability-icon {
  background: #fecdd3;
  color: #881337;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.capability-icon svg {
  color: #881337;
  height: 1.25rem;
  width: 1.25rem;
}

.capability-title {
  font-size: 1rem;
  color: #111827;
  font-family: "Assistant Regular";
  line-height: 1.4;
}

/* Responsive Design for Features Grid */
@media (max-width: 1024px) {
  .main-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .main-features-section {
    padding: 3rem 1.5rem;
  }

  .main-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .main-feature-card {
    padding: 1.5rem;
  }

  .main-feature-icon {
    margin-bottom: 1rem;
  }

  .main-feature-title {
    font-size: 1.125rem;
  }

  .main-feature-description {
    font-size: 0.9375rem;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-title {
    font-size: 2rem;
  }

  .capabilities-description {
    font-size: 1rem;
  }

  .capability-card {
    padding: 1.5rem 1rem;
  }

  .capability-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-title {
    font-size: 1.75rem;
  }

  .capabilities-description {
    font-size: 0.9rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Article: gradient hero (light, no video — overrides video-hero base)       */
/* -------------------------------------------------------------------------- */

@keyframes video-hero-badge-dot-pulse-blue {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45);
  }

  50% {
    transform: scale(1.35);
    opacity: 0.85;
    box-shadow: 0 0 0 0.4rem rgba(59, 130, 246, 0);
  }
}

.video-hero-section--gradient {
  background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 100%);
  overflow: visible;
}

.video-hero-section--gradient .video-hero__shell {
  position: relative;
  z-index: 1;
  min-height: 44rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 4.5rem 1.5rem 3.5rem;
  box-sizing: border-box;
}

.video-hero-section--gradient .video-hero__inner {
  flex: 1 1 auto;
}

.video-hero-section--gradient .video-hero__title-line--blue {
  color: #2563eb;
}

.video-hero-section--gradient .video-hero__badge--blue {
  background: #dbeafe;
  color: #1d4ed8;
  margin-bottom: 1.5rem;
}

.video-hero-section--gradient .video-hero__badge-dot--blue {
  background: #3b82f6;
  animation: video-hero-badge-dot-pulse-blue 1.6s ease-in-out infinite;
}

.video-hero-section--gradient .video-hero__title {
  margin: 0 0 1.25rem;
}

.video-hero-section--gradient .video-hero__desc--airy {
  color: #64748b;
  max-width: 42rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.video-hero-section--gradient .video-hero__actions--airy {
  margin-bottom: 3.5rem;
}

.video-hero-section--gradient .video-hero__btn--primary-blue {
  background: #3b82f6;
  color: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.video-hero-section--gradient .video-hero__btn--primary-blue:hover {
  box-shadow: 0 14px 28px -6px rgba(59, 130, 246, 0.45);
}

.video-hero-section--gradient .video-hero__btn--secondary-airy {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
}

.video-hero-section--gradient .video-hero__btn--secondary-airy:hover {
  box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.12);
}

.video-hero-section--gradient .video-hero__btn-icon--chevron {
  color: #64748b;
}

.video-hero-section .video-hero__logos--airy {
  width: 100%;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid #e8eef7;
}

.video-hero-section .video-hero__logos-caption--airy {
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.video-hero-section .video-hero__logo--muted {
  color: #94a3b8;
}

.video-hero-section .video-hero__logo--muted .video-hero__logo-name {
  color: #94a3b8;
  font-weight: 600;
}

.video-hero-section .video-hero__logo-icon.fa-solid,
.video-hero-section .video-hero__logo-icon.fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 720px) {
  .video-hero-section--gradient,
  .video-hero-section--gradient .video-hero__shell {
    min-height: 38rem;
  }

  .video-hero-section--gradient .video-hero__actions--airy {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .video-hero-section--gradient .video-hero__shell {
    padding: 3.25rem 1rem 2.5rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Article: zigzag core capabilities (duplicate zigzag layout, new visuals)   */
/* -------------------------------------------------------------------------- */

#zigzag-core-features {
  scroll-margin-top: 5.5rem;
}

.zigzag-features--core .zigzag-features__inner {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.zigzag-features--core__intro {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.zigzag-features--core__intro-title {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.2;
  color: #0f172a;
}

.zigzag-features--core__intro-rule {
  display: block;
  width: 3.5rem;
  height: 0.3125rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: #0ea5e9;
}

.zigzag-features--core__intro-lead {
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #64748b;
  max-width: 42rem;
}

.zigzag-features--core__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
}

.zigzag-features--core__stack::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  box-sizing: border-box;
}

.zigzag-features--core__stack--bl::before {
  background: #e2e8f0;
  transform: translate(-0.75rem, 0.75rem);
}

.zigzag-features--core__stack--tr::before {
  background: #bfdbfe;
  transform: translate(0.75rem, -0.75rem);
}

.zigzag-features--core__stack--tl::before {
  background: #d1fae5;
  transform: translate(-0.75rem, -0.75rem);
}

.zigzag-features--core__card {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: 1.5rem;
  background: #f1f5f9;
  border: 1px solid #e8eaed;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 12px 40px -24px rgba(15, 23, 42, 0.14);
}

.zigzag-features--core__card-media {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.zigzag-features--core__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.zigzag-features--core .zigzag-features--core__spot {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.125rem;
  border: none;
  box-shadow: none;
}

.zigzag-features--core .zigzag-features--core__spot .zigzag-features__fa {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.zigzag-features--core .zigzag-features--core__spot--brain {
  background: #dbeafe;
  color: #1e40af;
}

.zigzag-features--core .zigzag-features--core__spot--bolt {
  background: #00a0ff;
  color: #ffffff;
}

.zigzag-features--core .zigzag-features--core__spot--growth {
  background: #d1fae5;
  color: #047857;
}

.zigzag-features--core .zigzag-features--core__feat-title {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  color: #0f172a;
}

.zigzag-features--core .zigzag-features--core__para {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  color: #64748b;
  margin-bottom: 1.25rem;
}

.zigzag-features--core .zigzag-features--core__checks {
  gap: 0.625rem;
}

.zigzag-features--core .zigzag-features--core__check {
  background: #fafafa;
  border-color: #e8eaed;
}

.zigzag-features--core .zigzag-features__check-label {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: #334155;
}

.zigzag-features--core .zigzag-features__check-icon {
  background: #22c55e;
  color: #ffffff;
}

.zigzag-features--core .zigzag-features--core__check-i {
  font-size: 1rem;
  line-height: 1;
}

.zigzag-features--core .zigzag-features--core__check-i--plain {
  font-size: 0.875rem;
}

@media (max-width: 960px) {
  .zigzag-features--core .zigzag-features__media {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .zigzag-features--core__intro-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .zigzag-features--core .zigzag-features--core__feat-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
}
