/* technology-pepscovery.css */
/* Figma: 1920×3704 | Node 3944:12084 (3-1. Technology > Pepscovery) */

/* ========== 01-header ========== */
.page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 25rem;
  padding: 0 clamp(1.25rem, 16.67vw, 20rem) 2.5rem;
  background-color: #ffffff;
  box-sizing: border-box;
}

.page-header__inner {
  width: 100%;
  max-width: 80rem;
}

.page-header__content {
  display: flex;
  align-items: center;
  gap: 2.1875rem;
  padding: 0.375rem 0;
}

.page-header__accent {
  width: 0.625rem;
  align-self: stretch;
  background-color: var(--logogreen);
  flex-shrink: 0;
}

.page-header__title {
  font-family: var(--font-paperlogy);
  font-size: clamp(1.75rem, 3.125vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--logogreen);
  margin: 0;
}

@media (max-width: 1199px) {
  .page-header { height: auto; min-height: 15rem; }
}

@media (max-width: 767px) {
  .page-header__content { gap: 1rem; }
  .page-header__accent { width: 0.375rem; }
}

/* ========== 02-navbar-index ========== */
/* Figma: 1920×72 | pad LR:320 T:30 */

.navbar-index {
  width: 100%;
  padding: 1.875rem clamp(1.25rem, 16.67vw, 20rem) 0;
  background-color: #ffffff;
  box-sizing: border-box;
}

.navbar-index-content {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
}

.breadcrumb-text,
.breadcrumb-separator {
  font-family: var(--font-poppins);
  font-size: clamp(0.875rem, 1.042vw, 1.25rem);
  font-weight: 400;
  line-height: 2.625rem;
  color: rgba(0, 0, 0, 0.7);
}

.breadcrumb-current {
  font-weight: 600;
}

/* ========== 03-pepscovery-process ========== */
/* Figma: 1920×1187 | pad T:150 B:50, gap:150, CENTER */

.pepscovery-process-section {
  width: 100%;
  background-color: #ffffff;
}

.pepscovery-process-wrapper {
  width: 100%;
  padding: clamp(4rem, 7.81vw, 9.375rem) clamp(1.25rem, 16.67vw, 20rem) clamp(1.5rem, 2.604vw, 3.125rem);
  box-sizing: border-box;
}

.pepscovery-process-content {
  width: 100%;
  max-width: 80rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4.17vw, 5rem); /* 80px at 1920 */
}

.pepscovery-process-header {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.pepscovery-process-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.1875vw, 2.625rem);
  line-height: 1.3;
  color: var(--darkgreen);
  margin: 0;
}

.pepscovery-process-description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: clamp(1rem, 1.042vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--darkgreen);
  margin: 0;
}

/* Process Diagram */
.pepscovery-process-diagram {
  width: 100%;
}

.process-diagram-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Tablet: horizontal scroll for diagram */
@media (max-width: 1199px) {
  .pepscovery-process-diagram {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .process-diagram-image {
    min-width: 50rem;
  }
}

@media (max-width: 767px) {
  .process-diagram-image {
    min-width: 40rem;
  }
}

/* ========== 04-tops-platform ========== */
/* Figma: 1920×1121 | pad T:150 B:250, gap:150, CENTER */

.tops-platform-section {
  width: 100%;
  background-color: #ffffff;
}

.tops-platform-wrapper {
  width: 100%;
  padding: clamp(4rem, 7.81vw, 9.375rem) clamp(1.25rem, 16.67vw, 20rem) clamp(5rem, 13.02vw, 15.625rem);
  box-sizing: border-box;
}

.tops-platform-content {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4.17vw, 5rem);
  max-width: 80rem;
}

.tops-platform-header {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.tops-platform-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.1875vw, 2.625rem);
  line-height: 1.3;
  color: var(--darkgreen);
  margin: 0;
}

.tops-platform-description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: clamp(1rem, 1.042vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--darkgreen);
  margin: 0;
}

/* Cards — 4 in a row */
.tops-platform-cards {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.tops-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

/* Card Image */
.tops-card-image {
  width: clamp(10rem, 14.115vw, 17.5rem);
  height: auto;
  flex-shrink: 0;
}

.tops-card-last .tops-card-image {
  width: clamp(10rem, 12.115vw, 17.5rem);
}

/* Card Content */
.tops-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
  text-align: center;
  color: var(--gray);
}

.tops-card-title {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.5625vw, 1.875rem); /* 30px at 1920 */
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
}

.tops-card-text {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: clamp(1rem, 1.042vw, 1.25rem); /* 20px at 1920 */
  line-height: 1.6;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ---- Tablet (768px – 1199px) ---- */
@media (max-width: 1199px) {
  .tops-platform-cards {
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
  }

  .tops-card {
    flex: none;
    width: calc(50% - 1.5rem);
    max-width: 20rem;
  }

  .tops-card-arrow {
    display: none;
  }
}

/* ---- Mobile (max-width: 767px) ---- */
@media (max-width: 767px) {
  .tops-platform-cards {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .tops-card {
    width: 100%;
    max-width: 18rem;
  }

  .tops-card-circle {
    width: 14rem;
    height: 14rem;
  }
}
