﻿@charset "utf-8";

/* ============================================
   텔레그램 움직이는 배경 가이드 (v1.0.0)
   접두사: tg-bg-
   테마: Gradient & Vibrant (감각적/다채로움)
============================================ */

:root {
    --bg-primary: #ec4899; /* Pink */
    --bg-accent: #f59e0b;  /* Orange */
    --bg-cyan: #06b6d4;
    --bg-white: #ffffff;
    
    --bg-navy: #0f172a;
    --bg-indigo: #312e81;
    --bg-slate-700: #334155;
    --bg-slate-500: #64748b;
    --bg-slate-200: #e2e8f0;
    --bg-slate-100: #f1f5f9;
    
    --bg-radius: 20px;
}

/* ============================================
   그누보드5 기존 CSS 충돌 방지용 완전 리셋
============================================ */
#tg-bg-wrapper,
#tg-bg-wrapper *,
#tg-bg-wrapper *::before,
#tg-bg-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    list-style: none !important;
    background: none !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    word-break: keep-all !important;
}

#tg-bg-wrapper h1, #tg-bg-wrapper h2, #tg-bg-wrapper h3,
#tg-bg-wrapper p, #tg-bg-wrapper span, #tg-bg-wrapper div {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

/* 래퍼 본체 */
#tg-bg-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Noto Sans KR', 'Inter', sans-serif !important;
    background-color: #fcfaff !important;
    color: var(--bg-slate-700) !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
}

#tg-bg-wrapper strong {
    font-weight: 700 !important;
    color: var(--bg-navy) !important;
}

#tg-bg-wrapper p {
    margin-bottom: 16px !important;
    line-height: 1.8 !important;
    display: block !important;
}

#tg-bg-wrapper mark {
    background: linear-gradient(120deg, #fce7f3 0%, #fae8ff 100%) !important;
    color: #be185d !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* ============================================
   히어로 섹션 (수직 레이아웃)
============================================ */
#tg-bg-wrapper .tg-bg-hero {
    background: linear-gradient(145deg, #1e1b4b 0%, #4c1d95 30%, #ec4899 70%, #f59e0b 100%) !important;
    padding: 100px 24px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#tg-bg-wrapper .tg-bg-hero::before {
    content: "" !important;
    position: absolute !important;
    width: 600px !important; height: 600px !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    bottom: -300px !important; left: -200px !important;
}

#tg-bg-wrapper .tg-bg-hero__inner {
    position: relative !important; z-index: 1 !important;
    display: flex !important; flex-direction: column !important; align-items: center !important;
}

#tg-bg-wrapper .tg-bg-hero__icon-group {
    display: flex !important; align-items: center !important; gap: 14px !important;
    margin-bottom: 30px !important;
}

#tg-bg-wrapper .tg-bg-hero__icon-box {
    width: 60px !important; height: 60px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 18px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 26px !important; color: #fdf2f8 !important;
}

#tg-bg-wrapper .tg-bg-hero__icon-arrow {
    color: rgba(255, 255, 255, 0.2) !important;
    font-size: 18px !important;
}

#tg-bg-wrapper .tg-bg-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(15, 23, 42, 0.2) !important;
    color: #fdf2f8 !important;
    font-size: 14px !important; font-weight: 700 !important;
    padding: 10px 22px !important; border-radius: 100px !important;
    margin-bottom: 24px !important; border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
}

#tg-bg-wrapper .tg-bg-hero__title {
    font-size: 32px !important; font-weight: 900 !important; line-height: 1.3 !important;
    color: var(--bg-white) !important; margin-bottom: 20px !important;
}

#tg-bg-wrapper .tg-bg-hero__desc {
    font-size: 17px !important; color: rgba(255, 255, 255, 0.8) !important;
    max-width: 650px !important;
}

