
:root {
  --ink: #f7f8ff;
  --muted: #a9aec2;
  --line: rgba(255, 255, 255, 0.12);
  --coral: #ff5c52;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #07080d;
}

body {
  margin: 0;
  background: #07080d;
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 28px clamp(24px, 5vw, 82px) 32px;
  background:
    radial-gradient(circle at 76% 34%, rgba(112, 74, 255, 0.14), transparent 25%),
    radial-gradient(circle at 15% 72%, rgba(255, 82, 69, 0.08), transparent 22%),
    linear-gradient(145deg, #090a11 0%, #06070b 48%, #0a0910 100%);
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    repeating-linear-gradient(117deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(24deg, rgba(255,255,255,.012) 0 1px, transparent 1px 7px);
  mix-blend-mode: soft-light;
}

.ambient {
  position: absolute;
  z-index: -3;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-one {
  top: -26vw;
  right: -15vw;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle, rgba(255, 87, 75, 0.17), transparent 67%);
  animation: ambient-drift 11s ease-in-out infinite alternate;
}

.ambient-two {
  top: 22vh;
  left: -25vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(82, 64, 238, 0.13), transparent 67%);
  animation: ambient-drift 15s ease-in-out -4s infinite alternate-reverse;
}

.grid-glow {
  position: absolute;
  z-index: -2;
  top: 75px;
  right: -5%;
  width: 58%;
  height: 720px;
  opacity: 0.22;
  transform: perspective(700px) rotateX(62deg) rotateZ(-9deg);
  transform-origin: center top;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
}

.glass-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 18, 28, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.19em;
}

.brand-logo {
  height: 30px;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(255, 81, 72, 0.35)); /* 어두운 배경 위 가독성 */
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, rgba(255, 121, 106, 0.92), rgba(225, 57, 63, 0.72));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.52), 0 9px 28px rgba(255, 75, 70, 0.2);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  color: #d5d7e2;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 630;
}

.nav-logout {
  margin-left: 4px;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-logout:hover { color: #ffb0a7; }

.status-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px rgba(255, 91, 78, 0.92);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 92, 82, 0.5);
  border-radius: inherit;
  animation: ping 2s ease-out infinite;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  width: min(1320px, 100%);
  min-height: min(680px, calc(100vh - 116px));
  margin: 0 auto;
  padding: clamp(36px, 5vh, 68px) 0 clamp(32px, 4vh, 56px);
}

/* 허브(사내) 모드: 히어로가 화면을 다 차지하지 않고 콘텐츠 높이만큼만 —
   워크스페이스 패널이 바로 아래 붙어 보인다 */
body.inside .hero {
  min-height: auto;
  padding-top: clamp(20px, 3vh, 40px);
  padding-bottom: clamp(8px, 1.5vh, 20px);
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d9dce8;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.2em;
}

