/* =========================================================
   MeetingRND 홍보 페이지 — 프로토타입 스타일
   - 색·폰트·카드는 본 서비스(Modernize) 토큰을 재사용해 톤을 맞춘다.
   - 커스텀 media query를 쓰지 않는다. 반응형은 Bootstrap 유틸리티(col-*, d-*-*, order-lg-*)로 처리.
   - 유동 크기가 필요한 곳은 clamp()로 해결한다.
   ========================================================= */

:root {
    --lp-primary: #5D87FF;
    --lp-primary-dark: #4570EA;
    --lp-primary-light: #ECF2FF;
    /* ④ 두 레이어 — 과제 축에 쓰는 보라 계열(파랑과 짝지어 두 축을 색으로 구분) */
    --lp-accent2: #7C5CFF;
    --lp-accent2-dark: #5B3FD6;
    --lp-accent2-light: #EFEBFF;
    --lp-heading: #2A3547;
    --lp-body: #5A6A85;
    --lp-muted: #6c757d;
    --lp-border: #dfe5ef;
    --lp-border-light: #ebf1f6;
    --lp-surface: #F6F9FC;
    --lp-radius: 7px;
    --lp-max-width: 1200px;
    --lp-section-gap: clamp(56px, 7vw, 104px);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;
    color: var(--lp-body);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .lp-heading {
    color: var(--lp-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { text-decoration: none; }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

/* ---------- 레이아웃 ---------- */

.lp-container {
    max-width: var(--lp-max-width);
    margin-inline: auto;
    /* Bootstrap 거터 최대치(g-5 = -24px 음수 마진)를 흡수해야 가로 넘침이 생기지 않는다 */
    padding-inline: 24px;
}

.lp-section {
    padding-block: var(--lp-section-gap);
}

.lp-section-surface { background-color: var(--lp-surface); }

.lp-section-title {
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.35;
    margin-bottom: 12px;
}

.lp-section-lead {
    font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
    line-height: 1.75;
    color: var(--lp-body);
    margin-bottom: 0;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--lp-primary);
    background-color: var(--lp-primary-light);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

/* 앵커 이동 시 sticky nav에 제목이 가리지 않도록 */
.lp-anchor { scroll-margin-top: 84px; }

/* ---------- 카드 (본 서비스 카드 규격) ---------- */

.lp-card {
    background-color: #fff;
    border: 1px solid var(--lp-border-light);
    border-radius: var(--lp-radius);
    box-shadow: 0 2px 6px rgba(42, 53, 71, 0.06);
    padding: 28px;
    height: 100%;
}

.lp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--lp-radius);
    background-color: var(--lp-primary-light);
    color: var(--lp-primary);
    font-size: 24px;
    margin-bottom: 18px;
}

/* ---------- 버튼 ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    border-radius: var(--lp-radius);
    padding: 12px 24px;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.lp-btn-primary {
    background-color: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #fff;
}

.lp-btn-primary:hover {
    background-color: var(--lp-primary-dark);
    border-color: var(--lp-primary-dark);
    color: #fff;
}

.lp-btn-outline {
    background-color: #fff;
    border-color: var(--lp-border);
    color: var(--lp-heading);
}

.lp-btn-outline:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--lp-primary);
}

.lp-btn-light:hover {
    background-color: var(--lp-primary-light);
    border-color: var(--lp-primary-light);
    color: var(--lp-primary-dark);
}

.lp-btn-sm { padding: 9px 18px; font-size: 0.9375rem; }

/* ---------- ① Nav ---------- */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-border-light);
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 68px;
}

.lp-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lp-heading);
    letter-spacing: -0.03em;
}

.lp-brand-mark { color: var(--lp-primary); }

.lp-nav-link {
    color: var(--lp-body);
    font-weight: 600;
    font-size: 0.9375rem;
}

.lp-nav-link:hover { color: var(--lp-primary); }

/* ---------- ② Hero ---------- */

