/* ============================================================
   Onforis 웹사이트 디자인 시스템
   - 톤: 화이트 베이스 + 딥퍼플(#544A75) + 비비드 퍼플 포인트
   - 폰트: Pretendard Variable (자체 호스팅) — 없으면 시스템 폰트 폴백
   - 모든 색은 :root 토큰만 사용 (hex 하드코딩 금지)
   ============================================================ */

@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
}

:root {
    /* 브랜드 */
    --brand:        #9A8CC9;   /* 관리자와 동일한 라이트 퍼플 */
    --brand-vivid:  #6C57C9;   /* 웹사이트용 심화 퍼플 (포인트) */
    --brand-deep:   #544A75;   /* 딥 퍼플 (헤딩·강조) */
    --brand-soft:   #EDE9F6;   /* 연한 배경 */
    --brand-faint:  #F7F5FB;   /* 아주 연한 섹션 배경 */

    /* 뉴트럴 (퍼플기 있는 그레이) */
    --ink:          #1E1B29;
    --text:         #2A2833;
    --text-sub:     #6E6A7E;
    --border:       #E7E4F0;
    --surface:      #FFFFFF;

    /* 그라데이션 */
    --grad-hero:    linear-gradient(135deg, #544A75 0%, #6C57C9 55%, #9A8CC9 100%);
    --grad-cta:     linear-gradient(120deg, #443B63 0%, #6C57C9 100%);

    /* 레이아웃 */
    --max-w:        1140px;
    --header-h:     72px;
    --radius:       16px;
    --radius-lg:    24px;
    --shadow-sm:    0 2px 8px rgba(84, 74, 117, .06);
    --shadow-md:    0 8px 30px rgba(84, 74, 117, .12);
    --shadow-lg:    0 20px 60px rgba(84, 74, 117, .18);
    --ease-out:     cubic-bezier(.22, 1, .36, 1);   /* 부드러운 감속 이징 */

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

/* ─── 리셋 ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    line-height: 1.65;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* 선택 영역·포커스 — 브랜드 컬러 일관성 */
::selection { background: var(--brand-vivid); color: #fff; }
:focus-visible { outline: 2.5px solid var(--brand-vivid); outline-offset: 3px; border-radius: 4px; }

/* ─── 공통 레이아웃 ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
.section-soft { background: var(--brand-faint); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--brand-vivid);
    text-transform: uppercase;
    margin-bottom: 14px;
}
/* 라벨 앞 짧은 그라데이션 바 — 섹션 시작점 시각 앵커 */
.section-label::before {
    content: '';
    width: 26px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-vivid), var(--brand));
}
.section-head.center .section-label::after {
    content: '';
    width: 26px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-vivid));
}
.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    letter-spacing: -.02em;
}
.section-desc { margin-top: 18px; font-size: 1.125rem; color: var(--text-sub); }

/* ─── 버튼 ─── */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border: none;
    border-radius: 999px;
    font-size: 1.0625rem;
    font-weight: 700;
    overflow: hidden;
    transition: transform .25s var(--ease-out), box-shadow .25s, background .25s;
}
/* 호버 시 샤인 스윕 효과 */
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .5s var(--ease-out);
    pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand-vivid); color: #fff; box-shadow: 0 8px 24px rgba(108, 87, 201, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(108, 87, 201, .45); background: var(--brand-deep); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: #fff; color: var(--brand-deep); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--brand-vivid); color: var(--brand-vivid); }

