/* ============================================================
   TechKaizen About Page Styling  —  css/about.css
   ============================================================ */

/* ─── ABOUT HERO ─── */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 20px 80px;
  overflow: hidden;
}

.about-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 24px;
  margin-bottom: 30px;
  line-height: 1.1;
  max-width: 900px;
}

.about-hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── MISSION SECTION ─── */
.about-mission {
  padding-top: 60px;
  padding-bottom: 120px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.mission-text .section-subtitle {
  text-align: left;
  margin: 0 0 32px 0;
  max-width: none;
}

.mission-desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.mission-img-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: visible;
}

.mission-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* ─── PHILOSOPHY BENTO ─── */
.about-philosophy {
  padding: 100px 0;
  position: relative;
}

.about-philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.philosophy-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.bento-card {
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background: rgba(16, 16, 24, 0.6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.bento-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.bento-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.bento-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* ─── CTA SECTION ─── */
.about-cta {
  padding: 80px 0 140px;
}

.cta-box {
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* ─── FOUNDERS SECTION ─── */
.about-founders {
  padding: 80px 0;
}

.founders-carousel-wrapper {
  margin-top: 50px;
  width: 100%;
  overflow: hidden;
}

.founders-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  perspective: 1000px;
}

.founder-card {
  border-radius: var(--radius-lg);
  width: 360px;
  padding: 40px 15px;
  background: rgba(16, 16, 24, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.15s ease-out, box-shadow 0.5s ease, border-color 0.5s ease;
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.founder-card:hover::before {
  opacity: 1;
}

.founder-img-wrapper {
  width: 250px;
  height: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  z-index: 1;
}

.founder-card:hover .founder-img-wrapper {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: grayscale(20%) contrast(1.1);
}

.founder-card:hover .founder-img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.1);
}

.founder-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
}

.founder-info p {
  color: var(--primary);
  font-weight: 500;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .mission-text .section-title,
  .mission-text .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mission-desc {
    text-align: center;
  }

  .philosophy-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .philosophy-bento {
    grid-template-columns: 1fr;
  }

  .bento-card {
    align-items: center;
    text-align: center;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }

  /* Founders Mobile Carousel */
  .founders-grid {
    display: flex;
    width: 200%;
    gap: 0;
    animation: founder-carousel 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  }

  .founder-card {
    width: 50%;
    flex-shrink: 0;
  }
}

@keyframes founder-carousel {

  0%,
  40% {
    transform: translateX(0);
  }

  50%,
  90% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}