@charset "utf-8";

/* ============================================
   텔레그램 봇 가이드 (Best 5)
   접두사: tg-bot2- (기존 사이트 오염 방지)
   컬러 톤: 에메랄드(Emerald) + 다크 슬레이트
============================================ */

:root {
    --tgb2-emerald: #059669;
    --tgb2-emerald-dark: #047857;
    --tgb2-emerald-deep: #064e3b;
    --tgb2-emerald-light: #ecfdf5;
    --tgb2-emerald-border: #6ee7b7;
    --tgb2-teal: #14b8a6;
    --tgb2-slate-900: #0f172a;
    --tgb2-slate-700: #334155;
    --tgb2-slate-500: #64748b;
    --tgb2-slate-200: #e2e8f0;
    --tgb2-slate-100: #f1f5f9;
    --tgb2-bg: #f8fafb;
    --tgb2-white: #ffffff;
    --tgb2-amber: #f59e0b;
    --tgb2-amber-light: #fffbeb;
    --tgb2-amber-border: #fde68a;
    --tgb2-red: #ef4444;
    --tgb2-purple: #8b5cf6;
    --tgb2-blue: #3b82f6;
    --tgb2-cyan: #06b6d4;
    --tgb2-radius: 14px;
}

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

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

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

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

.tg-bot2-wrapper code {
    font-family: 'Consolas', 'Courier New', monospace;
    background-color: var(--tgb2-slate-100);
    color: var(--tgb2-emerald-dark);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid var(--tgb2-slate-200);
}

/* ─── 히어로 헤더 ─── */
.tg-bot2-hero {
    background: linear-gradient(145deg, #0f172a 0%, #064e3b 40%, #059669 100%);
    color: var(--tgb2-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 장식: 기어/회로 느낌 원형 */
.tg-bot2-hero::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border: 55px solid rgba(5, 150, 105, 0.08);
    border-radius: 50%;
    top: -90px;
    right: -90px;
}

.tg-bot2-hero::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border: 35px solid rgba(20, 184, 166, 0.06);
    border-radius: 50%;
    bottom: -50px;
    left: -40px;
}

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

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

.tg-bot2-hero__badge i {
    font-size: 16px;
    color: var(--tgb2-emerald-border);
}

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

.tg-bot2-hero__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

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

.tg-bot2-section__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

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

.tg-bot2-section__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tgb2-slate-900);
    line-height: 1.35;
}

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

/* ─── 봇 카드 리스트 ─── */
.tg-bot2-bot-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tg-bot2-bot-card {
    display: flex;
    gap: 0;
    background-color: var(--tgb2-slate-100);
    border-radius: 12px;
    border: 1px solid var(--tgb2-slate-200);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-bot2-bot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* 랭크 넘버 바 */
.tg-bot2-bot-card__rank {
    flex-shrink: 0;
    width: 48px;
    background: linear-gradient(180deg, var(--tgb2-emerald) 0%, var(--tgb2-emerald-dark) 100%);
    color: var(--tgb2-white);
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-bot2-bot-card__content {
    flex: 1;
    padding: 20px;
}

.tg-bot2-bot-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* 봇 아바타 아이콘 */
.tg-bot2-bot-card__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--tgb2-white);
}

.tg-bot2-bot-card__avatar--mail {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
}

.tg-bot2-bot-card__avatar--pdf {
    background: linear-gradient(135deg, #ef4444 0%, #e11d48 100%);
}

.tg-bot2-bot-card__avatar--skeddy {
    background: linear-gradient(135deg, var(--tgb2-purple) 0%, #a78bfa 100%);
}

.tg-bot2-bot-card__avatar--dropmail {
    background: linear-gradient(135deg, var(--tgb2-blue) 0%, var(--tgb2-cyan) 100%);
}

.tg-bot2-bot-card__avatar--inline {
    background: linear-gradient(135deg, var(--tgb2-teal) 0%, var(--tgb2-emerald) 100%);
}

.tg-bot2-bot-card__name {
    font-size: 17px;
    font-weight: 800;
    color: var(--tgb2-slate-900);
    font-family: 'Consolas', 'Courier New', monospace;
}

.tg-bot2-bot-card__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--tgb2-emerald);
    background-color: var(--tgb2-emerald-light);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 2px;
}

.tg-bot2-bot-card__lead {
    font-size: 14px;
    color: var(--tgb2-slate-700);
    margin-bottom: 12px;
    font-weight: 500;
}

/* 기능/활용법 리스트 */
.tg-bot2-bot-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tg-bot2-bot-card__features li {
    font-size: 14px;
    line-height: 1.65;
    padding-left: 0;
}

.tg-bot2-bot-card__features li i {
    color: var(--tgb2-emerald);
    margin-right: 6px;
    font-size: 12px;
}

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

.tg-bot2-tip-card {
    background-color: var(--tgb2-amber-light);
    border: 1px solid var(--tgb2-amber-border);
    border-radius: 10px;
    padding: 20px;
}

.tg-bot2-tip-card__icon {
    font-size: 24px;
    color: var(--tgb2-amber);
    margin-bottom: 10px;
}

.tg-bot2-tip-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.tg-bot2-tip-card__text {
    font-size: 14px;
    color: #a16207;
}

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

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

.tg-bot2-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: #a7f3d0;
}

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

.tg-bot2-summary strong,
.tg-bot2-summary__body strong {
    color: var(--tgb2-white);
}

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

.tg-bot2-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #d1fae5;
    font-family: 'Consolas', 'Courier New', 'Pretendard', monospace;
}

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

/* FontAwesome 체크마크 (이모지 대신) */
.tg-bot2-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(--tgb2-emerald-border);
}

.tg-bot2-summary__checklist strong {
    color: var(--tgb2-white);
}

.tg-bot2-summary__footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #6ee7b7;
    line-height: 1.8;
}

.tg-bot2-summary__footer strong {
    color: var(--tgb2-white);
}

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

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

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

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

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

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

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

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

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

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

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