/* ========================================
   ABOUT SECTION - Meet the Founders
   ======================================== */

.about-section {
  padding-top: var(--spacing-xl);
  padding-bottom: 0;
  max-width: 72rem;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.about-header .section-subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Founders Grid - mobile first, 3 columns on desktop */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .founders-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual Founder Card */
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background-color: var(--background-alt);
  transition: all 0.3s ease;
}

/* Profile Picture Placeholder - light grey circle matching social icons */
.founder-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--hover-bg);
  border: 1px solid var(--border);
  margin-bottom: var(--spacing-md);
  flex-shrink: 0;
}

/* Founder Name */
.founder-name {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--spacing-sm) 0;
  letter-spacing: var(--tracking-tight);
}

/* Social Links */
.founder-socials {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.founder-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hover-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.founder-socials a:hover {
  background: var(--border);
  color: var(--text-primary);
}

.founder-socials a i,
.founder-socials a .lucide {
  width: 15px;
  height: 15px;
}

/* Founder Description */
.founder-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--spacing-md) 0;
}

/* ========================================
   SCROLLING COUNTRY FLAGS (vertical, like features)
   ======================================== */

.founder-countries-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-bottom: var(--spacing-md);
  white-space: nowrap;
}

.founder-countries-label::before,
.founder-countries-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.founder-countries {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.founder-countries-scroll {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
  height: 150px;
}

/* Top fade */
.founder-countries-scroll::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2rem;
  background: linear-gradient(to bottom, var(--background-alt), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Bottom fade */
.founder-countries-scroll::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2rem;
  background: linear-gradient(to top, var(--background-alt), transparent);
  z-index: 1;
  pointer-events: none;
}

.founder-countries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  animation: scrollFounderCountries 10s linear infinite;
  justify-content: center;
}

.founder-countries-grid::before,
.founder-countries-grid::after {
  content: none;
}

/* Individual country pill */
.founder-country-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  background-color: var(--background);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.founder-country-name {
  font-weight: var(--font-medium);
  white-space: nowrap;
}

@keyframes scrollFounderCountries {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

/* Pause animation on hover */
.founder-card:hover .founder-countries-grid {
  animation-play-state: paused;
}

/* ========================================
   ABOUT SECTION - MEDIA QUERIES
   ======================================== */

@media (max-width: 640px) {
  .about-section {
    padding-left: var(--content-padding-mobile);
    padding-right: var(--content-padding-mobile);
  }

  .founders-grid {
    max-width: 480px;
    margin: 0 auto;
  }
}