/* ============================================
   메인 콘텐츠
============================================ */
#tg-bg-wrapper .tg-bg-main {
    padding: 40px 20px !important;
    display: flex !important; flex-direction: column !important; gap: 40px !important;
}

#tg-bg-wrapper .tg-bg-intro {
    background: var(--bg-white) !important;
    padding: 30px !important; border-radius: var(--bg-radius) !important;
    border-left: 6px solid var(--bg-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

#tg-bg-wrapper .tg-bg-section {
    background: var(--bg-white) !important;
    padding: 40px 30px !important; border-radius: var(--bg-radius) !important;
    border: 1px solid var(--bg-slate-200) !important;
}

#tg-bg-wrapper .tg-bg-section--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    border-color: #334155 !important;
}

#tg-bg-wrapper .tg-bg-section--dark p { color: #94a3b8 !important; }
#tg-bg-wrapper .tg-bg-section--dark strong { color: var(--bg-white) !important; }

#tg-bg-wrapper .tg-bg-section__head {
    display: flex !important; align-items: center !important; gap: 16px !important;
    margin-bottom: 24px !important;
}

#tg-bg-wrapper .tg-bg-section__num {
    font-size: 40px !important; font-weight: 950 !important; color: var(--bg-primary) !important;
    opacity: 0.2 !important; line-height: 1 !important;
}

#tg-bg-wrapper .tg-bg-section__title {
    font-size: 24px !important; font-weight: 800 !important; color: var(--bg-navy) !important;
}

#tg-bg-wrapper .tg-bg-section--dark .tg-bg-section__title {
    color: var(--bg-white) !important;
}

/* ─── 디자인 카드 ─── */
#tg-bg-wrapper .tg-bg-card-v {
    display: flex !important; gap: 20px !important; flex-wrap: wrap !important;
    margin: 20px 0 !important;
}

#tg-bg-wrapper .tg-bg-card {
    flex: 1 !important; min-width: 200px !important; padding: 24px !important;
    border-radius: 16px !important; background: var(--bg-slate-100) !important;
    text-align: center !important;
}

#tg-bg-wrapper .tg-bg-card--pink { border-top: 4px solid #ec4899 !important; }
#tg-bg-wrapper .tg-bg-card--orange { border-top: 4px solid #f59e0b !important; }
#tg-bg-wrapper .tg-bg-card--blue { border-top: 4px solid #3b82f6 !important; }

#tg-bg-wrapper .tg-bg-card i { font-size: 24px !important; margin-bottom: 12px !important; color: var(--bg-slate-500) !important; }

/* ─── 프로세스 비주얼 ─── */
#tg-bg-wrapper .tg-bg-process {
    display: flex !important; justify-content: center !important; align-items: center !important;
    gap: 12px !important; flex-wrap: wrap !important; margin: 30px 0 !important;
    background: #fdf2f8 !important;
    padding: 30px 20px !important; border-radius: 20px !important;
}

#tg-bg-wrapper .tg-bg-process__step {
    display: flex !important; flex-direction: column !important; align-items: center !important;
    gap: 8px !important; font-weight: 700 !important; font-size: 14px !important;
}

#tg-bg-wrapper .tg-bg-process__icon {
    width: 52px !important; height: 52px !important;
    background: var(--bg-white) !important;
    border: 1px solid var(--bg-slate-200) !important;
    border-radius: 14px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 20px !important; color: var(--bg-primary) !important;
}

#tg-bg-wrapper .tg-bg-process__arrow { color: var(--bg-slate-200) !important; }

/* ─── 타임라인/리스트 ─── */
#tg-bg-wrapper .tg-bg-timeline__item {
    display: flex !important; gap: 16px !important; padding: 24px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important; margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

#tg-bg-wrapper .tg-bg-timeline__item:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    transform: translateY(-4px) !important;
}

#tg-bg-wrapper .tg-bg-timeline__icon {
    flex-shrink: 0 !important; width: 44px !important; height: 44px !important;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%) !important;
    color: var(--bg-white) !important;
    border-radius: 12px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 18px !important;
}

