/* ===== 리리어드바이저 — 로고 블루 계열 ===== */
:root {
    --navy: #0b1a3c;
    --navy-2: #12285a;
    --blue: #1a4fe0;
    --blue-2: #0a7cf0;
    --sky: #12b5ff;
    --ink: #0f1b33;
    --ink-2: #44506a;
    --ink-3: #6b768d;
    --line: #e3e8f2;
    --bg: #ffffff;
    --tint: #f4f7fd;
    --ok: #0f9d6a;
    --err: #d93a3a;
    --grad: linear-gradient(135deg, #1638c9 0%, #0a7cf0 55%, #12b5ff 100%);
    --radius: 16px;
    --shadow: 0 10px 30px -12px rgba(11, 26, 60, .25);
    --shadow-lg: 0 30px 60px -20px rgba(11, 26, 60, .45);
    --hd-h: 72px;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd-h); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ===== 버튼 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 124, 240, .8); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(10, 124, 240, .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-light { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ===== 헤더 ===== */
.hd {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h);
    color: #fff; transition: background .3s, color .3s, box-shadow .3s;
}
.hd.is-solid { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(160%) blur(10px); }
.hd-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: auto; }
.brand-txt { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.brand-txt small { font-size: 11px; opacity: .75; letter-spacing: .12em; margin-top: 2px; }
.gnb { margin-left: auto; display: flex; gap: 6px; }
.gnb a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: .9; transition: background .2s, opacity .2s; }
.gnb a:hover, .gnb a.is-current { opacity: 1; background: rgba(127, 160, 255, .16); }
.hd.is-solid .gnb a.is-current { color: var(--blue); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.menu-btn .ic { width: 26px; height: 26px; }

/* ===== HERO 롤링 ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; background: var(--navy); color: #fff; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide-bg {
    position: absolute; inset: -2%; background: url('/images/ai/hero_bg.webp') center right / cover no-repeat;
    transform: scale(1.08);
}
.slide.is-active .slide-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.04); } }
.slide-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(1200px 600px at 85% 20%, rgba(18, 181, 255, .28), transparent 60%),
        linear-gradient(100deg, rgba(8, 18, 44, .92) 0%, rgba(11, 26, 60, .62) 45%, rgba(18, 40, 90, .25) 100%);
}
.slide-in { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding-top: var(--hd-h); padding-bottom: 90px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--sky); margin-bottom: 18px; }
.slide-title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.22; font-weight: 800; letter-spacing: -.025em; }
.slide-desc { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .8); max-width: 520px; }
.slide-act { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.slide-copy > * { opacity: 0; transform: translateY(18px); }
.slide.is-active .slide-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.slide.is-active .slide-copy > :nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-copy > :nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.slide-shot {
    position: relative; border-radius: 14px; overflow: hidden; background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12);
    transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) translateX(30px); opacity: 0;
}
.slide.is-active .slide-shot { animation: shotIn 1.1s .15s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes shotIn { to { opacity: 1; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) translateX(0); } }
.slide-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

.browser { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef1f7; border-bottom: 1px solid #dfe4ee; }
.browser span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser span:nth-child(2) { background: #febc2e; }
.browser span:nth-child(3) { background: #28c840; }
.browser em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--ink-3); background: #fff; padding: 2px 14px; border-radius: 999px; }

.hero-ctl { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; }
.hero-ctl-in { display: flex; align-items: center; gap: 14px; }
.hero-arrow, .hero-pause {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center;
    transition: background .2s;
}
.hero-arrow:hover, .hero-pause:hover { background: rgba(255, 255, 255, .18); }
.hero-pause { font-size: 11px; }
.hero-pause .pl, .hero.is-paused .hero-pause .pz { display: none; }
.hero.is-paused .hero-pause .pl { display: inline; }
.dots { display: flex; gap: 8px; }
.dot { width: 46px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-active i::after { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .dot.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }

.scroll-hint { position: absolute; right: 32px; bottom: 34px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== 공통 섹션 ===== */
.sec { padding: 120px 0; }
.sec-tint { background: var(--tint); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .22em; color: var(--blue-2); margin-bottom: 14px; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.28; font-weight: 800; letter-spacing: -.025em; }
.sub { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.lead { margin-top: 22px; font-size: 18px; color: var(--ink-2); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== 회사소개 ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats li { padding: 30px 26px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.stats li:first-child { background: var(--grad); color: #fff; border: 0; }
.stats b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats b small { font-size: 18px; font-weight: 700; margin-left: 4px; }
.stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.stats li:first-child span { color: rgba(255, 255, 255, .85); }

/* ===== 솔루션 ===== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.product { padding: 30px 26px; border-radius: var(--radius); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.product::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 181, 255, .35), transparent 70%); }
.product .ic-lg { color: var(--sky); }
.product h3 { margin-top: 18px; font-size: 20px; font-weight: 800; }
.product p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.mi { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(26, 79, 224, .08); color: var(--blue); }
.mi .ic { width: 24px; height: 24px; }
.module h3 { margin-top: 18px; font-size: 19px; font-weight: 800; }
.module p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ===== 진행 방식 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--blue-2); border-right: 2px solid var(--blue-2); transform: rotate(45deg); z-index: 1; }
.step-n { font-size: 32px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 10px; font-size: 19px; font-weight: 800; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ===== 데모 ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot-btn { display: block; width: 100%; padding: 0; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
.shot-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9eef7; border-bottom: 1px solid var(--line); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s; }
.shot-btn:hover .shot-img img { transform: scale(1.04); }
.shot-txt { display: block; padding: 18px 20px 20px; }
.shot-txt b { display: block; font-size: 17px; font-weight: 800; }
.shot-txt small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 14px; }
.demo-note { text-align: center; margin-top: 32px; color: var(--ink-3); font-size: 14px; }
.demo-note a { color: var(--blue); font-weight: 700; }

/* ===== 라이트박스 ===== */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 10, 25, .92); color: #fff; }
.lb::backdrop { background: transparent; }
.lb-in { position: relative; height: 100%; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 56px 16px 24px; }
.lb figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; min-height: 0; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lb figcaption { text-align: center; }
.lb figcaption b { display: block; font-size: 18px; }
.lb figcaption span { color: rgba(255, 255, 255, .7); font-size: 14px; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-close, .lb-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; justify-self: center; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); }

/* ===== 문의 ===== */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.mail-card { margin-top: 32px; display: inline-flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--tint); transition: border-color .2s; }
.mail-card:hover { border-color: var(--blue-2); }
.mail-card small { display: block; color: var(--ink-3); font-size: 13px; }
.mail-card b { font-size: 18px; }
.form { padding: 36px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > span, .fld legend { font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 0; }
.fld em, .chk em { color: var(--blue); font-style: normal; }
.fld input, .fld textarea {
    width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid #d6dceb; background: #fbfcff;
    font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.fld textarea { resize: vertical; min-height: 140px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(10, 124, 240, .14); }
.fld .is-bad { border-color: var(--err); }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { margin-bottom: 8px; width: 100%; }
.types label { position: relative; cursor: pointer; }
.types input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.types span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid #d6dceb; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.types input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.types input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { font-size: 14px; color: var(--ink-2); }
.chk { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--blue); }
.agree details { margin-top: 6px; }
.agree summary { cursor: pointer; color: var(--ink-3); font-size: 13px; }
.agree details p { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--tint); font-size: 13px; }
.form-msg { min-height: 1.4em; font-size: 15px; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }

/* ===== 푸터 ===== */
.ft { background: #070f24; color: rgba(255, 255, 255, .7); padding: 48px 0; }
.ft-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.brand-ft { color: #fff; }
.ft-txt { font-size: 14px; }
.ft-txt a { color: #fff; }
.copy { font-size: 13px; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .slide-in { grid-template-columns: 1fr; }
    .slide-shot { display: none; }
    .about, .contact { grid-template-columns: 1fr; gap: 48px; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .modules, .gallery { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
}
@media (max-width: 960px) {
    :root { --hd-h: 64px; }
    .menu-btn { display: grid; place-items: center; }
    .hd-cta { display: none; }
    .gnb {
        position: fixed; top: var(--hd-h); left: 0; right: 0; flex-direction: column; gap: 0;
        background: #fff; color: var(--ink); padding: 8px 16px 16px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
    }
    .gnb.is-open { transform: none; opacity: 1; visibility: visible; }
    .gnb a { padding: 14px 12px; border-radius: 10px; font-size: 17px; }
    .hd.menu-open { background: #fff; color: var(--ink); }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .sec { padding: 80px 0; }
    .slide-in { padding-bottom: 110px; }
    .slide-act .btn { flex: 1 1 auto; }
    .hero-ctl { bottom: 24px; }
    .dot { width: 30px; }
    .scroll-hint { display: none; }
    .stats b { font-size: 36px; }
    .products, .modules, .gallery, .steps, .row2 { grid-template-columns: 1fr; }
    .form { padding: 24px 18px; }
    .lb-in { grid-template-columns: 1fr; padding: 60px 8px 80px; }
    .lb-nav { position: absolute; bottom: 20px; }
    .lb-prev { left: calc(50% - 60px); }
    .lb-next { right: calc(50% - 60px); }
    .ft-in { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal, .slide-copy > *, .slide-shot { opacity: 1; transform: none; }
}

/* ===== 솔루션 데모 링크 ===== */
.sol-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: rgba(26, 79, 224, .08); color: var(--blue); font-weight: 700; font-size: 14px; transition: background .2s; }
.sol-link:hover { background: rgba(26, 79, 224, .16); }
.sol-link .ic { width: 16px; height: 16px; }
.lead b { color: var(--ink); }

/* ===== 몰인몰: 관리자 역할 ===== */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.role { padding: 30px 26px; border-radius: var(--radius); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.role::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 181, 255, .3), transparent 70%); }
.role-ic { color: var(--sky); }
.role h3 { margin-top: 16px; font-size: 20px; font-weight: 800; }
.role p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .75); }

/* ===== 연동 (어두운 섹션) ===== */
.sec-dark { background: linear-gradient(160deg, #081430 0%, var(--navy) 55%, #0f2350 100%); color: #fff; position: relative; overflow: hidden; }
.sec-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 50% 0%, rgba(18, 181, 255, .18), transparent 70%); pointer-events: none; }
.sec-dark .wrap { position: relative; }
.sec-dark .kicker { color: var(--sky); }
.sec-dark .sub { color: rgba(255, 255, 255, .72); }

.link-map { display: grid; grid-template-columns: 220px 1fr 220px; gap: 28px; align-items: center; margin-bottom: 56px; }
.node { text-align: center; padding: 32px 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.node-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: 0 16px 30px -12px rgba(10, 124, 240, .8); }
.node b { display: block; margin-top: 16px; font-size: 20px; font-weight: 800; }
.node small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.flows { display: grid; gap: 10px; position: relative; }
.flows::before, .flows::after { content: ""; position: absolute; top: 50%; width: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--sky)); }
.flows::before { left: -28px; }
.flows::after { right: -28px; transform: scaleX(-1); }
.flows li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: rgba(255, 255, 255, .85); }
.flows li .ic { color: var(--sky); }
.flows li b { display: inline-block; min-width: 56px; margin-right: 8px; color: #fff; font-weight: 800; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s; }
.benefit:hover { background: rgba(255, 255, 255, .08); border-color: rgba(18, 181, 255, .4); }
.benefit .mi { background: rgba(18, 181, 255, .14); color: var(--sky); }
.benefit h3 { margin-top: 18px; font-size: 19px; font-weight: 800; }
.benefit p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ===== 데모 사이트 ===== */
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 64px; align-items: start; }
.site { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.site-hd { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.site-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; flex: none; }
.site-hd h3 { font-size: 21px; font-weight: 800; }
.site-hd p { font-size: 14px; color: var(--ink-3); }
.site-links { display: grid; gap: 10px; margin-top: 20px; }
.site-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); transition: border-color .2s, background .2s, transform .2s; }
.site-links a:hover { border-color: var(--blue-2); background: #fff; transform: translateX(3px); }
.site-links b { display: block; font-size: 16px; font-weight: 800; }
.site-links small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.site-links .ic { color: var(--blue); }
.site-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.site-note a { color: var(--blue); font-weight: 700; }
.gallery-title { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 28px; }

@media (max-width: 1024px) {
    .roles, .benefits { grid-template-columns: repeat(2, 1fr); }
    .link-map { grid-template-columns: 1fr 1fr; }
    .flows { grid-column: 1 / -1; grid-row: 2; }
    .flows::before, .flows::after { display: none; }
    .sites { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .roles, .benefits { grid-template-columns: 1fr; }
    .link-map { gap: 14px; }
    .node { padding: 22px 12px; }
    .node-ic { width: 56px; height: 56px; border-radius: 16px; }
    .node b { font-size: 17px; }
    .flows li { font-size: 14px; align-items: flex-start; }
    .flows li b { display: block; margin-bottom: 2px; }
    .site { padding: 22px 18px; }
}
.gallery-title-2 { margin-top: 64px; }

/* ===== 회원 개인몰 ===== */
.mm { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; margin-bottom: 48px; }
.mm-phone { justify-self: center; width: 300px; padding: 12px; border-radius: 40px; background: var(--navy); box-shadow: var(--shadow-lg); }
.mm-screen { border-radius: 30px; background: #fff; overflow: hidden; padding-bottom: 18px; }
.mm-top { padding: 16px 16px 10px; background: var(--grad); }
.mm-url { display: block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11px; color: var(--ink-2); text-align: center; }
.mm-profile { display: flex; align-items: center; gap: 12px; padding: 18px 16px 12px; }
.mm-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; flex: none; }
.mm-profile b { display: block; font-size: 15px; }
.mm-profile small { display: block; font-size: 12px; color: var(--ink-3); }
.mm-goods { padding: 0 16px; display: grid; gap: 8px; }
.mm-goods li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; }
.mm-goods i { width: 40px; height: 40px; border-radius: 10px; }
.mm-goods b { font-size: 13px; color: var(--blue); }
.mm-share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 0; }
.mm-share span { padding: 10px 0; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; }
.mm-kakao { background: #fee500; color: #191919; }
.mm-qr { background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }

.mm-steps { display: grid; gap: 14px; }
.mm-steps li { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mm-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; flex: none; }
.mm-steps h3 { font-size: 18px; font-weight: 800; }
.mm-steps p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

.mm-features { margin-bottom: 24px; }
.mm-why { display: flex; gap: 16px; align-items: flex-start; padding: 24px 28px; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .8); }
.mm-why .mi { background: rgba(18, 181, 255, .16); color: var(--sky); flex: none; }
.mm-why b { color: #fff; }
.mm-why p { font-size: 15px; }

@media (max-width: 1024px) {
    .mm { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
    .mm-phone { width: 270px; }
    .mm-steps li { padding: 18px; gap: 14px; }
    .mm-why { flex-direction: column; padding: 22px 18px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
    .hd-in { gap: 16px; }
    .gnb { gap: 2px; }
    .gnb a { padding: 8px 10px; font-size: 14px; }
}

/* ===== AI 일러스트 ===== */
.about-side { display: grid; gap: 16px; }
.about-fig img, .sec-fig img { width: 100%; height: auto; border-radius: 20px; }
.about-fig img { box-shadow: var(--shadow); }
.sec-fig { max-width: 960px; margin: -16px auto 48px; }
#connect { background: linear-gradient(180deg, rgba(8, 20, 48, .78), rgba(11, 26, 60, .88)), url('/images/ai/connect_bg.webp') center / cover no-repeat, var(--navy); }
.mm-why { align-items: center; gap: 28px; padding: 20px; }
.mm-why-img { width: 300px; height: auto; aspect-ratio: 1000 / 747; object-fit: cover; flex: none; align-self: center; border-radius: 14px; }
.mm-why-txt { display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 1024px) { .mm-why-img { width: 220px; } }
@media (max-width: 640px) {
    .mm-why-img { width: 100%; }
    .mm-why-txt { flex-direction: column; }
    .sec-fig { margin: -8px auto 32px; }
}

/* ===== 모바일 앱 ===== */
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.app-shots { display: flex; justify-content: center; align-items: flex-end; gap: 24px; padding: 32px 16px; border-radius: 24px; background: radial-gradient(600px 300px at 50% 100%, rgba(18, 181, 255, .18), transparent 70%), var(--tint); }
.app-shot { text-align: center; }
.app-shot img { height: 520px; width: auto; filter: drop-shadow(0 24px 30px rgba(11, 26, 60, .28)); }
.app-shot:first-child img { height: 480px; }
.app-shot figcaption { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.app-feats { display: grid; gap: 14px; }
.app-feats li { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.app-feats .mi { flex: none; }
.app-feats h3 { font-size: 18px; font-weight: 800; }
.app-feats p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1024px) {
    .app { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
    .app-shots { gap: 12px; padding: 24px 8px; }
    .app-shot img { height: 340px; }
    .app-shot:first-child img { height: 314px; }
    .app-feats li { padding: 18px; gap: 14px; }
}

/* ===== 언어 전환 (KO / EN) ===== */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); flex: none; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .75; transition: background .2s, opacity .2s, color .2s; }
.lang a:hover { opacity: 1; }
.lang a.is-on { background: #fff; color: var(--navy); opacity: 1; }
.hd.is-solid .lang, .hd.menu-open .lang { border-color: var(--line); }
.hd.is-solid .lang a.is-on, .hd.menu-open .lang a.is-on { background: var(--navy); color: #fff; }
@media (max-width: 960px) {
    .lang { margin-left: auto; }
    .menu-btn { margin-left: 6px; }
}

/* 영어는 메뉴 이름이 길어 헤더 폭(최대 1200)에 다 들어가지 않는다: 항상 CTA 숨김(메뉴에 Contact 있음)·간격 축소,
   1100 이하는 햄버거 메뉴 (960 블록과 같은 규칙) */
html[lang="en"] .hd-cta { display: none; }
html[lang="en"] .hd-in { gap: 14px; }
html[lang="en"] .gnb { gap: 0; }
html[lang="en"] .gnb a { padding: 8px 9px; font-size: 14px; }
@media (max-width: 1100px) {
    html[lang="en"] .menu-btn { display: grid; place-items: center; margin-left: 6px; }
    html[lang="en"] .lang { margin-left: auto; }
    html[lang="en"] .gnb {
        position: fixed; top: var(--hd-h); left: 0; right: 0; flex-direction: column; gap: 0; margin-left: 0;
        background: #fff; color: var(--ink); padding: 8px 16px 16px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
    }
    html[lang="en"] .gnb.is-open { transform: none; opacity: 1; visibility: visible; }
    html[lang="en"] .gnb a { padding: 14px 12px; border-radius: 10px; font-size: 17px; }
    html[lang="en"] .hd.menu-open { background: #fff; color: var(--ink); }
}
