/* ============================================================
   OwnerFlow Scroll Story — 독립 시안 페이지 전용 스타일시트
   Scope: templates/ownerflow_scroll_story.html 에서만 로드.
   main_layout / 기존 메인 CSS와 완전히 분리, 전역 선택자 없음.
   ============================================================ */

:root {
    --owf-brand: #463eea;
    --owf-brand-dark: #342db8;
    --owf-brand-soft: #efeeff;
    --owf-background: #ffffff;
    --owf-section: #f5f5f7;
    --owf-text: #111114;
    --owf-muted: #6f7078;
    --owf-border: #e5e5ea;
    --owf-radius: 24px;
    --owf-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --owf-container: 1240px;
}

* {
    box-sizing: border-box;
}

/* 기존 static/css/styles.css가 :root { scroll-behavior: smooth } 를 전역으로
   걸어둠 — Lenis는 휠 이벤트를 가로채 매 프레임 scrollTop을 직접 갱신하는데,
   여기에 브라우저 네이티브 smooth-behavior까지 겹치면 각 프레임 이동이 또
   한번 스무딩되어 버벅이고 느려진다(이중 스무딩). 이 페이지는 Lenis가
   스무스 스크롤을 전담하므로 네이티브 smooth는 꺼둔다.
   styles.css 자체는 다른 페이지에 영향을 주므로 건드리지 않고 이 페이지
   전용 스타일시트에서만 되돌린다. */
html {
    scroll-behavior: auto !important;
}

html.owf-lenis,
html.owf-lenis body {
    height: auto;
}

/* 가로 넘침 방지는 body에만 건다 — body/html은 root scroller 특례라
   overflow를 걸어도 하위 position:sticky를 깨지 않는다.
   .owf-scroll-story(중첩 div) 자체엔 overflow-x/overflow-y 둘 다 절대 걸지 않는다:
   스펙상 "한쪽 축만 visible이 아니면 반대 축은 자동으로 auto가 됨" 규칙 때문에
   overflow-x:hidden; overflow-y:visible; 처럼 한쪽만 열어놔도 실제로는
   overflow-y:auto로 계산되어 이 div가 스크롤 컨테이너가 되고, 그 안의
   position:sticky가 뷰포트가 아니라 이 div 기준으로 붙으려다 사실상
   안 붙는 것처럼 보인다(Sticky Showcase 버그 원인, overflow-y:visible로
   "고쳤다"고 생각했던 이전 시도가 실제로는 안 먹힌 이유). */
body:has(.owf-scroll-story) {
    overflow-x: hidden;
}

.owf-scroll-story {
    background: var(--owf-background);
    color: var(--owf-text);
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.owf2-container {
    max-width: var(--owf-container);
    margin: 0 auto;
    padding: 0 28px;
}

.owf2-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--owf-brand);
    margin-bottom: 18px;
}

.owf2-title-lg {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    word-break: keep-all;
    margin: 0 0 20px;
}

.owf2-body {
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.75;
    color: var(--owf-muted);
    word-break: keep-all;
    margin: 0;
}

a {
    color: inherit;
}

.owf2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    transition:
        background 0.3s var(--owf-ease),
        color 0.3s var(--owf-ease),
        transform 0.3s var(--owf-ease),
        border-color 0.3s var(--owf-ease);
}
.owf2-btn::before {
    content: "";
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--owf-ease);
}
.owf2-btn:hover::before {
    width: 18px;
    margin-right: -6px;
}
.owf2-btn--primary {
    background: var(--owf-brand);
    color: #fff;
}
.owf2-btn--primary:hover {
    background: var(--owf-brand-dark);
    color: #fff;
    transform: translateY(-2px);
}
.owf2-btn--outline {
    background: transparent;
    color: var(--owf-text);
    border-color: var(--owf-border);
}
.owf2-btn--outline:hover {
    border-color: var(--owf-text);
    color: var(--owf-text);
    transform: translateY(-2px);
}
.owf2-btn:focus-visible {
    outline: 3px solid var(--owf-brand-soft);
    outline-offset: 2px;
}

/* ---- Reveal ----
   will-change는 등장 직전(:not(.owf2-visible))에만 걸어두고, 등장 후엔 해제한다.
   페이지 전체에 owf2-reveal이 수십 개 있어 계속 걸어두면 컴포지터 레이어가
   과도하게 쌓여 스크롤 중 버벅임의 원인이 될 수 있음. */
.owf2-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s var(--owf-ease),
        transform 0.9s var(--owf-ease);
}
.owf2-reveal:not(.owf2-visible) {
    will-change: opacity, transform;
}
.owf2-reveal.owf2-visible {
    opacity: 1;
    transform: translateY(0);
}
.owf2-reveal--scale {
    transform: translateY(40px) scale(0.97);
}
.owf2-reveal--scale.owf2-visible {
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .owf2-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   HEADER
   ============================================================ */
.owf2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 88px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px solid transparent;
    transition:
        height 0.35s var(--owf-ease),
        background 0.35s var(--owf-ease),
        border-color 0.35s var(--owf-ease),
        box-shadow 0.35s var(--owf-ease);
}
.owf2-header.is-scrolled {
    height: 68px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom-color: var(--owf-border);
    box-shadow: 0 8px 24px rgba(17, 17, 20, 0.04);
}
.owf2-header__inner {
    width: 100%;
    max-width: var(--owf-container);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.owf2-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--owf-text);
}
.owf2-logo span {
    color: var(--owf-brand);
}
.owf2-nav {
    display: none;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.owf2-nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--owf-text);
    position: relative;
}
.owf2-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--owf-brand);
    transition: right 0.3s var(--owf-ease);
}
.owf2-nav a:hover::after {
    right: 0;
}
.owf2-header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.owf2-header .owf2-btn {
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
}
.owf2-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--owf-border);
    background: #fff;
    cursor: pointer;
}
.owf2-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--owf-text);
    margin: 0 auto;
    transition:
        transform 0.3s var(--owf-ease),
        opacity 0.3s var(--owf-ease);
}
.owf2-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.owf2-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.owf2-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.owf2-drawer {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 110px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--owf-ease);
}
.owf2-drawer.is-open {
    transform: translateX(0);
}
.owf2-drawer nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.owf2-drawer a {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    color: var(--owf-text);
    padding: 14px 0;
    border-bottom: 1px solid var(--owf-border);
    min-height: 44px;
}
.owf2-drawer .owf2-btn {
    margin-top: 28px;
    align-self: flex-start;
}

