:root {
  --blue-900: #0a1b3d;
  --blue-800: #10275a;
  --blue-700: #163a86;
  --blue-600: #1d5cff;
  --blue-500: #3b82f6;
  --blue-300: #93b8ff;
  --blue-100: #dbe7ff;
  --blue-50:  #f2f6ff;
  --ink:      #0d1b34;
  --ink-2:    #4a5a76;
  --ink-3:    #8494ad;
  --line:     #e3ebf8;
  --white:    #ffffff;
  --radius:   18px;
  --topbar-h: 74px;
  --shadow-sm: 0 2px 10px rgba(16, 39, 90, .06);
  --shadow-md: 0 10px 30px rgba(16, 39, 90, .10);
  --shadow-lg: 0 24px 60px rgba(16, 39, 90, .16);
  --font: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.page { position: relative; }


/* topbar */

.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0 18px;
}

.topbar__logo img {
  height: 50px;
  width: auto;
}

.topbar__burger {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
}

.topbar__burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  transition: transform .25s ease, opacity .2s ease;
}


/* hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-900);
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: calc(var(--topbar-h) + 40px) 24px 70px;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -60px;
  z-index: -3;
  background-color: var(--blue-800);
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  filter: blur(5px) saturate(115%);
  opacity: 1;
  transition: opacity .38s ease;
}

.hero__bg.is-swap { opacity: 0; }

.hero__blur {
  position: absolute;
  inset: -60px;
  z-index: -2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 40%);
}

.hero__tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 40%, rgba(29, 92, 255, .30) 0%, rgba(10, 27, 61, 0) 62%),
    linear-gradient(100deg, rgba(10, 27, 61, .90) 0%, rgba(12, 32, 72, .62) 42%, rgba(16, 39, 90, .34) 100%);
}

.hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}

.hero__text {
  transition: opacity .34s ease, transform .34s ease;
}

.hero__text.is-swap { opacity: 0; transform: translateY(14px); }

.hero__title {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.24;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.hero__title b {
  background: var(--blue-500);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats {
  margin-top: 36px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong { font-size: 26px; font-weight: 800; color: var(--white); }
.hero__stats span { font-size: 13px; color: rgba(255, 255, 255, .6); }

.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 460px;
}

.hero__glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .55) 0%, rgba(29, 92, 255, .12) 55%, transparent 72%);
  filter: blur(10px);
}

.hero__person {
  position: relative;
  width: min(560px, 100%);
  height: 520px;
  max-height: none;
  object-fit: cover;
  object-position: 50% 0%;
  opacity: 1;
  filter: saturate(106%) contrast(103%);
  transition: opacity .34s ease, transform .34s ease;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 4%, #000 58%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0, #000 4%, #000 58%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__person.is-swap { opacity: 0; transform: translateY(18px); }

.hero__person.is-empty {
  width: min(360px, 80%);
  height: 460px;
  max-height: 460px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 12px, transparent 12px 24px);
  border: 1px dashed rgba(255, 255, 255, .35);
}


/* tabs */

.tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.tabs__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs__inner::-webkit-scrollbar { display: none; }

.tabs__btn {
  position: relative;
  flex: 0 0 auto;
  padding: 20px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s ease;
}

.tabs__btn:hover { color: var(--blue-600); }
.tabs__btn.is-active { color: var(--blue-600); font-weight: 700; }

.tabs__ink {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}


/* panels */

.panels {
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.panel { display: none; }
.panel.is-active { display: block; animation: fade .38s ease both; }

@keyframes fade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.panel__head { margin-bottom: 34px; }

.panel__head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  text-align: center;
}

.panel__head h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-300));
}


/* cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.cards[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.cards[data-cols="2"] { grid-template-columns: repeat(2, 1fr); gap: 30px; }
.cards[data-cols="2"] .card__img { aspect-ratio: 1918 / 919; }
.cards[data-cols="2"] .card__img img { object-fit: contain; object-position: center; }

.cards--logo .card__img {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(90% 80% at 50% 20%, rgba(59, 130, 246, .28) 0%, transparent 70%),
    linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 100%);
}

.cards--logo .card__img::after { display: none; }

.cards--logo .card__img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cards--logo .card__desc {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue-500);
}
.cards[data-cols="2"] .card__title { font-size: 18px; margin-top: 18px; }
.cards[data-cols="2"] .card__desc { font-size: 14.5px; }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.card.is-linked { cursor: pointer; }

.card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-lg);
}

.card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(150deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

.card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(255, 255, 255, .9) 0%, transparent 60%),
    repeating-linear-gradient(135deg, rgba(29, 92, 255, .06) 0 14px, transparent 14px 28px);
}

.card__img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card__img img.is-empty { opacity: 0; }
.card:hover .card__img > img { transform: scale(1.05); }


/* slider */

.slider__track {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  touch-action: pan-y;
}

.slider__track.no-anim { transition: none; }

.slider__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 4px 14px rgba(16, 39, 90, .18);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .22s ease, transform .22s ease, background .2s ease;
}

.slider__nav--prev { left: 8px; }
.slider__nav--next { right: 8px; }

.card:hover .slider__nav { opacity: 1; transform: none; }
.slider__nav:hover { background: var(--white); color: var(--blue-600); }

.slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 4px rgba(10, 27, 61, .35);
  transition: width .25s ease, background .25s ease;
}

.slider__dot.is-active {
  width: 18px;
  border-radius: 4px;
  background: var(--white);
}

.card__title {
  margin-top: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.card__desc {
  margin-top: 8px;
  padding: 0 6px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  word-break: keep-all;
}


/* providers */

.provider-group {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--blue-600);
  text-align: center;
}

.provider-group + .providers { margin-bottom: 44px; }

.providers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.provider {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.provider:hover {
  transform: translateY(-4px);
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
}

.provider__logo {
  display: block;
  width: min(132px, 100%);
  margin: 0 auto;
  aspect-ratio: 110 / 40;
  background-image: url("../img/provider.png");
  background-repeat: no-repeat;
  background-size: 1000% 1000%;
  background-position: calc(var(--col) * 11.1111%) calc((var(--row) + 4) * 11.1111%);
  transition: background-position .3s ease, transform .3s ease;
}

.provider:hover .provider__logo {
  background-position: calc(var(--col) * 11.1111%) calc(var(--row) * 11.1111%);
  transform: scale(1.05);
}

.provider__name { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink); }
.provider__sub { margin-top: 5px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }

.ft_logos_01 { --col: 0; --row: 0; }
.ft_logos_02 { --col: 1; --row: 0; }
.ft_logos_03 { --col: 2; --row: 0; }
.ft_logos_04 { --col: 3; --row: 0; }
.ft_logos_05 { --col: 4; --row: 0; }
.ft_logos_06 { --col: 5; --row: 0; }
.ft_logos_07 { --col: 6; --row: 0; }
.ft_logos_08 { --col: 7; --row: 0; }
.ft_logos_09 { --col: 8; --row: 0; }
.ft_logos_10 { --col: 9; --row: 0; }
.ft_logos_11 { --col: 0; --row: 1; }
.ft_logos_12 { --col: 1; --row: 1; }
.ft_logos_13 { --col: 2; --row: 1; }
.ft_logos_14 { --col: 3; --row: 1; }
.ft_logos_15 { --col: 4; --row: 1; }
.ft_logos_16 { --col: 5; --row: 1; }
.ft_logos_17 { --col: 6; --row: 1; }
.ft_logos_18 { --col: 7; --row: 1; }
.ft_logos_19 { --col: 8; --row: 1; }
.ft_logos_20 { --col: 9; --row: 1; }
.ft_logos_21 { --col: 0; --row: 2; }
.ft_logos_22 { --col: 1; --row: 2; }
.ft_logos_23 { --col: 2; --row: 2; }
.ft_logos_24 { --col: 3; --row: 2; }
.ft_logos_25 { --col: 4; --row: 2; }
.ft_logos_26 { --col: 5; --row: 2; }
.ft_logos_27 { --col: 6; --row: 2; }
.ft_logos_28 { --col: 7; --row: 2; }
.ft_logos_29 { --col: 8; --row: 2; }
.ft_logos_30 { --col: 9; --row: 2; }
.ft_logos_31 { --col: 0; --row: 3; }
.ft_logos_32 { --col: 1; --row: 3; }
.ft_logos_33 { --col: 2; --row: 3; }
.ft_logos_34 { --col: 3; --row: 3; }


