.main {
  width: 100%;
  max-width: 70%;
  margin: auto;
  padding: 40px 20px;
  color: white;
}
@media (max-width: 1400px) {
  .main {
    max-width: 80%;
  }
}

.main h1 {
  display: block;
  font-size: 50px !important;
  text-wrap: balance;
  text-align: left;
  font-weight: 700;
  margin-bottom: 20px;
}
@media (max-width: 800px) {
  .main h1 {
    font-size: 40px !important;
  }
}
@media (max-width: 500px) {
  .main h1 {
    font-size: 24px !important;
  }
}
@media (max-width: 768px) {
  .main {
    width: 78%;
  }
}
.main p {
  line-height: 2;
  color: white;
  margin-bottom: 40px;
}

/* Estilos para la sección hero con iconos y texto */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  margin: 40px 0;
  width: 100%;
}

.hero-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-label {
  margin-top: 15px;
  color: #f39c12;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.icon-animation-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.animated-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: all 0.8s ease-in-out;
  transform-origin: center center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.animated-icon:first-child {
  opacity: 1;
}


.hero-content {
  width: 100%;
}

.hero-content h1 {
  font-size: 50px !important;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  line-height: 1.2;
  text-align: center;
}

.hero-description {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #827AC5;
  text-align: center;
}

.hero-subdescription {
  font-size: 16px;
  line-height: 1.8;
  color: white;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px !important;
  }
  
  .hero-description {
    font-size: 20px;
  }
}

