@charset "utf-8";

/* ============================================
   텔레그램 원격 로그아웃 가이드
   접두사: tg-rlo- (기존 사이트 오염 방지)
   컬러 톤: 크림슨 레드(Crimson Red) + 다크 슬레이트
============================================ */

:root {
    --tgrl-crimson: #dc2626;
    --tgrl-crimson-dark: #b91c1c;
    --tgrl-crimson-deep: #7f1d1d;
    --tgrl-crimson-light: #fef2f2;
    --tgrl-crimson-border: #fca5a5;
    --tgrl-amber: #f59e0b;
    --tgrl-amber-light: #fffbeb;
    --tgrl-amber-border: #fde68a;
    --tgrl-green: #10b981;
    --tgrl-green-light: #ecfdf5;
    --tgrl-slate-900: #0f172a;
    --tgrl-slate-700: #334155;
    --tgrl-slate-500: #64748b;
    --tgrl-slate-300: #cbd5e1;
    --tgrl-slate-200: #e2e8f0;
    --tgrl-slate-100: #f1f5f9;
    --tgrl-bg: #faf5f5;
    --tgrl-white: #ffffff;
    --tgrl-radius: 14px;
}

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

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

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

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

/* ─── kbd 키캡 ─── */
.tg-rlo-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(--tgrl-white);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.tg-rlo-kbd-plus {
    font-size: 14px;
    font-weight: 700;
    color: var(--tgrl-crimson-border);
    margin: 0 4px;
}

/* ─── 히어로 헤더 ─── */
.tg-rlo-hero {
    background: linear-gradient(145deg, #0f172a 0%, #450a0a 30%, #dc2626 70%, #f87171 100%);
    color: var(--tgrl-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

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

.tg-rlo-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(220, 38, 38, 0.15);
    color: var(--tgrl-crimson-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(252, 165, 165, 0.15);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

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

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

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

.tg-rlo-section__num--light {
    color: var(--tgrl-crimson-border);
    opacity: 0.3;
}

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

.tg-rlo-section__title--light {
    color: var(--tgrl-white);
}

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

.tg-rlo-section__desc--light {
    color: var(--tgrl-slate-300);
}

.tg-rlo-section__desc--light strong {
    color: var(--tgrl-white);
}

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

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

.tg-rlo-step:hover {
    border-left-color: var(--tgrl-crimson);
}

.tg-rlo-step--alert {
    background-color: var(--tgrl-crimson-light);
    border-left-color: var(--tgrl-crimson);
}

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

.tg-rlo-step__marker--alert {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

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

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

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

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

.tg-rlo-os-path__label {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--tgrl-crimson-dark);
    min-width: 80px;
}

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

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

/* ─── 인라인 팁 ─── */
.tg-rlo-tip-inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: var(--tgrl-amber-light);
    border: 1px solid var(--tgrl-amber-border);
    padding: 16px 18px;
    border-radius: 10px;
    margin-top: 16px;
}

.tg-rlo-tip-inline__icon {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--tgrl-amber);
    margin-top: 1px;
}

.tg-rlo-tip-inline__label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 4px;
}

.tg-rlo-tip-inline__text {
    font-size: 14px;
    color: #a16207;
}

/* ─── 보안 2열 카드 ─── */
.tg-rlo-security-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.tg-rlo-security-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
}

.tg-rlo-security-card__badge {
    position: absolute;
    top: -10px;
    left: 18px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tgrl-crimson) 0%, var(--tgrl-crimson-dark) 100%);
    color: var(--tgrl-white);
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tg-rlo-security-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    margin-top: 6px;
}

.tg-rlo-security-card__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(252, 165, 165, 0.1) 100%);
    color: var(--tgrl-crimson-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-rlo-security-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgrl-white);
    margin-bottom: 1px;
}

.tg-rlo-security-card__subtitle {
    font-size: 12px;
    color: var(--tgrl-crimson-border);
    font-weight: 600;
}

.tg-rlo-security-card__path {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--tgrl-crimson-border);
    background-color: rgba(220, 38, 38, 0.08);
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.tg-rlo-security-card__path i {
    margin-right: 3px;
}

.tg-rlo-security-card__desc {
    font-size: 14px;
    color: var(--tgrl-slate-300);
    margin-bottom: 12px;
}

.tg-rlo-security-card__desc strong {
    color: var(--tgrl-white);
}

/* 수동 잠금 단축키 */
.tg-rlo-shortcut-inline {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.tg-rlo-shortcut-inline__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--tgrl-slate-500);
    margin-left: 8px;
}

/* 타이머 옵션 뱃지 */
.tg-rlo-timer-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tg-rlo-timer-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(--tgrl-slate-300);
    background-color: rgba(255, 255, 255, 0.04);
}

.tg-rlo-timer-option i {
    font-size: 10px;
}

.tg-rlo-timer-option--rec {
    color: var(--tgrl-green);
    border-color: rgba(16, 185, 129, 0.3);
    background-color: rgba(16, 185, 129, 0.08);
}

.tg-rlo-timer-option--rec i {
    color: var(--tgrl-green);
}

.tg-rlo-timer-option--warn {
    color: var(--tgrl-crimson-border);
    border-color: rgba(220, 38, 38, 0.2);
    background-color: rgba(220, 38, 38, 0.06);
    text-decoration: line-through;
}

.tg-rlo-timer-option--warn i {
    color: var(--tgrl-crimson-border);
}

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

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

.tg-rlo-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgrl-crimson-border);
}

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

.tg-rlo-summary strong {
    color: var(--tgrl-white);
}

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

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

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

.tg-rlo-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(--tgrl-crimson-border);
}

.tg-rlo-summary__checklist strong {
    color: var(--tgrl-white);
}

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

.tg-rlo-summary__footer strong {
    color: var(--tgrl-white);
}

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

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

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

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

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

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

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

    /* 보안 2열 */
    .tg-rlo-security-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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