/* Enhanced About page styles */

.about-hero {
  text-align: center;
  padding: 60px 0 48px;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 100vw);
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

.about-hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grad-1);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

.about-hero .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 0 12px var(--grad-1);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.about-hero h1 {
  font-family: Orbitron, Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 56px);
  margin: 0 0 20px;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, var(--text) 20%, var(--grad-1) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.about-hero > p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Philosophy section with elegant styling */
.about-philosophy {
  max-width: 780px;
  margin: 48px auto 60px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(180deg, 
    rgba(15, 26, 46, 0.6), 
    rgba(12, 22, 38, 0.4));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.about-philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--grad-1) 30%, 
    var(--grad-2) 50%, 
    var(--grad-3) 70%, 
    transparent);
  opacity: 0.8;
}

.about-philosophy p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.about-philosophy p + p {
  margin-top: 20px;
}

.about-philosophy p:first-of-type::first-letter {
  font-size: 2.2em;
  font-weight: 800;
  line-height: 1;
  float: left;
  margin: 0 8px 0 0;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced grid for about cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 60px auto 48px;
  max-width: 1200px;
}

/* Enhanced cards with icons */
.about-grid .card {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, 
    rgba(15, 26, 46, 0.8), 
    rgba(12, 22, 38, 0.6));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.about-grid .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 0%, 
    rgba(168, 85, 247, 0.1), 
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.about-grid .card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 16px 48px rgba(168, 85, 247, 0.2),
              0 0 0 1px rgba(168, 85, 247, 0.15) inset;
}

.about-grid .card:hover::before {
  opacity: 1;
}

.about-grid .card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-grid .card h3::before {
  content: '';
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.2), 
    rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
  transition: all 0.3s ease;
}

.about-grid .card:hover h3::before {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

.about-grid .card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.about-grid .card ul {
  margin: 0;
  padding-left: 20px;
  position: relative;
  z-index: 1;
}

.about-grid .card li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  margin: 6px 0;
}

.about-grid .card li::marker {
  color: var(--grad-1);
}

/* CTA section */
.about-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 60px;
  padding-bottom: 40px;
}

.about-actions .btn-primary {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  border: none;
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-actions .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.5);
}

.about-actions .btn-secondary {
  background: rgba(15, 26, 46, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(168, 85, 247, 0.25);
  transition: all 0.3s ease;
}

.about-actions .btn-secondary:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .about-philosophy {
    padding: 24px;
    margin: 40px auto 48px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: 48px 0 36px;
  }
  
  .about-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -0.5px;
  }
  
  .about-philosophy {
    padding: 16px 12px;
    margin: 24px 0 32px;
    border-radius: 16px;
  }
  
  .about-philosophy p {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .about-grid .card {
    padding: 24px 20px;
  }
  
  .about-actions {
    flex-direction: column;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-actions .btn {
    width: 100%;
  }
}