/* telegram */

.tg {
  padding: 70px 30px 76px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--blue-50), var(--white));
}

.tg__logo {
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 18px 34px rgba(34, 158, 217, .35));
}

.tg__logo svg { width: clamp(120px, 18vw, 168px); height: auto; }

.tg__btn {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2AABEE, #229ED9);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(34, 158, 217, .38);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tg__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px rgba(34, 158, 217, .45);
}


/* soon */

.soon {
  padding: 90px 30px;
  text-align: center;
  border: 1px dashed var(--blue-100);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--blue-50), var(--white));
}

.soon__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--blue-600);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.soon h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.soon p { margin-top: 10px; font-size: 14px; color: var(--ink-3); }


/* drawer */

.drawer-dim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 27, 61, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

body.is-drawer .drawer-dim { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 70;
  width: min(300px, 84vw);
  background: var(--white);
  box-shadow: 20px 0 60px rgba(10, 27, 61, .18);
  transform: translateX(-102%);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}

body.is-drawer .drawer { transform: none; }

.drawer__head {
  height: var(--topbar-h);
  padding: 0 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer__logo { height: 26px; width: auto; }

.drawer__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink-2);
}

.drawer__close:hover { background: var(--blue-50); color: var(--blue-600); }

.drawer__nav {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.drawer__item {
  padding: 15px 16px;
  border-radius: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}

.drawer__item:hover { background: var(--blue-50); color: var(--blue-600); }

.drawer__item.is-active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(29, 92, 255, .3);
}

.drawer__foot { padding: 16px; border-top: 1px solid var(--line); }

.drawer__cta {
  display: block;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}


/* footer */

.footer {
  background: linear-gradient(180deg, var(--blue-900), var(--blue-800));
  padding: 56px 24px;
}

.footer__inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.footer__logo {
  height: 30px;
  width: auto;
  margin: 0 auto;
  opacity: .95;
  filter: brightness(0) invert(1);
}
.footer__copy { margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, .38); }


/* responsive */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { order: -1; min-height: 300px; }
  .hero__person { width: min(420px, 92%); height: 340px; }
  .hero__person.is-empty { height: 300px; max-height: 300px; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 62px; }

  .topbar__burger { display: flex; }
  .topbar__logo img { height: 38px; }

  .tabs { display: none; }

  .hero { min-height: 0; padding: calc(var(--topbar-h) + 30px) 20px 54px; }
  .hero__stats { margin-top: 30px; gap: 22px; }
  .hero__stats strong { font-size: 21px; }
  .hero__stats span { font-size: 12px; }

  .panels { padding: 44px 20px 80px; }
  .panel__head { margin-bottom: 26px; }

  .cards,
  .cards[data-cols="3"] { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cards[data-cols="2"] { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 10px 10px 15px; border-radius: 14px; }
  .card__title { margin-top: 12px; font-size: 14px; }
  .card__desc { margin-top: 6px; padding: 0 2px; font-size: 12.5px; line-height: 1.6; }
  .slider__nav { opacity: .9; transform: none; width: 28px; height: 28px; margin-top: -14px; }
  .slider__nav--prev { left: 6px; }
  .slider__nav--next { right: 6px; }
  .cards[data-cols="2"] .card__title { margin-top: 14px; font-size: 15px; }
  .cards[data-cols="2"] .card__desc { font-size: 13px; }

  .soon { padding: 60px 20px; }
  .providers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .provider { padding: 18px 10px 16px; border-radius: 12px; }
  .provider__name { margin-top: 12px; font-size: 13px; }
  .provider__sub { font-size: 11.5px; }
  .provider-group { font-size: 15px; }
  .provider-group + .providers { margin-bottom: 34px; }
  .tg { padding: 54px 20px 58px; }
  .tg__btn { margin-top: 30px; height: 54px; font-size: 15px; }
}

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