/* ============================================================
   Gelai Infotech — About Us Page
   Figma: About Us (800:1114) | Frame 48 hero (807:1523)
   ============================================================ */

.about-page {
  background: var(--white);
  font-family: var(--font);
}

/* ===================== HERO (Frame 48 — 849px) ===================== */
.about-hero {
  position: relative;
  min-height: 849px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: var(--site-header-offset, 168px);
  /* Figma Frame 48 radial gradient — top-right blue → white */
  background:
    radial-gradient(
      ellipse 95% 90% at 88% 6%,
      #0c6eb7 0%,
      #569acd 32%,
      rgba(255, 255, 255, 0) 70%
    ),
    #ffffff;
}

.about-hero__header {
  z-index: 3;
  padding-top: 0;
  flex-shrink: 0;
}

.about-hero__header .hero__logo img {
  width: 150px;
  height: auto;
}

.about-hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 565px) minmax(0, 739px);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 81px;
  padding-bottom: 56px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.about-hero__content {
  min-width: 0;
  max-width: 100%;
}

.about-hero__title {
  font-family: var(--font);
  font-size: clamp(32px, 3.6vw, var(--fs-title-hero));
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 20px;
  max-width: 100%;
  text-shadow: var(--title-shadow);
}

.about-hero__tagline {
  font-family: var(--font);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.37;
  color: #a3a3a3;
  max-width: 100%;
  margin: 0;
}

.about-hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: -20px;
  min-width: 0;
  max-width: 100%;
}

.about-hero__visual img {
  width: 100%;
  max-width: min(739px, 100%);
  height: auto;
  aspect-ratio: 739 / 559;
  object-fit: contain;
  display: block;
}

/* ===================== AI (800:1117) ===================== */
.about-ai {
  padding: 71px 0 134px;
  background: var(--white);
}

.about-ai__inner {
  display: grid;
  grid-template-columns: 457px minmax(0, 785px);
  justify-content: space-between;
  column-gap: 112px;
  align-items: center;
}

.about-ai__visual img {
  width: 457px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 457 / 414;
  object-fit: contain;
  display: block;
}

.about-ai__content .label {
  margin-bottom: 16px;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--blue);
}

.about-ai__title {
  max-width: 785px;
  margin-bottom: 26px;
  font-size: var(--fs-title-section);
  font-weight: 600;
  line-height: 1.445;
}

.about-ai__desc {
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 36.125px;
  color: var(--navy);
  max-width: 750px;
  margin: 0 0 32px;
}

.about-ai__features {
  display: grid;
  grid-template-columns: 262px 261px;
  column-gap: 56px;
  row-gap: 12px;
}

.about-ai__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--navy);
}

.about-ai__feature-text {
  width: 232px;
  max-width: 232px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  line-height: 28.9px;
  letter-spacing: 0;
  color: var(--navy);
}

.about-ai__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 7px;
  display: block;
  object-fit: contain;
}

/* ===================== WHY (800:1276) ===================== */
.about-why {
  padding: 0 0 163px;
  background: var(--white);
}

.about-why__inner .label {
  margin-bottom: 16px;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--blue);
}

.about-why__title {
  max-width: 913px;
  margin: 0 auto 48px;
  font-size: var(--fs-title-section);
  font-weight: 600;
  line-height: 1.445;
}

.about-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 411px minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;
}

.about-why__col {
  display: flex;
  flex-direction: column;
  gap: 62px;
  padding-top: 10px;
}

.about-why__card {
  text-align: center;
}

.about-why__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.about-why__icon img {
  width: 57px;
  height: 57px;
  display: block;
  object-fit: contain;
}

.about-why__card-title {
  margin: 23px 0 6px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--navy);
}

.about-why__card-bdr {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
}

.about-why__card-text {
  margin-top: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--navy);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.about-why__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-why__visual img {
  width: 411px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 411 / 387;
  object-fit: contain;
}

/* ===================== WORKING PROCESS ===================== */
.about-process {
  position: relative;
  padding: 0 0 120px;
  background: var(--white);
  overflow: hidden;
}

.about-process__inner {
  position: relative;
  z-index: 1;
}

.about-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 48px 80px;
  align-items: start;
}

