@charset "utf-8";

/* ============================================
   텔레그램 사용자 이름(ID) 설정 가이드
   접두사: tg-uid- (기존 사이트 오염 방지)
   컬러 톤: 포레스트 그린(Forest Green) + 슬레이트
============================================ */

:root {
    --tgui-green: #15803d;
    --tgui-green-dark: #166534;
    --tgui-green-deep: #052e16;
    --tgui-green-light: #f0fdf4;
    --tgui-green-border: #86efac;
    --tgui-emerald: #059669;
    --tgui-amber: #d97706;
    --tgui-amber-light: #fffbeb;
    --tgui-amber-border: #fde68a;
    --tgui-red: #dc2626;
    --tgui-red-light: #fef2f2;
    --tgui-slate-900: #0f172a;
    --tgui-slate-700: #334155;
    --tgui-slate-500: #64748b;
    --tgui-slate-300: #cbd5e1;
    --tgui-slate-200: #e2e8f0;
    --tgui-slate-100: #f1f5f9;
    --tgui-bg: #f0faf4;
    --tgui-white: #ffffff;
    --tgui-radius: 14px;
}

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

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

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

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

/* ─── 히어로 헤더 ─── */
.tg-uid-hero {
    background: linear-gradient(145deg, #020617 0%, #052e16 30%, #15803d 70%, #4ade80 100%);
    color: var(--tgui-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-uid-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(21, 128, 61, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-uid-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(134, 239, 172, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

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

.tg-uid-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(21, 128, 61, 0.15);
    color: var(--tgui-green-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(134, 239, 172, 0.15);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

.tg-uid-section--dark {
    background: linear-gradient(135deg, var(--tgui-slate-900) 0%, #1e293b 100%);
    border-color: var(--tgui-slate-700);
    color: var(--tgui-slate-300);
}

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

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

.tg-uid-section__num--light {
    color: var(--tgui-green-border);
    opacity: 0.3;
}

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

.tg-uid-section__title--light {
    color: var(--tgui-white);
}

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

.tg-uid-section__desc--light {
    color: var(--tgui-slate-300);
}

.tg-uid-section__desc--light strong {
    color: var(--tgui-white);
}

/* ─── t.me 링크 비주얼 ─── */
.tg-uid-link-visual {
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(135deg, var(--tgui-green-light) 0%, #dcfce7 100%);
    border: 1px solid var(--tgui-green-border);
    border-radius: 12px;
    margin-bottom: 20px;
}

.tg-uid-link-visual__box {
    display: inline-flex;
    align-items: center;
    background-color: var(--tgui-white);
    padding: 10px 20px;
    border-radius: 100px;
    border: 2px solid var(--tgui-green-border);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.1);
}

.tg-uid-link-visual__prefix {
    font-size: 15px;
    font-weight: 600;
    color: var(--tgui-slate-500);
    font-family: 'Consolas', 'Courier New', monospace;
}

.tg-uid-link-visual__id {
    font-size: 15px;
    font-weight: 800;
    color: var(--tgui-green);
    font-family: 'Consolas', 'Courier New', monospace;
}

.tg-uid-link-visual__desc {
    font-size: 13px;
    color: var(--tgui-green-dark);
}

/* ─── 활용 사례 ─── */
.tg-uid-use-cases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.tg-uid-use-case {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: var(--tgui-slate-100);
    border-radius: 10px;
    border: 1px solid var(--tgui-slate-200);
}

.tg-uid-use-case__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--tgui-green) 0%, var(--tgui-emerald) 100%);
    color: var(--tgui-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tg-uid-use-case__body strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.tg-uid-use-case__body span {
    font-size: 13px;
}

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

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

.tg-uid-step:hover {
    border-left-color: var(--tgui-green);
}

.tg-uid-step--highlight {
    background: linear-gradient(135deg, var(--tgui-green-light) 0%, #dcfce740 100%);
    border-left-color: var(--tgui-green);
}

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

.tg-uid-step__marker--highlight {
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

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

.tg-uid-step__text p {
    margin-bottom: 10px;
}

.tg-uid-step__sub {
    font-size: 13px;
    color: var(--tgui-slate-500);
    margin-top: 4px;
}

/* OS 경로 */
.tg-uid-os-paths {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

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

.tg-uid-os-path__label {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--tgui-green-dark);
    min-width: 110px;
}

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

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

/* @ 입력 비주얼 */
.tg-uid-input-visual {
    display: inline-flex;
    align-items: center;
    background-color: var(--tgui-white);
    padding: 8px 14px;
    border-radius: 8px;
    border: 2px solid var(--tgui-green-border);
    margin-top: 4px;
}

.tg-uid-input-visual__at {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgui-green);
    margin-right: 2px;
    font-family: 'Consolas', 'Courier New', monospace;
}

.tg-uid-input-visual__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--tgui-slate-700);
    font-family: 'Consolas', 'Courier New', monospace;
}

.tg-uid-input-visual__check {
    margin-left: 8px;
    color: var(--tgui-emerald);
    font-size: 16px;
}

/* 경고 박스 */
.tg-uid-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--tgui-amber-light);
    border: 1px solid var(--tgui-amber-border);
    padding: 16px 18px;
    border-radius: 10px;
    margin-top: 16px;
}

.tg-uid-warning-box__icon {
    font-size: 20px;
    color: var(--tgui-amber);
    flex-shrink: 0;
    margin-top: 1px;
}

.tg-uid-warning-box__body strong {
    display: block;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 4px;
}

.tg-uid-warning-box__body p {
    font-size: 13px;
    color: #a16207;
}

/* ─── 전화번호 숨기기 카드 ─── */
.tg-uid-privacy-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(134, 239, 172, 0.15);
    border-radius: 12px;
    padding: 24px 22px;
    text-align: center;
}

.tg-uid-privacy-card__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.15) 0%, rgba(134, 239, 172, 0.1) 100%);
    color: var(--tgui-green-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}

