/* ============================================
   CPO SOFTWARE PAGE
   ============================================ */

/* ============================================
   CPO HERO SECTION
   ============================================ */
.cpo-hero {
  position: relative;
  background-color: var(--color-white);
  padding: 100px 0;
  overflow: hidden;
}

/* Decorative graphic element */
.cpo-hero__decoration {
  position: absolute;
  right: -210px;
  top: -214px;
  width: 777px;
  height: 777px;
  pointer-events: none;
  z-index: 1;
}
button.btn.btn--filled.btn--lg {
    width: fit-content;
    height: 44px;
}

a.btn.btn--filled.btn--lg {
    align-self: flex-start;
    height: 44px;
}
.cpo-hero__decoration-black {
  position: absolute;
  inset: 8.3% 13.81% 6.19% 10.24%;
}

.cpo-hero__decoration-black img {
  width: 100%;
  height: 100%;
  display: block;
}

.cpo-hero__decoration-green {
  position: absolute;
  inset: 6.18% 10.24% 8.31% 13.81%;
}

.cpo-hero__decoration-green img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Wrapper - flex layout */
.cpo-hero__wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* Content */
.cpo-hero__content {
  flex: 1 1 500px;
  max-width: 700px;
  min-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cpo-hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cpo-hero__title {
  font-size: var(--h1-size);
  font-weight: var(--font-bold);
  line-height: var(--h1-line-height);
  letter-spacing: var(--h1-letter-spacing);
  color: var(--color-gray-20);
  text-transform: uppercase;
  margin: 0;
}

.cpo-hero__description {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: var(--color-gray-20);
  margin: 0;
}

/* Buttons */
.cpo-hero__buttons {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
}

.cpo-hero__buttons button {
    height: 60px;
}

.cpo-hero__buttons button {
    height: 60px;
}

/* Video */
.cpo-hero__video {
  flex: 1 1 520px;
  min-width: 520px;
  min-height: 316px;
  aspect-ratio: 520 / 316;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.cpo-hero__video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.cpo-hero__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(58, 58, 58, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.cpo-hero__video-overlay:hover {
  background-color: rgba(58, 58, 58, 0.3);
}

/* Play button */
.cpo-hero__play-btn {
  width: 93px;
  height: 70px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpo-hero__play-btn:hover {
  transform: scale(1.1);
}

.cpo-hero__play-btn img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ============================================
   RESPONSIVE - Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .cpo-hero {
    padding: 80px 0;
  }

  .cpo-hero__wrapper {
    gap: 40px;
  }

  .cpo-hero__content {
    min-width: 400px;
    gap: 30px;
  }

  .cpo-hero__video {
    min-width: 450px;
  }
}

/* ============================================
   RESPONSIVE - Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
  .cpo-hero {
    padding: 60px 0;
  }

  .cpo-hero__decoration {
    right: -210px;
    top: -230px;
    opacity: 1;
  }

  .cpo-hero__wrapper {
    flex-direction: column;
    gap: 30px;
    background: var(--color-white);
  }

  .cpo-hero__content {
    min-width: auto;
    max-width: 100%;
    gap: 30px;
  }

  .cpo-hero__text {
    gap: 16px;
  }

  .cpo-hero__title {
    font-size: var(--h1-mobile-size);
    line-height: var(--h1-mobile-line-height);
    letter-spacing: var(--h1-mobile-letter-spacing);
  }

  .cpo-hero__buttons {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .cpo-hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cpo-hero__video {
    min-width: auto;
    width: 100%;
    min-height: 250px;
    flex: 1 1 250px;
  }

  .cpo-hero__play-btn {
    width: 70px;
    height: 53px;
  }
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal--open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1;
}

.video-modal__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  padding: 0;
  z-index: 3;
}

.video-modal__close:hover {
  transform: scale(1.1);
}

.video-modal__close svg {
  width: 24px;
  height: 24px;
}

.video-modal__content {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.video-modal__player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

/* Responsive */
@media (max-width: 768px) {
  .video-modal {
    padding: 10px;
  }

  .video-modal__close {
    top: -40px;
    width: 32px;
    height: 32px;
  }

  .video-modal__close svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   ALL NEED SECTION
   ============================================ */
.all-need {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* Background */
.all-need__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.all-need__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gray-20);
  z-index: 1;
}

.all-need__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0.5;
  z-index: 2;
}

/* Content wrapper */
.all-need__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Title */
.all-need__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-white);
  margin: 0;
}