@media (min-width: 992px) {
    .owf2-nav {
        display: flex;
    }
    .owf2-menu-btn {
        display: none;
    }
    .owf2-drawer {
        display: none;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.owf2-hero {
    position: relative;
    min-height: clamp(640px, 96svh, 980px);
    display: flex;
    align-items: center;
    padding: 120px 0 64px;
    background: linear-gradient(180deg, #fbfbff 0%, #ffffff 60%);
}
.owf2-hero .owf2-container {
    max-width: none;
    width: 100%;
    padding-left: clamp(20px, 5vw, 84px);
    padding-right: clamp(20px, 5vw, 84px);
}
.owf2-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}
.owf2-hero__copy {
    max-width: 840px;
}
.owf2-hero__lead {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--owf-text);
    word-break: keep-all;
}
.owf2-hero__title {
    font-size: clamp(40px, 5vw, 50px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
    word-break: keep-all;
}
.owf2-hero__title strong {
    color: var(--owf-brand);
}
.owf2-hero__desc {
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: var(--owf-muted);
    max-width: 760px;
    margin: 0 0 12px;
    word-break: keep-all;
}
.owf2-hero__desc--sub {
    font-size: clamp(16px, 1.2vw, 19px);
    font-weight: 450;
    margin-bottom: 34px;
}
.owf2-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.owf2-hero__scene {
    position: relative;
    aspect-ratio: 6 / 5;
    width: 100%;
}
.owf2-hero-code-cloud {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.owf2-hero-code-icon {
    position: absolute;
    width: clamp(80px, 11vw, 150px);
    opacity: 0.82;
    filter: drop-shadow(0 14px 18px rgba(26, 22, 92, 0.16));
    transform-style: preserve-3d;
}
.owf2-hero-code-icon svg {
    width: 100%;
    height: auto;
    display: block;
}
.owf2-hero-code-icon--lt {
    top: 8%;
    left: -1%;
    transform: rotate(-13deg) translateZ(0);
}
.owf2-hero-code-icon--lb {
    bottom: 4%;
    left: -3%;
    transform: rotate(8deg) translateZ(0);
}
.owf2-hero-code-icon--rt {
    top: 5%;
    right: -3%;
    transform: rotate(10deg) translateZ(0);
}
.owf2-hero-code-icon--rb {
    bottom: 8%;
    right: -2%;
    transform: rotate(-9deg) translateZ(0);
}
.owf2-scene-desktop {
    position: relative;
    width: 100%;
    margin-left: auto;
    aspect-ratio: 16 / 11;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--owf-border);
    box-shadow:
        0 34px 84px rgba(17, 17, 20, 0.16),
        0 10px 26px rgba(70, 62, 234, 0.12);
    overflow: hidden;
    z-index: 2;
    animation: owf2-scene-float 5.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes owf2-scene-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .owf2-scene-desktop {
        animation: none;
    }
}
.owf2-badge-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--owf-border);
    border-radius: 14px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--owf-text);
    box-shadow: 0 12px 24px rgba(17, 17, 20, 0.08);
    z-index: 3;
}
.owf2-badge-chip--top {
    top: 4%;
    left: 2%;
    color: var(--owf-brand);
}
.owf2-badge-chip--bottom {
    bottom: 6%;
    right: 5%;
    color: var(--owf-brand);
}

.owf2-hero__barrier {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--owf-muted);
}
.owf2-final-cta__barrier {
    margin: 20px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--owf-muted);
}

@media (min-width: 992px) {
    .owf2-hero__grid {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        gap: clamp(28px, 4.5vw, 88px);
    }
}

@media (max-width: 991px) {
    .owf2-hero-code-icon {
        width: clamp(72px, 20vw, 120px);
        opacity: 0.45;
    }
    .owf2-hero-code-icon--lt {
        top: -3%;
        left: -6%;
    }
    .owf2-hero-code-icon--lb {
        bottom: -6%;
        left: -8%;
    }
    .owf2-hero-code-icon--rt {
        top: -4%;
        right: -7%;
    }
    .owf2-hero-code-icon--rb {
        bottom: -2%;
        right: -7%;
    }
}

/* ============================================================
   BROWSER FRAME (공용 placeholder 컴포넌트)
   ============================================================ */
.owf2-frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.owf2-frame__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--owf-border);
    flex-shrink: 0;
}
.owf2-frame__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--owf-border);
}
.owf2-frame__body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(160deg, #fcfcff, #ffffff);
    overflow: hidden;
}

/* 상품 카드 placeholder */
.owf2-product-card {
    border: 1px solid var(--owf-border);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
}
.owf2-product-thumb {
    aspect-ratio: 1;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--owf-brand-soft), #ffffff);
    position: relative;
    overflow: hidden;
}
.owf2-product-thumb::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 2px solid rgba(70, 62, 234, 0.18);
    border-radius: 8px;
}
.owf2-product-line {
    height: 8px;
    border-radius: 6px;
    background: var(--owf-border);
}
.owf2-product-line--sm {
    width: 55%;
}
.owf2-product-price {
    height: 10px;
    width: 40%;
    border-radius: 6px;
    background: var(--owf-brand);
    opacity: 0.85;
}

.owf2-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.owf2-price-tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--owf-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
}

.owf2-option-row {
    display: flex;
    gap: 8px;
}
.owf2-option-chip {
    flex: 1;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--owf-border);
    background: #fff;
}
.owf2-option-chip--active {
    border-color: var(--owf-brand);
    background: var(--owf-brand-soft);
}
.owf2-buy-btn {
    height: 40px;
    border-radius: 10px;
    background: var(--owf-brand);
}

.owf2-cart-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--owf-border);
    border-radius: 12px;
    padding: 10px;
}
.owf2-cart-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--owf-brand-soft);
    flex-shrink: 0;
}
.owf2-cart-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.owf2-mobile-bottom-bar {
    margin-top: auto;
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--owf-border);
}
.owf2-mobile-bottom-bar .owf2-buy-btn {
    flex: 1;
}