.about-process__intro .label {
  margin-bottom: 16px;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--blue);
}

.about-process__title {
  max-width: 520px;
  margin-bottom: 19px;
  font-size: var(--fs-title-section);
  font-weight: 600;
  line-height: 1.445;
  text-transform: none;
}

.about-process__desc {
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.6;
  color: var(--navy);
  max-width: 460px;
  margin: 0 0 28px;
}

.about-process__btn {
  margin-top: 0;
}

.about-process__list {
  position: relative;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.about-process__list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: min(432px, 100%);
  background: rgba(12, 110, 183, 0.12);
  transform: translate(-50%, -50%);
}

.about-process__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 96px;
}

.about-process__step + .about-process__step {
  margin-top: 42px;
}

.about-process__step:nth-child(1) {
  margin-left: 120px;
}

.about-process__step:nth-child(3) {
  margin-left: 104px;
}

.about-process__step--reverse {
  justify-content: flex-end;
}

.about-process__step--reverse .about-process__step-content {
  text-align: right;
}

.about-process__num {
  flex-shrink: 0;
  font-family: 'Marcellus', serif;
  font-size: 80px;
  line-height: 1;
  font-weight: 400;
  background: linear-gradient(270deg, #575b8d 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-process__step--reverse .about-process__num {
  background: linear-gradient(270deg, #5cb0e9 0%, #3d72fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.about-process__step-content {
  position: relative;
  max-width: 360px;
}

.about-process__step-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(270deg, #5cb0e9 0%, var(--blue) 100%);
  box-shadow: 0 0 0 4px rgba(12, 110, 183, 0.12);
  transform: translateY(-50%);
  left: -52px;
}

.about-process__step--reverse .about-process__step-content::before {
  left: auto;
  right: -68px;
  background: linear-gradient(270deg, #569acd 0%, #3d72fc 100%);
}

.about-process__step-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--navy);
  margin: 0;
  text-shadow: var(--title-shadow);
}

.about-process__step-text {
  margin: 12px 0 0;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1400px) {
  .about-hero__body {
    grid-template-columns: 1fr 1fr;
  }

  .about-ai__inner {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    column-gap: 48px;
  }

  .about-ai__features {
    grid-template-columns: 1fr 1fr;
  }

  .about-process__step:nth-child(1) {
    margin-left: 48px;
  }

  .about-process__step:nth-child(3) {
    margin-left: 32px;
  }

  .about-process__step {
    gap: 56px;
  }
}

@media (max-width: 1200px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero__body {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .about-hero__visual {
    justify-content: center;
    margin-top: 0;
  }

  .about-ai__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-ai__visual {
    display: flex;
    justify-content: center;
  }

  .about-why__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .about-why__col {
    gap: 40px;
    padding-top: 0;
  }

  .about-why__visual {
    order: -1;
  }

  .about-process__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-process__list {
    margin-left: 0;
  }

  .about-process__step:nth-child(1),
  .about-process__step:nth-child(3) {
    margin-left: 0;
  }

  .about-process__step {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: auto;
    overflow-x: clip;
  }

  .about-hero__body {
    margin-top: 32px;
    padding-bottom: 40px;
  }

  .about-hero__title {
    font-size: clamp(28px, 7.5vw, 32px);
  }

  .about-hero__tagline {
    font-size: clamp(16px, 4.2vw, 20px);
  }

  .about-hero__visual {
    width: 100%;
  }

  .about-hero__visual img {
    max-width: 100%;
    width: 100%;
  }

  .about-ai,
  .about-why,
  .about-process {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-process {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-process__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .about-process__step {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .about-process__step--reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-process__step--reverse .about-process__step-content {
    text-align: left;
    order: 2;
  }

  .about-process__step--reverse .about-process__num {
    order: 1;
  }

  .about-process__list::before {
    display: none;
  }

  .about-process__step-content::before,
  .about-process__step--reverse .about-process__step-content::before {
    display: none;
  }

  .about-process__num {
    font-size: 56px;
  }

  .about-ai__title,
  .about-why__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .about-ai__desc,
  .about-process__desc {
    font-size: 20px;
    line-height: 1.5;
  }

  .about-ai__features {
    grid-template-columns: 1fr;
  }
}
