/* ==================== Trendy landing/intro pages (partner_intro, client_intro, ...) ====================
   Scoped to .intro-page so it never leaks into the rest of the site.
   Reuses the site's existing brand colors: green #2e9e90 (Partner), blue #2567d0 (Client). */

.intro-page {
  --intro-green: #2e9e90;
  --intro-green-dark: #22786d;
  --intro-green-soft: #e6f5f3;
  --intro-blue: #2567d0;
  --intro-blue-dark: #1c4fa3;
  --intro-blue-soft: #e8f0fd;
  --intro-text: #1c2024;
  --intro-muted: #6b7280;
  --intro-border: #edeff2;
  --intro-shadow: 0 2px 10px rgba(20, 20, 30, 0.05);
  --intro-shadow-hover: 0 16px 32px rgba(20, 20, 30, 0.1);
}

.intro-page.theme-green { --accent: var(--intro-green); --accent-dark: var(--intro-green-dark); --accent-soft: var(--intro-green-soft); }
.intro-page.theme-blue  { --accent: var(--intro-blue);  --accent-dark: var(--intro-blue-dark);  --accent-soft: var(--intro-blue-soft); }
.intro-page.theme-navy  { --accent: #223564; --accent-dark: #16213f; --accent-soft: #e8ecf5; }

/* ---- homepage: explore buttons row ---- */
.intro-explore-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---- comparison table (Why use GPN) ---- */
.intro-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0 0;
  max-width: 720px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--intro-shadow);
}

.intro-compare th, .intro-compare td {
  padding: 14px 18px;
  text-align: center;
  font-size: 14.5px;
}

.intro-compare th {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.intro-compare td:first-child, .intro-compare th:first-child {
  text-align: left;
  font-weight: 600;
}

.intro-compare tr:nth-child(even) td {
  background: #eef1f7;
}

.intro-compare .x { color: #c23b3b; font-weight: 800; }
.intro-compare .o { color: var(--intro-green); font-weight: 800; }

.intro-note {
  text-align: center;
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--intro-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ---- dual CTA: one shared photo, two text columns on top ---- */
.intro-dual-shared {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

@media all and (max-width: 800px) {
  .intro-dual-shared { grid-template-columns: 1fr; }
}

.intro-dual-shared::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.55), rgba(10, 15, 30, 0.8));
}

.intro-dual-shared-col { position: relative; z-index: 1; }
.intro-dual-shared-col h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.intro-dual-shared-col p { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; opacity: 0.95; }

/* ---- final dark CTA section ---- */
.intro-final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
  background-color: #0a0e1f;
  background-size: cover;
  background-position: center;
}

.intro-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 27, 61, 0.88) 0%, rgba(28, 46, 92, 0.82) 60%, rgba(23, 39, 90, 0.88) 100%);
}

.intro-final-cta > * { position: relative; z-index: 1; }

.intro-final-cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.intro-final-cta p { max-width: 640px; margin: 0 auto 8px; color: rgba(255, 255, 255, 0.8); line-height: 1.7; }

.intro-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 20px 44px;
  text-align: center;
}

.intro-hero-visual {
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 0 auto 8px;
}

.intro-hero-visual-photo {
  max-width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--intro-shadow-hover);
}

.intro-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--intro-text);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

@media all and (max-width: 600px) {
  .intro-hero h1 { font-size: 26px; }
}

.intro-hero p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--intro-muted);
}

.intro-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.intro-section-ttl {
  font-size: 26px;
  font-weight: 800;
  color: var(--intro-text);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

@media all and (max-width: 600px) {
  .intro-section-ttl { font-size: 21px; margin-bottom: 22px; }
}

/* ---- card grid (What can you do? / Benefits / Why join?) ---- */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 340px));
  justify-content: center;
  gap: 18px;
}

.intro-grid-narrow {
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
}

.intro-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--intro-border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--intro-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--intro-shadow-hover);
  border-color: transparent;
}

.intro-card .intro-card-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2e9e90;
  color: #fff;
}

.intro-card-icon svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

/* ---- photo + list split layout ---- */
.intro-photo-split {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 40px;
  align-items: start;
}

.intro-photo-split .intro-photo {
  position: sticky;
  top: 130px;
}

/* left-align the card grid to match the left-aligned section title next to the photo */
.intro-photo-split .intro-grid {
  justify-content: start;
}

@media all and (max-width: 800px) {
  .intro-photo-split {
    grid-template-columns: 1fr;
  }
}

/* Rev2 신규(2026-09-10, 슬라이드16) — Client/Partner → Assignment 매칭 개념도 */
.intro-match-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px auto;
  max-width: 900px;
}

.intro-match-box {
  flex: 1 1 200px;
  max-width: 240px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.intro-match-box-center {
  background: var(--accent, #223564);
  border-color: transparent;
}

.intro-match-box-center .intro-match-label {
  color: #fff;
}

.intro-match-label {
  display: block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--intro-text);
}

.intro-match-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #6b6b6b;
}

.intro-match-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.intro-match-arrow svg {
  width: 28px;
  height: 28px;
}

.intro-match-arrow-reverse svg {
  transform: scaleX(-1);
}

@media all and (max-width: 800px) {
  .intro-match-diagram {
    flex-direction: column;
  }

  .intro-match-arrow svg {
    transform: rotate(90deg);
  }

  .intro-match-arrow-reverse svg {
    transform: rotate(90deg) scaleX(-1);
  }
}

/* Rev2 신규(2026-09-10, 슬라이드15) — Client/Partner 2단 비교 레이아웃 */
.intro-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media all and (max-width: 800px) {
  .intro-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Rev2 요청(2026-09-10, 슬라이드2) — "본문 사진을 일괄적으로 한쪽에 두지 말고 번갈아 배치" —
   홈페이지 4개 섹션(intro-section) 중 짝수번째에 적용해 사진 좌우를 번갈아가게 한다.
   DOM 순서(마크업)는 그대로 두고 order로만 시각적 위치를 바꾼다. */
.intro-photo-split--reverse .intro-photo {
  order: 2;
}

.intro-photo-split--reverse > div {
  order: 1;
}

.intro-photo {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--intro-shadow-hover);
}

/* .intro-grid-1col / .intro-grid-2col intentionally removed: the base .intro-grid
   auto-fit wrapping (capped card width) now handles every item count and column
   width consistently, instead of forcing a fixed column count. */

.intro-card .intro-card-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--intro-text);
}

/* ---- numbered step timeline (Procedure) ---- */
.intro-steps {
  max-width: 640px;
  margin: 0 auto;
}

.intro-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 30px;
}

.intro-step:last-child { padding-bottom: 0; }

.intro-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 4px;
  width: 2px;
  background: var(--intro-border);
}

.intro-step .intro-step-num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.intro-step .intro-step-body {
  padding-top: 7px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--intro-text);
}

/* ---- CTA ---- */
.intro-cta {
  text-align: center;
  padding: 50px 20px 10px;
}

.intro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 44px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 10px 24px -6px var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -6px var(--accent);
}

.intro-cta-btn:active {
  transform: translateY(-1px);
}

.intro-cta-sub {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--intro-muted);
}