.owf2-code-panel {
    background: #071126;
    border-radius: 12px;
    padding: 14px;
    color: #d5e7ff;
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 12px;
    line-height: 1.9;
}
.owf2-code-panel .kw {
    color: #86b6ff;
}
.owf2-code-panel .fn {
    color: #63e6be;
}

.owf2-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--owf-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--owf-border);
}
.owf2-status-row:last-child {
    border-bottom: none;
}
.owf2-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.owf2-status-dot--pending {
    background: #f59e0b;
}

/* placeholder 이미지 슬롯: 실제 파일이 static/images/ownerflow-scroll-story/ 에 들어오면
   img.owf2-real가 자동으로 위를 덮고, onerror 시 아래 CSS 씬이 보임 */
.owf2-visual {
    position: relative;
    width: 100%;
    height: 100%;
}
.owf2-visual img.owf2-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4%;
    z-index: 2;
    background: #fff;
    filter: drop-shadow(0 12px 22px rgba(70, 62, 234, 0.14));
}
.owf2-visual .owf2-frame {
    position: relative;
    z-index: 1;
}

/* ============================================================
   BRAND STATEMENT
   ============================================================ */
.owf2-statement {
    padding: 140px 0;
    background: var(--owf-section);
    text-align: center;
}
.owf2-partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 44px;
}
.owf2-partner-badge__logo {
    height: clamp(18px, 1.8vw, 23px);
    width: auto;
    display: block;
}
.owf2-partner-badge__logo--ownerflow {
    height: clamp(26px, 5.2vw, 50px);
}
.owf2-partner-badge__x {
    font-size: 26px;
    font-weight: 300;
    color: var(--owf-muted);
    margin-left: -6px;
}

.owf2-statement__text {
    font-size: clamp(26px, 3.4vw, 34px);
    line-height: 1.4;
    font-weight: 800;
    max-width: 760px;
    margin: 0 auto;
    word-break: keep-all;
}

/* ============================================================
   TARGET — 고객 유형 카드 그리드
   ============================================================ */
.owf2-problems {
    background: #fff;
    padding: 140px 0;
}
.owf2-target__head {
    max-width: 620px;
    margin: 0 0 56px;
}
.owf2-target__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 480px) {
    .owf2-target__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.owf2-target__card {
    position: relative;
    padding: 28px 24px 26px;
    border: 1px solid var(--owf-border);
    border-radius: 18px;
    background: var(--owf-section);
    transition:
        border-color 0.3s var(--owf-ease),
        background 0.3s var(--owf-ease),
        transform 0.3s var(--owf-ease);
}
.owf2-target__card:hover {
    background: #fff;
    border-color: var(--owf-brand);
    transform: translateY(-3px);
}
.owf2-target__head-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.owf2-target__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: block;
}
.owf2-target__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--owf-text);
}
.owf2-target__num {
    position: absolute;
    top: 26px;
    right: 24px;
    font-size: 13px;
    font-weight: 800;
    color: var(--owf-muted);
    opacity: 0.5;
}
.owf2-target__text {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.5;
    font-weight: 700;
    color: var(--owf-text);
    word-break: keep-all;
    margin: 0;
}
.owf2-target__note {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--owf-brand);
    background: var(--owf-brand-soft);
    padding: 3px 8px;
    border-radius: 999px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .owf2-target__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (min-width: 992px) {
    .owf2-target__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

/* ============================================================
   SERVICE JOURNEY — 좌우 교차
   ============================================================ */
.owf2-journey {
    padding: 160px 0;
    background: var(--owf-section);
}
.owf2-journey__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 100px;
}
.owf2-journey__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    padding: 72px 0;
}
.owf2-journey__item:first-child {
    padding-top: 0;
}
.owf2-journey__visual {
    aspect-ratio: 5 / 4;
    border-radius: var(--owf-radius);
    overflow: hidden;
    border: 1px solid var(--owf-border);
    background: #fff;
    transition: transform 0.6s var(--owf-ease);
}
.owf2-journey__item:hover .owf2-journey__visual {
    transform: scale(1.015);
}
.owf2-journey__step {
    font-size: 13px;
    font-weight: 800;
    color: var(--owf-brand);
    margin-bottom: 14px;
    display: block;
}
.owf2-journey__title {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    margin: 0 0 14px;
    word-break: keep-all;
}
.owf2-journey__desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--owf-muted);
    word-break: keep-all;
}

@media (min-width: 992px) {
    .owf2-journey__item {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    .owf2-journey__item--reverse .owf2-journey__visual {
        order: 2;
    }
    .owf2-journey__item--reverse .owf2-journey__text {
        order: 1;
    }
}

/* 01 · 구매 예상가 세팅 */
.owf2-estimate {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.owf2-estimate__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.owf2-estimate__label {
    font-size: 13px;
    font-weight: 800;
    color: var(--owf-muted);
}
.owf2-estimate__badge {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--owf-brand);
    background: var(--owf-brand-soft);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.owf2-estimate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--owf-muted);
    padding: 7px 0;
    border-bottom: 1px dashed var(--owf-border);
}
.owf2-estimate-row span:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
}
.owf2-estimate-row--active {
    color: var(--owf-text);
    font-weight: 600;
}
.owf2-estimate-row--discount {
    color: #d64545;
    font-weight: 600;
}
.owf2-estimate-row--discount .owf2-status-dot--pending {
    background: #d64545;
}
.owf2-estimate__total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: var(--owf-brand);
    padding-top: 14px;
}

/* 02 · 코드 변환기 */
.owf2-convert {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    height: 100%;
}
.owf2-convert__side {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.owf2-convert__tag {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--owf-muted);
    background: var(--owf-section);
    padding: 3px 8px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 2px;
}
.owf2-convert__tag--active {
    color: var(--owf-brand);
    background: var(--owf-brand-soft);
}
.owf2-convert__arrow {
    font-size: 20px;
    color: var(--owf-brand);
    font-weight: 700;
    justify-self: center;
}
.owf2-convert__static {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px dashed var(--owf-border);
}
.owf2-convert__static .owf2-product-thumb {
    width: 100%;
}
.owf2-convert__static span {
    font-size: 11px;
    color: var(--owf-muted);
    font-weight: 600;
}
.owf2-convert__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--owf-text);
    background: var(--owf-brand-soft);
    padding: 8px 10px;
    border-radius: 10px;
}
.owf2-convert__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--owf-brand);
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
}

