/**
 * Good Learning — 홈 v2 (GenSpark / home-v2.html 정합)
 * Inter + Font Awesome 6
 */

/* --------------------------------------------------------------------------
   Reset scope (랜딩 루트 안에서만)
   -------------------------------------------------------------------------- */
.gl-home-v2-root {
  --gl-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gl-ink: #101828;
  --gl-muted: #667085;
  --gl-line: #eaecf0;
  --gl-violet: #7c3aed;
  --gl-violet-soft: #ede9fe;
  --gl-blue: #4a6cf7;
  --gl-radius-lg: 20px;
  --gl-radius-md: 14px;
  --gl-max: 1120px;
  font-family: var(--gl-font);
  color: var(--gl-ink);
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

.gl-home-v2-root *,
.gl-home-v2-root *::before,
.gl-home-v2-root *::after {
  box-sizing: border-box;
}

.gl-home-v2-root a {
  color: inherit;
  text-decoration: none;
}

.gl-container {
  width: 100%;
  max-width: var(--gl-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.gl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.gl-header.scrolled {
  border-bottom-color: var(--gl-line);
  box-shadow: 0 4px 24px rgba(16, 24, 40, 0.06);
}

.gl-header__inner {
  max-width: var(--gl-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gl-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--gl-ink);
}

.gl-header__logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #4a6cf7);
  flex-shrink: 0;
}

.gl-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gl-header__nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #475467;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.gl-header__nav a:hover {
  color: var(--gl-ink);
  background: #f9fafb;
}

.gl-header__cta {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.gl-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.gl-header__mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #f2f4f7;
  color: var(--gl-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .gl-header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--gl-line);
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .gl-header__nav.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .gl-header__nav a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .gl-header__cta {
    display: none;
  }

  .gl-header__mobile-toggle {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.gl-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 100px;
  overflow: hidden;
}

.gl-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 42%, #f8fafc 100%);
  pointer-events: none;
}

.gl-hero__bg::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.09) 0%,
    transparent 65%
  );
}

.gl-hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.gl-hero__badges {
  margin-bottom: 24px;
}

.gl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--gl-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gl-muted);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.gl-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #4a6cf7);
  flex-shrink: 0;
}

.gl-hero__title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.gl-hero__highlight {
  background: linear-gradient(135deg, #7c3aed, #4a6cf7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gl-hero__desc {
  margin: 0 auto 32px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--gl-muted);
  word-break: keep-all;
}

.gl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}

.gl-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

/* 테마 전역 a 색보다 우선 — 구독관리 CTA 가시성 */
.gl-home-v2-root a.gl-hero__btn--primary,
.gl-home-v2-root a.gl-hero__btn--primary:link,
.gl-home-v2-root a.gl-hero__btn--primary:visited {
  color: #ffffff !important;
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #6366f1 100%);
  box-shadow: 0 4px 20px rgba(91, 33, 182, 0.35);
  border: none;
}

.gl-home-v2-root a.gl-hero__btn--primary:hover,
.gl-home-v2-root a.gl-hero__btn--primary:focus {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 33, 182, 0.45);
}

.gl-hero__btn--outline {
  color: var(--gl-ink);
  background: #fff;
  border: 1px solid var(--gl-line);
}

.gl-hero__btn--outline:hover {
  border-color: #d0d5dd;
  background: #fcfcfd;
}

.gl-hero__search {
  position: relative;
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.gl-hero__search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 8px 8px 20px;
  background: #fff;
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-radius-lg);
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.08);
}

.gl-hero__search-bar > .fa-magnifying-glass {
  color: #98a2b3;
  font-size: 18px;
  flex-shrink: 0;
}

.gl-hero__search-bar input {
  flex: 1;
  min-width: 160px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
}

.gl-hero__search-bar input::placeholder {
  color: #98a2b3;
}

.gl-hero__search-pills {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.gl-hero__search-pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  background: #f2f4f7;
  border-radius: 999px;
}

