/* ============================================================
   v2 시안 : 라운드 패널 레이아웃
   - 라이브 style.css 는 수정하지 않는다. body.v2 안에서만 덮어쓴다.
   - 색은 기존 테마 변수(--deep/--light/--paper) 컨셉을 그대로 따른다.
   ============================================================ */

body.v2 {
    --v2-r: 30px;
    --v2-gap: 14px;
    --v2-ink: #10141a;
    --v2-mute: #5f6672;
    --v2-line: rgba(14, 17, 22, .12);

    /* 기본값 = theme-leafy */
    --v2-shell: #e8e6dd;
    --v2-panel: #ffffff;
    --v2-paper: #f7f6f2;
    --v2-deep: #3E5F44;
    --v2-deep-rgb: 62, 95, 68;
    --v2-dark: #1c2a20;
    --v2-accent: #DDD6B9;

    background: var(--v2-shell);
    color: var(--v2-ink);
}

body.v2.theme-pas {
    --v2-shell: #eae8e5;
    --v2-panel: #ffffff;
    --v2-paper: #f7f6f5;
    --v2-deep: #222222;
    --v2-deep-rgb: 34, 34, 34;
    --v2-dark: #1a1a1a;
    --v2-accent: #FA8F2D;
}

body.v2.theme-alfy {
    --v2-shell: #eae5e9;
    --v2-panel: #ffffff;
    --v2-paper: #f7f4f6;
    --v2-deep: #68324C;
    --v2-deep-rgb: 104, 50, 76;
    --v2-dark: #2e1826;
    --v2-accent: #c9a8ba;
}

/* ── 패널 : 모든 큰 덩어리를 둥근 카드로 띄운다 ── */
body.v2 .sub-top,
body.v2 .section,
body.v2 .v2-hero,
body.v2 .v2-menu,
body.v2 .footer {
    margin: var(--v2-gap);
    border-radius: var(--v2-r);
    overflow: hidden;
}

body.v2 .section { padding: 96px 0; }

/* 제품 밴드·CTA 는 자기 색을 그대로 쓴다 */
body.v2 .section:not(.product-band):not(.cta) {
    background: var(--v2-panel);
}

body.v2 .section.bg-gray {
    background: var(--v2-paper) !important;
}

body.v2 .sub-top {
    padding: 150px 0 92px;
}

body.v2 .section.cta {
    background-color: var(--v2-deep);
    padding: 92px 0;
}

/* 푸터도 벤토 패널과 같은 짙은 브랜드 톤으로 맞춘다 (기존 라이브는 남색 #020F3F) */
body.v2 .footer {
    padding: 54px 44px 40px;
    background: var(--v2-dark);
}

body.v2 footer {
    display: block;
    padding-bottom: 0;
}

/* 인접한 두 패널이 같은 색이면 경계가 사라진다 → 밴드는 살짝 안쪽으로 */
body.v2 .section.product-band {
    padding: 88px 0;
}

/* ── 상단 GNB : 알약형 ───────────────────────────── */
body.v2 .header {
    position: fixed;
    background: transparent;
    color: var(--v2-ink);
    border-bottom: 0;
}

body.v2 .header.scrolled {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

body.v2 .header .gnb-pc {
    max-width: 1560px;
    margin: 0 auto;
    padding: 30px 60px;
}

body.v2 .header .logo a {
    font-size: 21px;
    letter-spacing: -.01em;
    color: var(--v2-ink);
    transition: color .3s;
}

body.v2 .header .menu {
    height: auto;
    align-items: center;
    gap: 8px;
}

body.v2 .header .menu > li {
    height: auto;
}

body.v2 .header .menu > li > a {
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--v2-line);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);
    font-size: 14px;
    font-weight: 600;
    color: var(--v2-ink);
    transition: background .3s, color .3s, border-color .3s;
}

body.v2 .header .menu > li > a:hover {
    font-weight: 600;
    background: #fff;
    border-color: rgba(14, 17, 22, .3);
}