/* Grid */
.all-need__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Card */
.all-need-card {
  flex: 1 1 calc(50% - 15px);
  min-width: 285px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #1F1F1F 0%, #3A3A3A 125.76%);
  border: 1px solid rgba(31, 31, 31, 0.3);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.all-need-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.all-need-card__title {
  flex: 1 1 130px;
  min-width: 130px;
  font-size: var(--h4-size);
  font-weight: var(--font-bold);
  line-height: var(--h4-line-height);
  color: var(--color-white);
  margin: 0;
}

.all-need-card__icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-gray-20);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.all-need-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.all-need-card__text {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-white);
  margin: 0;
}

/* ============================================
   ALL NEED - RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .all-need {
    padding: 60px 0;
  }

  .all-need__grid {
    gap: 20px;
  }

  .all-need-card {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .all-need {
    padding: 60px 0;
  }

  .all-need__title {
    font-size: var(--h2-size);
  }

  .all-need__grid {
    flex-direction: column;
    gap: 30px;
  }

  .all-need-card {
    min-width: auto;
    padding: 16px;
    gap: 12px;
  }

  .all-need-card__title {
    font-size: var(--h4-size);
  }

  .all-need-card__text {
    font-size: var(--body-size);
  }
}

/* ============================================
   PLATFORM POSSIBILITIES / TABS SECTION
   ============================================ */

.platform-possibilities {
  background-color: var(--color-gray-95);
  padding: 80px 0;
}

.platform-possibilities__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-gray-20);
  margin: 0 0 40px;
}

.platform-possibilities__content {
  background-color: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ============================================
   PLATFORM TABS NAVIGATION
   ============================================ */

.platform-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 2px 0 0;
  border-bottom: 1px solid var(--color-gray-95);
  background-color: var(--color-gray-95);
}

.platform-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px;
  background-color: var(--color-gray-95);
  border: 1px solid var(--color-gray-95);
  border-bottom: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 0;
}

.platform-tab__text {
  font-size: var(--body-size);
  font-weight: var(--font-semibold);
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: var(--color-gray-20);
  text-align: center;
  transition: color var(--transition-fast);
}

.platform-tab__indicator {
  width: 100%;
  height: 20px;
  margin-top: 0;
  display: none;
}

/* Active Tab */
.platform-tab--active {
  background-color: var(--color-white);
  border-color: var(--color-white);
}

/* Hover State */
.platform-tab:hover {
  background-color: #fefefe;
}

.platform-tab--active:hover {
  background-color: var(--color-white);
}

/* ============================================
   TAB PANELS / CONTENT
   ============================================ */

.platform-tab-content {
  padding: 40px;
}

.platform-tab-panel {
  display: none;
}

.platform-tab-panel--active {
  display: block;
}

