/* ABOUT JOOSEP PAGE - MODERN & DYNAMIC REDESIGN */

.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

/* Animated Particles Background */
.about-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.about-particles::before,
.about-particles::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat 20s infinite linear;
}

.about-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  box-shadow: 
    300px 200px 0 rgba(255, 255, 255, 0.3),
    600px 400px 0 rgba(255, 255, 255, 0.2),
    900px 100px 0 rgba(255, 255, 255, 0.4);
}

.about-particles::after {
  top: 60%;
  left: 80%;
  animation-delay: 5s;
  box-shadow: 
    -200px 300px 0 rgba(255, 255, 255, 0.3),
    -500px 150px 0 rgba(255, 255, 255, 0.2),
    -800px 450px 0 rgba(255, 255, 255, 0.4);
}

@keyframes particleFloat {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(100px, -100px) rotate(360deg); opacity: 0; }
}

/* Header Section */
.about-header {
  text-align: center;
  position: relative;
  padding: 60px 0 40px;
  z-index: 1;
}

.about-header__badge {
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.badge-text {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
}

.badge-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.about-header__title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  perspective: 1000px;
}

.title-line {
  display: inline-block;
  color: #ffffff;
  letter-spacing: 8px;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  animation: titleReveal 1s ease-out backwards;
  transform-style: preserve-3d;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.title-line--accent {
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.title-line--accent::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: underlineExpand 1s ease-out 0.6s forwards;
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes underlineExpand {
  to { width: 100%; }
}

.about-header__subtitle {
  margin: 30px 0;
}

.subtitle-tags {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.tag:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tag:hover::before {
  left: 100%;
}

.tag--animated {
  opacity: 0;
  transform: translateY(20px);
  animation: tagFadeIn 0.6s ease-out forwards;
}

.tag--animated[data-delay="0"] { animation-delay: 0.6s; }
.tag--animated[data-delay="100"] { animation-delay: 0.7s; }
.tag--animated[data-delay="200"] { animation-delay: 0.8s; }

@keyframes tagFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-header__description {
  max-width: 600px;
  margin: 40px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: #aaaaaa;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Cards Grid - Modern 3D Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.about-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(50px) rotateX(10deg);
  animation: cardReveal 0.8s ease-out forwards;
}

.about-card[data-card="1"] { animation-delay: 0.2s; }
.about-card[data-card="2"] { animation-delay: 0.4s; }
.about-card[data-card="3"] { animation-delay: 0.6s; }

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.about-card__corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.about-card__corner::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-left: 2px solid rgba(255, 255, 255, 0.6);
}

.about-card__scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateY(-2px);
  animation: scanlineMove 4s linear infinite;
  opacity: 0.5;
}

@keyframes scanlineMove {
  0% { transform: translateY(-2px); }
  100% { transform: translateY(calc(100% + 2px)); }
}

.about-card__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-15px) rotateX(-5deg) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 255, 255, 0.1),
    inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.about-card:hover .about-card__corner {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0.5);
}

.about-card:hover .about-card__scanline {
  opacity: 1;
  animation-duration: 2s;
}

.about-card:hover .about-card__glow {
  width: 200%;
  height: 200%;
}

.about-card__content {
  padding: 40px 30px;
  position: relative;
  z-index: 2;
}

.about-card__icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card__icon {
  font-size: 48px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.about-card:hover .about-card__icon {
  transform: scale(1.2) rotate(5deg);
}

.icon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.about-card__number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  font-family: 'Roboto', monospace;
}

.about-card__title {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.about-card__text {
  font-size: 15px;
  font-weight: 400;
  color: #aaaaaa;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

.about-card__accent-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  margin: 25px auto 0;
  transition: width 0.5s ease;
}

.about-card:hover .about-card__accent-line {
  width: 60%;
}

/* Stats Section - Modern Animated */
.about-stats {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item__wrapper {
  display: flex;
  align-items: baseline;
  gap: 5px;
  position: relative;
}

.stat-item__value {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: #ffffff;
  font-family: 'Roboto', monospace;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  line-height: 1;
  min-width: 60px;
  text-align: center;
}

.stat-item__plus {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.stat-item__label {
  font-size: 12px;
  font-weight: 600;
  color: #888888;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 5px;
}

.stat-item__progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
}

.stat-item__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6));
  border-radius: 2px;
  transition: width 2s ease-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* CTA Button - Modern with Ripple Effect */
.about-cta {
  align-self: center;
  position: relative;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  border: none;
  background: transparent;
  overflow: visible;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 1.4s forwards;
}

.cta-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: -1;
}

