/* ============================================================
   위드챗 메인 랜딩페이지
   혼합형: 밝은 기능 소개(잔디풍) + 기업 신뢰 섹션(메일플러그풍)
   ============================================================ */

:root {
    --primary: #4361ee;
    --primary-deep: #2f4bd0;
    --primary-light: #eef0ff;
    --navy: #0e1a3a;
    --navy-soft: #16244d;
    --ink: #1a2138;
    --ink-soft: #57607a;
    --line: #e6e9f2;
    --bg-soft: #f6f8fd;
    --mint: #12b886;
    --amber: #f59f00;
    --coral: #f76a5a;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-card: 0 6px 24px rgba(20, 34, 87, .07);
    --shadow-pop: 0 18px 50px rgba(20, 34, 87, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container-l {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 공통 타이포 ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.3;
    margin: 0 0 12px;
}

.section-sub {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0 0 48px;
}

/* ---------- 버튼 ---------- */
.btn-l {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px;
    padding: 14px 28px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary-l {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(67, 97, 238, .35);
}
.btn-primary-l:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(67, 97, 238, .42); }

.btn-ghost-l {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-ghost-l:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-white-l { background: #fff; color: var(--primary); }
.btn-white-l:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ---------- 네비게이션 ---------- */
.nav-l {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(230, 233, 242, .8);
}

.nav-l .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.brand-l {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -.02em;
}
.brand-l .material-icons-outlined { color: var(--primary); font-size: 26px; }
.brand-l img { height: 26px; width: auto; }

.nav-links {
    display: flex;
    gap: 28px;
}
.nav-links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn-l { padding: 9px 18px; font-size: 14px; white-space: nowrap; }

@media (max-width: 860px) {
    .nav-links { display: none; }
}

/* 좁은 화면: 언어 선택 위젯까지 한 줄에 들어가도록 브랜드/CTA 를 축소 */
@media (max-width: 560px) {
    .brand-l { font-size: 17px; gap: 6px; }
    .nav-cta { gap: 7px; }
    .nav-cta .btn-l { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 400px) {
    .nav-l .container-l { padding: 0 14px; }
    .nav-cta { gap: 6px; }
    .nav-cta .btn-l { padding: 8px 9px; font-size: 12.5px; }
}
@media (max-width: 360px) {
    .nav-l .container-l { padding: 0 10px; }
    .brand-l { font-size: 15.5px; }
    .brand-l img { height: 22px; }
}

/* ---------- 히어로 ---------- */
.hero-l {
    position: relative;
    overflow: hidden;
    padding: 92px 0 110px;
    background:
        radial-gradient(1100px 520px at 82% -10%, rgba(67, 97, 238, .14), transparent 62%),
        radial-gradient(720px 420px at -8% 32%, rgba(18, 184, 134, .10), transparent 60%),
        linear-gradient(180deg, #fbfcff 0%, #f2f5fd 100%);
}

/* 배경 도트 그리드 */
.hero-l::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(67, 97, 238, .13) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, transparent 4%, #000 34%, transparent 92%);
    -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 34%, transparent 92%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 460px; margin: 0 auto; }
}

.hero-copy h1 {
    font-size: clamp(34px, 5.2vw, 54px);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.24;
    margin: 0 0 20px;
}
.hero-copy h1 .accent { color: var(--primary); }

.hero-copy p.lead-l {
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0 0 34px;
    max-width: 480px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-note {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-soft);
}
.hero-note span { display: inline-flex; align-items: center; gap: 5px; }
.hero-note .material-icons-outlined { font-size: 17px; color: var(--mint); }

/* 히어로 로드 스태거 */
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.hero-visual { opacity: 0; transform: translateY(26px) scale(.97); animation: riseCard .8s .3s cubic-bezier(.2,.7,.3,1) forwards; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes riseCard { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- CSS 제품 목업 공통 ---------- */
.mock-window {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    font-size: 13px;
}

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: #fbfcff;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-dot.r { background: #ff6b6b; } .mock-dot.y { background: #ffd43b; } .mock-dot.g { background: #51cf66; }
.mock-titlebar .t { margin-left: 8px; font-weight: 700; font-size: 12.5px; color: var(--ink-soft); }

.mock-body { padding: 18px; }

/* 채팅 버블 */
.chat-row { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-end; }
.chat-row.me { flex-direction: row-reverse; }

.avatar-m {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}

.bubble {
    max-width: 76%;
    padding: 10px 14px;
    border-radius: 14px 14px 14px 4px;
    background: var(--bg-soft);
    color: var(--ink);
    line-height: 1.55;
}
.chat-row.me .bubble {
    border-radius: 14px 14px 4px 14px;
    background: var(--primary);
    color: #fff;
}
.bubble .name { display: block; font-size: 11px; font-weight: 700; color: var(--ink-soft); margin-bottom: 3px; }

.bubble.ai {
    background: linear-gradient(135deg, #eef0ff, #e6fcf5);
    border: 1px solid #dbe4ff;
}
.ai-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
    color: var(--primary); background: #fff;
    border: 1px solid #dbe4ff; border-radius: 999px;
    padding: 2px 8px; margin-bottom: 6px;
}
.ai-chip .material-icons-outlined { font-size: 12px; }

/* 타이핑 점 */
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); opacity: .35;
    animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }

/* 메일 인박스 목업 */
.mail-row {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 6px; border-bottom: 1px solid #f0f2f8;
}
.mail-row:last-child { border-bottom: 0; }
.mail-row .from { width: 86px; font-weight: 700; font-size: 12.5px; flex-shrink: 0; }
.mail-row .subj { flex: 1; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-row .time { font-size: 11.5px; color: #a3aabf; flex-shrink: 0; }
.mail-row.unread .from, .mail-row.unread .subj { color: var(--ink); font-weight: 700; }
.mail-row .tag {
    font-size: 10px; font-weight: 800; border-radius: 5px; padding: 2px 7px; flex-shrink: 0;
}
.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-mint { background: #e6fcf5; color: #0ca678; }
.tag-amber { background: #fff4e0; color: #e8850c; }

/* 칸반 목업 */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-col { background: var(--bg-soft); border-radius: 10px; padding: 10px; }
.kb-col h6 {
    margin: 0 0 8px; font-size: 11px; font-weight: 800;
    letter-spacing: .05em; color: var(--ink-soft);
    display: flex; justify-content: space-between;
}
.kb-card {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 8px 10px; margin-bottom: 8px; font-size: 11.5px; font-weight: 500;
    box-shadow: 0 1px 3px rgba(20,34,87,.06);
}
.kb-card .bar { height: 4px; border-radius: 3px; margin-top: 7px; background: var(--line); overflow: hidden; }
.kb-card .bar i { display: block; height: 100%; border-radius: 3px; }

/* ---------- 로고 스트립 ---------- */
.logo-strip { padding: 34px 0 30px; border-bottom: 1px solid var(--line); background: #fff; }
.logo-strip p {
    text-align: center; font-size: 13px; font-weight: 600;
    color: #a3aabf; margin: 0 0 20px; letter-spacing: .04em;
}
.logo-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 14px 40px; align-items: center;
}
.logo-item {
    font-weight: 800; font-size: 17px; letter-spacing: -.01em;
    color: #b9c0d4; filter: grayscale(1);
    transition: color .2s;
    display: inline-flex; align-items: center; gap: 6px;
}
.logo-item:hover { color: var(--ink-soft); }
.logo-item .material-icons-outlined { font-size: 20px; }

/* ---------- 필러(4대 기능) ---------- */
.pillars { padding: 96px 0 40px; background: #fff; text-align: center; }

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
    text-align: left;
}
@media (max-width: 960px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}
.pillar-card::after {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: var(--pc, var(--primary)); opacity: 0;
    transition: opacity .2s;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: transparent; }
.pillar-card:hover::after { opacity: 1; }

.pillar-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--pcl, var(--primary-light)); color: var(--pc, var(--primary));
    margin-bottom: 18px;
}
.pillar-icon .material-icons-outlined { font-size: 28px; }
.pillar-card h5 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.pillar-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- 기능 상세 (교차 배치) ---------- */
.feature-detail { padding: 56px 0; }
.feature-detail:nth-of-type(odd) { background: var(--bg-soft); }

.fd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.fd-grid.flip .fd-copy { order: 2; }
/* 그리드 아이템 기본 min-width:auto가 nowrap 콘텐츠(메일 목업)에 밀려 오버플로되는 것 방지 */
.fd-grid > *, .hero-grid > * { min-width: 0; }
@media (max-width: 900px) {
    .fd-grid { grid-template-columns: 1fr; gap: 34px; }
    .fd-grid.flip .fd-copy { order: 0; }
}

.fd-copy .eyebrow { margin-bottom: 14px; }
.fd-copy h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.35; }
.fd-copy p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 20px; }

.fd-list { list-style: none; margin: 0; padding: 0; }
.fd-list li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 14.5px; margin-bottom: 11px; color: var(--ink);
}
.fd-list .material-icons-outlined { font-size: 19px; color: var(--mint); margin-top: 2px; }

/* ---------- 신뢰/보안 (다크 네이비) ---------- */
.trust-l {
    background:
        radial-gradient(900px 400px at 88% 0%, rgba(67, 97, 238, .35), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.trust-l::before {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(720px 480px at 50% 0%, #000, transparent 78%);
    -webkit-mask-image: radial-gradient(720px 480px at 50% 0%, #000, transparent 78%);
}
.trust-l .inner { position: relative; text-align: center; }
.trust-l .section-title { color: #fff; }
.trust-l .section-sub { color: rgba(255,255,255,.62); }
.trust-l .eyebrow { background: rgba(255,255,255,.1); color: #9db1ff; }

.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-top: 10px; text-align: left;
}
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    backdrop-filter: blur(4px);
    transition: background .2s, transform .2s;
}
.trust-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.trust-card .material-icons-outlined { font-size: 26px; color: #9db1ff; margin-bottom: 12px; }
.trust-card h6 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: #fff; }
.trust-card p { margin: 0; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- 고객사 그리드 (메일플러그풍) ---------- */
.customers { padding: 96px 0; background: #fff; text-align: center; }

.cust-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 14px; margin-top: 8px;
}
@media (max-width: 960px) { .cust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cust-grid { grid-template-columns: repeat(2, 1fr); } }

.cust-cell {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px 10px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 7px;
    color: #8e97b3; background: #fff;
    transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.cust-cell:hover { border-color: #c9d4ff; color: var(--ink-soft); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cust-cell .material-icons-outlined { font-size: 26px; }
.cust-cell b { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.cust-cell small { font-size: 11px; color: #b3bacd; }

/* ---------- 요금제 ---------- */
.plans-l { padding: 96px 0; background: var(--bg-soft); text-align: center; }

.plan-grid {
    /* 용량제 6종 — 상단 4칸(무료~50GB) + 하단 100GB·엔터프라이즈 2칸 스팬 */
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-top: 8px; text-align: left;
    align-items: stretch;
}
.plan-card-l.span2 { grid-column: span 2; }
/* 넓은 카드는 기능 목록을 2단으로 — 좌우 여백 낭비 방지 */
.plan-card-l.span2 .plan-feats { column-count: 2; column-gap: 28px; }
.plan-card-l.span2 .plan-feats li { break-inside: avoid; }
@media (max-width: 1024px) {
    .plan-grid { grid-template-columns: repeat(2, 1fr); }
    /* 2열에서 span2 = 한 줄 전체 */
}
@media (max-width: 600px) {
    .plan-grid { grid-template-columns: 1fr; }
    .plan-card-l.span2 { grid-column: auto; }
    .plan-card-l.span2 .plan-feats { column-count: 1; }
}

.plan-card-l {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 30px 26px;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.plan-card-l:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }

.plan-card-l.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-pop);
}
.plan-card-l.featured::before {
    content: "가장 인기";
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff;
    font-size: 11.5px; font-weight: 800;
    border-radius: 999px; padding: 4px 14px;
    box-shadow: 0 6px 14px rgba(67,97,238,.4);
}

.plan-card-l h4 { margin: 0 0 4px; font-size: 17px; font-weight: 900; }
.plan-card-l .cap { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px; }
.plan-price-l { font-size: 32px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 14px; }
.plan-price-l small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.plan-price-l .free { color: var(--mint); }
/* .plan-yearly — 연간 결제 폐지(2026-07 용량제 전환)로 미사용 */

.plan-feats { list-style: none; margin: 0 0 24px; padding: 16px 0 0; border-top: 1px solid var(--line); flex: 1; }
.plan-feats li {
    display: flex; gap: 8px; align-items: flex-start;
    font-size: 13.5px; margin-bottom: 10px; color: var(--ink);
}
.plan-feats .material-icons-outlined { font-size: 17px; color: var(--mint); margin-top: 2px; }

/* ---------- CTA 배너 ---------- */
.cta-l {
    padding: 88px 0;
    background: linear-gradient(120deg, var(--primary-deep) 0%, var(--primary) 55%, #6b8cff 100%);
    color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.cta-l::before, .cta-l::after {
    content: ""; position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-l::before { width: 380px; height: 380px; left: -120px; bottom: -190px; }
.cta-l::after { width: 300px; height: 300px; right: -90px; top: -150px; }
.cta-l h2 { position: relative; font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; margin: 0 0 12px; }
.cta-l p { position: relative; color: rgba(255,255,255,.82); margin: 0 0 30px; font-size: 16px; }
.cta-l .hero-ctas { position: relative; justify-content: center; }

/* ---------- 푸터 ---------- */
.footer-l { background: var(--navy); color: rgba(255,255,255,.55); padding: 60px 0 36px; font-size: 13.5px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px; margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-l .brand-l { color: #fff; margin-bottom: 12px; }
.footer-l h6 { color: #fff; font-size: 13.5px; font-weight: 800; margin: 0 0 14px; letter-spacing: .03em; }
.footer-l ul { list-style: none; margin: 0; padding: 0; }
.footer-l li { margin-bottom: 9px; }
.footer-l a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.footer-l a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.38);
}

/* ---------- 스크롤 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-copy > *, .hero-visual { animation: none; opacity: 1; transform: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .typing i { animation: none; opacity: .6; }
}

/* ---------- 다운로드 ---------- */
.download-l {
    padding: 96px 0; text-align: center;
    background: #fff url('../img/download-bg.svg') no-repeat center / cover;
}

.dl-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; margin-top: 8px; text-align: left;
}
@media (max-width: 960px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; } }

.dl-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    background: #fff;
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: #c9d4ff; }

.dl-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); color: var(--primary);
    margin-bottom: 8px;
}
.dl-icon .material-icons-outlined { font-size: 28px; }

.dl-card h5 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.dl-card p { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-soft); min-height: 42px; }

.dl-btn { margin-top: auto; width: 100%; justify-content: center; gap: 6px; }
.dl-btn small { font-weight: 600; opacity: .85; }

.dl-soon, .dl-store > span {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 6px; border-radius: 10px;
    background: var(--bg-soft); color: #8e97b3;
    font-size: 13.5px; font-weight: 700; white-space: nowrap;
    border: 1.5px dashed var(--line);
}
.dl-soon { margin-top: auto; width: 100%; }
.dl-store { display: flex; gap: 8px; margin-top: auto; width: 100%; }
.dl-store > span { flex: 1; font-size: 12.5px; }
/* 배지 안 아이콘은 배지 스타일 상속 금지 (span 중첩) — 아이콘 원형 유지 */
.dl-soon .material-icons-outlined, .dl-store .material-icons-outlined {
    font-size: 16px; border: none; background: none; padding: 0; flex: none; color: inherit;
}

.dl-webnote { margin-top: 30px; font-size: 14.5px; color: var(--ink-soft); }
.dl-webnote code {
    background: var(--primary-light); color: var(--primary);
    padding: 2px 9px; border-radius: 6px; font-size: 13px; font-family: inherit; font-weight: 700;
}