/* 03 · 추천상품 세팅 */
.owf2-product-card--bundle {
    border-color: var(--owf-brand);
}
.owf2-product-card--bundle .owf2-price-tag {
    background: var(--owf-brand);
}
.owf2-product-card--sm {
    flex-shrink: 0;
    width: 84px;
    padding: 8px;
}
.owf2-recommend-old {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.owf2-recommend-old__row {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.75;
}
.owf2-recommend-old__row .owf2-cart-thumb {
    width: 28px;
    height: 28px;
}
.owf2-recommend-old__warn {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #d64545;
}
.owf2-recommend-swipe__track {
    display: flex;
    gap: 8px;
    overflow: hidden;
}
.owf2-recommend-swipe__peek {
    opacity: 0.4;
}
.owf2-recommend-swipe__dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}
.owf2-recommend-swipe__dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--owf-border);
}
.owf2-recommend-swipe__dots span.is-active {
    background: var(--owf-brand);
    width: 14px;
    border-radius: 999px;
}
.owf2-recommend-modal {
    margin-top: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--owf-muted);
    text-align: center;
    background: var(--owf-brand-soft);
    padding: 8px 10px;
    border-radius: 10px;
}
.owf2-recommend-modal strong {
    color: var(--owf-brand);
}

/* 04 · 카페24 운영 전반 */
.owf2-ops {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.owf2-ops__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.owf2-ops__chip {
    font-size: 12px;
    font-weight: 700;
    color: var(--owf-text);
    background: var(--owf-section);
    border: 1px solid var(--owf-border);
    padding: 7px 12px;
    border-radius: 999px;
}
.owf2-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid var(--owf-border);
}
.owf2-metric-row {
    display: grid;
    grid-template-columns: 68px 1fr 48px;
    align-items: center;
    gap: 10px;
}
.owf2-metric-row__label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--owf-muted);
}
.owf2-metric-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--owf-section);
    overflow: hidden;
}
.owf2-metric-bar__fill {
    height: 100%;
    width: 100%;
    border-radius: 999px;
    transform-origin: left;
    background: linear-gradient(90deg, var(--owf-brand), var(--owf-brand-dark));
    animation: owf2-metric-grow 1.1s var(--owf-ease) both;
}
@keyframes owf2-metric-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(var(--w)); }
}
.owf2-metric-row__value {
    font-size: 12px;
    font-weight: 800;
    color: var(--owf-brand);
    text-align: right;
}
@media (prefers-reduced-motion: reduce) {
    .owf2-metric-bar__fill {
        animation: none;
        transform: scaleX(var(--w));
    }
}

/* 더보기 클로징 */
.owf2-journey__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    font-size: 15px;
    font-weight: 600;
    color: var(--owf-muted);
    text-align: center;
    word-break: keep-all;
}
.owf2-journey__more-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--owf-brand);
    flex-shrink: 0;
}

/* ============================================================
   STICKY MAINTENANCE SHOWCASE
   ============================================================ */
.owf2-sticky-wrap {
    padding: 160px 0;
    background: #fff;
}
.owf2-sticky-wrap__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 96px;
}
.owf2-sticky-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.owf2-sticky-media {
    aspect-ratio: 4 / 3;
    border-radius: var(--owf-radius);
    overflow: hidden;
    border: 1px solid var(--owf-border);
    position: relative;
    background: #fff;
}
.owf2-sticky-media__frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--owf-ease);
}
.owf2-sticky-media__frame.is-active {
    opacity: 1;
    z-index: 2;
}

/* 모바일 좁은 너비에서 4:3 비율이면 높이가 너무 낮아져(예: 375px 너비 → 약 240px)
   견적서(9줄)·피드백 스레드(줄바꿈 포함 5줄) 같이 내용이 많은 프레임이
   .owf2-frame__body의 overflow:hidden에 잘려 보이던 문제. 세로로 더 긴 비율로
   전환해 내용이 들어갈 여유를 준다. */
@media (max-width: 767px) {
    .owf2-sticky-media {
        aspect-ratio: 3 / 4;
    }
    .owf2-frame__body {
        padding: 14px;
        gap: 10px;
    }
}

/* STEP 01 — 카카오톡/전화 문의 목업 */
.owf2-phone {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #b2c7da;
}
.owf2-phone__bar {
    flex-shrink: 0;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #fae100;
}
.owf2-phone__bar span {
    width: 60px;
    height: 8px;
    border-radius: 4px;
    background: rgba(17, 17, 20, 0.25);
}
.owf2-phone__body {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: flex-end;
}
.owf2-chat-date {
    align-self: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(17, 17, 20, 0.5);
    background: rgba(255, 255, 255, 0.6);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.owf2-chat {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    word-break: keep-all;
}
.owf2-chat--in {
    align-self: flex-start;
    background: #fff;
    border-bottom-left-radius: 4px;
    color: var(--owf-text);
}
.owf2-chat--out {
    align-self: flex-end;
    background: var(--owf-brand);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.owf2-chat-meta {
    font-size: 10.5px;
    color: rgba(17, 17, 20, 0.45);
    margin-top: -3px;
    margin-bottom: 4px;
}
.owf2-chat-meta--in {
    align-self: flex-start;
}
.owf2-chat-meta--out {
    align-self: flex-end;
}
.owf2-chat-typing {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    padding: 11px 14px;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}
.owf2-chat-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(17, 17, 20, 0.35);
    animation: owf2-typing-dot 1.2s ease-in-out infinite;
}
.owf2-chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}
.owf2-chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes owf2-typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .owf2-chat-typing span {
        animation: none;
    }
}

