main {
  flex: 1;
  padding: 60px 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 60px;
}

/* === HERO SECTION === */
.hero {
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 16px 0;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #c084fc, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  letter-spacing: -1px;
}

body.loaded .hero h1 {
  animation: futuristicReveal 0.9s var(--matrix-ease) forwards;
  animation-delay: 0.25s;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
}

body.loaded .hero p {
  animation: futuristicReveal 0.9s var(--matrix-ease) forwards;
  animation-delay: 0.35s;
}

/* === MISSION BOX === */
.about-mission-box {
  background: rgba(15, 10, 25, 0.3);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
}

body.loaded .about-mission-box {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 0.45s;
}

.about-mission-box h2 {
  font-size: 26px;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.about-mission-box p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* === STATS GRID === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card {
  background: rgba(15, 10, 25, 0.4);
  border: 1px solid var(--glass-border);
  padding: 35px 20px;
  border-radius: 22px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
}

body.loaded .stat-card:nth-child(1) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 0.55s;
}
body.loaded .stat-card:nth-child(2) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 0.63s;
}
body.loaded .stat-card:nth-child(3) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 0.71s;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
  margin-bottom: 6px;
  font-family: monospace;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* === SECTION TITLES === */
.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 35px 0;
  color: #ffffff;
  opacity: 0;
}

body.loaded .team-section .section-title {
  animation: futuristicReveal 0.9s var(--matrix-ease) forwards;
  animation-delay: 0.78s;
}

body.loaded .values-section .section-title {
  animation: futuristicReveal 0.9s var(--matrix-ease) forwards;
  animation-delay: 1.05s;
}

/* === GRIDS & CARDS (TEAM & VALUES) === */
.team-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card,
.value-card {
  background: rgba(15, 10, 25, 0.4);
  border: 1px solid var(--glass-border);
  padding: 40px 24px;
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition:
    transform 0.3s var(--matrix-ease),
    border-color 0.3s ease;
}

body.loaded .team-card:nth-child(1) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 0.86s;
}
body.loaded .team-card:nth-child(2) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 0.94s;
}
body.loaded .team-card:nth-child(3) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 1.02s;
}

body.loaded .value-card:nth-child(1) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 1.13s;
}
body.loaded .value-card:nth-child(2) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 1.21s;
}
body.loaded .value-card:nth-child(3) {
  animation: futuristicReveal 1s var(--matrix-ease) forwards;
  animation-delay: 1.29s;
}

.team-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.3);
}

.team-avatar {
  font-size: 40px;
  margin-bottom: 16px;
}

.team-avatar-wrapper {
  position: relative;
  display: inline-block;
}

.team-avatar-glitch {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  font-size: 40px;
  transition: opacity 0.2s ease;
}

.team-card:hover .team-avatar-glitch {
  opacity: 1;
  animation: preloaderSpin 1s linear infinite;
}

.team-card h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
  color: #ffffff;
}

.team-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}

.team-hidden-stack {
  display: none;
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--primary);
}

.value-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 992px) {
  .stats-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  main {
    padding: 40px 24px;
    gap: 45px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  main {
    padding: 30px 16px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }
  .stats-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-card,
  .team-card,
  .value-card {
    padding: 35px 24px 25px 24px;
    border-radius: 22px;
    background: rgba(15, 10, 25, 0.5);
  }
  .team-card h3,
  .value-card h4 {
    font-size: 20px;
  }
  .team-card p,
  .value-card p {
    font-size: 13.8px;
    margin-bottom: 24px;
  }
}
