
/* ================================================
   WEBLIXFLOW - HOLOGRAPHIC ABOUT CARDS
   Innovation / Creativity / Growth
================================================ */

#about .about-values {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

/* Main card */
#about .about-value-card {
  --spot-x: 50%;
  --spot-y: 50%;

  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  gap: 16px;

  min-width: 0;
  min-height: 170px;
  padding: 24px;

  overflow: hidden;
  cursor: pointer;

  border: 1px solid rgba(177, 145, 255, .22);
  border-radius: 20px;

  background:
    radial-gradient(
      250px circle at var(--spot-x) var(--spot-y),
      rgba(155, 117, 255, .22),
      transparent 70%
    ),
    linear-gradient(
      145deg,
      rgba(35, 24, 65, .98),
      rgba(13, 10, 29, .98)
    );

  transform-style: preserve-3d;

  transition:
    border-color .4s ease,
    box-shadow .45s ease,
    transform .45s cubic-bezier(.2,.8,.2,1),
    opacity .4s ease;
}

/* Rotating holographic background */
#about .about-value-card::before {
  content: "";
  position: absolute;
  inset: -100%;
  z-index: -1;

  opacity: 0;
  pointer-events: none;

  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(167, 139, 250, .28) 70deg,
    rgba(85, 210, 255, .22) 145deg,
    transparent 210deg,
    rgba(198, 145, 255, .22) 280deg,
    transparent 360deg
  );

  transition: opacity .5s ease;
}

/* Moving scan light */
#about .about-value-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -120%;
  left: 0;
  width: 100%;
  height: 65%;

  opacity: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(190, 164, 255, .15),
    rgba(112, 205, 255, .10),
    transparent
  );
}

/* Card active state */
#about .about-value-card.is-active {
  border-color: rgba(190, 160, 255, .8);

  box-shadow:
    0 22px 55px rgba(94, 57, 180, .25),
    0 0 30px rgba(155, 117, 255, .16),
    inset 0 0 25px rgba(155, 117, 255, .07);

  transform: translateY(-8px);
}

#about .about-value-card.is-active::before {
  opacity: 1;
  animation: wfHoloRotate 10s linear infinite;
}

#about .about-value-card.is-active::after {
  opacity: 1;
  animation: wfHoloScan 3s ease-in-out infinite;
}

@keyframes wfHoloRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes wfHoloScan {
  0% {
    top: -70%;
  }
  100% {
    top: 130%;
  }
}

/* Card content */
#about .about-value-card > div {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  transform: translateZ(20px);
}

#about .about-value-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

#about .about-value-card p {
  color: rgba(220, 210, 240, .75);
  line-height: 1.7;
}

/* Icon */
#about .about-value-icon {
  position: relative;
  z-index: 3;
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transform: translateZ(30px);

  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    color .4s ease,
    text-shadow .4s ease;
}

/* Energy ring around icon */
#about .about-value-icon::after {
  content: "";
  position: absolute;
  inset: -9px;

  border: 1px solid rgba(183, 151, 255, .65);
  border-radius: 50%;

  opacity: 0;
  transform: scale(.6);
  transition: .4s ease;
}

#about .about-value-card.is-active .about-value-icon {
  color: #fff;
  transform: translateZ(35px) scale(1.2);
  text-shadow: 0 0 18px rgba(183, 151, 255, .9);
  animation: wfIconFloat 2s ease-in-out infinite;
}

#about .about-value-card.is-active .about-value-icon::after {
  opacity: 1;
  transform: scale(1);
  animation: wfEnergyRing 2s ease-in-out infinite;
}

@keyframes wfIconFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@keyframes wfEnergyRing {
  0%, 100% {
    transform: scale(.9);
    opacity: .45;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

/* Extra content */
#about .about-card-extra {
  display: block;
  max-height: 0;
  overflow: hidden;

  opacity: 0;
  margin-top: 0;

  color: #c8b7ed;
  font-size: 12px;
  line-height: 1.7;

  transition:
    max-height .5s ease,
    opacity .4s ease,
    margin .4s ease;
}

#about .about-value-card.is-active .about-card-extra {
  max-height: 85px;
  opacity: 1;
  margin-top: 12px;
}

/* Number */
#about .about-value-number {
  position: relative;
  z-index: 2;
  transform: translateZ(15px);
  transition: color .4s ease;
}

#about .about-value-card.is-active .about-value-number {
  color: #c6a9ff;
}

/* Inactive cards */
#about .about-value-card:not(.is-active) {
  opacity: .78;
}

#about .about-value-card:not(.is-active):hover {
  opacity: 1;
}

/* Keyboard accessibility */
#about .about-value-card:focus-visible {
  outline: 2px solid #bd9cff;
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 900px) {
  #about .about-values {
    gap: 12px;
  }

  #about .about-value-card {
    padding: 18px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  #about .about-values {
    grid-template-columns: 1fr;
  }

  #about .about-value-card {
    min-height: 125px;
    transform: none !important;
  }

  #about .about-value-card.is-active {
    transform: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #about .about-value-card,
  #about .about-value-card::before,
  #about .about-value-card::after,
  #about .about-value-icon {
    animation: none !important;
    transition: none !important;
  }
}



/* =========================================
   WEBLIXFLOW - SCROLL TRIGGERED CARD INTRO
========================================= */

#about .about-value-card {
  opacity: 1;
}

#about .about-values.wf-cards-intro .about-value-card {
  animation: wfCardReveal 1s cubic-bezier(.16, 1, .3, 1) both;
}

#about .about-values.wf-cards-intro .about-value-card:nth-child(1) {
  animation-delay: 0s;
}

#about .about-values.wf-cards-intro .about-value-card:nth-child(2) {
  animation-delay: .22s;
}

#about .about-values.wf-cards-intro .about-value-card:nth-child(3) {
  animation-delay: .44s;
}

@keyframes wfCardReveal {
  0% {
    opacity: 0;
    translate: 0 55px;
    scale: .88;
    filter: blur(7px);
  }

  70% {
    opacity: 1;
    translate: 0 -7px;
    scale: 1.025;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #about .about-values.wf-cards-intro .about-value-card {
    animation: none !important;
    opacity: 1;
    translate: none;
    scale: 1;
    filter: none;
  }
}
