@import url("https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/subsets/Paperlogy-dynamic-subset.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --brand: #006fec;
  --brand-strong: #0b5dd8;
  --ink-deep: #191f31;
  --ink-mid: #4d5669;
  --soft-card: 0 22px 54px rgba(12, 73, 166, 0.1);
  --font-pretendard: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  --font-paperlogy: "Paperlogy", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  --font-ui: var(--font-pretendard);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-paperlogy);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.br-pc {
  display: none;
}

.br-mo {
  display: revert;
}

a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a[href]:hover {
  cursor: pointer;
  cursor: hand;
}

.font-pretendard {
  font-family: var(--font-pretendard);
}

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.brand-mark span {
  display: block;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00163f 0%, #155ffc 100%);
}

.brand-mark span:nth-child(1) {
  height: 16px;
}

.brand-mark span:nth-child(2) {
  height: 13px;
}

.brand-mark span:nth-child(3) {
  height: 18px;
}

.brand-text {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 158px;
  height: auto;
  flex-shrink: 0;
}

.site-nav,
.mobile-menu-nav,
.nav-link {
  font-family: var(--font-ui);
}

.nav-link {
  position: relative;
  color: #262626;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-menu {
  transition: opacity 0.3s ease;
}

.mobile-menu-panel {
  transform: translateY(-18px);
  transition: transform 0.36s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateY(0);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #56b5ff 0%, #0d76ef 55%, #0b63d9 100%);
  padding: 0.95rem 2.15rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 18px 36px rgba(0, 111, 236, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: -150% auto -150% -35%;
  width: 30%;
  pointer-events: none;
  transform: rotate(14deg) translateX(-240%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.65) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: transform 0.7s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 40px rgba(0, 111, 236, 0.33);
}

.btn-primary:hover::before {
  transform: rotate(14deg) translateX(420%);
}

.intro-section {
  background:
    radial-gradient(circle at 84% 22%, rgba(116, 181, 255, 0.24), rgba(116, 181, 255, 0) 24%),
    radial-gradient(circle at 72% 78%, rgba(151, 205, 255, 0.34), rgba(151, 205, 255, 0) 28%),
    linear-gradient(180deg, #ffffff 0%, #edf7ff 48%, #d9ebff 100%);
}

.intro-grid {
  min-height: 650px;
  align-items: center;
}

.intro-copy {
  max-width: 660px;
}

.intro-kicker {
  color: #455367;
  font-size: 14pt;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.intro-kicker strong {
  font-weight: 700;
  color: #252d3c;
}

.intro-title {
  font-size: 27pt;
  line-height: 1.26;
  letter-spacing: -0.055em;
  font-weight:600;
}

.intro-highlight {
  font-size: 46pt;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.intro-cta {
  min-width: 244px;
  min-height: 66px;
  font-size: 1.5rem;
  padding-inline: 2.7rem;
  box-shadow: 0 22px 40px rgba(0, 111, 236, 0.24);
}

.intro-art {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.intro-art::after {
  /*content: "";*/
  position: absolute;
  left: 11%;
  bottom: 20%;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(180deg, rgba(77, 163, 255, 0.95), rgba(77, 163, 255, 0.95)) center/100% 4px
      no-repeat,
    linear-gradient(180deg, rgba(77, 163, 255, 0.95), rgba(77, 163, 255, 0.95)) center/4px 100%
      no-repeat;
  border-radius: 999px;
  filter: drop-shadow(0 6px 10px rgba(0, 111, 236, 0.18));
  pointer-events: none;
  z-index: 1;
}

.hero-chip {
  filter: drop-shadow(0 14px 24px rgba(0, 111, 236, 0.18));
}

.hero-bubble {
  animation: floatY 4.4s ease-in-out infinite;
}

.hero-alert {
  animation: floatY 4s ease-in-out infinite reverse;
}

.intro-bubble {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  filter: drop-shadow(0 26px 42px rgba(55, 124, 223, 0.18));
}

.intro-alert {
  position: absolute;
  top: 6%;
  left: 22%;
  z-index: 3;
  width: min(100%, 128px);
}

.intro-pill {
  position: absolute;
  z-index: 4;
  display: block;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  white-space: nowrap;
  animation: floatY 4.8s ease-in-out infinite;
}

.intro-pill-card {
  top: 8%;
  right: 2%;
  width: 128px;
  height: 49px;
  background-image: url("/assets/hero/box-1.png");
}

.intro-pill-telco {
  top: 56%;
  left: 2%;
  width: 128px;
  height: 49px;
  background-image: url("/assets/hero/box-2.png");
}

.intro-pill-point {
  bottom: 10%;
  left: 16%;
  width: 230px;
  height: 49px;
  background-image: url("/assets/hero/box-3.png");
}

.targeting-soft {
  color: #d2defc;
}

.targeting-emphasis {
  color: #ffffff;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.wave-shell {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    url("./assets/backgrounds/wave-background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.floating-envelope {
  animation: floatY 4.6s ease-in-out infinite;
}

.section-arrow-left {
  animation: arrowLeft 2.8s ease-in-out infinite;
}

.section-arrow-right {
  animation: arrowRight 2.8s ease-in-out infinite;
}

.floating-action {
  display: flex;
  width: 132px;
  min-height: 132px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  border-radius: 999px;
  background: rgba(17, 21, 35, 0.96);
  padding: 1.2rem 0.95rem;
  color: white;
  box-shadow: 0 22px 44px rgba(8, 14, 33, 0.26);
  font-family: var(--font-ui);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.floating-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.floating-action-icon {
  width: 37px;
}

.floating-action:hover {
  transform: translateY(-4px);
  background: rgba(0, 111, 236, 0.96);
}

.floating-action--phone {
  gap: 0.02rem;
}

.floating-action-label {
  margin-top: 0;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.floating-action-number {
  margin-top: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  opacity: 0.86;
}

.floating-contact-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #56b5ff 0%, #0d76ef 55%, #0b63d9 100%);
  padding: 1rem 2.6rem;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 111, 236, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-contact-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.floating-contact-cta:hover {
  box-shadow: 0 24px 40px rgba(0, 111, 236, 0.34);
  transform: translateX(-50%) translateY(-3px);
}

.top-button {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}

.top-button--desktop {
  width: 60px;
  height: 60px;
  min-width: 60px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.top-button-icon {
  width: 22px;
  height: 22px;
}

.top-button:hover {
  transform: translateY(-3px);
}

.top-button--desktop:hover {
  background: transparent;
  box-shadow: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(52px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.benefit-card,
.partner-logo-card,
.message-card,
.process-card,
.faq-card,
.data-card {
  box-shadow: var(--soft-card);
}

.data-card {
  align-items: stretch;
}

.data-card-title {
  min-height: 100%;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.benefit-copy {
  font-family: var(--font-ui);
}

.partner-logo-grid--telco .partner-logo-card {
  padding-inline: 10px;
}

.data-card-copy {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 0.38rem;
  font-family: var(--font-ui);
  line-height: 1.55 !important;
}

.data-card-copy li {
  margin: 0;
}

.message-visual {
  margin-top: 1.75rem;
  display: flex;
  height: 280px;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.message-visual-image {
  width: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: top center;
}

.case-card-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.case-card:hover .case-card-caption {
  opacity: 0;
  transform: scale(0.94);
  cursor: pointer;
}

.case-card--placeholder:hover .case-card-caption,
.case-card--placeholder:hover .case-card-image {
  opacity: 1;
  transform: none;
  filter: none;
}

.case-card--placeholder .case-card-overlay {
  pointer-events: none;
}

.case-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.9rem;
}

.case-filter-tab {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0 0.2rem 0.7rem;
  color: #475569;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  transition:
    color 0.24s ease,
    opacity 0.24s ease;
}

.case-filter-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.case-filter-tab:hover,
.case-filter-tab.is-active {
  color: var(--brand);
}

.case-filter-tab:hover::after,
.case-filter-tab.is-active::after {
  transform: scaleX(1);
}

.case-filter-tab:focus-visible {
  outline: 2px solid rgba(0, 111, 236, 0.26);
  outline-offset: 6px;
}

.case-page-copy {
  font-family: var(--font-pretendard);
  letter-spacing: -0.03em;
}

.case-page-grid {
  display: grid;
  gap: 1.4rem;
}

.case-page-card {
  min-height: 206px;
  border-radius: 28px;
}

.case-page-card .case-card-caption {
  padding: 1.7rem;
}

.case-page-card-title {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.36;
}

.case-page-card-image {
  height: 100%;
  min-height: 206px;
}

.faq-icon {
  flex-shrink: 0;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.policy-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.policy-modal-panel {
  width: min(100%, 720px);
  max-height: min(88vh, 820px);
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.28);
}

.policy-modal.is-submit-result .policy-modal-panel {
  width: min(100%, 560px);
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 22px 24px 18px;
}

.policy-modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.policy-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 1.5rem;
  color: #0f172a;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.policy-modal-close:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.policy-modal-body {
  max-height: calc(min(88vh, 820px) - 88px);
  overflow-y: auto;
  padding: 24px;
  font-family: var(--font-ui);
  color: #334155;
}

.policy-modal.is-submit-result .policy-modal-body {
  max-height: none;
  padding: 28px 30px 34px;
}

.policy-modal-body h3 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.policy-modal-body p + p,
.policy-modal-body ul + p,
.policy-modal-body p + ul {
  margin-top: 0.95rem;
}

.policy-modal-body ul {
  padding-left: 1.2rem;
  line-height: 1.75;
  list-style: disc;
}

.policy-modal-body p {
  line-height: 1.75;
}

.submit-result-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
}

.submit-result-copy strong,
.submit-result-copy p {
  max-width: 24rem;
}

.submit-result-copy strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.45;
  color: #0f172a;
}

.submit-result-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.submit-result-copy--plain {
  gap: 0;
}

.submit-result-copy--plain p {
  color: #334155;
}

.field-label span {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d2434;
}

.field-label em {
  color: var(--brand);
  font-style: normal;
}

.field-label input,
.field-label textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: white;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  color: #1f2937;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.field-label input:focus,
.field-label textarea:focus {
  border-color: rgba(0, 111, 236, 0.58);
  box-shadow: 0 0 0 4px rgba(0, 111, 236, 0.12);
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.footer-pill:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  background: var(--brand);
}

.brand-logo--footer {
  width: 200px;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes arrowLeft {
  0%,
  100% {
    transform: translate(-14px, 0) rotate(-4deg);
    opacity: 0.42;
  }

  50% {
    transform: translate(0, -6px) rotate(0deg);
    opacity: 1;
  }
}

@keyframes arrowRight {
  0%,
  100% {
    transform: translate(14px, 0) rotate(4deg);
    opacity: 0.42;
  }

  50% {
    transform: translate(0, -6px) rotate(0deg);
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .case-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .intro-grid {
    min-height: auto;
  }

  .intro-copy {
    max-width: 100%;
    padding-inline: 0.2rem;
  }

  .intro-kicker {
    font-size: 1.4rem;
    line-height: 1.25;
  }

  .intro-title {
    font-size: clamp(1.68rem, 3.4vw + 0.98rem, 2.08rem);
    line-height: 1.4;
    letter-spacing: -0.04em;
    font-size:23px;
  }

  .intro-highlight {
    font-size: clamp(2rem, 6.8vw, 2.65rem);
    line-height: 1.12;
    white-space: normal;
    font-size:40px;
  }

  .intro-cta {
    min-width: 214px;
    min-height: 58px;
    font-size: 1.22rem;
    padding-inline: 2rem;
  }

  .intro-art {
    min-height: 320px;
    overflow: hidden;
  }

  .message-visual {
    height: 236px;
  }

  .intro-art::after {
    left: 5%;
    bottom: 16%;
    width: 16px;
    height: 16px;
  }

  .intro-bubble {
    width: min(100%, 318px);
  }

  .intro-alert {
    top: 8%;
    left: 5%;
    width: min(100%, 96px);
  }

  .intro-pill {
    animation-duration: 4.2s;
  }

  .intro-pill-card {
    top: 6%;
    right: 1%;
    width: 96px;
    height: 37px;
  }

  .intro-pill-telco {
    top: 60%;
    left: 4%;
    width: 96px;
    height: 37px;
  }

  .intro-pill-point {
    bottom: 6%;
    left: 17%;
    width: 176px;
    height: 37px;
  }

  .brand-mark {
    height: 15px;
  }

  .brand-mark span {
    width: 5px;
  }

  .brand-logo {
    width: 160px;
  }

  .field-label span {
    font-size: 1rem;
  }

  .floating-contact-cta {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .br-pc {
    display: revert;
  }

  .br-mo {
    display: none;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 660px) minmax(0, 460px);
    column-gap: 40px;
    justify-content: space-between;
    padding-top: 4.5rem;
    padding-bottom: 5.2rem;
  }

  .intro-copy {
    max-width: 660px;
  }

  .intro-art {
    width: 460px;
    min-height: 390px;
    justify-self: end;
  }

  .intro-art::after {
    left: 14%;
    bottom: 11%;
  }

  .intro-bubble {
    position: absolute;
    right: 75px;
    left: auto;
    transform: none;
    width: 252px;
    top: 78px;
  }

  .intro-alert {
    left: 86px;
    right: auto;
    top: 26px;
    width: 104px;
  }

  .intro-highlight {
    font-size: 42pt;
    white-space: nowrap;
  }

  .intro-pill-card {
    right: 77px;
    top: 20px;
  }

  .intro-pill-telco {
    left: 0;
    top: 214px;
  }

  .intro-pill-point {
    bottom: 60px;
    left: 60px;
  }

  .partner-logo-grid--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .partner-logo-grid--center > .partner-logo-card {
    flex: 0 0 calc(20% - 0.8rem);
    max-width: 188px;
  }

  .case-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.9rem;
  }

  .case-page-card {
    min-height: 210px;
  }

  .case-page-card-image {
    min-height: 210px;
  }

  .case-page-card-title {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