.gl-hero__search-pill--active {
  color: #7c3aed;
  background: var(--gl-violet-soft);
}

.gl-hero__search-btn {
  flex-shrink: 0;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gl-hero__search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

@media (max-width: 640px) {
  .gl-hero__search-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .gl-hero__search-bar > .fa-magnifying-glass {
    display: none;
  }

  .gl-hero__search-pills {
    order: 1;
  }

  .gl-hero__search-btn {
    width: 100%;
  }
}

.gl-hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  cursor: pointer;
  animation: gl-bounce 2s ease-in-out infinite;
}

@keyframes gl-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.gl-section {
  padding: 88px 0;
}

.gl-section--white {
  background: #fff;
}

.gl-section--lavender {
  background: #f8f9fd;
}

.gl-section--mint {
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf9 40%, #f6fef9 100%);
}

.gl-section--articles {
  background: #fafafa;
}

.gl-section--trust {
  background: #fafbfc;
}

.gl-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.gl-section__eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 14px;
}

.gl-section__title {
  margin: 0 auto 16px;
  max-width: 720px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.gl-section__desc {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gl-muted);
  word-break: keep-all;
}

/* Solutions — 카드 내부 세로 중앙 정렬 · 아이콘 타일 + 흰색 아이콘 */
.gl-solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

@media (max-width: 520px) {
  .gl-solutions {
    grid-template-columns: 1fr;
  }
}

.gl-solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 22px;
  padding: 40px 22px 36px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.2s;
  opacity: 0;
  transform: translateY(28px);
}

.gl-solution-card.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-solution-card:hover {
  border-color: #e8e8f0;
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.1);
  transform: translateY(-4px);
}

.gl-solution-card.gl-visible:hover {
  transform: translateY(-4px);
}

.gl-solution-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  margin: 0 auto 22px;
}

.gl-home-v2-root .gl-solution-card__icon i {
  color: inherit !important;
  line-height: 1;
}

.gl-solution-card h3 {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #101828;
  line-height: 1.35;
  max-width: 100%;
}

.gl-solution-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #667085;
  max-width: 100%;
}

/* 핵심 서비스 — 시안: 4열 그리드, 카드 중앙 정렬, 연보라 아이콘 박스 */
.gl-home-v2-root a.gl-service-card,
.gl-home-v2-root a.gl-service-card:link,
.gl-home-v2-root a.gl-service-card:visited {
  text-decoration: none;
  color: inherit;
}

.gl-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

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

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

.gl-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 168px;
  padding: 28px 18px 26px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
  opacity: 0;
  transform: translateY(20px);
}

.gl-service-card.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16, 24, 40, 0.04);
  border-color: #e4e7ec;
}

.gl-service-card.gl-visible:hover {
  transform: translateY(-3px);
}

.gl-service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.gl-home-v2-root .gl-service-card__icon i {
  color: #7c3aed !important;
  line-height: 1;
}

.gl-service-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #101828;
  margin-bottom: 8px;
  line-height: 1.3;
}

.gl-service-card span:not(.gl-service-card__more-text) {
  display: block;
  font-size: 0.8125rem;
  color: #667085;
  line-height: 1.5;
}

/* 전체 보기 — 4×2 카드 다음 행 가로 중앙 */
.gl-service-card--more {
  grid-column: 1 / -1;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  padding: 22px 18px;
  border: 1px dashed #d0d5dd;
  background: #fafbfc;
  box-shadow: none;
}

.gl-service-card--more:hover {
  background: #fff;
  border-color: #98a2b3;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
}

.gl-service-card__more-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #667085;
}

.gl-service-card--more:hover .gl-service-card__more-text {
  color: #475467;
}

/* AI 교육 트렌드 인사이트 — 시안: 카드 좌측 정렬·보라 트렌드, 태그 네이비 활성, 하단 바형 링크 */
.gl-data-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .gl-data-cards {
    grid-template-columns: 1fr;
  }
}

