/* The landing hero — dark and grainy with a glowing horizon, the turning globe under it and a sunrise on its crest
   (confirmed 11-21). Shared by index.html and the login card (login.html, user 11-22: 「랜딩페이지 히어로섹션 그대로」); moved
   here from index.html unchanged. Markup: .hero > .horizon, canvas.globe, .sun, .grain, .copy (h1 · .sub · .cta); hero.js
   draws the globe. Needs site.css first. */
:root {
  --night: #070B14; --glow-teal: #1F93BF; --glow-blue: rgba(28, 79, 230, .55); --glow-blue-2: rgba(43, 101, 254, .5);
  --hz-line: rgba(205, 236, 255, .95); --hz-glow: rgba(110, 190, 255, .85);
  --on-dark-hl: #8CC4FF; --on-dark-2: rgba(255, 255, 255, .74);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* hero — dark and grainy with a glowing horizon (user references 11-21): copy centred, and an optional
   faux 발주처 분석 window rising over the horizon. Layers: background glows < horizon < grain < content. */
.hero { --hz: 132px; --hzr: 1900px; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); color: #FFFFFF; text-align: center;
  padding: 104px 40px calc(var(--hz) + 72px);
  background:
    radial-gradient(72% 70% at 50% -6%, var(--night) 40%, rgba(7, 11, 20, 0) 100%),
    radial-gradient(60% 42% at 50% calc(100% - var(--hz)), var(--glow-teal) 0%, rgba(31, 147, 191, 0) 72%),
    radial-gradient(30% 44% at -6% 98%, var(--glow-blue) 0%, rgba(28, 79, 230, 0) 72%),
    radial-gradient(30% 44% at 106% 94%, var(--glow-blue-2) 0%, rgba(43, 101, 254, 0) 72%),
    var(--night); }
.horizon { position: absolute; z-index: 1; left: 50%; width: var(--hzr); height: var(--hzr); margin-left: calc(var(--hzr) / -2); bottom: calc(var(--hz) - var(--hzr)); border-radius: 50%;
  background: radial-gradient(closest-side, #060B16 88%, #0A1A36 97%, #12306A 100%);
  box-shadow: 0 0 0 1.5px var(--hz-line), 0 0 18px 3px var(--hz-glow), inset 0 3px 12px rgba(180, 225, 255, .45), 0 0 64px 14px rgba(43, 101, 254, .55), 0 0 160px 40px rgba(31, 147, 191, .35); }
.grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: var(--grain); background-size: 220px 220px; mix-blend-mode: soft-light; opacity: 1; }
.grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 220px 220px; background-position: 110px 70px; opacity: .12; }
.copy { position: relative; z-index: 3; display: grid; justify-items: center; gap: 22px; min-width: 0; }
.copy :is(h1, h2) { font-size: clamp(34px, 5vw, 62px); font-weight: 700; line-height: 1.22; letter-spacing: -0.03em; text-wrap: balance; }
.copy :is(h1, h2) .l1 { display: block; margin-bottom: 8px; font-size: .6em; letter-spacing: -0.02em; color: var(--on-dark-hl); }
.cta .btn { border-radius: var(--r-pill); }
.globe { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: calc(var(--hz) + 2px); pointer-events: none; }
/* sunrise on the crest of the horizon (user 11-21: 「원 중심부쪽에 하얀 빛 … 과하게는 말고」, then 「방사형 선은 없애고, 평행 빛
   조금 줄이고, 빛 번짐은 opacity 조금 더, 2배 정도 퍼지게」): a zero-size anchor on the crest; a small white core in a wide
   halo, and a short, faint flare along the rim. Still, no motion. */
.sun { position: absolute; z-index: 1; left: 50%; bottom: var(--hz); width: 0; height: 0; pointer-events: none; }
.sun::before, .sun::after { content: ""; position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); border-radius: 50%; }
.sun::before { width: 880px; height: 460px;
  background: radial-gradient(closest-side, #FFFFFF 0 2%, rgba(228, 244, 255, .88) 5%, rgba(165, 212, 255, .46) 15%, rgba(125, 196, 255, .24) 34%, rgba(110, 190, 255, .09) 60%, rgba(110, 190, 255, 0) 100%); }
.sun::after { width: 520px; height: 10px; background: radial-gradient(closest-side, rgba(255, 255, 255, .6) 0%, rgba(205, 232, 255, .2) 40%, rgba(205, 232, 255, 0) 100%); }
.copy :is(h1, h2) .nw { white-space: nowrap; }
.sub { font-size: 19px; line-height: 1.7; color: var(--on-dark-2); max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.btn-line { border-radius: var(--r-pill); background: transparent; border-color: rgba(255, 255, 255, .7); color: #FFFFFF; padding: 0 22px; }
.btn-line:hover { background: rgba(255, 255, 255, .08); border-color: #FFFFFF; }
.btn-line:active { background: rgba(255, 255, 255, .14); }
@media (max-width: 960px) {
  .hero { padding: 80px 32px calc(var(--hz) + 56px); }
}
@media (max-width: 560px) {
  .hero { --hz: 96px; --hzr: 900px; padding: 56px 20px calc(var(--hz) + 40px); border-radius: var(--r-lg); }
  .sun::before { width: 520px; height: 280px; }
  .sun::after { width: 300px; height: 8px; }
  .copy { gap: 16px; }
  .sub { font-size: 17px; }
  .cta .btn-lg { --h: 48px; padding: 0 20px; font-size: 16px; }
}
