.about {
  height: 350vh;
  width: 100%;
  position: relative;
}

.about-container {
  height: calc(100vh - calc((var(--nav-height) / 2) - 20px));
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  padding-top: calc((var(--nav-height) / 2) - 20px);
  margin-top: -30px;
}

.about-content {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  margin: 20px;
  border-radius: 20px;
  border: 1px solid #00000044;
  background-color: var(--color-invert);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  gap: 40px;
  padding: 40px;
}

.about-stats-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  z-index: 10;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.44, -0.2, 0, 1.57);
}

.about-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0;
  line-height: 1;
}

.about-stat-label {
  font-size: 14px;
  color: var(--color-text);
  margin: 8px 0 0 0;
  opacity: 0.8;
}

.about-main-content {
  display: flex;
  width: 100%;
  max-width: 1100px;
  gap: 60px;
  align-items: center;
}

.about-profile-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 400px;
  gap: 30px;
}

.about-profile-bubble {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.about-profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.about-profile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    var(--color-secondary) 20,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.5;
  }
}

.about-story {
  display: flex;
  width: 100%;
  flex: 1;
}

.about-text-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-text-text {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
  padding-right: 20px;
  transition: all 0.25s;
  transition-timing-function: cubic-bezier(0.44, -0.2, 0, 1.57);
}

.about-text:not(.enabled) {
  opacity: 0.5;
}

.about-text.enabled .about-text-text {
  font-weight: 700;
  letter-spacing: -0.015rem;
  padding-right: 0;
}

.about-text {
  display: flex;
  gap: 20px;
  align-items: center;
}

.about-text-progress {
  background-color: var(--color-secondary);
  min-width: 4px;
  width: 4px;
  height: 100%;
  border-radius: 300px;
  transition: height 0.3s;
  transition-timing-function: cubic-bezier(0.44, -0.2, 0, 1.57);
}

.about-text:not(.enabled) .about-text-progress {
  height: 0%;
}

@media screen and (max-width: 1200px) {
  .about {
    height: fit-content;
  }

  .about-container {
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .about-main-content {
    flex-direction: column;
    gap: 40px;
  }

  .about-profile-section {
    min-width: auto;
    align-items: center;
    gap: 20px;
  }

  .about-stats-cards {
    margin-bottom: 0;
  }

  .about-story {
    width: 100%;
    max-width: 600px;
  }

  .about-text-container {
    width: 100%;
  }

  .about-text:not(.enabled) {
    opacity: 1;
  }

  .about-text.enabled .about-text-text {
    font-weight: inherit;
    letter-spacing: inherit;
    padding-right: inherit;
  }

  .about-text-progress {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .about-stats-cards {
    flex-direction: column;
    gap: 15px;
  }

  .about-stat-card {
    padding: 15px;
    min-width: 60px;
  }

  .about-stat-number {
    font-size: 24px;
  }

  .about-profile-bubble {
    width: 250px;
    height: 250px;
  }

  .about-profile-image {
    width: 200px;
    height: 200px;
  }

  .about-profile-glow {
    width: 280px;
    height: 280px;
  }
}

@media screen and (max-width: 670px) {
  .about-container {
    margin: 0;
  }

  .about-content {
    width: 100%;
    margin: 0px 10px;
    margin-bottom: 20px;
    padding: 20px;
  }

  .about-main-content {
    gap: 30px;
  }

  .about-stats-cards {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .about-stat-card {
    padding: 12px;
    min-width: 50px;
  }

  .about-stat-number {
    font-size: 20px;
  }

  .about-stat-label {
    font-size: 12px;
  }

  .about-text-text {
    padding-right: 0 !important;
  }
}

@media screen and (max-width: 480px) {
  .about-content {
    margin: 0px 5px;
    padding: 15px;
  }

  .about-profile-bubble {
    width: 200px;
    height: 200px;
  }

  .about-profile-image {
    width: 160px;
    height: 160px;
  }

  .about-profile-glow {
    width: 230px;
    height: 230px;
  }
}
