﻿/* =============================================================================
   서비스 소개(랜딩, /) — Figma "랜딩 v2"(node 265:2 · 269:2) 구현.
   제품 화면은 데모 데이터로 그린 HTML(스크린샷 없음). 색은 토큰 → 라이트/다크 자동.
   히어로·문의 영역만 고정 다크 그라디언트(브랜드 톤, 테마와 무관하게 같은 인상).
   브레이크포인트: 1024 / 768 / 480 (프로젝트 표준).
   ============================================================================= */

.lp {
    word-break: keep-all;   /* 한글은 낱말 단위로 줄바꿈("바/로"처럼 글자 중간에서 끊기지 않게) */
    overflow-wrap: anywhere;
    --lp-dark: #0B1220;
    --lp-dark-2: #16305E;
    --lp-on-dark: #FFFFFF;
    --lp-on-dark-muted: #9AA8BD;
    --lp-max: 1200px;
    --lp-gutter: 24px;
    background: var(--surface);
    color: var(--text-normal);
    overflow-x: clip;
}
.lp a { text-decoration: none; }
.lp svg { width: 18px; height: 18px; flex-shrink: 0; }
.lp-br-desk { display: inline; }

/* ── 버튼 ── */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 18px; border-radius: var(--radius-md);
    font-size: var(--fs-label); font-weight: var(--fw-bold); white-space: nowrap;
    transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.lp-btn--sm { height: 40px; padding: 0 16px; }