.process {
  width: 70%;
  margin: 50px auto;
}
@media (max-width: 1400px) {
  .process {
    width: 80%;
  }
}
.process .title {
  color: white;
  font-size: 50px;
}
@media (max-width: 800px) {
  .process .title {
    font-size: 40px;
  }
}
@media (max-width: 500px) {
  .process .title {
    font-size: 24px !important;
  }
}
.process .cards {
  color: white;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.process .cards ul {
  padding-left: 16px;
}
.process .cards ul li {
  margin: 0 0 10px 0;
  font-weight: 100;
}
@media (max-width: 500px) {
  .process .cards {
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
}

.experiences {
  width: 70%;
  margin: 50px auto;
}
@media (max-width: 1400px) {
  .experiences {
    width: 80%;
  }
}
.experiences .cards_experiences {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;

  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 15px;
}
@media (max-width: 800px) {
  .experiences .cards_experiences {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 30px;
  }
}
.experiences h2 {
  font-size: 50px;
  color: white;
}
@media (max-width: 800px) {
  .experiences h2 {
    font-size: 40px !important;
  }
  .experiences h2 br {
    display: none;
  }
}
@media (max-width: 500px) {
  .experiences h2 {
    font-size: 24px !important;
  }
}
.experiences a {
  text-decoration: none;
  color: white;
}
.experiences p {
  color: white;
  text-align: center;
}


.experiences figure {
  margin: 0;
  overflow: hidden;
  text-align: left;
}
.experiences figure img {
  width: 85%;
  margin-left: 0;
  display: block;
}

/* Estilos para los iconos apilados en forma de fila hacia atrás */
.app-stack-container {
  position: relative;
  width: 100px;
  height: 160px;
  margin: 0 auto;
  perspective: 800px;
  transform-style: preserve-3d;
}

.app-icon {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  background-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 1;
  will-change: opacity, transform, bottom;
  transform-origin: center center;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* Posicionamiento de cada icono para crear efecto de fila */
.app-icon-1 {
  bottom: 4px;
  left: 0;
  z-index: 4;
  transform: translateZ(0) scale(1);
  transition: all 0.5s ease-in-out;
}

.app-icon-2 {
  bottom: 14px;
  left: 0;
  z-index: 3;
  transform: translateZ(-25px) scale(0.96);
}

.app-icon-3 {
  bottom: 20px;
  left: 0;
  z-index: 2;
  transform: translateZ(-50px) scale(0.92);
}

.app-icon-4 {
  bottom: 28px;
  left: 0;
  z-index: 1;
  transform: translateZ(-75px) scale(0.88);
}

/* Clase para la animación de elevación */
.app-icon-elevating {
  bottom: 120px !important;
  transform: translateZ(10px) scale(0.95) !important;
  opacity: 0.95;
}

/* Clase para la transición al fondo */
.app-icon-moving-back {
  bottom: 12px !important;
  transform: translateZ(-75px) scale(0.88) !important;
  opacity: 0.8;
  z-index: 0 !important;
}

.icon-label {
  margin-top: 10px;
  color: #827AC5;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* Sección de capturas de apps - Optimización de rendimiento */
.app-showcase {
  width: 100%;
  padding: 60px 0;
  overflow: hidden;
}

.app-showcase__inner {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.app-showcase__title {
  color: white;
  font-size: 50px;
  margin-bottom: 30px;
  text-align: center;
}

.app-showcase__description {
  color: #827AC5;
  font-size: 24px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.app-slide {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9/18;
  margin: 0;
  border-radius: 30px;


  transition: transform 0.5s, box-shadow 0.5s;
}



.app-slide img,
.app-slide video {

  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 9/18;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Estilos básicos para Splide */
.splide__track {
  overflow: visible!important;
  padding: 0 !important;
}

.splide__list {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 0;
}

.splide__slide {
  transition: opacity 0.5s;
  opacity: 0.9;
  flex: 0 0 auto;
}

.splide__slide.is-active {
  opacity: 1;
}

/* Estilos para drag/grab */
.app-showcase .splide__list {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.app-showcase .splide__arrow {
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.app-showcase .splide__arrow:hover {
  opacity: 1;
  transform: scale(1.1);
}

.app-showcase .splide__arrow svg {
  fill: white;
}

@media (max-width: 1200px) {
  .app-slide {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .app-slide {
    max-width: 280px;
  }
  
  .app-showcase__title {
    font-size: 36px;
  }
  
  .app-showcase__description {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .app-slide {
    max-width: 250px;
  }
}


.app-info {
  display: flex;
  align-items: center;
  gap: 20px;

  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  color: white;
}

.app-info__inner {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex-direction: column;
}

.app-info__inner h3 {
  margin: 0;
}

.app-info__inner p {
  margin: 10px 0;
}

.app-info__icon {
  width: 55px!important;
  height: 50px!important;
  border-radius: 10px!important;
}

.app-info__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.app-info__description {
  font-size: 14px;
  opacity: 0.8;
}

.service-section {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin: 60px 0;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
}

.service-container::before {
  content: attr(data-bg-text);
  position: absolute;
  font-size: 350px;
  font-weight: 800;
  opacity: 0.03;
  white-space: nowrap;
  color: white;
  z-index: 0;
  text-transform: uppercase;
  transform: translateX(-50%);
  left: 50%;
}

.service-container.reverse {
  flex-direction: row-reverse;
}

.service-container.reverse::before {
  transform: translateX(-50%);
}

.service-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.service-title {
  color: #827AC5;
  font-size: 50px;
  margin-bottom: 20px;
}

.service-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #827AC5;
  font-size: 16px;
}

.circular-showcase-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.circular-showcase-link:hover {
  transform: scale(1.05);
}

.circular-showcase-link:hover .wave {
  border-color: rgba(130, 122, 197, 0.2);
}

.circular-showcase {
  position: relative;
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.circular-waves {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wave {
  position: absolute;
  border-radius: 50%;
  border: 54px solid rgba(130, 122, 197, 0.1);
  width: 76%;
  height: 74%;
  animation: wave-out 4s linear infinite;
}

.wave:nth-child(2) {
  animation-delay: -1s;
}

.wave:nth-child(3) {
  animation-delay: -2s;
}

.wave:nth-child(4) {
  animation-delay: -3s;
}

@media (max-width: 500px) {
  .wave {
    width: 55%;
    height: 59%;
  }
}

@keyframes wave-out {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.circular-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
}

.circular-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #827AC5 0%, #5D54A4 100%);
  opacity: 0.2;
}

.showcase-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services{
  margin-top: 0px;
}

.services .service__card{
  height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1024px) {
  .service-container {
    flex-direction: column;
    text-align: center;
  }

  .service-container.reverse {
    flex-direction: column;
  }

  .circular-showcase {
    width: 400px;
    height: 400px;
  }

  .service-features {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .service-container::before {
    font-size: 120px;
  }
}

@media (max-width: 768px) {
  .service-title {
    font-size: 36px;
  }

  .circular-showcase {
    width: 300px;
    height: 300px;
  }

  .service-container::before {
    font-size: 80px;
  }
}

@media (max-width: 480px) {
  .circular-showcase {
    width: 250px;
    height: 250px;
  }
}

.text-center {
  text-align: center;
}