/* STEP 02 — 견적서 · 작업동의서 */
.owf2-invoice__title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}
.owf2-invoice-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--owf-muted);
    padding: 8px 0;
    border-bottom: 1px dashed var(--owf-border);
}
.owf2-invoice__title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.owf2-invoice__badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #b9770e;
    background: #fff3d6;
    padding: 2px 8px;
    border-radius: 999px;
    animation: owf2-blink 1.4s steps(1) infinite;
}
.owf2-invoice__total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 800;
    color: var(--owf-brand);
    padding-top: 12px;
}
.owf2-invoice__sign {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--owf-muted);
    margin-top: 10px;
}
.owf2-invoice-row--d1, .owf2-invoice-row--d2, .owf2-invoice-row--d3,
.owf2-invoice-row--d4, .owf2-invoice-row--d5, .owf2-invoice-row--d6 {
    opacity: 0;
    animation: owf2-row-in 0.5s var(--owf-ease) forwards;
}
.owf2-invoice-row--d1 { animation-delay: 0.1s; }
.owf2-invoice-row--d2 { animation-delay: 0.35s; }
.owf2-invoice-row--d3 { animation-delay: 0.6s; }
.owf2-invoice-row--d4 { animation-delay: 0.85s; }
.owf2-invoice-row--d5 { animation-delay: 1.1s; }
.owf2-invoice-row--d6 { animation-delay: 1.35s; }
@keyframes owf2-row-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* STEP 03 — 결제 및 계정정보 전달 */
.owf2-payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--owf-border);
    margin-bottom: 14px;
}
.owf2-payment__check {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--owf-brand-soft);
    color: var(--owf-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    animation: owf2-pop 0.5s var(--owf-ease) both;
}
.owf2-payment__label {
    font-size: 14px;
    font-weight: 800;
}
.owf2-payment__sub {
    font-size: 12px;
    color: var(--owf-muted);
}
.owf2-payment-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
@keyframes owf2-pop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); }
}

/* STEP 04 — 진행 바 */
.owf2-dev-progress {
    height: 6px;
    border-radius: 999px;
    background: var(--owf-border);
    overflow: hidden;
    margin-top: 10px;
}
.owf2-dev-progress__bar {
    height: 100%;
    width: 62%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--owf-brand), var(--owf-brand-dark));
    animation: owf2-progress-grow 2.2s var(--owf-ease) infinite alternate;
}
@keyframes owf2-progress-grow {
    from { width: 38%; }
    to { width: 68%; }
}

/* STEP 05 — 피드백 스레드 */
.owf2-feedback-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.owf2-feedback-thread__row {
    font-size: 12.5px;
    color: var(--owf-text);
    line-height: 1.6;
    opacity: 0;
    animation: owf2-row-in 0.5s var(--owf-ease) forwards;
}
.owf2-feedback-thread__row--d1 { animation-delay: 0.1s; }
.owf2-feedback-thread__row--d2 { animation-delay: 0.4s; }
.owf2-feedback-thread__row--d3 { animation-delay: 0.7s; }
.owf2-feedback-thread__row--d4 { animation-delay: 1s; }
.owf2-feedback-thread__row--d5 { animation-delay: 1.3s; }
.owf2-feedback-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    margin-right: 6px;
}
.owf2-feedback-tag--ask {
    background: var(--owf-brand-soft);
    color: var(--owf-brand);
}
.owf2-feedback-tag--fix {
    background: #fff3d6;
    color: #b9770e;
}
.owf2-feedback-tag--ok {
    background: #e3f9ec;
    color: #1a9a5c;
}

/* STEP 06 — 최종 반영 완료 */
.owf2-launch__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #1a9a5c;
    background: #e3f9ec;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.owf2-launch__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a9a5c;
    animation: owf2-pulse-dot 1.3s ease-in-out infinite;
}
@keyframes owf2-pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}
.owf2-launch .owf2-product-grid {
    margin-bottom: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .owf2-invoice-row--d1, .owf2-invoice-row--d2, .owf2-invoice-row--d3,
    .owf2-invoice-row--d4, .owf2-invoice-row--d5, .owf2-invoice-row--d6,
    .owf2-feedback-thread__row--d1, .owf2-feedback-thread__row--d2,
    .owf2-feedback-thread__row--d3, .owf2-feedback-thread__row--d4,
    .owf2-feedback-thread__row--d5,
    .owf2-payment__check {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .owf2-dev-progress__bar,
    .owf2-launch__pulse,
    .owf2-invoice__badge {
        animation: none;
    }
}

.owf2-sticky-steps {
    display: flex;
    flex-direction: column;
}
.owf2-sticky-step {
    padding: 56px 0;
    border-top: 1px solid var(--owf-border);
    opacity: 0.4;
    transition: opacity 0.5s var(--owf-ease);
}
.owf2-sticky-step:first-child {
    border-top: none;
    padding-top: 0;
}
.owf2-sticky-step.is-active {
    opacity: 1;
}

/* 992px 이상: 각 단계에 스크롤 거리를 조금 더 부여해 빠른 스크롤에도
   단계를 덜 건너뛰게 하되, 텍스트를 박스 가운데로 밀어 넣지 않고
   위쪽에 자연스럽게 붙여 여백이 붕 떠 보이지 않도록 함 */
@media (min-width: 992px) {
    .owf2-sticky-step {
        min-height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 64px;
    }
    .owf2-sticky-step:first-child {
        padding-top: 0;
    }
}
.owf2-sticky-step__num {
    font-size: 15px;
    font-weight: 800;
    color: var(--owf-brand);
    margin-bottom: 12px;
    display: block;
}
.owf2-sticky-step__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    word-break: keep-all;
}
.owf2-sticky-step__desc {
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 500;
    line-height: 1.75;
    color: var(--owf-muted);
    word-break: keep-all;
    margin: 0;
}
.owf2-sticky-step.is-active .owf2-sticky-step__title {
    color: var(--owf-brand);
}

/* 진행 표시: 이제 sticky 미디어와 같은 컬럼에 위치 → 5단계가 끝날 때까지
   화면에 고정된 채 함께 내려오며, 각 단계 진입마다 채워짐 */
.owf2-progress {
    display: flex;
    gap: 6px;
    margin-top: 20px;
}
.owf2-progress__bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: var(--owf-border);
    overflow: hidden;
}
.owf2-progress__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--owf-brand);
    transition: width 0.4s var(--owf-ease);
}
.owf2-progress__bar.is-active span {
    width: 100%;
}
.owf2-progress__bar.is-done span {
    width: 100%;
}

@media (min-width: 992px) {
    .owf2-sticky-grid {
        grid-template-columns: 1fr 1fr;
        gap: 96px;
    }
    .owf2-sticky-media-col {
        position: sticky;
        top: 120px;
        align-self: start;
        height: fit-content;
    }
}

/* ============================================================
   TRUST — 실제 작업 업체(portfolio-grid 일부) + 후기 정적 그리드
   ============================================================ */