.lp-btn--lg { height: 56px; padding: 0 26px; font-size: var(--fs-title); }
.lp-btn--block { width: 100%; }
.lp-btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--depth-sheen), var(--glow-brand); }
.lp-btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.lp-btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.lp-btn--glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .36); }
.lp-btn:focus-visible, .lp a:focus-visible, .lp summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ── 헤더(다크 위에 겹침) ── */
.lp-header {
    position: sticky; top: 0; z-index: var(--z-topbar);
    background: var(--lp-dark);   /* 불투명 — 반투명이면 히어로 위가 아닌 흰 바탕 위에서 회색으로 뜬다 */
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding-top: env(safe-area-inset-top, 0px);
}
.lp-header__inner { max-width: calc(var(--lp-max) + var(--lp-gutter) * 2); margin: 0 auto; padding: 14px var(--lp-gutter); display: flex; align-items: center; gap: 32px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.lp-brand__logo { display: inline-flex; width: 36px; height: 36px; filter: drop-shadow(0 4px 10px rgba(47, 124, 246, 0.45)); }
.lp .lp-brand__logo svg { width: 100%; height: 100%; }
.lp .lp-brand__name { display: block; width: 68px; height: 19px; color: currentColor; }   /* .lp svg(18px) 보다 우선 */
.lp-nav { flex: 1; display: flex; justify-content: center; gap: 4px; }
.lp-nav a { padding: 8px 14px; border-radius: var(--radius-sm); color: #C9D3E3; font-size: var(--fs-label); font-weight: var(--fw-medium); }
.lp-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lp-header__actions { display: flex; gap: 8px; }

/* ── 히어로 ── */
.lp-hero {
    background: linear-gradient(180deg, var(--lp-dark) 0%, #10203F 72%, var(--lp-dark-2) 100%);
    color: var(--lp-on-dark);
    padding: 88px var(--lp-gutter) 96px;
    display: flex; flex-direction: column; align-items: center;
}
.lp-hero__copy { max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-full);
    background: rgba(49, 130, 246, .16); border: 1px solid rgba(49, 130, 246, .45); color: #BFD7FF;
    font-size: var(--fs-label); font-weight: var(--fw-medium);
}
.lp-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: lp-pulse 2s infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.lp-hero__title { margin: 0; font-size: 60px; line-height: 1.22; font-weight: var(--fw-bold); letter-spacing: -.03em; color: #fff; }
.lp-hero__desc { margin: 0; font-size: 18px; line-height: 1.65; color: var(--lp-on-dark-muted); }
.lp-hero__cta { display: flex; gap: 12px; padding-top: 8px; }

.lp-hero__visual { position: relative; width: 100%; max-width: var(--lp-max); margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
.lp-glow { position: absolute; left: 12%; right: 12%; top: 60px; height: 360px; background: rgba(49, 130, 246, .35); filter: blur(120px); border-radius: 50%; pointer-events: none; }
.lp-window {
    position: relative; width: 100%; max-width: 1040px; border-radius: 14px; overflow: hidden;
    background: #1B2537; border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.lp-window__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.lp-dots { display: inline-flex; gap: 8px; }
.lp-dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.lp-dots i:nth-child(2) { background: #FEBC2E; }
.lp-dots i:nth-child(3) { background: #28C840; }
.lp-window__url { flex: 1; text-align: center; padding: 4px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #8A97AB; font-size: var(--fs-caption); }

.is-danger { color: var(--status-danger) !important; }

/* 제품 화면 캡처(가상 데이터 데모 화면 — tools/landing-capture). 라이트/다크 두 장 중 테마에 맞는 한 장만 보인다.
   테마 판정은 tokens.css 와 같은 규칙(OS 다크 + data-theme 수동 지정)을 따른다 — 어긋나면 다크 페이지에 흰 화면이 뜬다. */
.lp-shot { display: block; width: 100%; height: auto; }
.lp-shot--dark { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-shot--light { display: none; }
    :root:not([data-theme="light"]) .lp-shot--dark { display: block; }
}
:root[data-theme="dark"] .lp-shot--light { display: none; }
:root[data-theme="dark"] .lp-shot--dark { display: block; }

/* 떠 있는 알림 카드 */
.lp-float {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-pop); color: var(--text-normal); text-align: left;
}
.lp-float--fire { left: 0; top: 360px; }
.lp-float--fault { right: 0; top: 92px; }   /* KPI 줄 오른쪽 빈칸 위 — 현장 목록 상태 배지를 가리지 않게 */
.lp-float--report { right: 24px; top: 470px; }
.lp-float__icon { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-float__icon svg { width: 20px; height: 20px; }
.lp-float__icon.is-danger { background: var(--status-danger-bg); color: var(--status-danger); }
.lp-float__icon.is-warn { background: var(--status-warn-bg); color: var(--status-warn); }
.lp-float__icon.is-brand { background: var(--brand-bg); color: var(--brand); }
.lp-float__text { display: flex; flex-direction: column; gap: 2px; }
.lp-float__text b { font-size: var(--fs-body); color: var(--text-strong); }
.lp-float__text small { font-size: var(--fs-caption); color: var(--text-muted); }
.lp-demo-note { margin: 16px 0 0; font-size: var(--fs-caption); color: var(--lp-on-dark-muted); opacity: .8; }

/* ── 연동 설비 ── */
.lp-support { padding: 56px var(--lp-gutter) 48px; border-bottom: 1px solid var(--border); text-align: center; }
.lp-support__lead { margin: 0 0 20px; font-size: var(--fs-label); color: var(--text-muted); }
.lp-support__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; }
.lp-support__stats li { display: flex; flex-direction: column; gap: 2px; }
.lp-support__stats b { font-size: 26px; font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: -.02em; }
.lp-support__stats span { font-size: var(--fs-caption); color: var(--text-muted); }

/* ── 섹션 공통 ── */
.lp-section { max-width: calc(var(--lp-max) + var(--lp-gutter) * 2); margin: 0 auto; padding: 120px var(--lp-gutter); scroll-margin-top: 64px; }
.lp-section--tint { max-width: none; background: var(--bg); }
.lp-section--tint > * { max-width: var(--lp-max); margin-left: auto; margin-right: auto; }
.lp-mobile, .lp-cta { scroll-margin-top: 64px; }
.lp-head { max-width: 720px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.lp-head__eyebrow { font-size: var(--fs-label); font-weight: var(--fw-bold); color: var(--brand); }
.lp-head__title { margin: 0; font-size: 40px; line-height: 1.28; font-weight: var(--fw-bold); letter-spacing: -.025em; color: var(--text-strong); }
.lp-head__desc { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-muted); }
.lp-head__desc a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ── 기능 쇼케이스 ── */
.lp-feature { display: grid; grid-template-columns: 440px 1fr; gap: 80px; align-items: center; }
.lp-feature + .lp-feature { margin-top: 120px; }
.lp-feature--rev { grid-template-columns: 1fr 440px; }
.lp-feature--rev .lp-feature__text { order: 2; }
.lp-feature__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lp-feature__text h3 { margin: 0; font-size: 34px; line-height: 1.3; font-weight: var(--fw-bold); letter-spacing: -.025em; color: var(--text-strong); }
.lp-feature__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.lp-pill { align-self: flex-start; display: inline-flex; padding: 4px 10px; border-radius: var(--radius-full); background: var(--brand-bg); color: var(--brand); font-size: var(--fs-label); font-weight: var(--fw-bold); }
.lp-checks { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.lp-checks li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--text-normal); }
.lp-checks svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--status-ok-bg); color: var(--status-ok); stroke-width: 3; }
.lp-feature__media { min-width: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: center; }
/* 캡처 화면 — 칸 자체가 화면 창. 배경 패딩 없이 이미지를 꽉 채우고 모서리만 둥글게 자른다. */
.lp-feature__media--shot { padding: 0; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-pop); }





/* ── 모바일 섹션 ── */
.lp-mobile { background: var(--bg); padding: 112px var(--lp-gutter); }
.lp-mobile__inner { max-width: var(--lp-max); margin: 0 auto; display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.lp-mobile__text { display: flex; flex-direction: column; gap: 16px; }
.lp-mobile__stats { display: flex; gap: 32px; padding-top: 8px; }
.lp-mobile__stats div { display: flex; flex-direction: column; gap: 2px; }
.lp-mobile__stats b { font-size: 20px; color: var(--text-strong); }
.lp-mobile__stats span { font-size: var(--fs-caption); color: var(--text-muted); }
.lp-phones { display: flex; justify-content: center; align-items: center; gap: 24px; }
.lp-phone { background: #0F172A; padding: 10px; border-radius: 40px; box-shadow: 0 24px 48px rgba(13, 26, 51, .25); flex-shrink: 0; }
.lp-phone--main { width: 270px; height: 560px; }
.lp-phone--side { width: 232px; height: 480px; }
.lp-phone__screen { height: 100%; border-radius: 30px; background: var(--bg); padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.lp-phone__screen--shot { padding: 0; gap: 0; }
.lp-phone__screen--shot .lp-shot { height: 100%; object-fit: cover; object-position: top center; }

/* ── 도입 절차 ── */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.lp-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-right: 24px; }
.lp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 56px; right: 0; top: 21px; height: 2px; background: var(--border); }
.lp-steps__num { width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-bg); border: 1.5px solid var(--brand); color: var(--brand); font-size: 17px; font-weight: var(--fw-bold); }
.lp-steps__num.is-done { background: var(--grad-brand); color: #fff; box-shadow: var(--depth-sheen), var(--glow-brand); }
.lp-steps__num svg { width: 20px; height: 20px; stroke-width: 3; }
.lp-steps b { font-size: 19px; color: var(--text-strong); }
.lp-steps p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-muted); }

/* ── 요금 ── */
.lp-price { display: grid; grid-template-columns: 1.15fr 1fr; max-width: 960px !important; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-pop); }
.lp-price__main { padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.lp-price__amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lp-price__amount b { font-size: 64px; font-weight: var(--fw-black); color: var(--text-strong); letter-spacing: -.03em; line-height: 1; }
.lp-price__amount span { font-size: 17px; color: var(--text-muted); }
.lp-price__vat { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.lp-price__note { margin: 0; font-size: var(--fs-caption); line-height: 1.6; color: var(--text-muted); }
.lp-price__note a { color: var(--brand); }
.lp-price__side { background: var(--surface-2); padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.lp-price__side > b { font-size: var(--fs-label); color: var(--text-strong); }

/* ── FAQ ── */
.lp-faq { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.lp-faq__head { display: flex; flex-direction: column; gap: 16px; }
.lp-faq__list details { border-bottom: 1px solid var(--border); }
.lp-faq__list details:first-child { border-top: 1px solid var(--border); }
.lp-faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 18px; font-weight: var(--fw-bold); color: var(--text-strong); }
.lp-faq__list summary::-webkit-details-marker { display: none; }
.lp-faq__list summary::after { content: "+"; font-size: 24px; font-weight: var(--fw-regular); color: var(--text-muted); line-height: 1; transition: transform var(--dur-fast) var(--ease); }
.lp-faq__list details[open] summary::after { content: "−"; color: var(--brand); }
.lp-faq__list details p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ── 문의 ── */
.lp-cta {
    background: linear-gradient(180deg, var(--lp-dark-2) 0%, var(--lp-dark) 100%);
    color: #fff; text-align: center; padding: 112px var(--lp-gutter);
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.lp-cta h2 { margin: 0; font-size: 44px; line-height: 1.25; letter-spacing: -.025em; font-weight: var(--fw-bold); }
.lp-cta > p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--lp-on-dark-muted); }
.lp-cta__actions { display: flex; gap: 12px; padding-top: 8px; flex-wrap: wrap; justify-content: center; }
.lp-cta__meta { font-size: var(--fs-label) !important; color: #7F8DA3 !important; }

/* ── 하단 — 사업자 정보 단일 원천(_CompanyFooter)을 다크로 입힌다 ── */
.lp-footer .company-footer { background: var(--lp-dark); border-top: 1px solid rgba(255, 255, 255, .06); padding: 40px var(--lp-gutter) calc(40px + env(safe-area-inset-bottom, 0px)); color: #6B7A90; }
.lp-footer .company-footer__links a { color: #9AA8BD; }
.lp-footer .company-footer__links a:hover { color: #fff; }
.lp-footer .company-footer__links .company-footer__privacy { color: #fff; }

/* ── 반응형 ── */
@media (max-width: 1024px) {
    .lp-nav { display: none; }
    .lp-hero__title { font-size: 48px; }
    .lp-float--fault, .lp-float--report { display: none; }
    .lp-feature, .lp-feature--rev { grid-template-columns: 1fr; gap: 40px; }
    .lp-feature--rev .lp-feature__text { order: 0; }
    .lp-mobile__inner { grid-template-columns: 1fr; }
    .lp-faq { grid-template-columns: 1fr; gap: 32px; }
    .lp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .lp-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
    .lp { --lp-gutter: 20px; }
    .lp-header__inner { gap: 12px; }
    .lp-header__cta { display: none; }
    .lp-br-desk { display: none; }
    .lp-hero { padding-top: 48px; padding-bottom: 56px; }
    .lp-hero__copy { text-align: left; align-items: flex-start; gap: 18px; }
    .lp-hero__title { font-size: 34px; line-height: 1.28; }
    .lp-hero__desc { font-size: 16px; }
    .lp-hero__cta { flex-direction: column; width: 100%; }
    .lp-hero__cta .lp-btn { width: 100%; }
    .lp-hero__visual { margin-top: 40px; }
    .lp-float--fire { position: relative; left: auto; top: auto; margin-top: -28px; width: calc(100% - 24px); }
    .lp-window__bar { padding: 10px 12px; }
    .lp-support__stats { gap: 18px 32px; }
    .lp-support__stats b { font-size: 22px; }
    .lp-section, .lp-mobile, .lp-cta { padding-top: 64px; padding-bottom: 64px; }
    .lp-head { text-align: left; margin-bottom: 40px; }
    .lp-head__title, .lp-cta h2 { font-size: 28px; line-height: 1.32; }
    .lp-head__desc, .lp-cta > p { font-size: 15px; }
    .lp-feature + .lp-feature { margin-top: 64px; }
    .lp-feature__text h3 { font-size: 24px; }
    .lp-feature__text p { font-size: 15px; }
    .lp-feature__media { padding: 16px; border-radius: 16px; }
    .lp-feature__media--shot { padding: 0; }
    .lp-phones { justify-content: center; }
    .lp-phone--side { display: none; }
    .lp-steps { grid-template-columns: 1fr; row-gap: 24px; }
    .lp-steps li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding-right: 0; }
    .lp-steps li::after { display: none; }
    .lp-steps__num { margin-bottom: 0; width: 36px; height: 36px; font-size: 15px; }
    .lp-steps b { font-size: 17px; }
    .lp-steps p { flex-basis: 100%; padding-left: 50px; }
    .lp-price { grid-template-columns: 1fr; }
    .lp-price__main, .lp-price__side { padding: 28px 24px; }
    .lp-price__amount b { font-size: 44px; }
    .lp-faq__list summary { font-size: 16px; padding: 20px 0; }
    .lp-cta { text-align: left; align-items: flex-start; }
    .lp-cta__actions { width: 100%; flex-direction: column; }
    .lp-cta__actions .lp-btn { width: 100%; }
}
@media (max-width: 480px) {
    .lp-phone--main { width: 250px; height: 520px; }   /* 화면 비율(390×844) 유지 — 안쪽 230×500 */
}
@media (prefers-reduced-motion: reduce) {
    .lp-eyebrow__dot { animation: none; }
    .lp-btn { transition: none; }
}