.gl-data-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 28px 24px 26px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.25s, border-color 0.2s;
}

.gl-data-card.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-data-card:hover {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  border-color: #e4e7ec;
}

.gl-data-card__icon {
  font-size: 2.25rem;
  line-height: 1;
  margin: 0 0 18px;
  user-select: none;
}

.gl-data-card__value {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #101828;
  margin-bottom: 8px;
  line-height: 1.15;
}

.gl-data-card__value span {
  font-size: 1.125rem;
  font-weight: 800;
  margin-left: 2px;
  color: #101828;
}

.gl-data-card__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #667085;
  margin-bottom: 10px;
  line-height: 1.4;
}

.gl-data-card__growth {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7c3aed;
  line-height: 1.4;
}

.gl-data-card__growth .fa-arrow-up {
  margin-right: 4px;
  font-size: 0.7rem;
  vertical-align: 0.05em;
}

.gl-data-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.gl-data-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  cursor: default;
  transition: border-color 0.2s, background 0.2s;
}

.gl-data-tag--active {
  color: #fff !important;
  background: #1e1b4b;
  border-color: #1e1b4b;
}

.gl-data-tag--more {
  color: #344054;
  background: #fff;
  border: 1px solid #e4e7ec;
}

.gl-home-v2-root a.gl-insight-link,
.gl-home-v2-root a.gl-insight-link:link,
.gl-home-v2-root a.gl-insight-link:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #101828 !important;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.gl-insight-link:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
  border-color: #d0d5dd;
  background: #fafbfc;
}

.gl-insight-link span {
  flex: 1;
  text-align: left;
  line-height: 1.45;
}

.gl-insight-link i {
  flex-shrink: 0;
  font-size: 15px;
  color: #7c3aed;
}

/* Policy */
.gl-policy-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.gl-policy-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #a7f3d0;
  border-radius: var(--gl-radius-md);
  font-size: 14px;
  font-weight: 700;
  color: #047857;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
}

.gl-policy-header__badge i {
  color: #059669;
}

.gl-policy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.gl-policy-item {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: var(--gl-radius-lg);
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.04);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gl-policy-item.gl-visible {
  opacity: 1;
  transform: translateX(0);
}

.gl-policy-item__dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
}

.gl-policy-item__dot--red {
  background: #f04438;
}
.gl-policy-item__dot--blue {
  background: #4a6cf7;
}
.gl-policy-item__dot--green {
  background: #10b981;
}

.gl-policy-item__content {
  flex: 1;
  position: relative;
  padding-bottom: 28px;
}

.gl-policy-item__content h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 800;
}

.gl-policy-item__content p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gl-muted);
}

.gl-policy-item__tag {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

/* WCAG AA 4.5:1 — 작은 라벨(11px)용 진한 글자색 + 기존 파스텔 배경 유지 */
.gl-policy-item__tag--red {
  background: #fef3f2;
  color: #b42318;
}
.gl-policy-item__tag--blue {
  background: #eff4ff;
  color: #1d4ed8;
}
.gl-policy-item__tag--green {
  background: #ecfdf5;
  color: #047857;
}

.gl-policy-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--gl-line);
  border-radius: var(--gl-radius-lg);
}

.gl-policy-footer__left strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.gl-policy-footer__left span {
  font-size: 0.875rem;
  color: var(--gl-muted);
}

.gl-policy-footer__btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gl-policy-footer__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

/* Articles — 시안: 2열 그리드, 상단 파스텔 썸네일 + 하단 흰 본문, 제목 최대 2줄 */
.gl-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

@media (max-width: 700px) {
  .gl-articles {
    grid-template-columns: 1fr;
  }
}

