/* ============================================================
   운행성 소개 홈페이지 — 스타일
   브랜드 그라데이션: 시안(#13C9FA) → 퍼플(#A028FB) → 마젠타(#BB45E6)
   ============================================================ */

:root {
  --grad: linear-gradient(135deg, #13C9FA 0%, #6E7BF2 42%, #A028FB 72%, #BB45E6 100%);
  --grad-soft: linear-gradient(135deg, #F0F7FF 0%, #F6EEFE 60%, #FBEEFB 100%);
  --accent: #A028FB;
  --accent-2: #13C9FA;
  --magenta: #BB45E6;

  --ink: #14191E;
  --ink-soft: #41454C;
  --ink-mute: #82858C;
  --bg: #FFFFFF;
  --bg-soft: #F7F5FB;
  --bg-soft2: #F2EFF8;
  --line: rgba(112,115,124,0.16);
  --line-soft: rgba(112,115,124,0.10);
  --coin: #FFA938;

  --maxw: 1140px;
  --radius: 20px;
  --shadow-card: 0 8px 30px rgba(80,40,140,0.07);
  --shadow-lift: 0 20px 50px rgba(80,40,140,0.14);

  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%;
  /* 가로 오버플로우 차단(모바일 좌우 스크롤 방지). clip은 스크롤 컨테이너를 만들지 않아 세로 스크롤·앵커 이동에 영향 없음 */
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  /* 한국어 줄바꿈: 어절(단어) 중간에서 끊지 않음. 긴 영문/URL만 강제 줄바꿈 */
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.only-pc { display: inline; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(160,40,251,0.28); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; margin-top: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
}
.pill--glass { background: rgba(160,40,251,0.08); color: var(--accent); border: 1px solid rgba(160,40,251,0.16); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .04em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow--light { color: #D9C2FF; }

.section-title {
  font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em;
}
.section-title.light { color: #fff; }
.section-lead { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.section-lead.center { max-width: 620px; margin-left: auto; margin-right: auto; }
.section-lead.light { color: rgba(255,255,255,0.78); }
.section-head { text-align: center; margin-bottom: 52px; }

/* ============================================================
   헤더
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; margin-left: 20px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: auto; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 18px; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.nav-mobile a { padding: 12px 4px; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { border-bottom: 0; }

/* ============================================================
   히어로
   ============================================================ */
.hero { position: relative; padding: 132px 0 80px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(160,40,251,0.14), transparent 60%),
    radial-gradient(760px 520px at 10% 30%, rgba(19,201,250,0.12), transparent 60%),
    var(--bg-soft);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(34px, 5.6vw, 60px); font-weight: 800; line-height: 1.14; letter-spacing: -0.03em; margin: 18px 0 18px; }
.hero__sub { font-size: 18px; color: var(--ink-soft); max-width: 520px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #14191E; color: #fff; padding: 11px 20px 11px 18px; border-radius: 14px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.18); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 10px; opacity: .8; }
.store-badge strong { font-size: 17px; font-weight: 700; }
.store-badge--light { background: #fff; color: #14191E; }

.hero__stats { display: flex; gap: 34px; margin-top: 40px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.hero__stats span { font-size: 14px; color: var(--ink-mute); font-weight: 600; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.float-planet {
  position: absolute; width: 88px; height: 88px; top: 6%; right: 8%;
  filter: drop-shadow(0 10px 20px rgba(130,87,204,0.35));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }

/* ---------- 폰 목업 ---------- */
.phone {
  position: relative; background: #0b0b10; border-radius: 40px; padding: 7px;
  box-shadow: var(--shadow-lift); width: 276px;
}
.phone img { width: 100%; border-radius: 33px; display: block; }
.phone--hero { width: 300px; transform: rotate(-1.5deg); }
.phone--sm { width: 250px; }

/* ============================================================
   인기 키워드 마퀴
   ============================================================ */
.marquee { background: var(--ink); color: #fff; padding: 16px 0; overflow: hidden; }
.marquee__track { display: flex; gap: 36px; white-space: nowrap; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee__track span { font-size: 15px; font-weight: 600; opacity: .9; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ============================================================
   가치 제안 밴드
   ============================================================ */
.value { padding: 96px 0; background: var(--bg); }
.value__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.value__visual { position: relative; display: flex; justify-content: center; }
.value__badge {
  position: absolute; right: 6%; bottom: 14%;
  background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid var(--line-soft);
}
.value__badge-num { font-size: 26px; font-weight: 800; color: var(--accent); }
.value__badge-label { font-size: 12px; font-weight: 700; color: var(--ink-mute); margin-top: 2px; line-height: 1.3; }

.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; font-size: 16px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* ============================================================
   기능 그리드
   ============================================================ */
.features { padding: 96px 0; background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.feature-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c2) 35%, transparent);
}
.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   스크린샷 갤러리
   ============================================================ */
.gallery { padding: 96px 0; background: var(--bg); }
.gallery__scroll {
  display: flex; gap: 28px; padding: 8px 24px 24px; margin-top: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__scroll::-webkit-scrollbar { display: none; }
.gallery__scroll::before, .gallery__scroll::after { content: ""; flex: 0 0 max(0px, calc((100% - var(--maxw)) / 2)); }
.gshot { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.gshot .phone { width: 252px; }
.gshot figcaption { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink-mute); }

/* ============================================================
   AI 상담 스포트라이트 (다크)
   ============================================================ */
.counsel { padding: 100px 0; background: radial-gradient(120% 120% at 80% 0%, #2A1452 0%, #160B2C 55%, #100823 100%); position: relative; overflow: hidden; }
.counsel::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(160,40,251,0.4), transparent 70%);
  top: -120px; left: -80px; filter: blur(20px);
}
.counsel__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.persona-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 480px; }
.persona-list li {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 2px;
}
.persona-list b { color: #fff; font-size: 16px; }
.persona-list span { color: rgba(255,255,255,0.6); font-size: 13px; }
.counsel__visual { display: flex; justify-content: center; }

/* ============================================================
   이용 방법 3단계
   ============================================================ */
.steps { padding: 96px 0; background: var(--bg-soft); }
.steps__row { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 240px; max-width: 320px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-card);
}
.step__num {
  width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 20px; font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }
.step__arrow { display: flex; align-items: center; font-size: 26px; color: var(--accent); font-weight: 700; }

/* ============================================================
   다운로드 CTA
   ============================================================ */
.download { position: relative; padding: 92px 0; overflow: hidden; }
.download__bg { position: absolute; inset: 0; z-index: -1; background: var(--grad); }
.download__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% 120%, rgba(255,255,255,0.22), transparent 60%);
}
.download__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; color: #fff; }
.download__copy h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.download__copy p { margin-top: 12px; font-size: 16px; opacity: .9; font-weight: 600; }
.download__copy .store-badges { margin-top: 26px; }
.download__qr {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px; padding: 22px;
}
.download__qr img { width: 148px; height: 148px; border-radius: 12px; background: #fff; padding: 6px; }
.download__qr span { font-size: 13px; font-weight: 700; text-align: center; line-height: 1.4; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer { background: #0F1216; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 40px; padding-bottom: 44px; }
.site-footer .brand__name { color: #fff; }
.footer-tag { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-company p { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.6); }
.footer-company b { color: rgba(255,255,255,0.92); }
.footer-legal { margin-top: 12px; }
.footer-legal a { color: rgba(255,255,255,0.78); }
.footer-legal a:hover { color: #fff; }
.footer-disc { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.4); }

/* ============================================================
   스크롤 리빌 애니메이션
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .float-planet { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }

  .hero { padding: 108px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .store-badges, .hero__stats { justify-content: center; }
  .only-pc { display: none; }

  .value__inner { grid-template-columns: 1fr; gap: 44px; }
  .value__text { text-align: center; }
  .check-list { display: inline-flex; text-align: left; }
  .value__visual { order: -1; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .counsel__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .persona-list { margin-left: auto; margin-right: auto; }
  .counsel__visual { order: -1; }

  .step__arrow { transform: rotate(90deg); width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .value, .features, .gallery, .steps, .counsel { padding: 68px 0; }
  .download__inner { flex-direction: column; text-align: center; }
  .download__copy .store-badges { justify-content: center; }
  .phone--hero { width: 268px; }
}
