/* Home — Figma Design › Home (Desktop 48:5567 · Tablet 60:5691 · Mobile 60:9081)
   히어로는 Figma처럼 높이 고정 + 가운데 기준 절대 위치(constraints Center). 점묘 구는 아래 섹션까지 이어짐. */

/* ───────── Hero ───────── */
.home-hero { position: relative; height: 920px; }
.home-hero__glow {
  position: absolute; top: 470px; left: 50%; width: 1200px; height: 760px; translate: -50% 0;
  border-radius: 50%; background: var(--gradient-glow-brand); pointer-events: none;
}
.home-hero__globe {
  position: absolute; top: 498px; left: 50%; width: 1440px; height: 1500px; max-width: none; translate: -50% 0; pointer-events: none;
  background: url("/assets/img/home/globe-desktop.svg") center / 100% 100% no-repeat;
}
.home-hero__copy {
  position: absolute; z-index: 2; top: 96px; left: 50%; translate: -50% 0;
  width: 1000px; max-width: calc(100% - 2 * var(--layout-margin-x));
  display: flex; flex-direction: column; align-items: center; gap: var(--space-16);
  text-align: center;
}
.home-hero__title { color: var(--color-text-strong); }
.home-hero__title .accent { color: var(--color-text-brand); }
.home-hero__title .soft { color: var(--color-text-primary); }
.home-hero__lead { width: 620px; max-width: 100%; color: var(--color-text-secondary); }
.home-hero__ctas { display: flex; gap: var(--space-16); }
.home-hero__features { display: flex; align-items: center; gap: var(--space-24); padding-top: var(--space-16); }
.home-hero__features li { display: flex; align-items: center; gap: var(--space-8); color: var(--color-text-secondary); }
.home-hero__features li + li::before { content: ""; width: 1px; height: 16px; margin-right: calc(var(--space-24) - var(--space-8)); background: var(--color-bg-glass-strong); }
.home-hero__features .icon { color: var(--color-icon-secondary); }
.home-hero__pill { position: absolute; z-index: 2; }
.home-hero__pill--sar { top: 710px; left: calc(50% - 540px); }
.home-hero__pill--edge { top: 630px; left: calc(50% + 340px); }
.home-hero__pill--ai { top: 860px; left: calc(50% + 180px); }
.home-hero__scroll {
  position: absolute; z-index: 2; top: 844px; left: 50%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-8);
  color: var(--color-text-tertiary); text-transform: uppercase; white-space: nowrap;
}
.home-hero__scroll span { width: 1px; height: 24px; background: var(--color-bg-glass-strong); }

/* ───────── Value chain ───────── */
.home-value {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-60);
  padding: var(--layout-section-y-md) var(--layout-margin-x);
  --edge-fade: clamp(48px, 16vw, 260px); /* 화면 양 끝 페이드 폭 */
}
/* 화면 양 끝 페이드(태블릿·모바일): 페이지 색 → 투명. 가운데 카드가 부각되도록 (2026-11-24). 클릭은 통과 */
.home-value::before, .home-value::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: var(--edge-fade); pointer-events: none;
  display: none; /* 데스크톱은 카드가 한 줄에 다 보여서 페이드 없음 (태블릿·모바일만, 2026-11-24) */
}
.home-value::before { left: 0; background: linear-gradient(to right, var(--color-bg-page), transparent); }
.home-value::after { right: 0; background: linear-gradient(to left, var(--color-bg-page), transparent); }
.home-value__header { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); text-align: center; color: var(--color-text-strong); }
.home-value__cards { position: relative; display: flex; justify-content: center; gap: var(--space-32); }
.home-value__cards .product-card { flex: 0 1 380px; }

