/* ==========================================================================
   스마트결제 랜딩페이지 — style.css
   ========================================================================== */

/* ---------- Font ---------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* ---------- Design tokens ---------- */
:root { --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; --font-mono: 'JetBrains Mono', ui-monospace, monospace; --c-primary: #6e56e8; --c-primary-light: #b3a2f5; --c-primary-bg: #f0edfd; --c-primary-bg-2: #f5f4fe; --c-primary-tint: #eae5ff; --c-ink: #1f1d1c; --c-ink-soft: #6c6763; --c-ink-mute: #898799; --c-ink-faint: #928c87; --c-placeholder: #a9a29d; --c-border: rgba(31, 29, 28, 0.11); --c-border-soft: rgba(31, 29, 28, 0.1); --c-border-strong: rgba(31, 29, 28, 0.16); --c-bg-off: #fafafc; --c-white: #fff; --wrap: 1160px; --header-h: 77px; }
@media (min-width:1440px) { :root { --wrap: 1280px; } }
@media (min-width:1920px) { :root { --wrap: 1360px; } }
@media (min-width:2560px) { :root { --wrap: 1440px; } }

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--c-ink); background: var(--c-white); -webkit-font-smoothing: antialiased; word-break: keep-all; min-width: 320px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
section { position: relative; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 40px; }
.no-break { white-space: nowrap; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1.84px; text-transform: uppercase; color: var(--c-primary); }
.eyebrow--onDark { color: #cbc3f4; }
.sec-head { max-width: 620px; }
.sec-head h2 { margin-top: 22px; font-size: 45px; font-weight: 700; line-height: 1.16; letter-spacing: -1.575px; color: var(--c-ink); }
.sec-head .lead { margin-top: 20px; font-size: 16px; line-height: 1.45; color: var(--c-ink-soft); letter-spacing: -0.16px; }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 33px; border: 1px solid var(--c-ink); border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: -0.28px; transition: background .15s ease, color .15s ease; }
.btn-pill:hover { background: var(--c-ink); color: var(--c-white); }
.btn-primary { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border-radius: 999px; color: var(--c-white); font-size: 15px; font-weight: 600; letter-spacing: -0.3px; background: linear-gradient(95.4deg, #ceb7fb 1.73%, #7272fa 78.87%); box-shadow: 0 12px 14px rgba(110, 86, 232, .3); transition: filter .15s ease; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; filter: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); will-change: transform; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: calc(var(--wrap) + 80px); padding-inline: 40px; }
.header__logo { position: relative; display: inline-block; height: 22px; width: 120px; }
.header__logo img { position: absolute; left: 0; top: 0; height: 22px; width: auto; opacity: 0; transition: opacity .6s ease; }
.header__logo img.is-active { opacity: 1; }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__nav a { padding: 6px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: -0.16px; color: var(--c-ink-mute); transition: color .15s ease, background .15s ease; }
.header__nav a:hover { color: var(--c-ink); }
.header__nav a:last-child { background-color: var(--c-primary); color: var(--c-white); box-shadow: 0 2px 10px rgba(52, 37, 65, 0.17); transition: color .15s ease, background .15s ease; }
.header__nav a:last-child:hover { font-weight: 600; }
.header__burger { display: none; width: 32px; height: 32px; position: relative; flex: none; }
@media (max-width:860px) {
  .header__nav { display: none; }
  .header__burger { display: block; }
}
.header__burger span, .header__burger::before, .header__burger::after { content: ""; position: absolute; left: 6px; right: 6px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.header__burger::before { top: 11px; }
.header__burger span { top: 15px; }
.header__burger::after { top: 19px; }
.header__burger.is-active::before { transform: translateY(4px) rotate(45deg); }
.header__burger.is-active span { opacity: 0; }
.header__burger.is-active::after { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; position: fixed; top: calc(var(--header-h) + 8px); left: 16px; right: 16px; background: var(--c-white); border-radius: 20px; box-shadow: 0 20px 45px rgba(31, 29, 28, .16); z-index: 99; padding: 10px; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { display: block; padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--c-ink); border-radius: 12px; transition: background .15s ease; }
.mobile-nav a:last-child {color: var(--c-primary);}
.mobile-nav a:hover, .mobile-nav a:active { background: var(--c-primary-bg); }
#top > section, #top > footer { scroll-snap-align: start; scroll-margin-top: var(--header-h);
  display: flex; flex-direction: column; justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { --ac: var(--c-primary); position: relative; overflow: hidden; padding-bottom: clamp(44px, 5.5cqw, 72px); padding-top: calc(var(--header-h) + clamp(44px, 5.5cqw, 72px)); min-height: clamp(520px, 100vh, 880px); background: radial-gradient(52% 46% at 88% 4%, rgba(158, 140, 247, .16), transparent 68%), radial-gradient(44% 42% at 100% 76%, rgba(172, 157, 251, .13), transparent 70%), radial-gradient(60% 54% at 58% 122%, rgba(150, 132, 246, .15), transparent 68%), linear-gradient(152deg, #FFFFFF 0%, #FCFBFF 52%, #F5F3FD 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(108, 92, 231, .2) 1.1px, transparent 1.1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(78% 70% at 74% 46%, #000, transparent 72%);
  mask-image: radial-gradient(78% 70% at 74% 46%, #000, transparent 72%); }
.hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -9%; top: -16%; width: 26%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(124, 106, 240, .34), rgba(108, 92, 231, .05) 70%);
  filter: blur(26px); }

.hero__wrap { container-type: inline-size;
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4cqw, 56px); }
.hero__copy { position: relative; z-index: 1; flex: 1 1 320px; max-width: 580px; display: flex; flex-direction: column; gap: clamp(14px, 2.8cqw, 20px); }
.hero__title { font: 800 clamp(48px, 6vw, 94px)/1.08 var(--font); color: var(--c-ink); letter-spacing: -.03em; text-wrap: pretty; }
.hero__title em { font-style: normal; color: var(--ac); }
.hero__lead { font: 400 clamp(14px, 4cqw, 20px)/1.7 var(--font); color: rgb(102, 98, 114); max-width: 36ch; }
.hero__cta { padding: clamp(15px, 1.3cqw, 20px) clamp(16px, 2.2cqw, 18px); border-radius: 999px; background: var(--ac); color: #fff; font: 600 clamp(13px, 1.3cqw, 14px)/1 var(--font); width: fit-content; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(108, 92, 231, .3); gap: 20px; transition: 0.25s; }
.hero__cta:hover { transform: translateY(-2px); }
.hero .cube { --face-tilt: rotate(15.5deg) skewX(-4.4deg); position: relative; flex: 1 1 320px; width: 100%; max-width: 600px; aspect-ratio: 1/1; margin: 0 auto; animation: cubeFloat 7s ease-in-out infinite; }
.hero .cube__glow { position: absolute; left: 50%; top: 56%; width: 82.7%; height: 82.7%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(139, 108, 246, .3), transparent 66%); animation: faceGlow 5.4s ease-in-out infinite; }
.hero .cube__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6.5cqw 8.5cqw rgba(70, 45, 170, .2)); }
.hero .face { position: absolute; transform: translate(-50%, -50%) var(--face-tilt); }
.hero .qr { left: 48.3%; top: 49%; width: 41.5%; height: 41.5%; display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr); gap: .9%; }
.hero .qr .mod { border-radius: 14%; background: #fff; box-shadow: 0 2px 3px rgba(52, 30, 150, .28); animation: modDraw2 5.4s ease-out infinite; }
.hero .scan { left: 47.9%; top: 48.1%; width: 60%; height: 58%; overflow: hidden; border-radius: 14%; }
.hero .scan__bar { position: absolute; left: -10%; right: -10%; top: 0; height: 20%; background: linear-gradient(180deg, transparent, rgba(139, 108, 246, .42) 76%, rgba(255, 255, 255, .92)); box-shadow: 0 0 26px rgba(139, 108, 246, .5); animation: scanPass 5.4s cubic-bezier(.5, 0, .5, 1) infinite; }
.hero .ring { position: absolute; left: 48.3%; top: 49%; width: 44.2%; height: 44.2%; transform: translate(-50%, -50%) scale(.3); border-radius: 50%; border: 2px solid rgba(108, 92, 231, .5); animation: ringOut2 5.4s ease-out infinite; }
/* 체크 아이콘: QR 타일과 같은 자리(큐브 내부)에서, 스캔이 끝나는 시점에 맞춰 떠오른다 */
.hero .badge { position: absolute; left: 48.3%; top: 49%; width: 41.5%; height: 41.5%; display: flex; align-items: center; justify-content: center; opacity: 0; z-index: 4; animation: badgeIn2 5.4s ease-out infinite; }
.hero .badge svg { width: 80%; height: 80%; filter: drop-shadow(0 6px 16px rgba(52, 30, 150, .35)); }
.hero .badge path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tickDraw 5.4s ease-out infinite; }
.hero .cube__frame { position: absolute; left: 62%; top: 50%; aspect-ratio: 1/1; transform: translate(-50%, -50%) rotate(8.4deg) skewX(-.93deg); border: 1px solid rgba(108, 92, 231, .15); pointer-events: none; }
.hero .cube__frame--outer { width: 112%; border-radius: 11%; }
.hero .cube__frame--inner { width: 140%; border-radius: 9%; border-color: rgba(108, 92, 231, .09); }
.hero .float-badge { position: absolute; aspect-ratio: 1/1; border-radius: 26%; background: #fff; box-shadow: 0 14px 30px rgba(70, 52, 150, .16); display: grid; place-items: center; z-index: 3; animation-name: cardBob; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.hero .float-badge svg { width: 46%; height: 46%; }
.hero .float-badge--order { left: 68.4%; top: 80.6%; width: 19%; animation-duration: 6.4s; animation-delay: 0s; }
.hero .float-badge--payment { left: 63.6%; top: -2.4%; width: 16%; animation-duration: 7.6s; animation-delay: .8s; }
.hero .float-badge--chart { left: -2.6%; top: 12.6%; width: 15%; animation-duration: 8.2s; animation-delay: 1.6s; }
@keyframes cardBob {
  0%, 100% { transform: translateY(0) rotate(8.4deg) skewX(-.93deg); }
  50% { transform: translateY(-11px) rotate(8.4deg) skewX(-.93deg); }
}
@keyframes modDraw2 {
  0% { opacity: 0; transform: scale(.35); }
  6% { opacity: 1; transform: scale(1); }
  64% { opacity: 1; transform: scale(1); }
  73% { opacity: 0; transform: scale(.35); }
  100% { opacity: 0; transform: scale(.35); }
}
@keyframes scanPass {
  0%, 24% { transform: translateY(-24%); opacity: 0; }
  30% { opacity: 1; }
  52% { opacity: 1; }
  60% { transform: translateY(112%); opacity: 0; }
  100% { transform: translateY(112%); opacity: 0; }
}
@keyframes ringOut2 {
  0%, 58% { transform: translate(-50%, -50%) scale(.3); opacity: 0; }
  68% { opacity: .6; }
  80% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}
@keyframes badgeIn2 {
  0%, 74% { opacity: 0; transform: translate(-50%, -50%) var(--face-tilt) scale(.6); }
  82%, 97% { opacity: 1; transform: translate(-50%, -50%) var(--face-tilt) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) var(--face-tilt) scale(1); }
}
@keyframes tickDraw {
  0%, 74% { stroke-dashoffset: 40; }
  87%, 100% { stroke-dashoffset: 0; }
}
@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes faceGlow {
  0%, 100% { opacity: .28; }
  45% { opacity: .62; }
}
@media (prefers-reduced-motion:reduce) {
  .hero .cube, .hero .cube__glow, .hero .scan__bar, .hero .ring, .hero .badge, .hero .badge path, .hero .qr .mod, .hero .float-badge { animation: none !important; }
  .hero .scan__bar, .hero .ring { opacity: 0; }
  .hero .badge { opacity: 1; transform: translate(-50%, -50%) var(--face-tilt) scale(1); }
  .hero .badge path { stroke-dashoffset: 0; }
}
/* ==========================================================================
   Overview
   ========================================================================== */