/* ============================================================
   헤더
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s;
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255,255,255,.94);
    box-shadow: 0 4px 20px rgba(84, 74, 117, .07);
}
.header-inner {
    max-width: var(--max-w);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo { display: flex; align-items: center; transition: opacity .2s; }
.header-logo:hover { opacity: .75; }
.header-logo img { height: 26px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--brand-vivid); background: var(--brand-faint); }
.nav-link.active { color: var(--brand-vivid); }
.nav-cta {
    margin-left: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--brand-vivid);
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--brand-deep); transform: translateY(-1px); }

/* 모바일 햄버거 */
.header-burger { display: none; background: none; border: none; width: 44px; height: 44px; position: relative; }
.header-burger span {
    position: absolute; left: 10px; right: 10px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: all .25s;
}
.header-burger span:nth-child(1) { top: 15px; }
.header-burger span:nth-child(2) { top: 21px; }
.header-burger span:nth-child(3) { top: 27px; }
.header-burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header-burger.open span:nth-child(2) { opacity: 0; }
.header-burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.site-main { padding-top: var(--header-h); }

/* ============================================================
   히어로
   ============================================================ */
.hero {
    position: relative;
    padding: 140px 0 160px;
    background: var(--grad-hero);
    color: #fff;
    overflow: hidden;
}
/* 오로라 오브 — 느린 부유 애니메이션 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .38;
    pointer-events: none;
    animation: orbFloat 14s ease-in-out infinite alternate;
}
.hero::before { width: 560px; height: 560px; background: #B7A8E8; top: -180px; right: -120px; }
.hero::after  { width: 420px; height: 420px; background: #3D3260; bottom: -160px; left: -100px; animation-delay: -7s; animation-duration: 18s; }
@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-50px, 40px) scale(1.12); }
}
/* 도트 그리드 패턴 오버레이 — 질감 부여 */
.hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 20%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 75% 65% at 70% 20%, #000 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: 28px;
}
/* 뱃지 라이브 도트 — 펄스 애니메이션 */
.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #C9F5D9;
    box-shadow: 0 0 0 0 rgba(201, 245, 217, .6);
    animation: badgePulse 2.4s ease-out infinite;
}
@keyframes badgePulse {
    0%   { box-shadow: 0 0 0 0 rgba(201, 245, 217, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(201, 245, 217, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 245, 217, 0); }
}
.hero h1 {
    font-size: clamp(2.25rem, 5.4vw, 4rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -.025em;
    max-width: 780px;
}
/* 헤드라인 하이라이트 — 밝은 퍼플 그라데이션 텍스트 */
.hero h1 .hl {
    background: linear-gradient(92deg, #EDE7FF 0%, #C9B8F5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #C9B8F5;
}
.hero p.hero-sub {
    margin-top: 26px;
    font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
    color: rgba(255,255,255,.85);
    max-width: 620px;
}
.hero-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 히어로 하단 물결 구분 */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* ============================================================
   통계 밴드
   ============================================================ */
.stats { padding: 80px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
/* 데스크톱(4열)에서만 열 사이 세로 구분선 */
.stats-grid > div { position: relative; }
.stats-grid > div + div::before { display: none; }
@media (min-width: 1025px) {
    .stats-grid > div + div::before { display: block; }
}
.stats-grid > div + div::before {
    content: '';
    position: absolute;
    left: -16px; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 56px;
    background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(120deg, var(--brand-deep), var(--brand-vivid));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-vivid);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.stat-num .unit { font-size: .55em; font-weight: 800; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 1rem; color: var(--text-sub); font-weight: 600; }

/* ============================================================
   서비스 카드
   ============================================================ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.svc-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    overflow: hidden;
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
/* 상단 그라데이션 액센트 바 — 호버 시 슬라이드 인 */
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-vivid), var(--brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}
.svc-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: transform .3s var(--ease-out), background .3s;
}
.svc-card:hover .svc-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--brand-soft), #E0D6F5);
}
.svc-icon svg { width: 28px; height: 28px; stroke: var(--brand-vivid); }
.svc-card h3 { font-size: 1.3125rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.svc-card p { font-size: 1rem; color: var(--text-sub); }
.svc-more { display: inline-block; margin-top: 18px; font-weight: 700; font-size: .9375rem; color: var(--brand-vivid); }
.svc-more::after { content: ' →'; }

/* ============================================================
   특징 (교차 배치)
   ============================================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.feature-row + .feature-row { margin-top: 110px; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-copy h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -.02em;
}
.feature-copy p { margin-top: 16px; font-size: 1.0625rem; color: var(--text-sub); }
.feature-copy ul { margin-top: 22px; list-style: none; }
.feature-copy li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}
.feature-copy li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-vivid);
    font-size: .75rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin-top: 3px;
}

/* 특징 비주얼 — CSS 목업 카드 */
.feature-visual {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--grad-hero);
    aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
/* 비주얼 배경 장식 — 도트 패턴 + 링 */
.feature-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 25%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 30% 25%, #000, transparent 75%);
    pointer-events: none;
}
.feature-visual::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.22);
    bottom: -70px; right: -60px;
    box-shadow: 0 0 0 34px rgba(255,255,255,.05);
    pointer-events: none;
}
.mock-card {
    position: relative;
    background: rgba(255,255,255,.96);
    border-radius: 14px;
    padding: 22px 26px;
    width: min(78%, 360px);
    box-shadow: var(--shadow-lg);
    transition: transform .4s var(--ease-out);
}
.feature-visual:hover .mock-card { transform: translateY(-6px) rotate(-.5deg); }
.mock-card .mock-title { font-size: .8125rem; font-weight: 700; color: var(--text-sub); letter-spacing: .04em; margin-bottom: 12px; }
.mock-bar { height: 10px; border-radius: 6px; background: var(--brand-soft); margin-bottom: 10px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 6px; background: var(--brand-vivid); }
.mock-big { font-size: 2rem; font-weight: 900; color: var(--brand-deep); letter-spacing: -.02em; }
.mock-row { display: flex; justify-content: space-between; font-size: .875rem; color: var(--text-sub); margin-top: 6px; }