.lp-hero {
    position: relative;
    overflow: hidden;   /* 슬라이드가 좌우로 흐를 때 가로 스크롤이 생기지 않도록 */
    background: linear-gradient(180deg, var(--lp-primary-light) 0%, #fff 100%);
    padding-block: clamp(48px, 6vw, 88px);
}

.lp-hero-title {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    line-height: 1.25;
    margin-bottom: 20px;
    white-space: pre-line;   /* 리소스 값의 개행을 실제 줄바꿈으로 렌더 */
}

.lp-hero-body {
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.75;
    white-space: pre-line;   /* 리소스 값의 개행을 실제 줄바꿈으로 렌더 */
}

.lp-hero-note {
    font-size: 0.875rem;
    color: var(--lp-muted);
}

/* ---------- ② Hero 슬라이더 ----------
   슬라이드는 grid로 같은 칸에 겹쳐 쌓는다 → 높이는 가장 큰 슬라이드 기준으로 고정돼
   전환 중에 레이아웃이 튀지 않는다. 각 조각은 자기 칸 안에서 좌우로 흐르며 교차 페이드된다.
   버튼(.lp-hero-actions)은 슬라이드 바깥이라 고정된다. */

.lp-hero-slides,
.lp-hero-shots {
    display: grid;
}

.lp-hero-slide,
.lp-hero-shot {
    grid-area: 1 / 1;
    opacity: 0;
    transform: none;
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
    pointer-events: none;
}

.lp-hero-slide.is-active,
.lp-hero-shot.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* 전환 중 시작 위치를 잡는 순간엔 애니메이션을 끈다(reflow 후 is-active로 흘러간다) */
.lp-hero-slide.is-enter,
.lp-hero-shot.is-enter { transition: none; }

/* 이동 방향에 따라 흐르는 방향이 반대다.
   다음(dir-next): 들어오는 건 오른쪽에서, 나가는 건 왼쪽으로.
   이전(dir-prev): 들어오는 건 왼쪽에서, 나가는 건 오른쪽으로. */
[data-hero-slider].dir-next .lp-hero-slide.is-enter,
[data-hero-slider].dir-next .lp-hero-shot.is-enter { opacity: 0; transform: translateX(32px); }
[data-hero-slider].dir-prev .lp-hero-slide.is-enter,
[data-hero-slider].dir-prev .lp-hero-shot.is-enter { opacity: 0; transform: translateX(-32px); }

[data-hero-slider].dir-next .lp-hero-slide.is-leaving,
[data-hero-slider].dir-next .lp-hero-shot.is-leaving { opacity: 0; transform: translateX(-32px); }
[data-hero-slider].dir-prev .lp-hero-slide.is-leaving,
[data-hero-slider].dir-prev .lp-hero-shot.is-leaving { opacity: 0; transform: translateX(32px); }

.lp-hero-actions { margin-top: 28px; }

/* 좌우 이동 화살표 — 섹션 전체 높이, 테두리 없음, 그라데이션 음영이 hover로 짙어짐 */
.lp-hero-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(44px, 5vw, 72px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    color: var(--lp-heading);
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
    transition: color .25s ease;
}

.lp-hero-nav-prev { left: 0; }
.lp-hero-nav-next { right: 0; }

/* 그라데이션은 CSS transition으로 보간되지 않는다.
   기본 음영(::before)과 짙은 음영(::after)을 겹쳐 두고 opacity만 전환한다. */
.lp-hero-nav::before,
.lp-hero-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: opacity .25s ease;
}

.lp-hero-nav::before { opacity: 1; }
.lp-hero-nav::after { opacity: 0; }
.lp-hero-nav:hover::after { opacity: 1; }
.lp-hero-nav:hover { color: var(--lp-primary); }

.lp-hero-nav-prev::before { background: linear-gradient(90deg, rgba(93, 135, 255, .14), rgba(93, 135, 255, 0)); }
.lp-hero-nav-prev::after { background: linear-gradient(90deg, rgba(93, 135, 255, .34), rgba(93, 135, 255, 0)); }
.lp-hero-nav-next::before { background: linear-gradient(270deg, rgba(93, 135, 255, .14), rgba(93, 135, 255, 0)); }
.lp-hero-nav-next::after { background: linear-gradient(270deg, rgba(93, 135, 255, .34), rgba(93, 135, 255, 0)); }