.tg-uid-privacy-card__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--tgui-white);
    margin-bottom: 8px;
}

.tg-uid-privacy-card__path {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--tgui-green-border);
    background-color: rgba(21, 128, 61, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.tg-uid-privacy-card__path i {
    margin-right: 3px;
}

.tg-uid-privacy-card__desc {
    font-size: 14px;
    color: var(--tgui-slate-300);
    margin-bottom: 14px;
}

/* 프라이버시 옵션 뱃지 */
.tg-uid-privacy-options {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tg-uid-privacy-option {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--tgui-slate-300);
    background-color: rgba(255, 255, 255, 0.04);
}

.tg-uid-privacy-option i {
    font-size: 10px;
}

.tg-uid-privacy-option--rec {
    color: var(--tgui-green-border);
    border-color: rgba(134, 239, 172, 0.3);
    background-color: rgba(21, 128, 61, 0.1);
}

.tg-uid-privacy-option--rec i {
    color: var(--tgui-green-border);
}

.tg-uid-privacy-option--warn {
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.2);
    background-color: rgba(220, 38, 38, 0.06);
    text-decoration: line-through;
}

.tg-uid-privacy-option--warn i {
    color: #fca5a5;
}

.tg-uid-privacy-card__result {
    font-size: 14px;
    font-weight: 600;
    color: var(--tgui-green-border);
}

.tg-uid-privacy-card__result i {
    margin-right: 6px;
}

/* ─── 결론 및 요약 ─── */
.tg-uid-summary {
    background: linear-gradient(135deg, #020617 0%, var(--tgui-green-deep) 50%, var(--tgui-green-dark) 100%);
    color: var(--tgui-white);
    padding: 44px 28px;
    border-radius: var(--tgui-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(5, 46, 22, 0.4);
}

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

.tg-uid-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgui-green-border);
}

.tg-uid-summary strong {
    color: var(--tgui-white);
}

/* 체크리스트 */
.tg-uid-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-uid-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #dcfce7;
}

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

.tg-uid-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(--tgui-green-border);
}

.tg-uid-summary__checklist strong {
    color: var(--tgui-white);
}

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

.tg-uid-summary__footer strong {
    color: var(--tgui-white);
}

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

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

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

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

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

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

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

    /* 활용 사례 2열 */
    .tg-uid-use-cases {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

/* ============================================
   스크롤 등장 애니메이션 (JS 연동)
============================================ */
.tg-uid-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-uid-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}