.eyebrow-icon {
  color: #ff786b;
  filter: drop-shadow(0 0 7px rgba(255, 95, 82, 0.8));
}
.eyebrow-icon.is-green {  /* 사내(INTERNAL ACCESS) — 상태 점과 같은 초록 */
  color: #22c55e;
  filter: drop-shadow(0 0 7px rgba(34, 197, 94, 0.8));
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #f8f8fc;
  font-size: clamp(44px, 4.8vw, 74px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.08;
  word-break: keep-all; /* 한국어 단어 중간 줄바꿈 방지 (필요해/요 현상) */
}

h1 .accent {
  color: transparent;
  background: linear-gradient(96deg, #ffb0a7 0%, #ff685b 48%, #f1495b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 8px 24px rgba(255, 81, 72, 0.12));
}

/* 히어로 제목 속 witU 로고 — 옆 텍스트 베이스라인/높이에 맞춤 */
h1 .h1-logo {
  height: 0.8em;
  width: auto;
  vertical-align: baseline;
  transform: translateY(0.04em); /* 워드마크 둥근 바닥 시각 보정 */
  margin-right: 0.04em;
  filter: drop-shadow(0 8px 24px rgba(255, 81, 72, 0.12));
}

/* "VPN 연결이 필요해요."는 데스크톱에서 항상 한 줄 (모바일은 단어 단위 줄바꿈 허용) */
h1 .l2 { white-space: nowrap; }
@media (max-width: 760px) {
  h1 .l2 { white-space: normal; }
}

.lead {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 430;
  letter-spacing: -0.02em;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-button,
.secondary-button,
.wide-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 690;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease,
    box-shadow 180ms ease;
}

.primary-button {
  padding: 0 24px;
  border: 1px solid rgba(255, 145, 132, 0.65);
  background: linear-gradient(140deg, #ff786b, #e9424f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 35px rgba(235, 57, 66, 0.24);
}

.primary-button span {
  font-size: 18px;
  line-height: 0;
}

/* 사내 히어로: 워크스페이스로 이동 버튼 (카피 아래, 콘텐츠 폭) */
.hub-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
  margin-top: 26px;
  height: 54px;
  border-radius: 16px;
  cursor: pointer;
}
.hub-go span { transition: transform 0.2s ease; }
.hub-go:hover span { transform: translateY(3px); }

/* 워크스페이스 집중 모드: 히어로 숨기고 그리드만.
   '이동' 버튼(=ws-focus) 전에는 패널을 숨겨, 로그인·이동 버튼은 히어로에만 노출 */
body:not(.ws-focus) #panel-hub { display: none; }
body.ws-focus .hero { display: none; }
body.ws-focus #panel-hub { margin-top: 8px; }
.hub-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.hub-back:hover { color: #ffb0a7; }

.secondary-button {
  padding: 0 21px;
  border: 1px solid var(--line);
  color: #e3e4ec;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.refresh-icon {
  font-size: 18px;
}

.primary-button:hover,
.secondary-button:hover,
.wide-refresh:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 20px 42px rgba(235, 57, 66, 0.34);
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.085);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.wide-refresh:focus-visible,
.brand:focus-visible {
  outline: 2px solid #ff8b80;
  outline-offset: 4px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #777d92;
  font-size: 12px;
  font-weight: 530;
}

.mini-shield {
  color: #a8acbb;
  font-size: 9px;
  transform: rotate(45deg);
}

.visual-stage {
  position: relative;
  width: min(650px, 46vw);
  aspect-ratio: 1;
  justify-self: end;
  perspective: 1300px;
  transform-style: preserve-3d;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(-18deg);
  box-shadow: inset 0 0 60px rgba(116, 83, 255, 0.025), 0 0 28px rgba(255, 255, 255, 0.02);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8174;
  box-shadow: 0 0 16px rgba(255, 93, 81, 0.9);
}

.orbit::before {
  top: 15%;
  left: 6%;
}

.orbit::after {
  right: 10%;
  bottom: 8%;
  width: 4px;
  height: 4px;
  background: #9f91ff;
  box-shadow: 0 0 15px rgba(133, 104, 255, 0.9);
}

.orbit-outer {
  width: 91%;
  height: 91%;
  animation: orbit-pulse 8s ease-in-out infinite;
}

.orbit-inner {
  width: 67%;
  height: 67%;
  border-color: rgba(255, 255, 255, 0.07);
  animation: orbit-pulse 8s ease-in-out -4s infinite reverse;
}

.object-glow {
  position: absolute;
  top: 51%;
  left: 52%;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 67, 57, 0.3), rgba(97, 57, 218, 0.12) 48%, transparent 70%);
  filter: blur(34px);
  transform: translate(-50%, -50%);
  animation: glow-breathe 5s ease-in-out infinite;
}

.w-float {
  position: absolute;
  z-index: 4;
  top: 49%;
  left: 51%;
  width: 59%;
  height: 74%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  animation: w-hover 7s ease-in-out infinite;
}

.glass-w {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.28)) drop-shadow(0 13px 23px rgba(255, 75, 64, 0.16));
  transform-style: preserve-3d;
  animation: w-turn 11s cubic-bezier(0.45, 0.02, 0.55, 0.98) infinite;
  will-change: transform;
}