.lp-hero-dots {
    display: flex;
    gap: 8px;
    justify-content: center;   /* 섹션 정 중앙 */
    margin-top: 36px;
}

.lp-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--lp-border);
    cursor: pointer;
    transition: background-color .2s ease, width .2s ease;
}

.lp-hero-dot.is-active {
    width: 22px;
    background-color: var(--lp-primary);
}

/* 스토어 버튼 — 각 스토어 공식 배지 톤(검정) + 원래 아이콘 컬러 */
.lp-btn-play,
.lp-btn-appstore {
    gap: 8px;
    padding: 10px 18px;
    background-color: #000;
    border-color: #000;
    color: #fff;
    white-space: nowrap;
}

.lp-btn-play:hover,
.lp-btn-appstore:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.lp-btn-play svg,
.lp-btn-appstore svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

/* Apple 로고는 currentColor(흰색)로 채워진다. Google Play 삼각형은 자체 컬러를 가진다. */
.lp-hero-stores { flex-wrap: nowrap; }

/* ---------- 스크린샷 placeholder ----------
   실제 화면으로 교체할 때 레이아웃이 흔들리지 않도록 비율을 고정한다. */

.lp-shot {
    position: relative;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(93, 135, 255, .06) 25%, transparent 25%, transparent 50%, rgba(93, 135, 255, .06) 50%, rgba(93, 135, 255, .06) 75%, transparent 75%);
    background-size: 16px 16px;
    box-shadow: 0 12px 32px rgba(42, 53, 71, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-muted);
    font-size: 0.875rem;
    overflow: hidden;
}

.lp-shot-label {
    background-color: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    padding: 6px 14px;
}

.lp-shot-sm { aspect-ratio: 16 / 10; }

/* ---------- ④ 두 레이어 다이어그램 ----------
   회의록을 중심 허브로, 양옆 축(사람=파랑 / 과제=보라)을 하위 항목 칩으로 펼친다.
   SVG 없이 카드 + 화살표라 반응형은 유틸리티로만 해결된다(방향 아이콘만 스위칭). */

/* 양옆 축 카드 */
.lp-layer-node {
    height: 100%;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    background-color: #fff;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(42, 53, 71, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-layer-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(42, 53, 71, .10);
}

.lp-layer-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--lp-primary-light);
    color: var(--lp-primary);
    font-size: 26px;
    margin-bottom: 14px;
}

.lp-layer-node.is-task .lp-layer-ico {
    background-color: var(--lp-accent2-light);
    color: var(--lp-accent2);
}

.lp-layer-node-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lp-heading);
    margin-bottom: 14px;
}

.lp-layer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.lp-chip {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    background-color: var(--lp-primary-light);
    color: var(--lp-primary-dark);
}

.lp-layer-node.is-task .lp-chip {
    background-color: var(--lp-accent2-light);
    color: var(--lp-accent2-dark);
}

/* 중심 허브(회의록) — 파랑→보라 그라데이션 = 두 축이 만나는 지점 */
.lp-layer-hub {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    padding: 34px 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent2) 100%);
    box-shadow: 0 16px 40px rgba(93, 135, 255, .30);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lp-layer-hub::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .38), transparent 62%);
    pointer-events: none;
    animation: lp-hub-pulse 3.2s ease-in-out infinite;
}

@keyframes lp-hub-pulse {
    0%, 100% { opacity: .35; }
    50% { opacity: .75; }
}

.lp-layer-hub > * { position: relative; z-index: 1; }

.lp-layer-ico-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 32px;
    margin-bottom: 14px;
}

.lp-layer-hub-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

/* 허브 칩 — 그라데이션 위라 밝은 반투명 톤 */
.lp-layer-hub .lp-chip {
    background-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.lp-layer-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-accent2);
    font-size: 30px;
    min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
    .lp-layer-hub::after { animation: none; }
}

