@charset "euc-kr";

/* Shared hero component: main slides and service landing pages */
.xh-hero {
  --xh-point: #365be7;
  --xh-point-dark: #203cb3;
  --xh-button-bg: linear-gradient(135deg,#5273f0,#2948c9);
  --xh-button-shadow: rgba(54,91,231,.25);
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-bottom: 2px solid var(--xh-point);
}

.xh-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1200px,calc(100% - 40px));
  min-height: 480px;
  grid-template-columns: minmax(0,1.04fr) minmax(430px,.96fr);
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: 19px;
}

.xh-hero__copy {
  position: relative;
  z-index: 2;

  opacity: 0;
  transform: translateY(20px);
  animation: xh-fade-up 0.7s ease 0.15s forwards;
}

.xh-hero .xh-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 800;
}

.xh-hero .xh-hero__eyebrow span {
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--xh-point);
}

.xh-hero .xh-hero__eyebrow b { color: #ffb400; letter-spacing: 1px; }

.xh-hero .xh-hero__title {
  margin: 0;
  font-size: clamp(38px,4vw,58px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.06em;
}

.xh-hero .xh-hero__title strong,
.xh-hero .xh-hero__lead b {
  color: var(--xh-point-dark);
}

.xh-hero .xh-hero__title strong {
  font-weight: inherit;
}

.xh-hero .xh-hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #35435e;
  font-size: 20px;
  font-weight: 400;
  word-break: keep-all;
}

.xh-hero .xh-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: #44516c;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.xh-hero .xh-hero__checks li::before {
  display: inline-grid;
  width: 17px;
  height: 17px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--xh-point);
  content: "\2713";
  font-size: 11px;
}

.xh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.xh-hero .xh-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--xh-point);
  border-radius: 11px;
  color: var(--xh-point-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.xh-hero .xh-button--primary {
  border-color: transparent;
  color: #fff;
  background: var(--xh-button-bg);
  box-shadow: 0 10px 24px var(--xh-button-shadow);
}

.xh-hero .xh-button--external::after {
  display: inline-block;
  margin-left: 7px;
  content: "\2197";
  font-size: 12px;
  line-height: 1;
  transition: transform .2s ease;
}

.xh-hero .xh-button:hover {
  color: inherit;
  filter: brightness(.96);
  text-decoration: none;
}

.xh-hero .xh-button--primary:hover {
  color: #fff;
}

.xh-hero .xh-button--external:hover::after {
  transform: translate(2px,-2px);
}

.xh-hero__visual {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateY(20px);
  animation: xh-fade-up 0.7s ease 0.3s forwards;
}

.xh-hero__visual img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(28,73,143,.12));
}

@keyframes xh-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .xh-hero__copy,
  .xh-hero__visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Theme tokens and backgrounds */
