@charset "utf-8";

/* ============================================
   텔레그램 웹버전 무설치 접속 가이드
   접두사: tg-web- (기존 사이트 오염 방지)
   컬러 톤: 스카이 블루(Sky Blue) + 인디고
============================================ */

:root {
    --tgw-sky: #0ea5e9;
    --tgw-sky-dark: #0284c7;
    --tgw-sky-deep: #0c4a6e;
    --tgw-sky-light: #f0f9ff;
    --tgw-sky-border: #7dd3fc;
    --tgw-indigo: #6366f1;
    --tgw-indigo-light: #eef2ff;
    --tgw-amber: #f59e0b;
    --tgw-amber-light: #fffbeb;
    --tgw-amber-border: #fde68a;
    --tgw-green: #10b981;
    --tgw-green-light: #ecfdf5;
    --tgw-red: #ef4444;
    --tgw-red-light: #fef2f2;
    --tgw-slate-900: #0f172a;
    --tgw-slate-700: #334155;
    --tgw-slate-500: #64748b;
    --tgw-slate-300: #cbd5e1;
    --tgw-slate-200: #e2e8f0;
    --tgw-slate-100: #f1f5f9;
    --tgw-bg: #f0f7fc;
    --tgw-white: #ffffff;
    --tgw-radius: 14px;
}

/* ─── 래퍼 ─── */
.tg-web-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--tgw-slate-500);
    background-color: var(--tgw-bg);
    box-sizing: border-box;
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 60px;
}

.tg-web-wrapper *,
.tg-web-wrapper *::before,
.tg-web-wrapper *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.tg-web-wrapper strong {
    font-weight: 700;
    color: var(--tgw-slate-900);
}

.tg-web-wrapper mark {
    background: linear-gradient(120deg, var(--tgw-sky-light) 0%, #e0f2fe 100%);
    color: var(--tgw-sky-deep);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── kbd 키캡 ─── */
.tg-web-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 34px;
    padding: 0 10px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--tgw-slate-900);
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid var(--tgw-slate-300);
    border-bottom: 3px solid var(--tgw-slate-300);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tg-web-kbd-plus {
    font-size: 14px;
    font-weight: 700;
    color: var(--tgw-slate-500);
    margin: 0 4px;
}

/* ─── 히어로 헤더 ─── */
.tg-web-hero {
    background: linear-gradient(145deg, #0f172a 0%, #0c4a6e 30%, #0ea5e9 70%, #38bdf8 100%);
    color: var(--tgw-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-web-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(14, 165, 233, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-web-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(125, 211, 252, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

.tg-web-hero__inner {
    position: relative;
    z-index: 1;
}

.tg-web-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--tgw-sky-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(125, 211, 252, 0.15);
    backdrop-filter: blur(4px);
}

.tg-web-hero__badge i {
    font-size: 16px;
}

.tg-web-hero__title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 18px;
    color: var(--tgw-white);
}

.tg-web-hero__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin: 0 auto;
}

/* ─── 메인 ─── */
.tg-web-main {
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── 도입부 ─── */
.tg-web-intro {
    background-color: var(--tgw-white);
    padding: 28px 24px;
    border-radius: var(--tgw-radius);
    border-left: 4px solid var(--tgw-sky);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.tg-web-intro p {
    font-size: 16px;
    margin-bottom: 14px;
}

.tg-web-intro p:last-child {
    margin-bottom: 0;
}

/* ─── 섹션 공통 ─── */
.tg-web-section {
    background-color: var(--tgw-white);
    padding: 34px 24px;
    border-radius: var(--tgw-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--tgw-slate-200);
}

.tg-web-section--tip {
    background: linear-gradient(135deg, var(--tgw-amber-light) 0%, #fef9c3 100%);
    border-color: var(--tgw-amber-border);
}

.tg-web-section__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.tg-web-section__num {
    font-size: 38px;
    font-weight: 900;
    color: var(--tgw-sky);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
}

.tg-web-section__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--tgw-amber) 0%, #fbbf24 100%);
    color: var(--tgw-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tg-web-section__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tgw-slate-900);
    line-height: 1.35;
    padding-top: 6px;
}

.tg-web-section__desc {
    font-size: 16px;
    margin-bottom: 24px;
}

/* ─── 특징 3열 ─── */
.tg-web-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tg-web-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    background-color: var(--tgw-sky-light);
    border-radius: 10px;
    border: 1px solid #bae6fd;
    text-align: center;
}

.tg-web-feature__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tgw-sky) 0%, #38bdf8 100%);
    color: var(--tgw-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-web-feature__text {
    font-size: 12px;
    font-weight: 700;
    color: var(--tgw-sky-deep);
}

/* ─── 스텝 리스트 ─── */
.tg-web-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-web-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: var(--tgw-slate-100);
    padding: 16px 18px;
    border-radius: 10px;
    border-left: 3px solid var(--tgw-sky-border);
    transition: border-left-color 0.2s ease;
}

.tg-web-step:hover {
    border-left-color: var(--tgw-sky);
}

.tg-web-step__marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tgw-sky) 0%, var(--tgw-sky-dark) 100%);
    color: var(--tgw-white);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 1px;
}

.tg-web-step__text {
    font-size: 15px;
    padding-top: 3px;
}

.tg-web-step__text p {
    margin-bottom: 8px;
}

.tg-web-step__sub {
    font-size: 13px;
    color: var(--tgw-slate-500);
}

/* 접속 링크 버튼 */
.tg-web-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tgw-white);
    background: linear-gradient(135deg, var(--tgw-sky) 0%, var(--tgw-sky-dark) 100%);
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tg-web-link-btn:hover {
    opacity: 0.85;
}