.gl-home-v2-root a.gl-article-card,
.gl-home-v2-root a.gl-article-card:link,
.gl-home-v2-root a.gl-article-card:visited {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 20px;
  box-shadow:
    0 1px 3px rgba(16, 24, 40, 0.06),
    0 1px 2px rgba(16, 24, 40, 0.04);
  color: #101828;
  text-decoration: none;
  transition: box-shadow 0.25s, border-color 0.2s, transform 0.25s;
}

.gl-article-card {
  opacity: 0;
  transform: translateY(20px);
}

.gl-article-card.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-article-card.gl-visible:hover {
  border-color: #e0e7ff;
  box-shadow: 0 16px 42px rgba(16, 24, 40, 0.1);
  transform: translateY(-3px);
}

.gl-article-card__thumb {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 168px;
  max-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-article-card__thumb--purple {
  background: #e8e8ff;
}

.gl-article-card__thumb--green {
  background: #d1f5e6;
}

.gl-article-card__emoji {
  font-size: 3.25rem;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
}

.gl-article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 24px 24px;
}

.gl-article-card__cat {
  align-self: flex-start;
  margin: 0;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
  border-radius: 8px;
}

.gl-article-card__cat--blue {
  background: #e8eeff;
  color: #2563eb;
}

.gl-article-card__cat--green {
  background: #d1f5e6;
  color: #047857;
}

.gl-article-card__body h3 {
  margin: 14px 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: #101828;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  /* 1줄 제목이어도 카드 높이 맞춤 */
  min-height: calc(1.45em * 2);
}

.gl-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8125rem;
  color: #888;
}

/* Newsletter */
.gl-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #ddd6fe;
  border-radius: var(--gl-radius-lg);
}

.gl-newsletter__content strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.gl-newsletter__content span {
  font-size: 0.875rem;
  color: var(--gl-muted);
}

.gl-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gl-newsletter__input {
  min-width: 220px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--gl-line);
  border-radius: 12px;
  background: #fff;
}

.gl-newsletter__btn {
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #1d2939;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.gl-newsletter__btn:hover {
  background: #344054;
}

/* TRUSTED BY — 통계·파트너·후기 동일 너비, 파트너는 균등 5열 그리드 */
.gl-section--trust .gl-container {
  max-width: 960px;
}

.gl-trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 36px;
}

@media (max-width: 640px) {
  .gl-trust-stats {
    grid-template-columns: 1fr;
  }
}

.gl-trust-stat {
  text-align: center;
  padding: 32px 20px 28px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s;
}

.gl-trust-stat.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-trust-stat:hover {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.gl-trust-stat strong {
  display: block;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #101828;
}

.gl-trust-stat strong span {
  font-size: 1.4rem;
  font-weight: 800;
  color: #101828;
}

.gl-trust-stat > span:last-child {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #667085;
  line-height: 1.4;
}

.gl-trust-group {
  margin-bottom: 32px;
}

.gl-trust-group:last-of-type {
  margin-bottom: 0;
}

.gl-trust-group__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gl-muted); /* #667085 — #fafbfc 대비 WCAG AA */
  margin-bottom: 12px;
  text-align: left;
}

/* 5열: 공공 5개 · 에듀테크 첫 줄 5개 — 행 전체를 균등하게 채움 */
.gl-trust-group__items--grid5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* 에듀트랜드·예산플래너: 위 줄과 같은 칸 너비의 2칸만 가운데 */
.gl-trust-group__items--grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: calc((100% - 48px) * 2 / 5 + 12px);
  max-width: 100%;
  margin: 12px auto 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .gl-trust-group__items--grid5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gl-trust-group__items--grid2 {
    width: calc((100% - 24px) * 2 / 3 + 12px);
  }
}