.xh-hero[data-theme="platform"] {
  --xh-point: #4169d8;
  --xh-point-dark: #3154c5;
  --xh-button-bg: linear-gradient(135deg,#5578e8,#3154c5);
  --xh-button-shadow: rgba(65,105,216,.24);
  background-color: #f8faff;
  background-image: repeating-linear-gradient(135deg,rgba(65,105,216,.035) 0 1px,transparent 1px 36px),repeating-linear-gradient(45deg,rgba(65,105,216,.025) 0 1px,transparent 1px 36px),radial-gradient(circle at 82% 24%,rgba(103,153,255,.24) 0 90px,transparent 92px),radial-gradient(circle at 68% 78%,rgba(112,214,230,.18) 0 130px,transparent 132px),linear-gradient(110deg,#fff 0,#f4f8ff 62%,#eef4ff 100%);
}

.xh-hero[data-theme="free"] {
  --xh-point: #16a34a;
  --xh-point-dark: #15803d;
  --xh-button-bg: #16a34a;
  --xh-button-shadow: rgba(22,163,74,.24);
  background: repeating-linear-gradient(90deg,rgba(0,0,0,.03) 0 1px,transparent 1px 40px),repeating-linear-gradient(0deg,rgba(0,0,0,.03) 0 1px,transparent 1px 40px),radial-gradient(circle at bottom right,#46b8b2,transparent 40%),radial-gradient(circle at 60% 20%,rgba(170,210,255,.32) 0 50px,transparent 52px),radial-gradient(circle at 40% 70%,rgba(210,190,255,.3) 0 80px,transparent 82px),radial-gradient(circle at 20% 30%,rgba(190,255,230,.28) 0 60px,transparent 62px);
}

.xh-hero[data-theme="bulk"] {
  --xh-point: #0b8f87;
  --xh-point-dark: #08766f;
  --xh-button-bg: linear-gradient(135deg,#10a39a,#08766f);
  --xh-button-shadow: rgba(11,143,135,.24);
  background: repeating-linear-gradient(135deg,rgba(11,143,135,.045) 0 1px,transparent 1px 38px),repeating-linear-gradient(45deg,rgba(11,143,135,.03) 0 1px,transparent 1px 38px),radial-gradient(circle at 83% 23%,rgba(72,210,196,.25) 0 92px,transparent 94px),radial-gradient(circle at 68% 80%,rgba(64,156,224,.18) 0 132px,transparent 134px),linear-gradient(110deg,#fff 0,#f1fbfa 62%,#e7f7f5 100%);
}

.xh-hero[data-theme="first"] {
  --xh-point: #d98200;
  --xh-point-dark: #ad5a00;
  --xh-button-bg: linear-gradient(135deg,#e79a00,#b85f00);
  --xh-button-shadow: rgba(196,105,0,.24);
  background: repeating-linear-gradient(90deg,rgba(217,144,0,.035) 0 1px,transparent 1px 40px),repeating-linear-gradient(0deg,rgba(217,144,0,.035) 0 1px,transparent 1px 40px),radial-gradient(circle at 82% 28%,rgba(255,202,40,.31) 0 100px,transparent 102px),radial-gradient(circle at 67% 82%,rgba(255,156,66,.19) 0 138px,transparent 140px),linear-gradient(110deg,#fff 0,#fffaf0 62%,#fff3d5 100%);
}

.xh-hero[data-theme="api"] {
  --xh-point: #1253e1;
  --xh-point-dark: #0052cc;
  --xh-button-bg: #0052cc;
  --xh-button-shadow: rgba(0,82,204,.24);
  background: repeating-linear-gradient(45deg,rgba(1,141,235,.05) 0 1px,transparent 1px 40px),repeating-linear-gradient(-45deg,rgba(1,141,235,.05) 0 1px,transparent 1px 40px),radial-gradient(circle at bottom right,#0099ff,transparent 40%),radial-gradient(circle at 30% 30%,rgba(170,210,255,.32) 0 50px,transparent 52px),radial-gradient(circle at 60% 30%,rgba(210,190,255,.3) 0 80px,transparent 82px),radial-gradient(circle at 45% 80%,rgba(190,255,230,.28) 0 60px,transparent 62px);
}

.xh-hero[data-theme="ad"] {
  --xh-point: #df2438;
  --xh-point-dark: #a80f24;
  --xh-button-bg: linear-gradient(135deg,#ef4052,#bd1228);
  --xh-button-shadow: rgba(202,25,48,.24);
  background: repeating-linear-gradient(90deg,rgba(223,36,56,.035) 0 1px,transparent 1px 40px),repeating-linear-gradient(0deg,rgba(223,36,56,.035) 0 1px,transparent 1px 40px),radial-gradient(circle at 82% 24%,rgba(255,104,120,.22) 0 90px,transparent 92px),radial-gradient(circle at 67% 82%,rgba(193,18,48,.12) 0 138px,transparent 140px),linear-gradient(110deg,#fff 0,#fff7f8 62%,#ffecef 100%);
}

.xh-hero[data-theme="fax"] {
  --xh-point: #dd2b6d;
  --xh-point-dark: #c92160;
  --xh-button-bg: linear-gradient(#dd2b6d,#c92160);
  --xh-button-shadow: rgba(201,33,96,.24);
  background: radial-gradient(circle at bottom right,#6f2a93,transparent 40%),linear-gradient(45deg,rgba(0,0,0,.04) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.04) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.04) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.04) 75%);
}

.xh-hero[data-theme="caller"] {
	--xh-point: #315dcc;
	--xh-point-dark: #24469c;
	--xh-button-bg: linear-gradient(135deg, #416fd9, #24469c);
	--xh-button-shadow: rgba(49, 93, 204, .24);
	background: radial-gradient(circle at 84% 16%, rgba(76, 128, 237, .17), transparent 27%), radial-gradient(circle at 22% 80%, rgba(107, 80, 204, .1), transparent 23%), #f8faff;
}

@media (min-width:901px) {
  .xh-hero,
  .xh-hero__inner {
    min-height: 384px;
  }

  .xh-hero__inner {
    grid-template-columns: minmax(0,1.04fr) minmax(344px,.96fr);
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 15px;
  }

  .xh-hero .xh-hero__title {
    font-size: clamp(30px,3.2vw,46px);
  }

  .xh-hero .xh-hero__lead {
    max-width: 520px;
    margin-top: 18px;
    font-size: 16px;
  }

  .xh-hero .xh-hero__eyebrow {
    gap: 7px;
    margin-bottom: 18px;
  }

  .xh-hero .xh-hero__checks {
    gap: 6px 14px;
    margin-top: 19px;
    font-size: 11px;
  }

  .xh-hero .xh-hero__checks li::before {
    width: 14px;
    height: 14px;
    margin-right: 5px;
  }

  .xh-hero__actions {
    gap: 11px;
    margin-top: 22px;
  }

  .xh-hero .xh-button {
    min-height: 43px;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 13px;
  }

  .xh-hero__visual img {
    max-height: 320px;
  }
}

@media (max-width:900px) {
  .xh-hero,
  .xh-hero__inner {
    min-height: 500px;
  }

  .xh-hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 27px;
    padding-bottom: 27px;
    text-align: center;
  }

  .xh-hero__copy {
    width: 100%;
    margin-inline: auto;
    padding: 26px 30px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 22px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 16px 40px rgba(20,55,110,.13);
  }

  .xh-hero .xh-hero__eyebrow {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 12px;
  }

  .xh-hero .xh-hero__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .xh-hero .xh-hero__checks,
  .xh-hero__actions {
    justify-content: center;
  }

  .xh-hero__visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    opacity: .46;
    pointer-events: none;
    transform: scale(1.02);
  }

  .xh-hero__visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    filter: none;
  }
}

@media (max-width:600px) {
  .xh-hero__inner {
    padding-top: 17px;
    padding-bottom: 27px;
  }

  .xh-hero__copy {
    padding: 22px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.86);
  }

  .xh-hero .xh-hero__eyebrow {
    font-size: 11px;
  }

  .xh-hero .xh-hero__title {
    font-size: clamp(31px,9.5vw,40px);
  }

  .xh-hero .xh-hero__lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .xh-hero .xh-hero__checks {
    display: grid;
    grid-template-columns: repeat(2,auto);
    margin-top: 18px;
  }

  .xh-hero__actions {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .xh-hero *,
  .xh-hero *::before,
  .xh-hero *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
