/* =========================================================
   지피터스 랜딩 — style.css (v1)
   ========================================================= */
:root {
  --bg:        #06060a;
  --bg-soft:   #0d0d16;
  --text:      #f5f5f7;
  --text-dim:  rgba(245, 245, 247, 0.62);
  --accent:    #6c5ce7;   /* 바이올렛 */
  --accent-2:  #00e0c6;   /* 시안/민트 */
  --line:      rgba(255, 255, 255, 0.12);
  --max:       1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: "Pretendard", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 내비게이션 */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(6, 6, 10, 0.72); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-weight: 800; letter-spacing: 0.08em; font-size: 20px; }
.nav__menu { display: flex; gap: 28px; list-style: none; }
.nav__menu a { color: var(--text-dim); font-size: 15px; transition: color 0.2s; }
.nav__menu a:hover { color: var(--text); }
.nav__cta { padding: 10px 18px; border-radius: 999px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 600; font-size: 14px; }

/* 히어로 */
.hero { position: relative; height: 100vh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(108, 92, 231, 0.55), transparent 60%),
    radial-gradient(50% 50% at 80% 70%, rgba(0, 224, 198, 0.45), transparent 60%),
    var(--bg);
  filter: blur(40px); animation: bgFloat 16s ease-in-out infinite alternate;
}
@keyframes bgFloat { from { transform: translate3d(-3%, -2%, 0) scale(1.05); } to { transform: translate3d(3%, 2%, 0) scale(1.15); } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,10,0.35) 0%, rgba(6,6,10,0.15) 40%, rgba(6,6,10,0.85) 100%); }
.hero__content { position: relative; z-index: 2; height: 100%; }
.hero__line { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; opacity: 0; will-change: transform, opacity, filter; }
.hero__line--1 { opacity: 1; }
.hero__eyebrow { font-size: clamp(13px, 1.4vw, 16px); letter-spacing: 0.18em; color: var(--accent-2); margin-bottom: 20px; font-weight: 600; }
.hero__title { font-size: clamp(38px, 7vw, 96px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.hero__title--brand { font-size: clamp(64px, 14vw, 200px); letter-spacing: 0.02em; background: linear-gradient(120deg, #fff 20%, var(--accent) 60%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 24px; font-size: clamp(15px, 2vw, 20px); color: var(--text-dim); }
.hero__scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.25em; color: var(--text-dim); }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--text-dim), transparent); animation: scrollPulse 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* 마퀴 */
.marquee { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 28px; animation: marquee 26s linear infinite; }
.marquee__track span { font-size: clamp(20px, 3vw, 36px); font-weight: 700; color: var(--text); }
.marquee__track .dot { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 섹션 헤더 & 페이드업 */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head__eyebrow { font-size: 13px; letter-spacing: 0.2em; color: var(--accent-2); font-weight: 600; margin-bottom: 14px; }
.section-head__title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.fade-up { opacity: 1; }

/* 공감 */
.empathy { max-width: 900px; margin: 0 auto; padding: 180px 24px; text-align: center; }
.empathy__line { font-size: clamp(28px, 5vw, 56px); font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; color: var(--text-dim); }
.empathy__line--strong { color: var(--text); margin-top: 8px; }

/* 소개 카드 */
.features { max-width: var(--max); margin: 0 auto; padding: 120px 24px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 40px 32px; transition: transform 0.35s ease, border-color 0.35s ease; }
.feature-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.feature-card__icon { font-size: 40px; margin-bottom: 20px; }
.feature-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 16px; line-height: 1.6; color: var(--text-dim); }

/* 숫자 */
.stats { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 120px 24px; }
.stats__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat__num { font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; color: var(--text-dim); }

/* CTA */
.cta { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: radial-gradient(60% 80% at 50% 30%, rgba(108, 92, 231, 0.35), transparent 70%), var(--bg); }
.cta__inner { position: relative; z-index: 2; padding: 0 24px; }
.cta__title { font-size: clamp(36px, 7vw, 88px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.cta__sub { margin: 24px 0 40px; font-size: clamp(16px, 2vw, 20px); color: var(--text-dim); }
.cta__button { display: inline-block; padding: 18px 44px; border-radius: 999px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; font-size: 18px; transition: transform 0.25s ease, box-shadow 0.25s ease; box-shadow: 0 10px 40px rgba(108, 92, 231, 0.4); }
.cta__button:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 50px rgba(108, 92, 231, 0.55); }

/* 푸터 */
.footer { padding: 60px 24px; text-align: center; color: var(--text-dim); font-size: 14px; line-height: 1.8; }
.footer__dim { opacity: 0.6; font-size: 13px; }

/* 반응형 */
@media (max-width: 768px) {
  .nav__menu { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .empathy { padding: 120px 24px; }
  .features { padding: 80px 24px; }
}

/* 접근성 */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__bg::before { animation: none; }
  .hero__scroll-line { animation: none; }
  .hero__line { opacity: 1 !important; position: relative; }
}