.tg-web-link-btn i {
    font-size: 12px;
}

/* OS별 경로 */
.tg-web-os-paths {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tg-web-os-path {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.tg-web-os-path__label {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--tgw-sky-dark);
    min-width: 100px;
}

.tg-web-os-path__label i {
    margin-right: 4px;
}

.tg-web-os-path__route {
    color: var(--tgw-slate-500);
    font-weight: 600;
}

/* ─── 장단점 2열 ─── */
.tg-web-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-web-pros,
.tg-web-cons {
    padding: 22px;
    border-radius: 12px;
}

.tg-web-pros {
    background-color: var(--tgw-green-light);
    border: 1px solid #86efac;
}

.tg-web-cons {
    background-color: var(--tgw-red-light);
    border: 1px solid #fca5a5;
}

.tg-web-pros__title,
.tg-web-cons__title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tg-web-pros__title {
    color: #065f46;
}

.tg-web-pros__title i {
    color: var(--tgw-green);
}

.tg-web-cons__title {
    color: #991b1b;
}

.tg-web-cons__title i {
    color: var(--tgw-red);
}

.tg-web-pros__list,
.tg-web-cons__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tg-web-pros__list li,
.tg-web-cons__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.tg-web-pros__list li>i {
    flex-shrink: 0;
    color: var(--tgw-green);
    font-size: 12px;
    margin-top: 5px;
}

.tg-web-cons__list li>i {
    flex-shrink: 0;
    color: var(--tgw-red);
    font-size: 12px;
    margin-top: 5px;
}

.tg-web-pros__list li strong,
.tg-web-cons__list li strong {
    display: block;
    margin-bottom: 2px;
}

.tg-web-pros__list li span {
    font-size: 13px;
    color: #065f46;
}

.tg-web-cons__list li span {
    font-size: 13px;
    color: #991b1b;
}

/* ─── 꿀팁 카드 ─── */
.tg-web-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-web-tip {
    background-color: var(--tgw-white);
    padding: 22px;
    border-radius: 10px;
    border: 1px solid var(--tgw-amber-border);
    position: relative;
}

.tg-web-tip__number {
    position: absolute;
    top: -10px;
    left: 18px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tgw-amber) 0%, #fbbf24 100%);
    color: var(--tgw-white);
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tg-web-tip__title {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
    padding-top: 6px;
}

.tg-web-tip__title i {
    color: var(--tgw-amber);
    margin-right: 4px;
}

.tg-web-tip__text {
    font-size: 14px;
    color: #a16207;
    margin-bottom: 12px;
}

.tg-web-tip__text:last-child {
    margin-bottom: 0;
}

.tg-web-tip__shortcut {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tg-web-tip__shortcut-label {
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    margin-left: 8px;
}

/* ─── 결론 및 요약 ─── */
.tg-web-summary {
    background: linear-gradient(135deg, #0f172a 0%, var(--tgw-sky-deep) 50%, var(--tgw-sky-dark) 100%);
    color: var(--tgw-white);
    padding: 44px 28px;
    border-radius: var(--tgw-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(12, 74, 110, 0.3);
}

.tg-web-summary__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--tgw-white);
    margin-bottom: 20px;
}

.tg-web-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgw-sky-border);
}

.tg-web-summary__body p:last-child {
    margin-bottom: 0;
}

.tg-web-summary strong {
    color: var(--tgw-white);
}

/* 체크리스트 */
.tg-web-summary__checklist {
    list-style: none;
    display: inline-block;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 24px 32px;
    border-radius: 12px;
    margin: 24px 0;
}

.tg-web-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #e0f2fe;
}

.tg-web-summary__checklist li:last-child {
    margin-bottom: 0;
}

.tg-web-summary__checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 13px;
    color: var(--tgw-sky);
}

.tg-web-summary__checklist strong {
    color: var(--tgw-white);
}

/* 경고 블록 */
.tg-web-summary__warning {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 14px 20px;
    border-radius: 10px;
    margin: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #fecaca;
    text-align: center;
}

.tg-web-summary__warning i {
    color: #fca5a5;
    margin-right: 6px;
}

.tg-web-summary__warning strong {
    color: var(--tgw-white);
}

.tg-web-summary__footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--tgw-sky-border);
    line-height: 1.8;
}

.tg-web-summary__footer strong {
    color: var(--tgw-white);
}

/* ============================================
   반응형 미디어 쿼리 (모바일 퍼스트)
============================================ */
@media (min-width: 768px) {
    .tg-web-hero {
        padding: 80px 40px;
    }

    .tg-web-hero__title {
        font-size: 38px;
    }

    .tg-web-main {
        padding: 40px 36px 0;
        gap: 40px;
    }

    .tg-web-intro {
        padding: 36px 32px;
    }

    .tg-web-section {
        padding: 40px 36px;
    }

    .tg-web-section__title {
        font-size: 24px;
    }

    .tg-web-section__num {
        font-size: 44px;
    }

    /* 장단점 2열 */
    .tg-web-pros-cons {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 꿀팁 2열 */
    .tg-web-tips {
        grid-template-columns: repeat(2, 1fr);
    }

    .tg-web-summary {
        padding: 56px 44px;
    }
}

@media (min-width: 1024px) {
    .tg-web-hero__title {
        font-size: 44px;
    }

    .tg-web-main {
        gap: 46px;
    }
}

/* ============================================
   스크롤 등장 애니메이션 (JS 연동)
============================================ */
.tg-web-motion {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-web-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}