.cta-border {
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.about-cta:hover .cta-background {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
  transform: scale(1.05);
}

.about-cta:hover .cta-border {
  opacity: 1;
}

.about-cta:hover {
  transform: translateY(-3px);
}

.about-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.about-cta__icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.about-cta:hover .about-cta__icon {
  transform: scale(1.2);
}

.about-cta__text {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.about-cta__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* PROFILE DIAGRAM CONTAINER - Full Width */
.profile-diagram-container {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 600px;
  min-height: 600px;
  margin: 0;
  padding: 40px 0;
  z-index: 1;
  pointer-events: all;
  /* Break out of parent container constraints */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  /* Temporary: make container visible for debugging */
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-diagram-container svg {
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
}

.profile-diagram-container svg:active {
  cursor: grabbing !important;
}

.profile-diagram-container .tech-box {
  cursor: move;
  transition: transform 0.2s ease;
}

.profile-diagram-container .tech-box:hover {
  transform: scale(1.05);
}

.profile-diagram-container .tech-box:active {
  cursor: move;
}

/* STAR TRANSITION CONTAINER - Page 1 */
#star-transition-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.about-container--star-transition {
  position: relative;
  z-index: 1;
  animation: fadeInFromStars 1.5s ease-out;
}

@keyframes fadeInFromStars {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TECH STACKS PAGE - FANCY REDESIGN */

.techstacks-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
}

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

.techstacks-header__title {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 8px;
  margin: 0 0 15px 0;
  text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.techstacks-header__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #999999;
  letter-spacing: 2px;
  margin: 0;
}

/* Visualization Wrapper - Full Screen */
.techstacks-viz-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  border: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 1;
  display: block;
  visibility: visible;
  opacity: 1;
  left: 0;
  right: 0;
  /* Break out of parent container constraints */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

#tech-viz-container,
#about-tech-viz-container {
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: block;
  position: relative;
  background: rgba(0, 0, 0, 0.1); /* Temporary background to see if container exists */
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}

/* Override content centering for tech viz section - Full width */
.content-section[data-page="1"] {
  width: 100vw !important;
  position: absolute;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  transform: none !important;
}

.content-section[data-page="1"] .techstacks-viz-wrapper {
  width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  position: relative;
}

#about-tech-viz-container svg {
  margin: 0;
  padding: 0;
  display: block;
  left: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

.viz-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.viz-overlay--top {
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.viz-overlay--bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* Legend */
.techstacks-legend {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 25px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.legend-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid;
  position: relative;
  animation: legendPulse 2s ease-in-out infinite;
}

.legend-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid;
  border-color: inherit;
  opacity: 0.3;
}

.legend-dot--backend {
  border-color: #bbbbbb;
  background: rgba(187, 187, 187, 0.2);
}

.legend-dot--frontend {
  border-color: #cccccc;
  background: rgba(204, 204, 204, 0.2);
}

.legend-dot--database {
  border-color: #aaaaaa;
  background: rgba(170, 170, 170, 0.2);
}

.legend-dot--devops {
  border-color: #999999;
  background: rgba(153, 153, 153, 0.2);
}

@keyframes legendPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.legend-text {
  font-size: 13px;
  font-weight: 700;
  color: #cccccc;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* CTA Button */
.techstacks-cta {
  align-self: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 16px 35px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.techstacks-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.techstacks-cta:hover::before {
  transform: translateX(100%);
}

.techstacks-cta:hover {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.techstacks-cta__text {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.techstacks-cta__arrow {
  font-size: 20px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.techstacks-cta:hover .techstacks-cta__arrow {
  transform: translateX(5px);
}

/* RESPONSIVE */
@media only screen and (max-width: 900px) {
  .about-container {
    gap: 60px;
    padding: 40px 20px;
  }

  .about-header {
    padding: 40px 0 30px;
  }

  .about-header__title {
    font-size: clamp(36px, 10vw, 64px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .subtitle-tags {
    gap: 10px;
  }

  .tag {
    font-size: 11px;
    padding: 8px 16px;
  }

  .techstacks-header__title {
    font-size: 36px;
  }

  .techstacks-legend {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .about-container {
    gap: 50px;
    padding: 30px 15px;
  }

  .about-header {
    padding: 30px 0 20px;
  }

  .about-header__title {
    font-size: clamp(32px, 12vw, 48px);
    letter-spacing: 4px;
  }

  .about-header__description {
    font-size: 14px;
  }

  .about-card__content {
    padding: 30px 20px;
  }

  .about-card__icon {
    font-size: 40px;
  }

  .about-card__icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 15px;
  }

  .stat-item {
    padding: 25px 15px;
  }

  .stat-item__value {
    font-size: 42px;
  }

  .about-cta {
    padding: 18px 35px;
  }

  .about-cta__text {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .techstacks-viz-wrapper {
    height: 400px;
  }

  .profile-diagram-container {
    height: 500px;
    min-height: 500px;
    margin: 30px 0;
  }
}

/* ENTRANCE ANIMATIONS */
.about-header {
  animation: fadeInUp 0.8s ease-out;
}

.about-card:nth-child(1) {
  animation: fadeInUp 0.6s 0.2s ease-out backwards;
}

.about-card:nth-child(2) {
  animation: fadeInUp 0.6s 0.3s ease-out backwards;
}

.about-card:nth-child(3) {
  animation: fadeInUp 0.6s 0.4s ease-out backwards;
}

.about-stats {
  animation: fadeInUp 0.6s 0.5s ease-out backwards;
}

.about-cta {
  animation: fadeInUp 0.6s 0.6s ease-out backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