body.v2 .header .menu > li:last-child > a {
    background: var(--v2-deep);
    border-color: var(--v2-deep);
    color: #fff;
}

/* 어두운 패널 위를 지날 때 */
body.v2 .header.on-dark .logo a { color: #fff; }

body.v2 .header.on-dark .menu > li > a {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .26);
    color: #fff;
}

body.v2 .header.on-dark .menu > li > a:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .48);
}

body.v2 .header.on-dark .menu > li:last-child > a {
    background: var(--v2-accent);
    border-color: var(--v2-accent);
    color: #16201a;
}

body.v2 .header .menu li.has-sub .submenu {
    top: 100%;
    margin-top: 10px;
    padding: 10px 0;
    border-radius: 16px;
    border: 1px solid var(--v2-line);
    background: #fff;
    box-shadow: 0 18px 40px rgba(10, 14, 20, .12);
}

/* 알약과 서브메뉴 사이 10px 틈에서 hover 가 끊겨 클릭이 안 됐다 → 투명 다리를 놓는다 */
body.v2 .header .menu li.has-sub .submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

body.v2 .gnb-mo .ic_menu,
body.v2 .header.on-dark .gnb-mo .ic_menu { transition: filter .3s; }

/* ── 히어로 : 밝은 패널 ─────────────────────────── */
.v2-hero {
    position: relative;
    padding: 140px 60px 56px;
    min-height: calc(100vh - 28px);
    background: var(--v2-panel);
    display: flex;
    align-items: center;
}

/* 카드 뒤에 깔리는 브랜드 색 얼룩 — 레퍼런스와 다른 우리 색 */
.v2-hero::before {
    content: "";
    position: absolute;
    right: -6%;
    top: 6%;
    width: 58%;
    height: 74%;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--v2-accent) 0%, transparent 72%);
    opacity: 1;
    filter: blur(10px);
    pointer-events: none;
}

.v2-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center;
    gap: 40px;
}

.v2-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--v2-mute);
    margin-bottom: 20px;
}

.v2-h1 {
    font-size: clamp(32px, 3.7vw, 55px);
    line-height: 1.16;
    letter-spacing: -.035em;
    font-weight: 400;
}

.v2-h1 strong { font-weight: 800; }

.v2-lead {
    margin-top: 22px;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--v2-mute);
}

.v2-cta-row {
    margin-top: 32px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    transition: transform .25s, background .25s, color .25s;
}

.v2-btn:hover { transform: translateY(-2px); }

.v2-btn-solid {
    background: var(--v2-deep);
    color: #fff;
}

.v2-btn-ghost {
    border: 1px solid var(--v2-line);
    color: var(--v2-ink);
    background: rgba(255, 255, 255, .6);
}

