/* ============================================================
   NexMatrixLab — About Page Styles
   ============================================================ */

/* ---------- OUR STORY ---------- */
.about-story {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.about-story-text {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-story-highlights {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-highlight {
  text-align: center;
}
.about-highlight-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.about-highlight-label {
  font-size: 0.72rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.about-highlight-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.about-story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-story-image {
  width: 100%;
  max-width: 360px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.about-story-image svg {
  width: 100%;
  height: auto;
}

/* ---------- MISSION & VISION ---------- */
.about-mission-vision {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.amv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.amv-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}
.amv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}
.amv-card:hover::before {
  transform: scaleX(1);
}
.amv-card:nth-child(2)::before {
  background: var(--gradient-accent);
}
.amv-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.amv-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.amv-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.amv-text {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.85;
}

/* ---------- CORE VALUES ---------- */
.about-values {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

/* ---------- PROCESS / HOW WE WORK ---------- */
.about-process {
  padding: var(--section-pad) 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- TECH STACK ---------- */
.about-tech {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tech-category-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.tech-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}
.tech-category-card:hover::before {
  transform: scaleX(1);
}
.tech-category-card:nth-child(2)::before { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.tech-category-card:nth-child(3)::before { background: linear-gradient(90deg, var(--purple), var(--blue)); }
.tech-category-card:nth-child(4)::before { background: var(--gradient-warm); }
.tech-category-card:nth-child(5)::before { background: var(--gradient-accent); }
.tech-category-card:nth-child(6)::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.tech-category-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.tech-cat-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.tech-cat-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-tag {
  padding: 5px 14px;
  background: var(--blue-subtle);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--blue-light);
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.tech-category-card:hover .tech-tag {
  border-color: rgba(59, 130, 246, 0.3);
}

/* ---------- ENGAGEMENT MODELS ---------- */
.about-engagement {
  padding: var(--section-pad) 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.engagement-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.engagement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}
.engagement-card:hover::before {
  transform: scaleX(1);
}
.engagement-card:nth-child(2)::before { background: var(--gradient-accent); }
.engagement-card:nth-child(3)::before { background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.engagement-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.engagement-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.engagement-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.engagement-desc {
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.engagement-points {
  list-style: none;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.engagement-points li {
  padding: 7px 0;
  font-size: 0.82rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 10px;
}
.engagement-points li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-story-visual {
    order: -1;
  }
  .about-story-image {
    max-width: 300px;
  }
  .amv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tech-stack-grid {
    grid-template-columns: 1fr 1fr;
  }
  .engagement-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-story-highlights {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  .about-highlight-divider {
    display: none;
  }
  .amv-grid {
    grid-template-columns: 1fr;
  }
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
  .engagement-grid {
    grid-template-columns: 1fr;
  }
}