.overview { background: var(--c-white); padding: 120px 0; }
.overview .wrap { display: flex; flex-direction: column; }
.overview__head { display: flex; align-content: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.overview__head .sec-head { max-width: none; }
.overview__head .lead { align-self: flex-end; line-height: 1.45; }
.overview__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); }
.overview__item { position: relative; padding: 44px clamp(8px,2vw,40px) 48px; text-align: center; }
.overview__item:last-child { border-right: none; }
.overview__num { display: block; font-size: 24px; font-weight: 700; letter-spacing: .05em; color: var(--c-primary); }
.overview__item h3 { margin-top: 28px; font-size: clamp(17px,1vw,21px); font-weight: 700; letter-spacing: -.46px; }
.overview__item .desc { margin-top: 12px; font-size: clamp(13px,2vw,15px); line-height: 1.7; color: var(--c-ink-mute); }

.overview__mini { height: 165px; margin-top: 20px; background: var(--c-primary-bg-2); border-radius: 20px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.overview__mini img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }

@media (max-width:719px) {
  .overview { padding: 40px 0 80px; }
  .overview__head { flex-direction: column; }
  .overview__grid { grid-template-columns: 1fr; width: 100%; max-width: 440px; margin: 40px auto 0; border-bottom: none; }
  .overview__item { border-right: none; border-bottom: 1px solid var(--c-border); padding: 36px 4px; }
  .overview__item:last-child { border-bottom: none; }
}
/* ==========================================================================
   Industries (업종에 상관없이)
   ========================================================================== */