/* ───────── Products in orbit ───────── */
/* Promo Vid Section: 16:9 영상 칸 (radius/8, bg/surface). 태블릿·모바일은 1:1 */
.home-promo { padding: 0 var(--layout-margin-x) var(--space-128); }
.home-promo__viewport { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-8); background: var(--color-bg-surface); }
.home-promo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.home-orbit {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-24); /* 제목 가운데 (Figma 2026-11-24) */
  padding: var(--layout-section-y-sm) var(--layout-margin-x);
  border-block: 1px solid var(--color-border-faint);
}
.home-orbit__row { align-self: stretch; }
.home-orbit__row { display: flex; align-items: center; justify-content: center; gap: 64px; }
.home-orbit__pair { display: contents; }
.home-orbit__item { display: flex; align-items: center; gap: var(--space-12); padding: var(--space-24) 0; color: var(--color-text-primary); white-space: nowrap; }
.home-orbit__item .icon { width: 28px; height: 28px; color: var(--color-icon-primary); }
.home-orbit__divider { width: 1px; height: 32px; background: var(--color-border-subtle); flex: none; }

/* ───────── Tablet ───────── */
@media (max-width: 1199.98px) {
  .home-hero { height: 892px; }
  .home-hero__glow { top: 532px; width: 729.6px; height: 572px; }
  .home-hero__globe { top: 532px; width: 768px; height: 988px; background-image: url("/assets/img/home/globe-tablet.svg"); }
  .home-hero__copy { top: 80px; width: 704px; }
  .home-hero__lead { width: 560px; }
  .home-hero__pill--sar { top: 722px; left: calc(50% - 352px); }
  .home-hero__pill--edge { top: 652px; left: calc(50% + 174px); }
  .home-hero__pill--ai { top: 822px; left: calc(50% + 84px); }
  .home-hero__scroll { display: none; } /* 태블릿·모바일: Scroll to discover 숨김 (2026-11-24) */

  /* 가치사슬: 가로 넘김 캐러셀, 처음엔 가운데 카드 (main.js) */
  .home-value { padding-inline: 0; }
  .home-value::before, .home-value::after { display: block; }
  .home-promo { padding-bottom: var(--space-96); }
  .home-promo__viewport { aspect-ratio: 1 / 1; }
  .home-value__header { padding-inline: var(--layout-margin-x); width: 100%; }
  .home-value__cards {
    width: 100%; justify-content: flex-start; gap: var(--space-24);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: calc(50% - 170px);
  }
  .home-value__cards::-webkit-scrollbar { display: none; }
  .home-value__cards .product-card { flex: none; scroll-snap-align: center; }
  .carousel__dots { display: flex; }

  .home-orbit__row { justify-content: space-between; gap: 0; }
  .home-orbit__item { padding: var(--space-24); }
}

/* ───────── Mobile ───────── */
@media (max-width: 767.98px) {
  .home-promo { padding-bottom: var(--space-64); }
  .home-hero { height: 984px; }
  .home-hero__glow { top: 704px; width: 356.3px; height: 330px; }
  .home-hero__globe { top: 704px; width: 375px; height: 570px; background-image: url("/assets/img/home/globe-mobile.svg"); }
  .home-hero__copy { top: 56px; width: calc(100% - 2 * var(--layout-margin-x)); }
  .home-hero__lead { width: 100%; }
  .home-hero__ctas { flex-direction: column; }
  .home-hero__ctas .btn { width: 225px; }
  .home-hero__features { flex-direction: column; gap: var(--space-16); padding-top: 0; }
  .home-hero__features li + li::before { display: none; }
  .home-hero__pill--sar { top: 844px; left: calc(50% - 163.5px); }
  .home-hero__pill--edge { top: 794px; left: calc(50% + 4.5px); }
  .home-hero__pill--ai { top: 924px; left: calc(50% - 2.5px); }
  .home-hero__scroll { top: 912px; }

  .home-value__cards { gap: var(--space-16); padding-inline: calc(50% - 140px); }

  .home-orbit__row { flex-direction: column; gap: var(--space-8); }
  .home-orbit__pair { display: flex; align-items: center; }
  .home-orbit__divider--mid { display: none; }
  .home-orbit__item { padding: var(--space-24) var(--space-16); }
  .home-orbit__item .icon { width: 22px; height: 22px; }
}