#tg-bg-wrapper .tg-bg-timeline__body h3 {
    font-size: 18px !important; font-weight: 800 !important; color: var(--bg-white) !important;
    margin-bottom: 6px !important;
}

#tg-bg-wrapper .tg-bg-timeline__body p {
    font-size: 15px !important; color: #94a3b8 !important; margin-bottom: 0 !important;
}

/* ============================================
   결론 및 요약 (Summary 섹션)
============================================ */
#tg-bg-wrapper .tg-bg-summary {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 40%, #be185d 100%) !important;
    color: var(--bg-white) !important;
    padding: 60px 24px !important; border-radius: var(--bg-radius) !important;
    text-align: center !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

#tg-bg-wrapper .tg-bg-summary__title {
    font-size: 26px !important; font-weight: 800 !important; color: var(--bg-white) !important;
    margin-bottom: 24px !important;
}

#tg-bg-wrapper .tg-bg-summary__desc {
    font-size: 16px !important; color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 34px !important; max-width: 750px !important;
    margin-left: auto !important; margin-right: auto !important;
}

/* 요약 비주얼 인포그래픽 */
#tg-bg-wrapper .tg-bg-summary__visual {
    display: flex !important; justify-content: center !important; align-items: center !important;
    gap: 14px !important; margin-bottom: 40px !important; flex-wrap: wrap !important;
}

#tg-bg-wrapper .tg-bg-summary__v-item {
    display: flex !important; flex-direction: column !important; align-items: center !important; gap: 10px !important;
}

#tg-bg-wrapper .tg-bg-summary__v-icon {
    width: 54px !important; height: 54px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 20px !important; color: #fce7f3 !important;
}

#tg-bg-wrapper .tg-bg-summary__v-icon--active { 
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%) !important;
    color: #fff !important; 
}

#tg-bg-wrapper .tg-bg-summary__v-text { font-size: 13px !important; font-weight: 700 !important; color: #cbd5e1 !important; }

#tg-bg-wrapper .tg-bg-summary__v-arrow { color: rgba(255, 255, 255, 0.2) !important; font-size: 12px !important; }

/* 체크리스트 */
#tg-bg-wrapper .tg-bg-summary__checklist {
    text-align: left !important; display: inline-block !important;
    background: rgba(15, 23, 42, 0.4) !important;
    padding: 34px !important; border-radius: 20px !important;
    margin-bottom: 40px !important; width: 100% !important; max-width: 660px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#tg-bg-wrapper .tg-bg-summary__checklist li {
    position: relative !important; padding-left: 32px !important;
    margin-bottom: 16px !important; font-size: 15px !important; color: #e2e8f0 !important;
    line-height: 1.6 !important;
}

#tg-bg-wrapper .tg-bg-summary__checklist li:last-child { margin-bottom: 0 !important; }

#tg-bg-wrapper .tg-bg-summary__checklist li strong { color: var(--bg-white) !important; }

#tg-bg-wrapper .tg-bg-summary__checklist li::before {
    content: "\f058" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; left: 0 !important; top: 2px !important; color: var(--bg-primary) !important;
    font-size: 18px !important;
}

/* 푸터 */
#tg-bg-wrapper .tg-bg-summary__footer {
    font-size: 14px !important; color: rgba(148, 163, 184, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 30px !important;
}

#tg-bg-wrapper .tg-bg-summary__footer strong { color: var(--bg-white) !important; }

/* 반응형 */
@media (min-width: 768px) {
    #tg-bg-wrapper .tg-bg-hero__title { font-size: 42px !important; }
}

/* 애니메이션 */
.tg-bg-motion {
    opacity: 0 !important; transform: translateY(30px) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tg-bg-motion.is-visible {
    opacity: 1 !important; transform: translateY(0) !important;
}