/* ============================================================
   프로세스 (도입 단계)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 26px 30px;
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}
/* 스텝 사이 연결 화살표 (마지막 카드 제외) */
.step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 40px; right: -21px;
    z-index: 1;
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 800;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-vivid), var(--brand-deep));
    color: #fff;
    font-weight: 800;
    font-size: 1.0625rem;
    margin-bottom: 18px;
    box-shadow: 0 5px 14px rgba(108, 87, 201, .3);
}
.step-card h4 { font-size: 1.125rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.step-card p { font-size: .9375rem; color: var(--text-sub); }

/* ============================================================
   CTA 밴드
   ============================================================ */
.cta-band {
    background: var(--grad-cta);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; width: 460px; height: 460px;
    border-radius: 50%; background: rgba(154,140,201,.35);
    filter: blur(80px); top: -200px; right: -100px;
}
/* 좌하단 보조 오브 + 도트 패턴 */
.cta-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 15% 85%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 90% at 15% 85%, #000, transparent 70%);
    pointer-events: none;
}
.cta-band h2 { position: relative; font-size: clamp(1.625rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { position: relative; margin-top: 14px; font-size: 1.125rem; color: rgba(255,255,255,.82); }
.cta-band .btn { position: relative; margin-top: 36px; background: #fff; color: var(--brand-deep); }
.cta-band .btn:hover { background: var(--brand-soft); }

/* ============================================================
   페이지 히어로 (서브 페이지 공통)
   ============================================================ */
.page-hero {
    padding: 110px 0 90px;
    background: var(--grad-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; width: 480px; height: 480px; border-radius: 50%;
    background: #B7A8E8; filter: blur(100px); opacity: .35; top: -180px; right: -80px;
}
/* 서브 페이지 히어로에도 도트 패턴 통일 적용 */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000, transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.25; }
.page-hero p { margin-top: 18px; font-size: 1.1875rem; color: rgba(255,255,255,.85); max-width: 640px; }

/* ============================================================
   회사소개 — 미션 · 타임라인
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}
.mission-card .m-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.mission-card .m-icon svg { width: 26px; height: 26px; stroke: var(--brand-vivid); }
.mission-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.mission-card p { color: var(--text-sub); font-size: 1rem; }

/* 타임라인 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 6px; bottom: 6px;
    width: 2px; background: var(--border);
}
.tl-item { position: relative; padding-bottom: 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: '';
    position: absolute; left: -34px; top: 7px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--brand-vivid);
    border: 3px solid var(--brand-soft);
}
.tl-year { font-size: 1.0625rem; font-weight: 800; color: var(--brand-vivid); letter-spacing: .02em; }
.tl-item h4 { font-size: 1.1875rem; font-weight: 800; color: var(--ink); margin-top: 6px; }
.tl-item p { margin-top: 6px; color: var(--text-sub); font-size: 1rem; }

/* ============================================================
   서비스 상세
   ============================================================ */
.svc-anchor-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.svc-anchor-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    white-space: nowrap;
}
.svc-anchor-inner a {
    padding: 16px 18px;
    font-size: .9765rem;
    font-weight: 700;
    color: var(--text-sub);
    border-bottom: 2.5px solid transparent;
    transition: color .15s, border-color .15s;
}
.svc-anchor-inner a:hover, .svc-anchor-inner a.current { color: var(--brand-vivid); border-bottom-color: var(--brand-vivid); }

.svc-detail { padding: 100px 0; }
.svc-detail:nth-child(even) { background: var(--brand-faint); }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.svc-detail-grid.reverse .svc-detail-visual { order: 2; }
.svc-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-vivid);
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: .05em;
    margin-bottom: 16px;
}
.svc-detail h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }
.svc-detail .svc-detail-desc { margin-top: 16px; font-size: 1.0625rem; color: var(--text-sub); }
.svc-detail ul.svc-points { margin-top: 24px; list-style: none; }
.svc-detail ul.svc-points li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    font-size: 1rem; font-weight: 500;
}
.svc-detail ul.svc-points li::before {
    content: '✓';
    position: absolute; left: 0; top: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand-vivid);
    font-size: .75rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.svc-detail-visual {
    border-radius: var(--radius-lg);
    background: var(--grad-hero);
    aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* ============================================================
   문의 폼
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }
.contact-info > p { margin-top: 16px; color: var(--text-sub); font-size: 1.0625rem; }
.contact-channels { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-channel {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 22px;
    background: var(--brand-faint);
    border-radius: var(--radius);
}
.contact-channel .cc-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: #fff; box-shadow: var(--shadow-sm);
    display: flex; align-items: center; justify-content: center;
}
.contact-channel .cc-icon svg { width: 22px; height: 22px; stroke: var(--brand-vivid); }
.contact-channel .cc-label { font-size: .8125rem; font-weight: 700; color: var(--text-sub); }
.contact-channel .cc-value { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.form-field label .req { color: var(--brand-vivid); }
.form-field input,
.form-field select,
.form-field textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-vivid);
    box-shadow: 0 0 0 3px rgba(108, 87, 201, .14);
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: .9375rem; color: var(--text-sub); }
.form-agree input { margin-top: 4px; accent-color: var(--brand-vivid); }
.form-submit { margin-top: 28px; width: 100%; justify-content: center; }