.platform-tab-panel__wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Text Content */
.platform-tab-panel__text {
  flex: 1;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-tab-panel__heading {
  font-size: var(--h4-size);
  font-weight: var(--font-semibold);
  line-height: var(--h4-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

/* List */
.platform-tab-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-tab-panel__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-tab-panel__marker {
  width: 8px;
  height: 8px;
  border-radius: 8.5px;
  background-color: var(--color-green-50);
  flex-shrink: 0;
}

.platform-tab-panel__item-text {
  font-size: var(--body-size);
  font-weight: var(--font-regular);
  line-height: var(--body-line-height);
  color: var(--color-gray-20);
}

/* Image */
.platform-tab-panel__image {
  flex-shrink: 0;
  width: 585px;
  height: 379px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.platform-tab-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   RESPONSIVE - PLATFORM POSSIBILITIES
   ============================================ */

@media (max-width: 1024px) {
  .platform-possibilities {
    padding: 60px 0;
  }

  .platform-possibilities__title {
    margin-bottom: 30px;
  }

  .platform-tab-panel__image {
    width: 100%;
    max-width: 585px;
    height: auto;
    aspect-ratio: 585 / 379;
  }

  .platform-tab-panel__text {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .platform-possibilities {
    padding: 60px 0;
  }

  .platform-possibilities__title {
    font-size: var(--h2-size);
    margin-bottom: 24px;
  }

  .platform-tabs {
    gap: 0;
    padding-top: 0;
    overflow: scroll;
  }

  .platform-tab {
    flex: 1 1 calc(50% - 1px);
    min-width: calc(50% - 1px);
    padding: 12px 8px;
    border: 1px solid var(--color-gray-95);
  }

  .platform-tab__text {
    font-size: var(--body-size);
    white-space: normal;
  }

  .platform-tab-content {
    padding: 24px 20px;
  }

  .platform-tab-panel__wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .platform-tab-panel__text {
    min-width: 100%;
  }

  .platform-tab-panel__heading {
    font-size: var(--h4-size);
  }

  .platform-tab-panel__image {
    width: 100%;
    max-width: 100%;
  }

  .platform-tab-panel__item-text {
    font-size: var(--body-size);
  }
}

/* ============================================
   WHITE-LABEL SECTION
   ============================================ */

.white-label {
  background-color: var(--color-white);
  padding: 80px 0 20px;
}

.white-label__content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1214px;
  margin: 0 auto;
}

/* Image */
.white-label__image {
  width: 442px;
  height: 534px;
  flex-shrink: 0;
}

.white-label__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Text Content */
.white-label__text {
  flex: 1;
  min-width: 375px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.white-label__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

/* List */
.white-label__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.white-label__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.white-label__checkmark {
  width: 17px;
  height: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.white-label__item-text {
  font-size: var(--body-size);
  font-weight: var(--font-regular);
  line-height: var(--body-line-height);
  color: var(--color-gray-20);
}

/* CTA Button */
.white-label__cta {
  align-self: flex-start;
}

/* ============================================
   RESPONSIVE - WHITE-LABEL
   ============================================ */

@media (max-width: 1024px) {
  .white-label {
    padding: 60px 0 20px;
  }

  .white-label__content {
    gap: 40px;
  }

  .white-label__image {
    width: 100%;
    max-width: 442px;
    height: auto;
    aspect-ratio: 442 / 534;
  }

  .white-label__text {
    min-width: 320px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .white-label {
    padding: 60px 0 20px;
  }

  .white-label__content {
    flex-direction: column;
    gap: 30px;
  }

  .white-label__image {
    width: 100%;
    max-width: 100%;
    order: -1;
  }

  .white-label__text {
    min-width: 100%;
    gap: 24px;
  }

  .white-label__title {
    font-size: var(--h2-size);
  }

  .white-label__list {
    gap: 20px;
  }

  .white-label__item-text {
    font-size: var(--body-size);
  }
}

/* ============================================
   MOBILE APP SECTION
   ============================================ */

.mobile-app {
  background-color: var(--color-white);
  padding: 20px 0 80px;
}

.mobile-app__content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1214px;
  margin: 0 auto;
}

/* Text Content */
.mobile-app__text {
  flex: 1;
  min-width: 375px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-app__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

/* List with numbered markers */
.mobile-app__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-app__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-app__number {
  width: 22px;
  height: 22px;
  background-color: var(--color-gray-20);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.2px;
  font-weight: var(--font-bold);
  line-height: 1.55;
  flex-shrink: 0;
}

.mobile-app__item-text {
  font-size: var(--body-size);
  font-weight: var(--font-regular);
  line-height: var(--body-line-height);
  color: var(--color-gray-20);
}

/* Image */
.mobile-app__image {
  width: 449px;
  height: 534px;
  flex-shrink: 0;
}

.mobile-app__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* CTA Button */
.mobile-app__cta {
  align-self: flex-start;
}

/* ============================================
   RESPONSIVE - MOBILE APP
   ============================================ */

@media (max-width: 1024px) {
  .mobile-app {
    padding: 20px 0 60px;
  }

  .mobile-app__content {
    gap: 40px;
  }

  .mobile-app__image {
    width: 100%;
    max-width: 449px;
    height: auto;
    aspect-ratio: 449 / 534;
  }

  .mobile-app__text {
    min-width: 320px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-app {
    padding: 20px 0 60px;
  }

  .mobile-app__content {
    flex-direction: column;
    gap: 30px;
  }

  .mobile-app__image {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .mobile-app__text {
    min-width: 100%;
    gap: 24px;
    order: 0;
  }

  .mobile-app__title {
    font-size: var(--h2-size);
  }

  .mobile-app__list {
    gap: 20px;
  }

  .mobile-app__item-text {
    font-size: var(--body-size);
  }

}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions {
  position: relative;
  padding: 80px 0;
  background-color: var(--color-gray-95);
}

.solutions__bg {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/cpo-software/40d550e1db54da7947a6115d9b8170bc5d9ca61b.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.solutions .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.solutions__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

/* Solutions Grid */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Solution Card */
.solution-card {
background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 16px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    transition: box-shadow var(--transition-fast);
}

.solution-card:hover {
  /* removed */
}

.solution-card__icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-gray-95);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  min-width: 60px;
  min-height: 60px;
}

.solution-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-card__title {
  font-size: var(--h4-size);
  font-weight: var(--font-bold);
  line-height: 1.1;
  color: var(--color-gray-20);
  margin: 0;
}

/* ============================================
   RESPONSIVE - SOLUTIONS
   ============================================ */

@media (max-width: 1024px) {
  .solutions {
    padding: 60px 0;
  }

  .solutions .container {
    gap: 30px;
  }

  .solutions__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .solutions {
    padding: 60px 0;
  }

  .solutions .container {
    gap: 24px;
  }

  .solutions__title {
    font-size: var(--h2-size);
  }

  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .solution-card {
    padding: 16px;
    gap: 4px;
  }

  .solution-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }

  .solution-card__title {
    font-size: var(--h4-size);
  }
}

/* ============================================
   SUCCESS STORIES SECTION
   ============================================ */

.success-stories {
  background-color: var(--color-white);
  padding: 80px 0;
}

.success-stories__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-gray-20);
  margin: 0 0 40px;
}

/* Stories Slider */
.success-stories__slider {
  margin-bottom: 40px;
  overflow: hidden;
}

.success-stories__track {
  display: flex;
  gap: 30px;
}

/* Story Card */
.story-card {
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  background-color: var(--color-gray-95);
  transition: all var(--transition-fast);
}

/* Active Card (большая) */
.story-card--active {
  flex: 1;
  min-width: 600px;
}

.story-card--active .story-card__image {
  width: 265px;
  height: 100%;
  position: relative;
}

.story-card--active .story-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(58, 58, 58, 0) 0%, rgb(58, 58, 58) 100%);
  pointer-events: none;
}

.story-card--active .story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card--active .story-card__image-content {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-card--active .story-card__content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Preview Card (маленька) */
.story-card--preview {
  width: 265px;
  cursor: pointer;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition-fast);
}

.story-card--preview:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.story-card--preview .story-card__image {
  position: absolute;
  inset: 0;
}

.story-card--preview .story-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(58, 58, 58, 0) 0%, rgb(58, 58, 58) 100%);
  pointer-events: none;
}

.story-card--preview .story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card--preview .story-card__preview-content {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-card--preview .story-card__arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-green-50);
  background-color: var(--color-gray-95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-20);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.story-card--preview:hover .story-card__arrow {
    background: linear-gradient(90deg, rgba(61, 208, 120, 0.2) 0%, rgba(61, 208, 120, 0.2) 100%), var(--color-gray-95);
}

/* Card Elements */
.story-card__badge {
  font-size: var(--h4-size);
  font-weight: var(--font-bold);
  line-height: var(--h4-line-height);
  color: var(--color-green-50);
  margin: 0;
}

.story-card__heading {
  font-size: var(--h4-size);
  font-weight: var(--font-semibold);
  line-height: var(--h4-line-height);
  color: var(--color-white);
  margin: 0;
}

.story-card--active .story-card__heading {
  color: var(--color-white);
}

.story-card__sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-card__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-card__section--result {
  background-color: var(--color-white);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.story-card__section-title {
  font-size: var(--body-size);
  font-weight: var(--font-medium);
  line-height: var(--body-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

.story-card__section--result .story-card__section-title {
  color: var(--color-green-40);
}

.story-card__text {
  font-size: var(--body-size);
  font-weight: var(--font-regular);
  line-height: var(--body-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

/* Dots Navigation - використовую існуючий .dot з UI Kit */
.success-stories__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 40px;
}

/* ============================================
   RESPONSIVE - SUCCESS STORIES
   ============================================ */

@media (max-width: 1024px) {
  .success-stories {
    padding: 60px 0;
  }

  .success-stories__title {
    margin-bottom: 30px;
  }

  .story-card--active {
    min-width: 500px;
  }

  .story-card--preview {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .success-stories {
    padding: 60px 0;
  }

  .success-stories__title {
    font-size: var(--h2-size);
    margin-bottom: 24px;
  }

  .success-stories__track {
    flex-direction: column;
    gap: 20px;
  }

  .story-card--active {
    flex-direction: column;
    min-width: 100%;
  }

  .story-card--active .story-card__image {
    width: 100%;
    height: 200px;
  }

  .story-card--active .story-card__content {
    padding: 20px;
    gap: 16px;
  }

  .story-card--preview {
    width: 100%;
  }

  .story-card--preview .story-card__image {
    height: 200px;
  }

  .story-card--preview .story-card__preview-content {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .story-card--active .story-card__image-content {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .story-card--preview .story-card__arrow {
    bottom: 20px;
    right: 20px;
  }

  .success-stories__dots {
    margin-bottom: 30px;
  }
}
.faq--light .faq__title {
    color: var(--color-gray-20);
}

section.faq.faq--light.section-animate.section-animate--visible {
    background-color: var(--color-gray-95);
}


/* ============================================
   TRUST SECTION (Чому обирають нашу платформу)
   ============================================ */

.trust-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.trust-section__bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.trust-section__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-section__bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(58, 58, 58, 0.7);
}

.trust-section .container {
  position: relative;
  z-index: 2;
}

.trust-section__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-white);
  margin: 0 0 40px;
  text-align: center;
}

.trust-section__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Trust Card - Glassmorphism Effect */
.trust-card {
  flex: 1 1 300px;
  min-width: 300px;
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid #666;
  background: linear-gradient(90deg, rgba(58, 58, 58, 0.6) 0%, rgba(31, 31, 31, 0.6) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.trust-card__number {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-green-50);
  margin: 0;
}

.trust-card__text {
  font-size: var(--body-size);
  font-weight: var(--font-regular);
  line-height: var(--body-line-height);
  color: var(--color-white);
  margin: 0;
}

/* ============================================
   RESPONSIVE - TRUST SECTION
   ============================================ */

@media (max-width: 1024px) {
  .trust-section {
    padding: 80px 0;
  }

  .trust-section__title {
    margin-bottom: 30px;
  }

  .trust-section__cards {
    gap: 24px;
  }

  .trust-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .trust-section {
    padding: 60px 0;
  }

  .trust-section__title {
    font-size: var(--h2-size);
    margin-bottom: 30px;
  }

  .trust-section__cards {
    gap: 30px;
  }

  .trust-card {
    flex: 1 1 100%;
    min-width: 100%;
    padding: 20px;
    gap: 20px;
  }

  .trust-card__number {
    font-size: var(--h2-size);
  }

  .trust-card__text {
    font-size: var(--body-size);
  }
}

/* ============================================
   CHARGING STATIONS SECTION
   ============================================ */

.charging-stations {
  background-color: var(--color-white);
  padding: 80px 0;
}

.charging-stations__content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.charging-stations__text {
  flex: 1 1 354px;
  min-width: 354px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.charging-stations__title {
  font-size: var(--h2-size);
  font-weight: var(--font-bold);
  line-height: var(--h2-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

.charging-stations__description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

a.btn.btn--filled.btn--lg {
    align-self: flex-start;
}

.charging-stations__description p {
  font-size: var(--body-size);
  font-weight: var(--font-regular);
  line-height: var(--body-line-height);
  color: var(--color-gray-20);
  margin: 0;
}

.charging-stations__gallery {
  flex-shrink: 0;
  width: 579px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.charging-stations__slider {
  width: 100%;
  height: 360px;
  background-color: #1f1f1f;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.charging-stations__slider-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none;
}

/* First slide visible by default (before JS loads) */
.charging-stations__slider-image:first-child {
  display: block;
  opacity: 1;
}

/* When JS is active, it will control display/opacity directly */
.charging-stations__slider-image[style*="display: block"] {
  display: block !important;
}

.charging-stations__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrow Navigation (використовуємо існуючий .arrow-nav з UI Kit) */
.charging-stations__gallery .arrow-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
}

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

.cta-section {
  position: relative;
  min-height: 571px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(58, 58, 58, 0.3);
  pointer-events: none;
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-card {
  max-width: 540px;
  width: 100%;
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(58, 58, 58, 0.6) 0%, rgba(31, 31, 31, 0.6) 100%);
  border: 1px solid #666;
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cta-card__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-card__title {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  font-size: var(--h2-size);
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
}

.cta-card__text {
  font-family: var(--font-primary);
  font-weight: var(--font-regular);
  font-size: var(--body-size);
  line-height: 1.5;
  color: var(--color-white);
  margin: 0;
}

.cta-card .btn {
  align-self: flex-start;
}

/* ============================================
   RESPONSIVE - CHARGING STATIONS
   ============================================ */

@media (max-width: 1024px) {
  .charging-stations {
    padding: 60px 0;
  }

  .charging-stations__content {
    gap: 30px;
  }

  .charging-stations__text {
    gap: 30px;
    min-width: 300px;
  }

  .charging-stations__gallery {
    width: 100%;
    max-width: 579px;
  }
}

@media (max-width: 768px) {
  .charging-stations__title {
    font-size: var(--h2-size);
  }

  .charging-stations__text {
    flex: 1 1 100%;
    min-width: 100%;
    gap: 40px;
  }

  .charging-stations__description {
    gap: 16px;
  }

  .charging-stations__description p {
    font-size: var(--body-size);
  }

  .charging-stations__gallery {
    width: 100%;
  }

  .charging-stations__slider {
    height: 280px;
  }

  .cta-section {
    min-height: 360px;
    padding: 40px 0;
    background-position: center 0px;
  }

  .cta-card {
    max-width: 100%;
    padding: 30px 24px;
    gap: 24px;
  }

  .cta-card__content {
    gap: 16px;
  }

  .cta-card__title {
    font-size: var(--h3-alt-size);
  }

  .cta-card__text {
    font-size: var(--body-size);
  }

  .cta-card .btn {
    width: 100%;
  }
}