/* ---------- ⑤ 핵심 기능 ---------- */

.lp-feature-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lp-feature-group::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--lp-border-light);
}

.lp-feature-group-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--lp-primary);
}

.lp-feature-num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lp-primary);
    letter-spacing: 0.08em;
}

.lp-feature-name {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    margin: 6px 0 10px;
}

.lp-feature-head {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 10px;
}

.lp-feature-body {
    line-height: 1.8;
    margin-bottom: 0;
}

/* ---------- ⑥ 부가 기능 ---------- */

.lp-extra {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.lp-extra-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: var(--lp-radius);
    background-color: var(--lp-primary-light);
    color: var(--lp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.lp-extra-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-heading);
    margin-bottom: 4px;
}

.lp-extra-desc {
    font-size: 0.9375rem;
    color: var(--lp-muted);
    margin-bottom: 0;
}

/* ---------- ⑦ 요금제 ---------- */

.lp-price-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lp-heading);
}

.lp-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-heading);
    letter-spacing: -0.03em;
    margin: 6px 0 4px;
}

.lp-price-desc {
    font-size: 0.9375rem;
    color: var(--lp-muted);
}

.lp-price-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
}

.lp-price-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 0.9375rem;
    border-top: 1px solid var(--lp-border-light);
}

.lp-price-list li:last-child { border-bottom: 1px solid var(--lp-border-light); }

.lp-price-list .ti { color: var(--lp-primary); font-size: 18px; }

.lp-card-highlight {
    border-color: var(--lp-primary);
    box-shadow: 0 10px 28px rgba(93, 135, 255, .18);
}

/* ---------- ⑧ CTA ---------- */

.lp-cta {
    background: linear-gradient(120deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
    padding-block: clamp(52px, 6vw, 84px);
}

.lp-cta .lp-section-title { color: #fff; }

.lp-cta-body {
    color: rgba(255, 255, 255, .88);
    font-size: 1.0625rem;
    margin-bottom: 28px;
}

/* ---------- ⑨ Footer ---------- */

.lp-footer {
    background-color: var(--lp-heading);
    color: rgba(255, 255, 255, .72);
    padding-block: 44px;
    font-size: 0.9375rem;
}

.lp-footer .lp-brand { color: #fff; }

.lp-footer a { color: rgba(255, 255, 255, .82); }

.lp-footer a:hover { color: #fff; }

.lp-footer-meta {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, .55);
}

.lp-footer-divider {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
    padding-top: 20px;
}

/* ---------- 스크롤 reveal ----------
   초기 상태는 .js-reveal(스크립트가 html에 붙임)이 있을 때만 적용한다.
   스크립트가 없으면 콘텐츠는 그대로 보인다. */

.js-reveal .lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.js-reveal .lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* 레이아웃 분기가 아니라 접근성 설정 대응이므로 media query 금지 규칙의 예외 */
@media (prefers-reduced-motion: reduce) {
    .js-reveal .lp-reveal,
    .js-reveal .lp-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* Hero 슬라이더 — 드리프트·전환 없이 활성 슬라이드만 즉시 표시 */
    .lp-hero-slide,
    .lp-hero-shot,
    .lp-hero-slide.is-active,
    .lp-hero-shot.is-active,
    .lp-hero-slide.is-leaving,
    .lp-hero-shot.is-leaving {
        transform: none;
        transition: none;
    }

    html { scroll-behavior: auto; }
}

/* ---------- 정적 문서(약관·개인정보) ---------- */

.lp-doc {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 20px;
}

.lp-doc h2,
.lp-doc h3 {
    font-size: 1.125rem;
    margin: 32px 0 10px;
}

.lp-doc p { line-height: 1.85; }

.lp-doc ul {
    line-height: 1.85;
    padding-left: 20px;
}

.lp-doc li { margin-bottom: 4px; }

.lp-doc-notice {
    background-color: var(--lp-primary-light);
    border-radius: var(--lp-radius);
    color: var(--lp-heading);
    padding: 14px 18px;
    font-size: 0.9375rem;
}