.owf2-trust {
    padding: 120px 0;
    background: #fff;
}
.owf2-trust__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}
.owf2-trust__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.owf2-trust__logo {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--owf-border);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: block;
}
.owf2-trust__logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 17, 20, 0) 40%,
        rgba(17, 17, 20, 0.72) 100%
    );
    transition: background 0.3s var(--owf-ease);
}
.owf2-trust__logo:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(17, 17, 20, 0.05) 30%,
        rgba(17, 17, 20, 0.82) 100%
    );
}
.owf2-trust__logo-name {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
/* 원래 작은 텍스트 링크였는데 눈에 잘 안 띈다는 피드백으로 owf2-btn(outline)
   외형을 그대로 가져다 씀 — 로고 그리드 바로 아래라 눈에 띄어야 함.
   owf2-btn은 inline-flex라 그냥 두면 부모 정렬을 안 따라가서, 자체를
   block+auto margin으로 가운데 정렬. */
.owf2-trust__more {
    display: flex;
    width: fit-content;
    margin: 0 auto 72px;
}
.owf2-trust__more span {
    transition: transform 0.3s var(--owf-ease);
    display: inline-block;
}
.owf2-trust__more:hover span {
    transform: translateX(4px);
}

/* ============================================================
   고객 만족도 — 리뷰 자동 슬라이드/정적 그리드 대신 수치로 신뢰도를 먼저 보여주고,
   실제 후기는 버튼으로 열리는 라이트박스에 몰아둠(스크롤 길이 절약).
   ============================================================ */
.owf2-satisfaction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 24px;
}
.owf2-satisfaction__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    width: 100%;
    max-width: 760px;
}
.owf2-stat {
    text-align: center;
}
.owf2-stat__num {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    color: var(--owf-brand);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.owf2-stat__num span {
    font-size: 0.6em;
    margin-left: 1px;
}
.owf2-stat__label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--owf-muted);
    word-break: keep-all;
}

@media (min-width: 768px) {
    .owf2-trust__logos {
        grid-template-columns: repeat(4, 1fr);
    }
    .owf2-satisfaction__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   후기 라이트박스 — data-owf-review-open 클릭 시 열림. Bootstrap 등 사이트
   공용 모달 시스템에 의존하지 않는 자체 구현(스코프 격리, 충돌 위험 없음).
   ============================================================ */
.owf2-review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.owf2-review-lightbox[hidden] {
    display: none;
}
.owf2-review-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 20, 0.6);
}
.owf2-review-lightbox__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    max-height: min(84vh, 900px);
    background: #fff;
    border-radius: var(--owf-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(17, 17, 20, 0.25);
}
.owf2-review-lightbox__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--owf-border);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.owf2-review-lightbox__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--owf-border);
    background: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.owf2-review-lightbox__close:hover {
    border-color: var(--owf-text);
}
.owf2-review-lightbox__body {
    overflow-y: auto;
    padding: 20px;
    /* 라이트박스 내부 스크롤은 Lenis가 아니라 네이티브 스크롤이어야 함 —
      JS에서 이 클래스에 data-lenis-prevent를 대응해 막아준다. */
}

/* 정적 리뷰 그리드: PC 2열 / 모바일 1열, 원본 비율 유지(object-fit: contain).
   카드 로딩 실패 시 onerror로 카드 자체를 DOM에서 제거해 빈 공간이 남지 않음. */
.owf2-review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.owf2-review-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--owf-border);
    background: var(--owf-section);
    line-height: 0;
}
.owf2-review-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .owf2-review-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================================
   CORE SERVICES — 편집형 레이아웃
   ============================================================ */
.owf2-services {
    padding: 160px 0;
    background: var(--owf-section);
}
.owf2-services__head {
    max-width: 620px;
    margin: 0 auto 96px;
    text-align: center;
}
.owf2-service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--owf-border);
}
.owf2-service-row:first-child {
    border-top: none;
}
.owf2-service-row__num {
    font-size: 42px;
    font-weight: 800;
    color: var(--owf-border);
    line-height: 1;
    margin-bottom: 16px;
}
.owf2-service-row__title {
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 800;
    margin: 0 0 12px;
}
.owf2-service-row__price {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--owf-brand);
    background: var(--owf-brand-soft);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.owf2-service-row__for {
    font-size: 14px;
    color: var(--owf-text);
    font-weight: 700;
    margin-bottom: 14px;
}
.owf2-service-row__desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--owf-muted);
    margin: 0 0 20px;
    word-break: keep-all;
}
.owf2-service-row__visual {
    aspect-ratio: 16 / 11;
    border-radius: var(--owf-radius);
    overflow: hidden;
    border: 1px solid var(--owf-border);
    background: #fff;
    transition: transform 0.6s var(--owf-ease);
}
.owf2-service-row:hover .owf2-service-row__visual {
    transform: scale(1.015);
}

/* 01 · 월 단위 유지보수 */
.owf2-monthly {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.owf2-monthly__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}
.owf2-monthly__month {
    font-size: 13px;
    font-weight: 800;
    color: var(--owf-text);
}
.owf2-monthly__count {
    font-size: 11px;
    font-weight: 600;
    color: var(--owf-muted);
}
.owf2-monthly__cal {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.owf2-monthly__cal span {
    flex: 1;
    height: 16px;
    border-radius: 5px;
    background: var(--owf-section);
    border: 1px solid var(--owf-border);
}
.owf2-monthly__cal span.is-done {
    background: var(--owf-brand-soft);
    border-color: var(--owf-brand-soft);
}
.owf2-monthly__cal span.is-active {
    background: var(--owf-brand);
    border-color: var(--owf-brand);
}
.owf2-monthly__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.owf2-monthly__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--owf-border);
    font-size: 12px;
    color: var(--owf-muted);
}
.owf2-monthly__price {
    font-size: 15px;
    font-weight: 800;
    color: var(--owf-brand);
}

