/* ============================================================
   SOVAMOON — ABOUT PAGE STYLES
   ============================================================ */


/* ========================
   ABOUT HERO
   ======================== */
.about-hero {
  min-height: 68vh;
  background-color: var(--color-secondary);
}

/* Hero tech stack badges row */
.hero-stack-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stack-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(160, 174, 192, 0.55);
  white-space: nowrap;
  margin-right: 4px;
}

.hero-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 15, 44, 0.85);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.hero-stack-pill:hover {
  border-color: rgba(0, 212, 255, 0.45);
  color: var(--color-text);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.12);
}


/* ========================
   OUR STORY
   ======================== */
.about-story {
  padding: var(--section-padding) 0;
  background: var(--color-secondary);
}

.story-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.story-visual {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.photo-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.06) 0%,
    rgba(123, 47, 255, 0.06) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 212, 255, 0.02) 0px,
    rgba(0, 212, 255, 0.02) 1px,
    transparent 1px,
    transparent 12px
  );
}

.photo-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.photo-placeholder-icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-accent-blue);
  opacity: 0.7;
}

.photo-placeholder-text {
  font-size: 0.8rem;
  color: rgba(160, 174, 192, 0.45);
  font-style: italic;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.story-badge-item {
  background: rgba(10, 15, 44, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  white-space: nowrap;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-text p strong {
  color: var(--color-text);
  font-weight: 600;
}

.story-text .story-highlight {
  border-left: 3px solid var(--color-accent-blue);
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}


/* ========================
   NUMBERS SECTION
   ======================== */
.about-numbers {
  padding: 80px 0;
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}


/* ========================
   EXPERTISE SECTION
   ======================== */
.about-expertise {
  padding: var(--section-padding) 0;
  background: var(--color-secondary);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.expertise-card {
  background: rgba(10, 15, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 20%,
    rgba(0, 212, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.expertise-card:hover {
  border-color: rgba(0, 212, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.08);
}

.expertise-card:hover::after {
  opacity: 1;
}

.expertise-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.expertise-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-blue);
}

.expertise-card:nth-child(even) .expertise-card-icon {
  background: rgba(123, 47, 255, 0.08);
  border-color: rgba(123, 47, 255, 0.18);
}

.expertise-card:nth-child(even) .expertise-card-icon svg {
  color: var(--color-accent-purple);
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.expertise-card p {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.68;
  position: relative;
  z-index: 1;
}


/* ========================
   TECH STACK SECTION
   ======================== */
.about-tech-stack {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
}

.tech-stack-layout {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tech-stack-group {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.tech-stack-group-label {
  width: 220px;
  flex-shrink: 0;
  padding-top: 9px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(160, 174, 192, 0.5);
}

.tech-stack-group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 15, 44, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
  cursor: default;
  user-select: none;
}

.tech-pill:hover {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.14), 0 4px 12px rgba(0, 0, 0, 0.2);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-1px);
}

.tech-pill svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent-blue);
  flex-shrink: 0;
  opacity: 0.8;
}

.tech-pill:hover svg {
  opacity: 1;
}

/* Divider between stack groups */
.tech-stack-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0;
}


/* ========================
   APPROACH SECTION
   ======================== */
.about-approach {
  padding: var(--section-padding) 0;
  background: var(--color-secondary);
}

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

.approach-card {
  text-align: center;
  padding: 44px 32px;
  background: rgba(10, 15, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.approach-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
}

.approach-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0.1),
    rgba(123, 47, 255, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.approach-icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-accent-blue);
}

.approach-card:nth-child(2) .approach-icon {
  background: linear-gradient(135deg,
    rgba(123, 47, 255, 0.1),
    rgba(0, 212, 255, 0.1));
  border-color: rgba(123, 47, 255, 0.25);
}

.approach-card:nth-child(2) .approach-icon svg {
  color: var(--color-accent-purple);
}

.approach-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}

.approach-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}


/* ========================
   WHO WE SERVE
   ======================== */
.about-who-serve {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.industry-item {
  background: rgba(10, 15, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.industry-item:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.04);
  transform: translateY(-3px);
}

.industry-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.industry-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.35;
  transition: color 0.2s;
}

.industry-item:hover h4 {
  color: var(--color-text);
}


/* ========================
   ENTERPRISE BADGE ROW
   ======================== */
.enterprise-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 15, 44, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.enterprise-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-blue);
  flex-shrink: 0;
}

.enterprise-badge strong {
  color: var(--color-text);
}


/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1200px) {
  .expertise-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .story-grid {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

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

  .tech-stack-group-label {
    width: 180px;
  }
}

@media (max-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-visual {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tech-stack-group {
    flex-direction: column;
    gap: 12px;
  }

  .tech-stack-group-label {
    width: auto;
    padding-top: 0;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .hero-stack-row {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