.heart-orbit {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 76%;
  margin: -38% 0 0 -38%;
  animation: heart-orbit 12s linear infinite;
  will-change: transform;
}

.heart-counterspin {
  position: absolute;
  top: -3%;
  left: 48%;
  width: 25%;
  animation: heart-counterspin 12s linear infinite;
}

.glass-heart {
  display: block;
  width: 100%;
  filter: drop-shadow(0 17px 22px rgba(0, 0, 0, 0.24)) drop-shadow(0 10px 25px rgba(255, 77, 65, 0.26));
  animation: heart-beat 3.2s ease-in-out infinite;
}

.spark {
  position: absolute;
  z-index: 8;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
  animation: sparkle 3s ease-in-out infinite;
}

.spark-one {
  top: 25%;
  right: 16%;
}

.spark-two {
  right: 8%;
  bottom: 31%;
  width: 3px;
  height: 3px;
  animation-delay: -1s;
}

.spark-three {
  bottom: 19%;
  left: 24%;
  width: 4px;
  height: 4px;
  animation-delay: -2s;
}

.visual-chip {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(15, 16, 24, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0.06em;
  animation: chip-float 5s ease-in-out infinite;
}

.chip-top {
  top: 17%;
  right: 3%;
}

.chip-bottom {
  bottom: 19%;
  left: 0;
  animation-delay: -2.4s;
}

/* 두 칩 공통 ✓ 아이콘 원 (디자인 통일) */
.visual-chip span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(112, 88, 255, 0.9);
  font-size: 12px;
}

.steps-panel {
  position: relative;
  z-index: 5;
  width: min(1320px, 100%);
  margin: 18px auto 0;
  padding: clamp(22px, 2.6vw, 32px) clamp(30px, 4vw, 52px) clamp(28px, 3.4vw, 44px);
  scroll-margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 32px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(28px) saturate(135%);
}

.steps-heading p {
  margin: 0 0 10px;
  color: #ff7c70;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.2em;
}

.steps-heading h2 {
  margin: 0;
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 720;
  letter-spacing: -0.05em;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.step-card {
  display: flex;
  min-height: 130px;
  gap: 17px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 20px;
  background: rgba(8, 9, 15, 0.26);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.055);
}

.step-number {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 123, 111, 0.28);
  border-radius: 12px;
  color: #ff9287;
  background: rgba(255, 83, 74, 0.08);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin: 2px 0 7px;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  color: #8f94a8;
  font-size: 13px;
  line-height: 1.55;
}

.wide-refresh {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(255, 122, 109, 0.4);
  color: #fff6f4;
  background: linear-gradient(105deg, rgba(255, 88, 76, 0.16), rgba(119, 82, 255, 0.1));
}

.wide-refresh:hover {
  border-color: rgba(255, 139, 127, 0.68);
  background: linear-gradient(105deg, rgba(255, 88, 76, 0.24), rgba(119, 82, 255, 0.15));
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 31px 0 0;
  color: #555a6d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.footer-separator {
  color: #ff6055;
}

@keyframes ping {
  0% { opacity: 0.8; transform: scale(0.5); }
  75%, 100% { opacity: 0; transform: scale(1.8); }
}

@keyframes ambient-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(0.96); }
  to { transform: translate3d(3%, 4%, 0) scale(1.05); }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes w-hover {
  0%, 100% { transform: translate(-50%, -50%) translateY(7px); }
  50% { transform: translate(-50%, -50%) translateY(-13px); }
}

@keyframes w-turn {
  0%, 100% { transform: rotateY(-16deg) rotateX(5deg) rotateZ(-2deg); }
  50% { transform: rotateY(18deg) rotateX(-3deg) rotateZ(2deg); }
}

@keyframes heart-orbit {
  to { transform: rotate(360deg); }
}

@keyframes heart-counterspin {
  to { transform: rotate(-360deg); }
}