/* 알림 박스 */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 26px;
    font-size: .9765rem;
}
.alert-ok  { background: #EDF7F1; color: #2F7A54; border: 1px solid #CBE7D8; }
.alert-err { background: #FBEEEE; color: #B3474B; border: 1px solid #F0D4D5; }

/* 허니팟 — 화면에서 숨김 (스팸봇 전용 필드) */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer {
    position: relative;
    background: #221E30;
    color: #B9B4C7;
    padding: 72px 0 36px;
}
/* 푸터 상단 그라데이션 헤어라인 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand-vivid) 40%, var(--brand) 75%, transparent);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; }
.footer-logo { filter: brightness(0) invert(1); opacity: .92; height: 26px; width: auto; }
.footer-tagline { margin-top: 16px; font-size: .9765rem; color: #8F89A3; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: .9375rem; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .9375rem; color: #B9B4C7; padding: 5px 0; transition: color .15s, transform .2s var(--ease-out); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
    margin-top: 56px; padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .875rem; color: #8F89A3;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ============================================================
   기능 맵 — 행사 전·중·후 전체 기능 한눈 시각화
   ============================================================ */
.fmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fmap-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    position: relative;
}
.fmap-phase {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.125rem; font-weight: 800; color: var(--ink);
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 2px solid var(--brand-soft);
}
.fmap-phase .fp-num {
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
    background: var(--brand-vivid); color: #fff;
    font-size: .9375rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.fmap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--brand-faint);
    font-size: .875rem; font-weight: 600; color: var(--text);
    transition: border-color .15s, transform .15s;
}
a.chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.chip.killer {
    background: var(--brand-vivid);
    border-color: var(--brand-vivid);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(108, 87, 201, .3);
}
.chip.killer::before { content: '★'; font-size: .75em; }
.fmap-legend { margin-top: 22px; text-align: center; font-size: .9375rem; color: var(--text-sub); }
.fmap-legend .chip { pointer-events: none; padding: 4px 12px; font-size: .8125rem; }