/* 02 · 건바이건 유지보수 (견적서 스텁) */
.owf2-receipt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.owf2-receipt__title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}
.owf2-receipt__row {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--owf-muted);
    padding: 7px 0;
    border-bottom: 1px dashed var(--owf-border);
}
.owf2-receipt__row--total {
    color: var(--owf-brand);
    font-weight: 800;
    font-size: 14px;
    border-bottom: none;
    padding-top: 10px;
}
.owf2-receipt__stub {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 12px;
    border-top: 1px dashed var(--owf-border);
    padding-top: 10px;
}
.owf2-receipt__stub-notch {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--owf-section);
    border: 1px solid var(--owf-border);
}
.owf2-ticket__tag {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--owf-brand);
    background: var(--owf-brand-soft);
    padding: 6px 10px;
    border-radius: 999px;
    width: fit-content;
}

/* 03 · 프로젝트 (아키텍처 다이어그램) */
.owf2-arch__label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--owf-muted);
    margin-bottom: 16px;
}
.owf2-arch__row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.owf2-arch__node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--owf-text);
    background: var(--owf-section);
    border: 1px solid var(--owf-border);
    border-radius: 12px;
    padding: 16px 6px;
}
.owf2-arch__node-icon {
    font-size: 16px;
    color: var(--owf-brand);
}
.owf2-arch__node--active {
    color: #fff;
    background: var(--owf-brand);
    border-color: var(--owf-brand);
}
.owf2-arch__node--active .owf2-arch__node-icon {
    color: #fff;
}
.owf2-arch__line {
    flex-shrink: 0;
    width: 22px;
    height: 2px;
    background: var(--owf-border);
    position: relative;
}
.owf2-arch__dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: var(--owf-brand);
    animation: owf2-arch-flow 1.8s linear infinite;
}
@keyframes owf2-arch-flow {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 5px); opacity: 0; }
}

/* 04 · 데이터 마이그레이션 */
.owf2-migrate__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.owf2-migrate__node {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--owf-text);
    background: var(--owf-section);
    border: 1px solid var(--owf-border);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
}
.owf2-migrate__node--active {
    color: #fff;
    background: var(--owf-brand);
    border-color: var(--owf-brand);
}
.owf2-migrate__flow {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.owf2-migrate__chip {
    font-size: 10px;
    font-weight: 700;
    color: var(--owf-brand);
    background: var(--owf-brand-soft);
    padding: 4px 8px;
    border-radius: 999px;
    animation: owf2-row-in 0.6s var(--owf-ease) both;
}
.owf2-migrate__chip:nth-child(2) { animation-delay: 0.15s; }
.owf2-migrate__chip:nth-child(3) { animation-delay: 0.3s; }
.owf2-migrate__progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--owf-muted);
    margin-bottom: 6px;
}
/* 05 · 신규 구축·리뉴얼 */
.owf2-rebuild__label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--owf-muted);
    margin-bottom: 12px;
}
.owf2-rebuild__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.owf2-rebuild__thumb {
    flex: 1;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    border: 1px solid var(--owf-border);
}
.owf2-rebuild__thumb--old {
    background: repeating-linear-gradient(
        135deg,
        var(--owf-section),
        var(--owf-section) 6px,
        #fff 6px,
        #fff 12px
    );
}
.owf2-rebuild__thumb--new {
    background: linear-gradient(135deg, var(--owf-brand-soft), #fff);
    border-color: var(--owf-brand);
}
.owf2-rebuild__arrow {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--owf-brand);
}

.owf2-dev-progress__bar--static {
    width: 100%;
    animation: owf2-metric-grow 1s var(--owf-ease) both;
    transform-origin: left;
}

@media (min-width: 992px) {
    .owf2-service-row {
        grid-template-columns: 1fr 1.2fr;
        gap: 72px;
    }
    .owf2-service-row:nth-child(even) .owf2-service-row__visual {
        order: 2;
    }
    .owf2-service-row:nth-child(even) .owf2-service-row__text {
        order: 1;
    }
}

/* ============================================================
   DEVELOPMENT SNIPPET (iPhone dev lab 카피 안에 삽입되는 미니 코드 카드)
   ============================================================ */
.owf2-dev-story__snippet {
    margin: 20px 0 28px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--owf-border);
}
.owf2-dev-story__snippet .owf2-code-panel {
    font-size: 12px;
    line-height: 1.8;
}

/* ============================================================
   iPHONE DEV LAB
   ============================================================ */
.owf2-iphone-lab {
    padding: 150px 0;
    background: #fff;
}
.owf2-iphone-lab__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 46px;
    align-items: center;
}
.owf2-iphone-lab__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.owf2-iphone-metric {
    border: 1px solid var(--owf-border);
    border-radius: 16px;
    background: #fff;
    padding: 16px 14px;
    text-align: center;
}
.owf2-iphone-metric strong {
    display: block;
    font-size: clamp(24px, 2.5vw, 34px);
    color: var(--owf-brand);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.owf2-iphone-metric span {
    display: block;
    margin-top: 6px;
    color: var(--owf-muted);
    font-size: 13px;
    font-weight: 600;
}

.owf2-iphone-stage {
    position: relative;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--owf-border);
    background: linear-gradient(160deg, #f8fbff 0%, #eaf3ff 100%);
    box-shadow: 0 30px 70px rgba(5, 38, 84, 0.12);
    overflow: hidden;
}
/* iphone-dev-workflow.svg는 목업을 대체하는 실사 스크린샷이 아니라
   장식용 배경 그라디언트(SVG desc 참고)일 뿐이다. .owf2-visual 래퍼 없이
   바로 들어있어 크기 지정이 없었고, 그 상태로 z-index를 shell 위로 두면
   애니메이션 폰 목업(.owf2-iphone-shell)을 통째로 덮어버려 타이핑 UI가
   안 보이게 된다. 목업 뒤에 까는 배경으로만 채운다. */
.owf2-iphone-stage > img.owf2-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.owf2-iphone-stage::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(15, 111, 255, 0.26) 0%,
        rgba(15, 111, 255, 0) 72%
    );
}

.owf2-iphone-shell {
    position: relative;
    width: min(320px, 88%);
    margin: 0 auto;
    border-radius: 42px;
    background: #0c1222;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(10, 32, 72, 0.34);
    z-index: 2;
}
.owf2-iphone-shell__notch {
    width: 38%;
    height: 26px;
    border-radius: 0 0 18px 18px;
    background: #040812;
    margin: 0 auto -8px;
    position: relative;
    z-index: 3;
}
.owf2-iphone-shell__screen {
    border-radius: 32px;
    overflow: hidden;
    background: #0a1428;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}
.owf2-iphone-shell__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: #dce9ff;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid rgba(153, 187, 255, 0.2);
}
.owf2-live-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #042552;
    background: #9cc1ff;
}