@keyframes heart-beat {
  0%, 100% { transform: rotateY(-12deg) rotateZ(-7deg) scale(0.94); }
  50% { transform: rotateY(18deg) rotateZ(5deg) scale(1.07); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes chip-float {
  0%, 100% { transform: translateY(5px); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  }

  .visual-stage {
    width: min(560px, 47vw);
  }

  .visual-chip {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding: 18px 20px 26px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 45px 0 70px;
  }

  .visual-stage {
    grid-row: 1;
    width: min(570px, 90vw);
    margin: -30px auto -25px;
    justify-self: center;
  }

  .hero-copy {
    grid-row: 2;
    max-width: 690px;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .site-shell {
    padding-inline: 14px;
  }

  .glass-nav {
    min-height: 58px;
    padding: 8px 10px 8px 12px;
    border-radius: 17px;
  }

  .brand {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }

  .nav-status {
    padding: 9px 10px;
    font-size: 0;
  }

  .nav-status::after {
    content: "대기 중";
    font-size: 10px;
  }

  .nav-logout { font-size: 11px; }   /* nav-status font-size:0 에 묻히지 않게 */

  .hero {
    padding-top: 30px;
  }

  .visual-stage {
    width: min(430px, 104vw);
    margin-left: -2vw;
    margin-bottom: -26px;
  }

  h1 {
    font-size: clamp(42px, 13.4vw, 62px);
    line-height: 1.12;
  }

  .lead {
    margin-top: 21px;
    font-size: 15px;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 29px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-row {
    margin-top: 21px;
    font-size: 11px;
  }

  .steps-panel {
    padding: 27px 18px 18px;
    border-radius: 24px;
  }

  .steps-heading {
    text-align: center;
  }

  .step-list {
    margin-top: 23px;
  }

  .step-card {
    padding: 18px;
  }

  .wide-refresh {
    min-height: 58px;
    padding-inline: 16px;
    text-align: center;
  }

  footer {
    flex-wrap: wrap;
    padding-top: 25px;
    letter-spacing: 0.08em;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}


/* ── VPN 설치 링크 (스토어/OS별) ─────────────────────────── */
.dl-heading {
  margin: 0 0 16px;  /* 패널 자체 패딩만 사용 — 상단 여백 과다 제거 */
  text-align: center;
}

.dl-heading p {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.22em;
}

.dl-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 720;
  letter-spacing: -0.03em;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.dl-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 18, 28, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 640;
  letter-spacing: 0.01em;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.dl-btn:hover {
  border-color: rgba(255, 122, 108, 0.55);
  background: rgba(30, 22, 26, 0.78);
  transform: translateY(-1px);
}

.dl-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.92;
  flex-shrink: 0;
}

/* 좁은 화면: 3+1 낙오 방지 — 2×2 그리드 (App Store·Google Play / Windows·macOS) */
@media (max-width: 700px) {
  .dl-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
  }
  .dl-btn { justify-content: center; padding: 12px 10px; font-size: 12.5px; }
}

/* ── 사내 도구 허브 그리드 ─────────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
/* 헤더 폭을 워크스페이스 그리드와 동일하게 (같은 max-width로 중앙 정렬) */
#hub-head, #panel-hub .drag-hint { max-width: 1080px; margin-left: auto; margin-right: auto; }
/* LSFX WORKSPACES 라벨 크게 */
#hub-head p { font-size: 15px; }
@media (max-width: 980px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  #hub-head, #panel-hub .drag-hint { max-width: 720px; }
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 18, 28, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.tool-card:not(.is-soon):hover {
  border-color: rgba(255, 122, 108, 0.55);
  background: rgba(30, 22, 26, 0.78);
  transform: translateY(-2px);
}

.tool-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 22px;
}

.tool-body { flex: 1; min-width: 0; }

.tool-name {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-desc {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: -0.01em;
}

.tool-arrow {
  color: var(--muted);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.tool-card:hover .tool-arrow {
  color: var(--coral);
  transform: translateX(3px);
}

.tool-card.is-soon {
  opacity: 0.55;
  cursor: default;
}

.soon-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

/* ── 이스터에그: 하트 → beko 전환 팝 애니메이션 ──────────── */
.glass-heart.egg-pop {
  animation: egg-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#egg-heart {
  transition: filter 0.2s ease;
}
#egg-heart:hover {
  filter: brightness(1.12);
}
/* beko 상태(정사각 얼굴 사진)일 때만 둥글게 — 하트 png는 원본 유지 */
#egg-heart[src*="beko"] {
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
@keyframes egg-pop {
  0%   { transform: scale(1) rotate(0deg); }
  45%  { transform: scale(0.3) rotate(-160deg); opacity: 0.4; }
  100% { transform: scale(1) rotate(0deg); }
}

/* ── 푸터 이름 타이핑 커서 ─────────────────────────────── */
#typed-name { color: var(--ink); font-weight: 620; }
.type-caret {
  display: inline-block;
  margin-left: 1px;
  color: var(--coral);
  font-weight: 400;
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── 접속 힌트 박스 (회사 밖이신가요? 토글) ─────────────── */
.access-hint {
  max-width: 520px;
  margin: 4px 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 122, 108, 0.35);
  border-radius: 14px;
  background: rgba(255, 92, 82, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.access-hint p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.access-hint b { color: #ffb0a7; font-weight: 700; }
.access-hint .hint-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.access-hint .hint-sub b { color: inherit; }
.access-hint .hint-sub a {
  color: #ff8578;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 133, 120, 0.4);
}
.access-hint .hint-sub a:hover { color: #ffb0a7; }
#hint-chevron { font-size: 12px; }

/* 크레딧 타이핑 슬롯 — 고정폭으로 주변 텍스트 안 흔들림, 좌측정렬로 타자기처럼 왼쪽부터 써짐 */
.credit-slot {
  display: inline-block;
  width: 100px;
  text-align: left;
  white-space: nowrap;
}
.credit-slot #typed-name { display: inline; }

/* ── 사옥 접속 안내 스텝 ─────────────────────────────── */
.office-steps {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.office-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 18, 28, 0.55);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-align: left;
}
.office-steps b { color: #ffb0a7; font-weight: 700; }
.ost-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff786b, #e9424f);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.ost-sub {
  color: var(--muted);
  font-size: 12.5px;
}
/* hidden 속성은 display가 지정된 요소(.tool-grid 등)에 무시됨 — 항상 이기게 */
[hidden] { display: none !important; }

/* ── 허브 개인화 (로그인·드래그 정렬) ─────────────────── */
.hub-locked { text-align: center; padding: 6px 0 10px; }
.hub-locked p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.hub-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hub-login:hover { border-color: rgba(255, 145, 132, 0.6); background: rgba(255, 255, 255, 0.1); }
.drag-hint {
  display: block;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
}
.tool-card.dragging { opacity: 0.45; }

/* 크롬 주소창 '사이트 설정' 버튼 모사 (3번 스텝 안내용) */
.addr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -3px;
  width: 30px;
  height: 19px;
  margin: 0 2px;
  border-radius: 10px;
  background: #3c4043;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e8eaed;
}
/* 활성 히어로 버튼 강조 */
.hero-actions .is-active {
  border-color: rgba(255, 145, 132, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 2px rgba(255, 92, 82, 0.25);
}

/* ── 브랜드 아이콘 (Gmail / Flex) ─────────────────────── */
.ico-gmail {
  background: #fff;               /* Gmail 봉투가 보이도록 흰 배경 */
  border-color: rgba(0, 0, 0, 0.08);
}
.ico-gmail svg { width: 26px; height: 26px; display: block; }
.ico-flex {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}

/* ── 접힘 패널: 버튼 클릭 시 아래로 확장 (히어로는 그대로) ──────── */
.steps-panel.collapsible {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease, margin-top 0.42s ease,
    padding 0.42s ease, border-width 0.42s ease;
}
.steps-panel.collapsible.is-open {
  max-height: 720px;
  opacity: 1;
  margin-top: 18px;
  padding: clamp(22px, 2.6vw, 32px) clamp(30px, 4vw, 52px) clamp(28px, 3.4vw, 44px);
  border-width: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .steps-panel.collapsible { transition: none; }
}
