/* About section styling - single row layout with compact features */
#about {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  text-align: center;
}

#about .title {
  margin-bottom: 24px;
  font-size: 1.8em;
  letter-spacing: -0.02em;
}

.about-main {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.animated-text {
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: 0.2s;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.floating-image {
  max-width: 100px;
  height: auto;
  margin: 16px auto 24px;
  display: block;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  border-radius: 6px;
}

.about-features {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  flex-wrap: nowrap;
  padding: 0 12px;
  max-width: 800px;
}

.feature {
  flex: 1;
  min-width: 110px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.8s forwards;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.feature:nth-child(1) { animation-delay: 0.3s; }
.feature:nth-child(2) { animation-delay: 0.5s; }
.feature:nth-child(3) { animation-delay: 0.7s; }

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 1em;
  margin-bottom: 8px;
  color: #f8c034;
  height: 32px;
  width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-size: 0.9em;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.75em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-features {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .feature {
    width: 100%;
    max-width: 220px;
    min-width: auto;
  }
  
  #about {
    padding: 32px 0;
  }
  
  #about .title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  
  .animated-text {
    font-size: 0.85em;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .animated-text, .feature, .floating-image {
    animation: none;
    opacity: 1;
    transform: none;
  }
}