.owf2-iphone-shell__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    min-height: 0;
}
.owf2-mini-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.owf2-mini-card {
    border: 1px solid rgba(149, 178, 230, 0.3);
    border-radius: 12px;
    padding: 10px;
    background: rgba(11, 24, 47, 0.8);
}
.owf2-mini-card em {
    display: block;
    font-style: normal;
    color: #8dabdb;
    font-size: 11px;
    margin-bottom: 4px;
}
.owf2-mini-card strong {
    font-size: 13px;
    color: #f0f6ff;
    letter-spacing: 0.02em;
}

.owf2-terminal {
    border: 1px solid rgba(156, 193, 255, 0.32);
    border-radius: 14px;
    background: #060d1d;
    min-height: 220px;
    padding: 12px;
}
.owf2-terminal__label {
    color: #8da7d3;
    font-size: 11px;
    margin-bottom: 10px;
}
.owf2-terminal__line {
    margin: 0;
    color: #d9e7ff;
    font-size: 12px;
    line-height: 1.8;
    min-height: 120px;
    font-family: "SFMono-Regular", Menlo, monospace;
}
.owf2-terminal__line::after {
    content: "_";
    color: #66a7ff;
    margin-left: 2px;
    animation: owf2-caret 1s step-end infinite;
}

/* Lenis 스크롤 진행 중에는 장식성 무한 애니메이션을 잠시 멈춰 프레임 드랍을 줄인다. */
body.owf-is-scrolling .owf2-terminal__line::after,
body.owf-is-scrolling .owf2-marquee__track {
    animation-play-state: paused;
}

.owf2-ship-step {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.owf2-ship-step span {
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(126, 161, 224, 0.5);
    color: #b7d1ff;
    border-radius: 999px;
    padding: 5px 9px;
}
.owf2-ship-step .is-on {
    background: rgba(15, 111, 255, 0.16);
    color: #dceaff;
}

@keyframes owf2-caret {
    0%,
    45% {
        opacity: 1;
    }
    46%,
    100% {
        opacity: 0;
    }
}

@media (min-width: 992px) {
    .owf2-iphone-lab__grid {
        grid-template-columns: 1fr 1fr;
        gap: 86px;
    }
}

@media (max-width: 640px) {
    .owf2-iphone-lab__metrics {
        grid-template-columns: 1fr;
    }
    .owf2-iphone-shell__screen {
        min-height: 480px;
    }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.owf2-marquee {
    padding: 70px 0;
    background: var(--owf-text);
    overflow: hidden;
}
.owf2-marquee__track {
    display: flex;
    width: max-content;
    animation: owf2-marquee 28s linear infinite;
}
.owf2-marquee__item {
    font-size: clamp(40px, 7vw, 96px);
    font-weight: 800;
    color: #fff;
    opacity: 0.9;
    padding: 0 40px;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.owf2-marquee__item span {
    color: var(--owf-brand);
}
@keyframes owf2-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .owf2-marquee__track {
        animation: none;
    }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.owf2-final-cta {
    padding: 160px 0;
    background: var(--owf-brand-soft);
    text-align: center;
}
.owf2-final-cta__title {
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 36px;
    word-break: keep-all;
}
.owf2-final-cta__meet {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.owf2-final-cta__meet-chip {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--owf-brand);
    background: #fff;
    border: 1px solid rgba(70, 62, 234, 0.18);
    padding: 7px 14px;
    border-radius: 999px;
}
.owf2-final-cta__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.owf2-footer {
    padding: 80px 0 40px;
    background: #fff;
    border-top: 1px solid var(--owf-border);
}
.owf2-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 56px;
}
.owf2-footer__col-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--owf-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.owf2-footer__col a {
    display: block;
    font-size: 15px;
    color: var(--owf-text);
    text-decoration: none;
    padding: 6px 0;
    min-height: 24px;
}
.owf2-footer__col a:hover {
    color: var(--owf-brand);
}
.owf2-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--owf-border);
    font-size: 13px;
    color: var(--owf-muted);
}
.owf2-footer__note {
    font-size: 12px;
    color: var(--owf-muted);
    opacity: 0.7;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .owf2-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.owf2-cursor-dot,
.owf2-cursor-halo {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition:
        opacity 0.25s ease,
        width 0.25s var(--owf-ease),
        height 0.25s var(--owf-ease),
        background 0.25s ease;
}
.owf2-cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--owf-brand);
}
.owf2-cursor-halo {
    width: 36px;
    height: 36px;
    background: rgba(70, 62, 234, 0.12);
    border: 1px solid rgba(70, 62, 234, 0.25);
}
.owf2-cursor-dot.is-active,
.owf2-cursor-halo.is-active {
    opacity: 1;
}
.owf2-cursor-halo.is-hover {
    width: 64px;
    height: 64px;
    background: rgba(70, 62, 234, 0.08);
}
.owf2-cursor-halo.is-down {
    width: 28px;
    height: 28px;
}
.owf2-cursor-halo .owf2-cursor-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: var(--owf-brand);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.owf2-cursor-halo.is-hover .owf2-cursor-label {
    opacity: 1;
}

@media (pointer: coarse) {
    .owf2-cursor-dot,
    .owf2-cursor-halo {
        display: none !important;
    }
}

/* ============================================================
   Mobile 전역 완화 (767px 이하)
   ============================================================ */
@media (max-width: 767px) {
    .owf2-hero {
        padding: 108px 0 56px;
        min-height: auto;
    }
    .owf2-hero .owf2-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .owf2-hero-code-icon--lb,
    .owf2-hero-code-icon--rb {
        display: none;
    }
    .owf2-statement,
    .owf2-journey,
    .owf2-sticky-wrap,
    .owf2-services,
    .owf2-iphone-lab,
    .owf2-final-cta {
        padding-top: 88px;
        padding-bottom: 88px;
    }
    .owf2-journey__item,
    .owf2-service-row {
        padding: 40px 0;
    }
    .owf2-sticky-media-col {
        position: static;
    }
    .owf2-sticky-step {
        opacity: 1;
    }
}