.industries { padding: 100px 0; background: #0c0a18 url("images/industries-bg.jpg") center/cover no-repeat; color: #fff; overflow: hidden; }
.industries__head { text-align: center; max-width: 620px; margin: 0 auto; }
.industries__head h2 { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: -1.575px; }
.industries__head h2 .grad { background: linear-gradient(90deg, #e1dbff, #7960f8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.industries__head p { margin-top: 28px; font-size: 18px; line-height: 1.44; color: #dedede; font-weight: 300; }
.industries__viewport { margin-top: 54px; height: 344px; overflow: hidden; touch-action: pan-y; cursor: grab; }
.industries__viewport:active { cursor: grabbing; }
.industries__track { display: flex; align-items: center; gap: 20px; padding: 4px 4px 12px; width: max-content; transition: transform .4s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.industries__card { flex: 0 0 210px; height: 280px; border-radius: 27px; background: rgba(214, 220, 253, .06); border: 1px solid rgba(240, 240, 240, .1); padding: 32px 16px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; transition: background .4s cubic-bezier(.22, .61, .36, 1), flex-basis .4s cubic-bezier(.22, .61, .36, 1), height .4s cubic-bezier(.22, .61, .36, 1); }
.industries__card:not(.industries__card--active):hover { background: rgba(214, 220, 253, .12); }
.industries__card img { width: 148px; height: 148px; object-fit: cover; }
.industries__card h3 { font-size: 18px; font-weight: 700; color: #fff; }
.industries__card p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #ccc; }
.industries__card--active { flex-basis: 230px; height: 312px; background: #d6dcfd; border-color: transparent; padding-top: 44px; color: var(--c-ink); }
.industries__card--active img { width: 168px; height: 168px; padding: 16px 0; }
.industries__card--active h3 { color: var(--c-ink); }
.industries__card--active p { margin-top: 0; color: var(--c-ink); font-size: 16px; }
.industries__dots { margin-top: 20px; display: flex; justify-content: center; gap: 8px; }
.industries__dots button { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .28); transition: background .2s ease, width .2s ease; }
.industries__dots button.is-active { background: var(--c-primary-light); width: 22px; }
@media (max-width:719px) {
  .industries { padding: 72px 0; }
}

/* ==========================================================================
   Key Features
   ========================================================================== */
.features { padding: 100px 0 120px; background-color: #F5F4FE; }
.features__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); align-items: start; gap: 56px; }
.features__head { max-width: none; }
.features__head .lead { margin-top: 22px; }

.features__list { list-style: none; margin: 0; padding: 4px 30px; border-radius: 20px; background: #fff; }
.features__item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; padding: 27px 0; }
.features__item + .features__item { border-top: 1px solid var(--c-border-soft); }
.features__num { color: var(--c-primary); font-size: 14px; font-weight: 700; line-height: 28px; font-variant-numeric: tabular-nums; }
.features__item h3 { font-size: 18px; font-weight: 700; letter-spacing: -.5px; line-height: 1.55; }
.features__item p { margin-top: 7px; font-size: 14.6px; line-height: 1.72; color: var(--c-ink-soft); letter-spacing: -.16px; }
@media (max-width:1023px) {
  .features { padding: 64px 0; }
  .features__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .features__head .lead br { display: none; }
}
@media (max-width:599px) {
  .features { padding: 44px 0; }
  .features__head { text-align: center; }
  .features__list { padding: 0 20px; border-radius: 16px; }
  .features__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 23px 0; }
  .features__num { font-size: 12px; line-height: 1; }
}

/* ==========================================================================
   Service Flow
   ========================================================================== */
.flow { padding: 120px 0 160px; background: #fff; }
.flow .wrap { display: flex; flex-direction: column; align-items: center; }
.flow__head { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.flow__head .sec-head { max-width: none; }
.flow__head .lead { max-width: 507px; margin-top: 22px; }
.flow__list { position: relative; margin-top: 64px; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }

.flow__connector { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: -1; }
.flow__connector-path { fill: none; stroke: var(--c-primary-light); stroke-width: 2; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.22, .61, .36, 1); }
.flow__connector-dot { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgba(110, 86, 232, .18), 0 0 10px 2px rgba(110, 86, 232, .5); transform: translate(-50%, -50%); transition: left .6s cubic-bezier(.22, .61, .36, 1), top .6s cubic-bezier(.22, .61, .36, 1), opacity .3s ease; opacity: 0; z-index: -1; }
.flow__connector-dot.is-visible { opacity: 1; }
.flow__card { position: relative; box-sizing: border-box; width: 100%; height: 180px; background: #fff; border: 1px solid var(--c-border-soft); border-radius: 20px; box-shadow: 0 1px 1px rgba(31, 29, 28, .04), 0 8px 11px rgba(31, 29, 28, .14); padding: 27px 25px 29px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease, border-color .25s ease; }
.flow__card:not(.is-active) { opacity: .78; }
.flow__card.is-active { transform: scale(1.045); border-color: var(--c-primary-light); box-shadow: 0 4px 6px rgba(31, 29, 28, .05), 0 18px 28px rgba(110, 86, 232, .22); z-index: 1; }
.flow__card:nth-of-type(2) { margin-top: 39px; }
.flow__card:nth-of-type(4) { margin-top: 39px; }
.flow__num { font-size: 28px; font-weight: 900; color: var(--c-primary-light); letter-spacing: -.56px; }
.flow__card h3 { margin-top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.45px; }
.flow__card p { margin-top: 8px; font-size: 15px; line-height: 1.33; color: var(--c-ink-soft); }
.flow__badge { position: absolute; top: 28px; right: 25px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: -.16px; color: #fff; background: var(--c-primary); white-space: nowrap; }
.flow__badge--soft { background: var(--c-primary-light); }
.flow__badge--tint { background: var(--c-primary-tint); color: var(--c-primary); }
@media (max-width:1079px) {
  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .flow__card:nth-of-type(2) { margin-top: 0; }
  .flow__card:nth-of-type(4) { margin-top: 0; }
  .flow__connector, .flow__connector-dot { display: none; }
}
@media (max-width:560px) {
  .flow__list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .flow__connector-path, .flow__connector-dot { transition: none !important; }
}

/* ==========================================================================
   Interactive Demo
   ========================================================================== */
.demo { padding: 80px 0; background: #14101f url("images/demo-bg.jpg") center/cover no-repeat; color: #fff; border-radius: 0 200px 0 0; overflow: hidden; }
.demo__head { text-align: center; max-width: 1200px; margin: 0 auto; }
.demo__head .eyebrow--onDark { display: block; }
.demo__head h2 { margin-top: 10px; font-size: 45px; font-weight: 700; letter-spacing: -1.575px; }
.demo__head p { margin-top: 18px; font-size: 16px; font-weight: 400; line-height: 1.5; color: #fffffffa; }
.demo__tabs { margin: 32px auto 0; width: max-content; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); }
.demo__tabs button { padding: 10px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600; letter-spacing: -.29px; color: #b2a8a2; }
.demo__tabs button.is-active { color: #fff; background: #6e56e8; box-shadow: 0 10px 12px #4835ac; }

.demo__board { margin-top: 40px; background: #fff; color: var(--c-ink); border-radius: 36px; box-shadow: 0 40px 90px rgba(20, 16, 31, .35); display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; }
.demo__board[data-demo-board="admin"] { grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); }

.demo__copy { padding: 64px 56px; min-width: 0; }
.demo__count { display: block; font: 700 11px/1 var(--font); color: var(--c-primary); letter-spacing: .1em; }
.demo__copy h3 { margin: 24px 0 16px; font-size: 30px; font-weight: 700; letter-spacing: -.045em; line-height: 1.3; }
.demo__copy .desc { font-size: 14px; line-height: 1.8; color: var(--c-ink-mute); max-width: 320px; min-height: 50px; }

.demo__steps { display: flex; flex-direction: column; margin-top: 40px; }
.demo__steps button { display: flex; align-items: center; gap: 12px; height: 52px; text-align: left; border: 0; border-bottom: 1px solid var(--c-border-soft); background: transparent; color: var(--c-ink-mute); font-size: 14px; font-weight: 700; letter-spacing: -.16px; position: relative; }
.demo__steps button:last-child { border-bottom: none; }
.demo__steps button img { width: 16px; height: 16px; opacity: .55; }
.demo__steps button.is-active { color: var(--c-primary); }
.demo__steps button.is-active img { opacity: 1; }
.demo__steps button.is-active::after { content: "→"; position: absolute; right: 4px; }

.demo__canvas { width: 100%; min-width: 0; background: linear-gradient(145deg, var(--c-primary-bg-2), var(--c-primary-tint)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 36px 100px; touch-action: pan-y; }

.demo__board[data-demo-board="user"] .demo__canvas { max-width: 7600px; margin-inline: auto; padding: 80px 36px; }

.demo__device { display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.demo__device[hidden] { display: none; }

.demo__phone { width: 260px; max-width: 100%; aspect-ratio: 280 / 580; border-radius: clamp(24px, 8vw, 40px); background: #fff; border: 10px solid #fff; box-shadow: 0 4px 40px rgba(0, 0, 0, .2); position: relative; overflow: hidden; }
.demo__phone-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.demo__phone-scroll::-webkit-scrollbar { display: none; }
.demo__phone-shot { display: block; width: 100%; height: auto; }
.demo__phone-bar { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; }

.demo__hint { position: absolute; z-index: 3; top: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 4px; font-size: clamp(10.5px, 2vw, 12px); font-weight: 700; color: var(--c-ink-soft); background: rgba(255, 255, 255, .94); border: 1px solid var(--c-border-soft); border-radius: 999px; padding: 6px 13px; box-shadow: 0 8px 20px rgba(31, 29, 28, .16); pointer-events: none; transition: opacity .4s ease; }
.demo__hint svg { flex: none; }
.demo__hint.is-hidden { opacity: 0; }
.demo__hint--bottom { top: auto; bottom: 14px; }

.demo__browser { width: 100%; max-width: 510px; min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(31, 29, 28, .12); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); position: relative; }
.demo__browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #14141f; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.demo__browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.demo__browser-bar span:nth-child(1) { background: #ff5f57; }
.demo__browser-bar span:nth-child(2) { background: #febc2e; }
.demo__browser-bar span:nth-child(3) { background: #28c840; }

.demo__browser-body { height: 320px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.demo__browser-body::-webkit-scrollbar { display: none; }
.demo__browser-shot { display: block; width: 100%; max-width: 100%; height: auto; }

/* 하단 점 인디케이터 — 목업 아래, 모든 화면 크기에서 표시 */
.demo__dots { display: flex; align-items: center; justify-content: center; gap: 6px; }
.demo__dots button { width: 7px; height: 7px; padding: 0; border-radius: 999px; background: rgba(31, 29, 28, .18);
  transition: width .25s ease, background .25s ease; }
.demo__dots button.is-active { width: 20px; background: var(--c-primary); }

/* 좌우 화살표 — 모바일(719px 이하)에서만 표시, 데스크탑은 좌측 메뉴 클릭으로 충분 */
.demo__arrow { display: none; }

@media (max-width:1100px) {
  .demo__board, .demo__board[data-demo-board="admin"] { grid-template-columns: 1fr; }
  .demo__copy { padding: 44px 40px; }
  .demo__copy .desc { max-width: none; }
}
@media (max-width:719px) {
  .demo { border-radius: 0 60px 0 0; padding: 54px 20px; }
  .demo__head h2 { font-size: 32px; }
  .demo__copy { padding: 36px 28px; }
  .demo__steps { margin-top: 20px; }
  .demo__canvas { padding: 28px 80px; position: relative; }
  .demo__board[data-demo-board="user"] .demo__canvas { padding: 40px; }
  .demo__phone { width: 256px; max-width: 100%; aspect-ratio: 256 / 496; border-width: 8px; }
  .demo__browser-body { max-height: clamp(200px,36vw,280px); }

  .demo__steps { display: none; }
  .demo__arrow { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%;  transform: translateY(-50%); width: 28px; height: 28px; padding: 0; z-index: 5;  color: var(--c-primary-light); }
  .demo__arrow:disabled { opacity: .3; pointer-events: none; }
  .demo__arrow--prev { left: 8px; }
  .demo__arrow--next { right: 8px; }

  .flow { padding: 54px 20px; }
  .flow__list { margin-top: 40px; }
}

@media (max-width:580px) {
  .demo__canvas { padding: 28px clamp(24px,12vw,80px); }
  .demo__browser-body { max-height: clamp(100px,32vw,200px); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 160px 0 140px; background: var(--c-white); }
.faq .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.faq__head { flex: 1 1 320px; max-width: 620px; }
.faq__head .lead { margin-top: 20px; }
.faq__list { flex: 1 1 480px; max-width: 633px; border-top: 1px solid var(--c-border-strong); }
.faq__item { border-bottom: 1px solid var(--c-border-soft); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 25px 0; font-size: 17px; font-weight: 600; color: var(--c-ink); letter-spacing: -.425px; text-align: left; transition: color .2s ease; }
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--c-primary); }
.faq__q .plus { position: relative; width: 15px; height: 15px; flex: none; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--c-ink); border-radius: 2px; }
.faq__q .plus::before { left: 0; top: 6.75px; width: 15px; height: 1.5px; }
.faq__q .plus::after { left: 6.75px; top: 0; width: 1.5px; height: 15px; transition: transform .2s ease, opacity .2s ease; }
.faq__item.is-open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { height: 0; overflow: hidden; transition: height .25s ease; font-size: 15px; line-height: 1.7; color: var(--c-ink-soft); }
.faq__a p { padding-bottom: 24px; }
.faq__item.is-open .faq__a { height: 200px; }
@media (max-width:900px) {
  .faq .wrap { flex-direction: column; gap: 40px; }
  .faq__head, .faq__list { flex: none; max-width: none; }
}

/* 신청 후 진행 절차 — FAQ 섹션 하단에 연한 배경 박스로 자연스럽게 포함 */
.faq__next { flex: 1 1 100%; margin-top: 8px; background: var(--c-primary-bg-2); border-radius: 24px; padding: 32px 28px; }
.process__title { text-align: center; font-size: 17px; font-weight: 700; letter-spacing: -.425px; color: var(--c-ink); margin-bottom: 20px; }
.process__list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 12px; column-gap: clamp(2px, 2vw, 14px); }
.process__step { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.process__num { flex: none; font-size: 13.5px; font-weight: 700; color: var(--c-primary); letter-spacing: -.16px; }
.process__label { font-size: 14.5px; font-weight: 500; letter-spacing: -.16px; color: var(--c-ink); }
.process__label em { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--c-ink-mute); margin-left: 2px; }
.process__arrow { flex: none; color: var(--c-border-strong); }
@media (max-width:719px) {
  .faq { padding: 54px 20px; }
  .faq__next { padding: 26px 20px; }
}

/* ==========================================================================
   CTA download strip
   ========================================================================== */
.cta-dl { background: #14101f url("images/cta-bg.jpg") center/cover no-repeat; border-top: 1px solid rgba(31, 29, 28, .1); padding: 32px 0; }
.cta-dl .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-dl__card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-radius: 18px; background: rgba(250, 250, 252, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .2s ease; }
.cta-dl__card:hover { background: rgba(250, 250, 252, .14); }
.cta-dl__card h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.31px; }
.cta-dl__card span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 1.2px; color: #878787; }
.cta-dl__card img { width: 28px; height: 28px; }
@media (max-width:719px) {
  .cta-dl .wrap { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--c-bg-off); border-top: 1px solid var(--c-border-soft); border-bottom: 1px solid var(--c-border-soft); padding: 80px 0 100px; }
.contact .wrap { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.contact__head { flex: 1 1 320px; max-width: 620px; }
.contact__head .lead { margin-top: 20px; }
.contact__form { flex: 0 1 712px; width: 100%; max-width: 712px; background: #fff; border: 2px solid var(--c-border); border-radius: 32px; padding: 34px 42px; }
.field { padding-top: 16px; }
.field:first-child { padding-top: 0; }
.field > label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: -.16px; color: var(--c-ink); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { width: 100%; border: 1px solid var(--c-border-strong); border-radius: 12px; padding: 14px 16px; font-size: 16px; letter-spacing: -.145px; color: var(--c-ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-placeholder); }
.field textarea { min-height: 116px; resize: vertical; }
.field-error { display: none; margin-top: 7px; font-size: 12px; line-height: 1.4; color: #d64545; }
.field-error.is-visible { display: block; }
.field.has-error input[type="text"], .field.has-error input[type="tel"], .field.has-error input[type="email"], .field.has-error textarea { border-color: #d64545; }
.field-row { display: flex; gap: 16px; }
.field-row .field { flex: 1; padding-top: 16px; }
.field-hint { margin-top: 8px; font-size: 11.5px; color: var(--c-ink-faint); }
.radio-group { display: flex; gap: 16px; margin-top: 8px; }
.radio-opt { flex: 1; display: flex; align-items: center; gap: 11px; padding: 16px 17px; border: 1px solid var(--c-border-strong); border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 500; letter-spacing: -.16px; }
.radio-opt input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1px solid var(--c-border-strong); background: #fff; cursor: pointer; }
.radio-opt input[type="radio"]:checked { border-color: transparent; background: url("images/radio-active.svg") center/cover no-repeat; }
.radio-opt:has(input:checked) { border-color: var(--c-primary); }
.info-table { margin-top: 16px; border: 1px solid var(--c-border-strong); border-radius: 14px; overflow: hidden; background: var(--c-bg-off); }
.info-table table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.info-table th:nth-child(1), .info-table td:nth-child(1) { width: 52%; }
.info-table th:nth-child(2), .info-table td:nth-child(2) { width: 25%; }
.info-table th:nth-child(3), .info-table td:nth-child(3) { width: 20%; }
.info-table th, .info-table td { border: 1px solid var(--c-border-soft); padding: 10px 14px; text-align: left; font-weight: 400; vertical-align: top; overflow-wrap: break-word; }
.info-table th { font-weight: 600; font-size: 13px; background: var(--c-bg-off); text-align: center; vertical-align: middle; }
.info-table td { background: #fff; }
.info-table td ul { padding-left: 16px; list-style: disc; display: flex; flex-direction: column; gap: 2px; }
.info-table td a { color: #5c44db; text-decoration: underline; cursor: text; }
.check-line { display: flex; align-items: center; gap: 8px; padding: 20px 0; }
.check-line input { width: 19px; height: 19px; border-radius: 5px; border: 1px solid var(--c-border-strong); accent-color: var(--c-primary); }
.check-line span { font-size: 13px; color: var(--c-ink-soft); letter-spacing: -.16px; }
.security-line { margin-top: 22px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; min-height: 78px; }
.form-msg { margin-top: 16px; font-size: 14px; text-align: center; display: none; }
.form-msg.is-success { display: block; color: #2f8a4b; }
.form-msg.is-error { display: block; color: #d64545; }
@media (max-width:719px) {
  .contact { padding: 72px 0; }
  .contact__form { padding: 28px 20px; }
  .field-row { flex-direction: column; gap: 0; }
  .radio-group { gap: clamp(4px, 1vw, 12px); }
  .radio-opt { border: none; padding: 16px 0; font-size: clamp(12px, 3vw, 16px); gap: clamp(2px, 1vw, 16px); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background-color: #F5F4FE; padding: 58px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand .footer-logo { height: 22px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 660px; font-size: 13.5px; line-height: 1.7; color: var(--c-ink-soft); letter-spacing: -.16px; white-space: nowrap; }
.footer__nav { display: flex; flex-wrap: wrap; row-gap: 8px; column-gap: 16px; }
.footer__nav a { font-size: 13.5px; color: var(--c-ink-soft); letter-spacing: -.16px; }
.footer__bottom { margin-top: 42px; padding-top: 23px; border-top: 1px solid var(--c-border-soft); }
.footer__bottom small { font-size: 12px; letter-spacing: .63px; color: var(--c-ink-faint); }

@media (max-width:719px) {
  .footer__top { flex-direction: column; gap: 20px; }
  .footer__brand p { max-width: 100%; white-space: normal; }
}

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width:480px) {
  .wrap { padding-inline: 20px; }
  .header .wrap { padding-inline: 20px; }

  .sec-head h2 { font-size: 30px; }
  .sec-head .lead { font-size: 14.5px; }

  .flow__num { font-size: 22px; }
  .overview__item h3 { font-size: 18px; }
  .overview__item .desc { font-size: 14px; }
  .overview__head .lead { font-size: 14px; }

  .industries__head h2 { font-size: 26px; }
  .industries__head p { font-size: 14px; }
  .industries__card h3 { font-size: 16px; }
  .industries__card p, .industries__card--active p { font-size: 13px; }

  .features__item h3 { font-size: 16px; }
  .features__item p { font-size: 13px; }

  .flow__card h3 { font-size: 16px; }
  .flow__card p { font-size: 13.5px; }
  .flow__badge { font-size: 11.5px; padding: 3px 10px; }

  .demo__head h2 { font-size: 24px; }
  .demo__head p { font-size: 14px; }
  .demo__tabs button { padding: 9px 20px; font-size: 13px; }

  .faq__q { font-size: 15px; }
  .faq__a { font-size: 13.5px; }

  .info-table table { font-size: 11.5px; }
  .info-table th, .info-table td { padding: 8px 4px; font-size: 12px; }

  .footer__brand p { font-size: 12px; }
  .footer__nav a { font-size: 12px; }
  .footer__bottom small, .footer__bottom a { font-size: 10.25px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .faq__a { transition: none; }
}
