/* ========== TEAM PAGE CUSTOM STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #3e4992;
  --bg-dark: #0f1123;
  --bg-card: #151730;
  --accent-primary: #6c63ff;
  --accent-glow: #8b85ff;
  --text-white: #ffffff;
  --text-offwhite: #eef2ff;
  --text-muted: #a0a5c0;
  --border-dim: rgba(108, 99, 255, 0.2);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-deep);
  color: var(--text-offwhite);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 10px;
}

/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1),
    transform 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Keyframes */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ========== HERO SECTION ========== */
.team-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 70px 24px 80px;
  background:#453195;
}
.hero-bg-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b0a9c, transparent);
  border-radius: 50%;
  top: -200px;
  left: -200px;
  filter: blur(70px);
  animation: float 12s infinite alternate;
}
.hero-bg-orb-2 {
  position: absolute;
  width: 550px;
  height: 550px;
  background: linear-gradient(135deg, #522ba0, transparent);
  bottom: -150px;
  right: -150px;
  filter: blur(80px);
  animation: float 10s infinite alternate-reverse;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 8px 24px;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid rgba(108, 99, 255, 0.3);
  margin-bottom: 32px;
}
.team-hero h1 {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 28px;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    var(--accent-primary) 60%,
    #b8b2ff 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}
.team-hero h1 span {
  display: block;
  font-size: 3.8rem;
  background: none;
  -webkit-text-fill-color: white;
  color: white;
  background-clip: unset;
}
.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  background: rgba(21, 23, 48, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 80px;
  padding: 20px 48px;
  border: 1px solid rgba(108, 99, 255, 0.2);
  width: fit-content;
  margin: 0 auto;
}
.stat {
  text-align: center;
}
.stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-primary);
}
.stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(108, 99, 255, 0.3);
}

/* ========== SECTION STYLES ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-passion {
  padding: 50px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}
.section-challenge {
  padding: 100px 0;
  background: radial-gradient(circle at 20% 30%, #11132a, #090b18);
}
.section-culture {
  padding: 100px 0;
  background: var(--bg-deep);
}
.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.reverse-layout {
  flex-direction: row-reverse;
}
.split-text {
  flex: 1.2;
}
.split-image {
  flex: 1;
}
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.15);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.section-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.quote-accent {
  border-left: 3px solid var(--accent-primary);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-offwhite);
  font-weight: 500;
}
.glass-image {
  background: rgba(21, 23, 48, 0.6);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.2);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.4);
}
.glass-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.glass-image:hover img {
  transform: scale(1.03);
}
.glass-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 45px -12px rgba(108, 99, 255, 0.2);
  border-color: var(--accent-primary);
}
.value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.pill {
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  padding: 8px 22px;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 500;
}
.pill i {
  margin-right: 8px;
  color: var(--accent-primary);
}
.floating-quote {
  background: rgba(21, 23, 48, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 20px 28px;
  max-width: 260px;
  margin-top: -40px;
  margin-left: 20px;
  border: 1px solid var(--border-dim);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}
.floating-quote i {
  font-size: 1.4rem;
  color: var(--accent-primary);
  margin-bottom: 10px;
  display: inline-block;
}
.floating-quote p {
  font-size: 0.9rem;
  font-weight: 500;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.culture-card {
  background: rgba(21, 23, 48, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(108, 99, 255, 0.15);
  transition: all 0.35s ease;
}
.culture-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  background: rgba(30, 32, 65, 0.9);
}
.icon-circle {
  width: 70px;
  height: 70px;
  background: rgba(108, 99, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--accent-primary);
}
.culture-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.culture-card p {
  color: var(--text-muted);
  line-height: 1.6;
}
.final-quote {
  text-align: center;
  max-width: 760px;
  margin: 70px auto 0;
  padding: 32px 24px;
  border-top: 1px solid rgba(108, 99, 255, 0.2);
}
.final-quote i {
  font-size: 2.5rem;
  color: var(--accent-primary);
  opacity: 0.7;
  margin-bottom: 20px;
}
.final-quote p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
}
.cta-mini {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(115deg, #0f1123, #151730);
  border-radius: 48px;
  margin: 40px auto 40px;
  border: 1px solid rgba(108, 99, 255, 0.2);
}
.cta-mini h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.cta-btn {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 14px 38px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 24px;
  transition: all 0.2s;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}
.cta-btn:hover {
  background: #7c74ff;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .team-hero h1 {
    font-size: 3rem;
  }
  .team-hero h1 span {
    font-size: 2.2rem;
  }
  .stats-row {
    flex-direction: column;
    gap: 20px;
    padding: 20px 120px;
    border-radius: 48px;
  }
  .stat-divider {
    width: 80px;
    height: 1px;
    margin: 0 auto;
  }
  .section-title {
    font-size: 2rem;
  }
  .split-layout {
    flex-direction: column;
    gap: 40px;
  }
  .reverse-layout {
    flex-direction: column;
  }
  .floating-quote {
    margin-top: 20px;
    margin-left: 0;
    max-width: 100%;
  }
}