/* ============================================================
   킬러 기능 쇼케이스 (다크 그라데이션 밴드)
   ============================================================ */
.killer-section {
    background: var(--grad-cta);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.killer-section::before {
    content: '';
    position: absolute; width: 560px; height: 560px; border-radius: 50%;
    background: rgba(154,140,201,.35); filter: blur(100px);
    top: -220px; right: -120px; pointer-events: none;
}
.killer-section .section-label { color: #CBBFF0; }
.killer-section .section-title { color: #fff; }
.killer-section .section-desc { color: rgba(255,255,255,.78); }
.killer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.killer-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex; flex-direction: column;
    transition: transform .25s, background .25s;
}
.killer-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.killer-badge {
    align-self: flex-start;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--brand-deep);
    font-size: .75rem; font-weight: 900; letter-spacing: .08em;
    margin-bottom: 20px;
}
.killer-card h3 { font-size: 1.375rem; font-weight: 800; line-height: 1.35; }
.killer-card > p { margin-top: 12px; font-size: .9765rem; color: rgba(255,255,255,.78); flex: 1; }
.killer-mock {
    margin-top: 24px;
    background: rgba(255,255,255,.96);
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text);
}
.killer-mock .mock-title { font-size: .75rem; font-weight: 700; color: var(--text-sub); letter-spacing: .05em; margin-bottom: 10px; }
.killer-mock .mock-big { font-size: 1.5rem; }
.killer-mock .mock-row { font-size: .8125rem; }
.killer-more { margin-top: 20px; font-weight: 700; font-size: .9375rem; color: #E4DEF7; }
.killer-more::after { content: ' ↓'; }
.killer-card:hover .killer-more { color: #fff; }

/* ============================================================
   스크롤 리빌 애니메이션
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero::before, .hero::after, .hero-badge::before { animation: none; }
    .btn::after { display: none; }
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .fmap, .killer-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step-card:not(:last-child)::after { display: none; }   /* 2열 이하에서는 연결 화살표 숨김 */
    .feature-row, .svc-detail-grid { gap: 48px; }
}

@media (max-width: 820px) {
    section { padding: 80px 0; }
    .header-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 22px;
        gap: 4px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .header-nav.open { display: flex; }
    .nav-link { padding: 13px 14px; font-size: 1.0625rem; }
    .nav-cta { margin: 10px 0 0; text-align: center; }
    .header-burger { display: block; }

    .feature-row, .svc-detail-grid, .contact-wrap { grid-template-columns: 1fr; }
    .feature-row.reverse .feature-visual, .svc-detail-grid.reverse .svc-detail-visual { order: 0; }
    .feature-row + .feature-row { margin-top: 72px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 32px 24px; }
}

@media (max-width: 560px) {
    .hero { padding: 90px 0 110px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .svc-grid, .steps, .mission-grid, .form-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 60px 28px; }
}