.v2-btn-ghost:hover { background: #fff; }

.v2-scroll-hint {
    display: grid;
    justify-items: center;
    width: 24px;
    gap: 2px;
    margin-bottom: 26px;
    color: var(--v2-mute);
}

.v2-scroll-hint .material-symbols-outlined { font-size: 20px; }

.v2-scroll-hint .material-symbols-outlined:last-child {
    animation: v2-bob 1.8s ease-in-out infinite;
}

@keyframes v2-bob {
    0%, 100% { transform: translateY(0); opacity: .5; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* ── 날아오는 카드 스택 ─────────────────────────── */
.v2-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / .80;
    transform: translate3d(0, 0, 0);
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.v2-slot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 58%;
    animation: v2-fly 1s cubic-bezier(.18, .78, .24, 1) both;
    animation-delay: calc(var(--i) * .14s);
}

/* 카드는 왼쪽 아래에서 오른쪽 위로 부채처럼 펼쳐진다 (기울기도 카드마다 다르게) */
.v2-slot:nth-child(1) { --x: 0%;   --y: 46%;  --rot: -11deg; z-index: 3; --i: 0; }
.v2-slot:nth-child(2) { --x: 21%;  --y: 23%;  --rot: -4deg;  z-index: 2; --i: 1; }
.v2-slot:nth-child(3) { --x: 42%;  --y: 0%;   --rot: 4deg;   z-index: 1; --i: 2; }

@keyframes v2-fly {
    from {
        opacity: 0;
        transform: translate3d(-110px, 150px, 0) rotate(-14deg) scale(.9);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
}

.v2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    aspect-ratio: 1.586 / 1;
    padding: 22px 26px;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    transform: rotate(var(--rot));
    box-shadow: 0 26px 50px rgba(10, 14, 20, .22);
    transition: transform .55s cubic-bezier(.2, .7, .3, 1), box-shadow .55s;
    isolation: isolate;
}

.v2-stack:hover .v2-slot:nth-child(1) .v2-card { transform: rotate(var(--rot)) translate(-20px, 18px); }
.v2-stack:hover .v2-slot:nth-child(2) .v2-card { transform: rotate(var(--rot)) translate(0, 0); }
.v2-stack:hover .v2-slot:nth-child(3) .v2-card { transform: rotate(var(--rot)) translate(22px, -20px); }

.v2-card:hover { box-shadow: 0 40px 70px rgba(10, 14, 20, .32); }

.v2-card--leafy { background: linear-gradient(145deg, #4d7455 0%, #3E5F44 48%, #2b4530 100%); }
.v2-card--pas   { background: linear-gradient(145deg, #3a3a3a 0%, #222222 52%, #121212 100%); }
.v2-card--alfy  { background: linear-gradient(145deg, #7d4160 0%, #68324C 50%, #4a2337 100%); }

.v2-card-sheen {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 80% at 12% 0%, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 42%);
    z-index: -1;
}

/* 부채꼴에서 뒤 카드의 노출면은 "왼쪽 위" 이므로 로고·이름을 위로 올린다 */
.v2-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-card-mark {
    width: 26px;
    height: 26px;
    flex: none;
    fill: rgba(255, 255, 255, .92);
}

.v2-card-kind {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    opacity: .74;
}

.v2-card-name {
    display: block;
    font-size: clamp(20px, 1.9vw, 27px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
}

/* ── 제품 한 줄 알약 ────────────────────────────── */
.v2-pills {
    margin-top: 22px;
    display: grid;
    gap: 8px;
    justify-items: end;
}

.v2-pills li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 18px 7px 8px;
    border-radius: 999px;
    border: 1px solid var(--v2-line);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 26px rgba(10, 14, 20, .08);
    font-size: 13px;
    color: var(--v2-mute);
}

.v2-pills li:nth-child(2) { margin-right: 44px; }
.v2-pills li:nth-child(3) { margin-right: 14px; }

.v2-pills b {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #fff;
    white-space: nowrap;
}

.v2-pills li:nth-child(1) b { background: #3E5F44; }
.v2-pills li:nth-child(2) b { background: #222222; }
.v2-pills li:nth-child(3) b { background: #68324C; }

.v2-watermark {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: clamp(44px, 5.4vw, 84px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: rgba(var(--v2-deep-rgb), .07);
    pointer-events: none;
    user-select: none;
}

/* ── 벤토 메뉴 : 짙은 브랜드 패널 ──────────────── */
.v2-menu {
    padding: 108px 60px 52px;
    min-height: calc(100vh - 28px);
    background: var(--v2-dark);
    color: #fff;
    display: flex;
    align-items: center;
}

.v2-menu-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.v2-menu-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.v2-menu-head .v2-eyebrow {
    margin-bottom: 10px;
    color: var(--v2-accent);
    opacity: .8;
}

.v2-menu-head h2 {
    font-size: clamp(24px, 2.4vw, 35px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.25;
}

.v2-menu-head p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
    max-width: 380px;
    text-align: right;
}

.v2-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(74px, 10.4vh, 122px);
    gap: 13px;
}

.bento {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #17191d;
    display: block;
    color: #fff;
}

.bento > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.55) brightness(.6);
    transform: scale(1.02);
    transition: transform .7s cubic-bezier(.2, .7, .3, 1), filter .7s;
}

.bento::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--v2-deep-rgb), .18) 0%, rgba(8, 10, 9, .8) 100%);
}

.bento:hover > img {
    transform: scale(1.08);
    filter: grayscale(0) brightness(.7);
}

.bento-body {
    position: absolute;
    left: 24px;
    right: 68px;
    bottom: 20px;
    z-index: 2;
}

.bento-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--v2-accent);
    opacity: .85;
    margin-bottom: 7px;
}

.bento-title {
    display: block;
    font-size: clamp(18px, 1.6vw, 25px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.bento-desc {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
    max-width: 30em;
}

.bento-go {
    position: absolute;
    right: 18px;
    top: 16px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 18px;
    transition: background .3s, color .3s, transform .3s;
}

.bento:hover .bento-go {
    background: var(--v2-accent);
    color: #16201a;
    border-color: var(--v2-accent);
    transform: translate(2px, -2px);
}

/* 벤토 카드 : 유광 타일 */
.bento {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        0 10px 26px rgba(0, 0, 0, .3);
}

.bento::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background-image:
        linear-gradient(128deg,
            rgba(255, 255, 255, .34) 0%,
            rgba(255, 255, 255, .12) 13%,
            rgba(255, 255, 255, 0) 33%),
        linear-gradient(0deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 26%);
    background-size: 260% 100%, auto;
    background-position: 0 0, 0 0;
    mix-blend-mode: screen;
    transition: background-position .85s cubic-bezier(.25, .7, .3, 1);
}

.bento:hover::before { background-position: 100% 0, 0 0; }

.bento:hover > img { filter: grayscale(0) brightness(.76) contrast(1.06) saturate(1.08); }


.bento.b1 { grid-column: 1 / 5;   grid-row: 1 / 3; }
.bento.b2 { grid-column: 5 / 13;  grid-row: 1 / 4; }
.bento.b3 { grid-column: 1 / 5;   grid-row: 3 / 7; }
.bento.b6 { grid-column: 5 / 10;  grid-row: 4 / 5; }
.bento.b7 { grid-column: 10 / 13; grid-row: 4 / 5; }
.bento.b4 { grid-column: 5 / 9;   grid-row: 5 / 7; }
.bento.b5 { grid-column: 9 / 13;  grid-row: 5 / 7; }

.bento.b2 .bento-title,
.bento.b3 .bento-title { font-size: clamp(21px, 2vw, 30px); }

.bento.b2::after { background: linear-gradient(180deg, rgba(var(--v2-deep-rgb), .3) 0%, rgba(8, 10, 9, .84) 100%); }

.bento.b6 .bento-body,
.bento.b7 .bento-body {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.bento.b6 .bento-eyebrow,
.bento.b7 .bento-eyebrow { margin-bottom: 0; }

.bento.b6 .bento-desc,
.bento.b7 .bento-desc { margin-top: 0; }

/* ── 공통 카드 규격 : 배경 없이 굵은 테두리 ──────
   주요기능·AI에이전트뿐 아니라 서비스소개·L-PAS 의 블록에도 같이 걸어
   페이지마다 화면 언어가 달라 보이던 것을 맞춘다. 색은 테두리로만 돌린다. */

body.v2 .swiper-slide:nth-child(6n+1) .module-card,
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):nth-child(6n+1) { --mc-bd: #8fa98a; }

body.v2 .swiper-slide:nth-child(6n+2) .module-card,
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):nth-child(6n+2) { --mc-bd: #c6b283; }

body.v2 .swiper-slide:nth-child(6n+3) .module-card,
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):nth-child(6n+3) { --mc-bd: #97acc1; }

body.v2 .swiper-slide:nth-child(6n+4) .module-card,
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):nth-child(6n+4) { --mc-bd: #bd9dae; }

body.v2 .swiper-slide:nth-child(6n+5) .module-card,
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):nth-child(6n+5) { --mc-bd: #c8a892; }

body.v2 .swiper-slide:nth-child(6n+6) .module-card,
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):nth-child(6n+6) { --mc-bd: #a2aa9e; }

/* 벤토 카드처럼 유리로 채운다 — 반투명 + 좌상단 반사, hover 시 반사가 쓸고 지나간다.
   반사를 배경 레이어로 넣어야 카드 안 글자를 덮지 않는다(가상요소는 본문을 가린다). */
body.v2 :is(.module-card, .service-card, .build-card, .deploy-row) {
    background-color: transparent;
    background-image: none;
    border: 2px solid var(--mc-bd, #b9c0b6);
    border-radius: 18px;
    box-shadow: none;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

body.v2 :is(.module-card, .service-card, .build-card, .deploy-row):hover {
    border: 2px solid var(--v2-deep);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 22, 18, .1);
}

body.v2 :is(.module-card, .service-card, .build-card) .card-ic {
    background: transparent;
    border: 2px solid var(--mc-bd, #b9c0b6);
    color: var(--v2-deep);
    box-shadow: none;
}

/* .sc-ic / .deploy-ic 는 상자가 아니라 글리프였다 → 칩 상자를 만들어 준다 */
body.v2 .sc-ic,
body.v2 .deploy-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 12px;
    border: 2px solid var(--mc-bd, #b9c0b6);
    background: transparent;
    color: var(--v2-deep);
    font-size: 24px;
    margin-bottom: 12px;
}

body.v2 :is(.module-card, .service-card, .build-card):hover .card-ic,
body.v2 .deploy-row:hover .deploy-ic {
    background: var(--v2-deep);
    border-color: var(--v2-deep);
    color: #fff;
}

body.v2 .module-card-title { letter-spacing: -.02em; }

body.v2 .module-card-item ul li::before { background: var(--v2-deep); }

/* ── 하위 페이지 : sub-top 패널 ────────────────── */
body.v2 .sub-top .title-wrap { padding: 20px 0; }

/* ── 푸터 : 라운드 ─────────────────────────────── */
body.v2 .copyright {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

/* ── 반응형 ─────────────────────────────────────── */
@media (max-width: 1180px) {
    .v2-hero { padding: 126px 34px 44px; }

    .v2-hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .v2-stack {
        max-width: 560px;
        margin: 0 auto;
    }

    .v2-pills { justify-items: start; }

    .v2-pills li:nth-child(2),
    .v2-pills li:nth-child(3) { margin-right: 0; }

    .v2-watermark { display: none; }

    .v2-menu {
        padding: 104px 34px 56px;
        min-height: 0;
    }

    .v2-bento { grid-auto-rows: 116px; }

    .v2-menu-head { flex-direction: column; align-items: flex-start; }
    .v2-menu-head p { text-align: left; }

    body.v2 .sub-top { padding: 130px 0 72px; }
}

@media (max-width: 900px) {
    .v2-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 176px;
    }

    .bento.b1, .bento.b2, .bento.b3,
    .bento.b4, .bento.b5, .bento.b6, .bento.b7 {
        grid-column: auto;
        grid-row: auto;
    }

    .bento.b2, .bento.b3 { grid-row: span 2; }

    .bento.b6 .bento-body,
    .bento.b7 .bento-body {
        top: auto;
        bottom: 20px;
        transform: none;
    }
}

@media (max-width: 768px) {
    body.v2 { --v2-gap: 8px; --v2-r: 22px; }

    body.v2 .header .gnb-pc { display: none; }

    body.v2 .section { padding: 64px 0; }
    body.v2 .section.cta { padding: 64px 0; }
    body.v2 .sub-top { padding: 104px 0 56px; }
    body.v2 .footer { padding: 40px 22px 30px; }

    .v2-hero {
        padding: 100px 20px 40px;
        min-height: 0;
        align-items: center;
    }

    .v2-hero::before { display: none; }

    .v2-scroll-hint { display: none; }

    .v2-h1 { font-size: 29px; }

    .v2-menu { padding: 60px 20px 44px; }

    .v2-slot { width: 74%; }
    .v2-slot:nth-child(1) { --x: 0%;  --y: 44%; }
    .v2-slot:nth-child(2) { --x: 13%; --y: 22%; }
    .v2-slot:nth-child(3) { --x: 26%; --y: 0%; }

    .v2-card { padding: 18px 20px; border-radius: 16px; }
    .v2-card-mark { right: 17px; bottom: 16px; width: 26px; height: 26px; }

    .v2-pills li { font-size: 12px; }

    .bento-body { left: 20px; right: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .v2-slot { animation: none; opacity: 1; }
    .v2-stack,
    .v2-card,
    .bento > img { transition: none; }
    .v2-scroll-hint .material-symbols-outlined:last-child { animation: none; }
}

/* 카드 폭 대비 글자가 적어 보이던 것 — 여백을 줄인다 */
body.v2 .module-card { padding: 26px 24px; }
body.v2 .module-card-title { font-size: 19px; }
body.v2 .module-card-desc { font-size: 14px; }
body.v2 .module-card-item ul li { font-size: 13.5px; line-height: 1.75; }

/* 카드 폭이 뷰포트를 따라 늘어나 1920px 에서 420px 까지 벌어졌다 → 슬라이더 폭을 묶는다 */
body.v2 .feature-swiper {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* ── 약관·개인정보 페이지 : 본문도 같은 패널로 ──
   .policy-container 는 .section 이 아니라 패널 규칙에서 빠져 있었다. */
body.v2 .policy-container {
    max-width: none;
    margin: var(--v2-gap);
    padding: 76px 40px 84px;
    border-radius: var(--v2-r);
    overflow: hidden;
    background-color: var(--v2-panel);
}

body.v2 .policy-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
}

body.v2 .policy-content h2 {
    padding-left: 14px;
    border-left: 4px solid var(--v2-deep);
    line-height: 1.35;
}

body.v2 .policy-table th,
body.v2 .policy-table td { border: 1px solid #dcded8; }

body.v2 .policy-table th {
    background: transparent;
    border-bottom: 2px solid var(--v2-deep);
    color: var(--v2-deep);
}

/* 회사소개 로고 상자도 같은 카드 언어로 */
body.v2 .logo-box {
    border: 2px solid #8fa98a;
    border-radius: 18px;
    background: transparent;
}

/* 배경 로고 워터마크 — 바로 위 섹션과 같은 자리·같은 크기라 구분이 안 됐다.
   설치 섹션만 왼쪽으로 옮기고 크게 키운다. */
body.v2 .section.bg-gray.mark-left::before {
    right: auto;
    left: -5%;
    top: 8%;
    width: clamp(360px, 46vw, 680px);
    opacity: .065;
    rotate: -16deg;
}

@media (max-width: 767px) {
    body.v2 .section.bg-gray.mark-left::before {
        left: -14%;
        width: 340px;
        opacity: .05;
    }
}

/* ============================================================
   배경 무늬 — 전 페이지에 같은 D 로고가 29곳 반복돼 단조로웠다.
   면마다 네 가지 모티프(로고 크롭 / 해칭 / 동심원 / 점격자)를 돌려
   같은 무늬가 연달아 나오지 않게 배치한다.
   ============================================================ */

/* currentColor 는 어두운 면에서 어두운 무늬가 되어 안 보인다 → 면에 맞는 색을 준다 */
body.v2 .footer::before,
body.v2 .section.cta::before,
body.v2 .section.product-band::before {
    --wm: rgba(255, 255, 255, .11);
    --wm-dot: rgba(255, 255, 255, .18);
    --wm-line: rgba(255, 255, 255, .14);
}

body.v2 .section.bg-gray::before {
    --wm: rgba(16, 22, 18, .085);
    --wm-dot: rgba(16, 22, 18, .14);
    --wm-line: rgba(16, 22, 18, .11);
}

/* 공통 초기화 — 기본 규칙의 로고 마스크·크기·회전을 전부 되돌린다 */
body.v2 .m-reset::before,
body.v2.p-service .footer::before,
body.v2.p-feature .footer::before,
body.v2.p-cases  .footer::before,
body.v2.p-aiagent .footer::before,
body.v2.p-pas    .footer::before,
body.v2.p-alfy   .footer::before,
body.v2.p-company .footer::before,
body.v2.p-privacy .footer::before,
body.v2.p-terms   .footer::before,
body.v2.p-main    .section.cta::before,
body.v2.p-feature .section.cta::before,
body.v2.p-cases   .section.cta::before,
body.v2.p-pas     .section.cta::before,
body.v2.p-alfy    .section.cta::before,
body.v2.p-company .section.cta::before,
body.v2.p-service .section.bg-gray::before,
body.v2.p-alfy    .section.bg-gray::before,
body.v2.p-alfy    .section.bg-gray ~ .section.bg-gray::before,
body.v2.p-contact .section.bg-gray::before,
body.v2.p-pas     .section.bg-gray:not(.mark-left)::before {
    inset: 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    translate: none;
    rotate: 0deg;
}

/* ── 모티프 A : 대각 해칭 ───────────────────────── */
body.v2.p-service .footer::before,
body.v2.p-privacy .footer::before,
body.v2.p-feature .section.cta::before,
body.v2.p-alfy    .section.cta::before,
body.v2.p-contact .section.bg-gray::before,
body.v2.p-pas     .section.bg-gray:not(.mark-left)::before {
    background: repeating-linear-gradient(58deg, var(--wm-line) 0 1px, transparent 1px 17px);
    -webkit-mask: linear-gradient(102deg, transparent 2%, #000 46%, transparent 96%) no-repeat center / 100% 100%;
            mask: linear-gradient(102deg, transparent 2%, #000 46%, transparent 96%) no-repeat center / 100% 100%;
    opacity: 1;
}

/* 같은 해칭이라도 페이지마다 각도·간격을 바꾼다 */
body.v2.p-alfy .section.cta::before {
    background: repeating-linear-gradient(-52deg, var(--wm-line) 0 1px, transparent 1px 22px);
}
body.v2.p-privacy .footer::before,
body.v2.p-terms .footer::before {
    background: repeating-linear-gradient(74deg, var(--wm-line) 0 1px, transparent 1px 30px);
    opacity: 1;
}

/* ── 모티프 B : 동심원 ──────────────────────────── */
body.v2.p-cases   .footer::before,
body.v2.p-aiagent .footer::before,
body.v2.p-company .footer::before,
body.v2.p-main    .section.cta::before,
body.v2.p-pas     .section.cta::before,
body.v2.p-alfy    .section.bg-gray::before {
    background: repeating-radial-gradient(circle at 86% 22%, var(--wm) 0 1px, transparent 1px 36px);
    -webkit-mask: radial-gradient(76% 78% at 86% 22%, #000 6%, transparent 80%) no-repeat center / 100% 100%;
            mask: radial-gradient(76% 78% at 86% 22%, #000 6%, transparent 80%) no-repeat center / 100% 100%;
    opacity: 1;
}

body.v2.p-company .footer::before {
    background: repeating-radial-gradient(circle at 12% 78%, var(--wm) 0 1px, transparent 1px 26px);
    -webkit-mask: radial-gradient(70% 90% at 12% 78%, #000 4%, transparent 78%) no-repeat center / 100% 100%;
            mask: radial-gradient(70% 90% at 12% 78%, #000 4%, transparent 78%) no-repeat center / 100% 100%;
}

/* ── 모티프 C : 점 격자 ─────────────────────────── */
body.v2.p-feature .footer::before,
body.v2.p-terms   .footer::before,
body.v2.p-pas     .footer::before,
body.v2.p-cases   .section.cta::before,
body.v2.p-company .section.cta::before,
body.v2.p-service .section.bg-gray::before,
body.v2.p-alfy    .section.bg-gray ~ .section.bg-gray::before {
    background: radial-gradient(circle, var(--wm-dot) 1.8px, transparent 1.9px) 0 0 / 22px 22px;
    -webkit-mask: radial-gradient(88% 84% at 90% 14%, #000 0%, transparent 74%) no-repeat center / 100% 100%;
            mask: radial-gradient(88% 84% at 90% 14%, #000 0%, transparent 74%) no-repeat center / 100% 100%;
    opacity: 1;
}

body.v2.p-company .section.cta::before {
    background: radial-gradient(circle, var(--wm-dot) 2.0px, transparent 2.1px) 0 0 / 38px 38px;
    -webkit-mask: radial-gradient(80% 90% at 10% 80%, #000 0%, transparent 76%) no-repeat center / 100% 100%;
            mask: radial-gradient(80% 90% at 10% 80%, #000 0%, transparent 76%) no-repeat center / 100% 100%;
}

/* ── 모티프 D : 로고를 크게 잘라 쓴다 ────────────
   전체 실루엣이 보이지 않을 만큼 키우고 화면 밖으로 밀어
   곡선 한 조각만 남긴다. 남은 로고 자리는 여기뿐이다. */
body.v2.p-main .footer::before {
    width: clamp(420px, 44vw, 720px);
    left: -12%;
    right: auto;
    top: auto;
    bottom: -46%;
    translate: none;
    rotate: 8deg;
    opacity: .05;
}

body.v2.p-contact .footer::before {
    width: clamp(360px, 36vw, 560px);
    left: 34%;
    right: auto;
    top: auto;
    bottom: -60%;
    translate: none;
    rotate: 26deg;
    opacity: .045;
}

body.v2.p-service .section.cta::before {
    width: clamp(400px, 42vw, 640px);
    right: -13%;
    top: auto;
    bottom: -44%;
    translate: none;
    rotate: 12deg;
    opacity: .075;
}

body.v2.p-aiagent .section.cta::before {
    width: clamp(400px, 44vw, 680px);
    left: -15%;
    right: auto;
    top: -40%;
    translate: none;
    rotate: -160deg;
    opacity: .07;
}

@media (max-width: 767px) {
    body.v2 .footer::before,
    body.v2 .section.cta::before,
    body.v2 .section.bg-gray::before { opacity: .05; }
}

/* alfy 푸터 : 이 페이지에만 로고 조각을 남긴다 (다른 세 면은 동심원·점격자·해칭) */
body.v2.p-alfy .footer::before {
    inset: auto;
    width: clamp(360px, 38vw, 600px);
    height: auto;
    aspect-ratio: 1;
    left: auto;
    right: -16%;
    top: auto;
    bottom: -54%;
    translate: none;
    rotate: -18deg;
    background: var(--wm);
    -webkit-mask: var(--lds-mark) no-repeat center / contain;
            mask: var(--lds-mark) no-repeat center / contain;
    opacity: .05;
}

/* aiagent 푸터 동심원은 cases 와 중심이 같았다 → 반대편 작은 원으로 */
body.v2.p-aiagent .footer::before {
    background: repeating-radial-gradient(circle at 14% 84%, var(--wm) 0 1px, transparent 1px 22px);
    -webkit-mask: radial-gradient(64% 96% at 14% 84%, #000 4%, transparent 76%) no-repeat center / 100% 100%;
            mask: radial-gradient(64% 96% at 14% 84%, #000 4%, transparent 76%) no-repeat center / 100% 100%;
    opacity: 1;
}

@media (min-width: 769px) {
    body.v2 .cta-btn-line {
        height: 56px;
        padding: 0 34px;
        font-size: 17px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body.v2 .cta-btn-line {
        height: 56px;
        padding: 0;
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