@media (max-width: 560px) {
  .gl-trust-group__items--grid5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gl-trust-group__items--grid2 {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

.gl-trust-item,
.gl-home-v2-root a.gl-trust-item.gl-trust-item--link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  min-height: 60px;
  min-width: 0;
  width: 100%;
  max-width: none;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.gl-trust-item.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-trust-item:hover,
.gl-home-v2-root a.gl-trust-item.gl-trust-item--link:hover {
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
  border-color: #e4e7ec;
}

.gl-trust-item i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
  border-radius: 10px;
  color: #7c3aed;
  font-size: 14px;
}

.gl-trust-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #101828;
  line-height: 1.25;
  word-break: keep-all;
}

.gl-trust-item > div {
  min-width: 0;
  text-align: left;
}

.gl-trust-item span {
  display: block;
  font-size: 0.6875rem;
  color: #667085;
  margin-top: 2px;
  line-height: 1.3;
  word-break: keep-all;
}

.gl-home-v2-root a.gl-trust-item--link:link,
.gl-home-v2-root a.gl-trust-item--link:visited {
  color: inherit;
}

.gl-trust-quote {
  width: 100%;
  max-width: 100%;
  margin: 36px 0 0;
  padding: 32px 36px 32px 32px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-left: 4px solid #7c3aed;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.05);
}

.gl-trust-quote p {
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
  color: #475467;
}

.gl-trust-quote cite {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  color: #667085;
}

/* CTA */
.gl-cta {
  padding: 96px 0;
  background: linear-gradient(165deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
  color: #e0e7ff;
}

.gl-cta__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.gl-cta__badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  margin-bottom: 20px;
}

.gl-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  word-break: keep-all;
}

.gl-cta__content > p {
  margin: 0 0 36px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #e0e7ff;
}

.gl-cta__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .gl-cta__features {
    grid-template-columns: 1fr;
  }
}

.gl-cta__feature {
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--gl-radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s, background 0.2s;
}

.gl-cta__feature.gl-visible {
  opacity: 1;
  transform: translateY(0);
}

.gl-cta__feature i {
  font-size: 1.25rem;
  color: #e0e7ff;
  margin-bottom: 10px;
}

.gl-cta__feature strong {
  display: block;
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.gl-cta__feature span {
  font-size: 0.8125rem;
  color: #e9d5ff;
}

.gl-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.gl-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  box-sizing: border-box;
}

/* 테마 전역 a 색·inherit보다 우선: 흰 배경 버튼은 진한 글자 고정 */
.gl-home-v2-root .gl-cta a.gl-cta__btn--primary,
.gl-home-v2-root .gl-cta a.gl-cta__btn--primary:link,
.gl-home-v2-root .gl-cta a.gl-cta__btn--primary:visited {
  color: #0f172a !important;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gl-home-v2-root .gl-cta a.gl-cta__btn--primary i {
  color: #5b21b6 !important;
}

.gl-home-v2-root .gl-cta a.gl-cta__btn--primary:hover,
.gl-home-v2-root .gl-cta a.gl-cta__btn--primary:focus {
  color: #020617 !important;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.gl-home-v2-root .gl-cta a.gl-cta__btn--outline,
.gl-home-v2-root .gl-cta a.gl-cta__btn--outline:link,
.gl-home-v2-root .gl-cta a.gl-cta__btn--outline:visited {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.gl-home-v2-root .gl-cta a.gl-cta__btn--outline i {
  color: #e0e7ff !important;
}

.gl-home-v2-root .gl-cta a.gl-cta__btn--outline:hover,
.gl-home-v2-root .gl-cta a.gl-cta__btn--outline:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}

.gl-cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  font-size: 13px;
  color: #c7d2fe;
}

.gl-cta__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gl-cta__trust .fa-check {
  color: #34d399;
  font-size: 12px;
}

/* Footer */
.gl-footer {
  background: #0c111d;
  color: #98a2b3;
  padding: 40px 0 32px;
}

.gl-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gl-footer__logo {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.gl-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gl-footer__links a:hover {
  color: #fff;
}

.gl-footer__copy span {
  font-size: 13px;
}
