@charset "utf-8";

/* ============================================
   텔레그램 핀치 투 줌 활용 가이드 (v1.0.0)
   접두사: tg-zoom-
   테마: Dynamic Zoom & Focus (Violet & Amber)
============================================ */

:root {
    --zoom-primary: #8b5cf6; /* Violet */
    --zoom-accent: #f59e0b;  /* Amber (Focus) */
    --zoom-navy: #1e1b4b;
    --zoom-white: #ffffff;
    
    --zoom-slate-900: #0f172a;
    --zoom-slate-800: #1e293b;
    --zoom-slate-600: #475569;
    --zoom-slate-400: #94a3b8;
    --zoom-slate-100: #f1f5f9;
    
    --zoom-radius: 20px;
}

/* ============================================
   그누보드5 기존 CSS 충돌 방지용 완전 리셋
============================================ */
#tg-zoom-wrapper,
#tg-zoom-wrapper *,
#tg-zoom-wrapper *::before,
#tg-zoom-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-zoom-wrapper h1, #tg-zoom-wrapper h2, #tg-zoom-wrapper h3,
#tg-zoom-wrapper p, #tg-zoom-wrapper span, #tg-zoom-wrapper div {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

/* 래퍼 본체 */
#tg-zoom-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    background-color: #fbfbfe !important;
    color: var(--zoom-slate-800) !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
}

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

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

#tg-zoom-wrapper mark {
    background: linear-gradient(120deg, #ede9fe 0%, #ddd6fe 100%) !important;
    color: #5b21b6 !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* ============================================
   히어로 섹션
============================================ */
#tg-zoom-wrapper .tg-zoom-hero {
    background: linear-gradient(135deg, #4c1d95 0%, #8b5cf6 100%) !important;
    padding: 100px 24px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#tg-zoom-wrapper .tg-zoom-hero::after {
    content: "\f00e" !important; /* Zoom-in icon */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    font-size: 250px !important;
    color: rgba(255, 255, 255, 0.05) !important;
    top: -20px !important; right: -20px !important;
    transform: rotate(15deg) !important;
}

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

#tg-zoom-wrapper .tg-zoom-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 14px !important; font-weight: 850 !important;
    padding: 10px 24px !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-zoom-wrapper .tg-zoom-hero__title {
    font-size: 36px !important; font-weight: 950 !important; line-height: 1.3 !important;
    color: var(--zoom-white) !important; margin-bottom: 24px !important;
    letter-spacing: -0.02em !important;
}

#tg-zoom-wrapper .tg-zoom-hero__desc {
    font-size: 19px !important; color: rgba(255, 255, 255, 0.9) !important;
    max-width: 680px !important;
}

#tg-zoom-wrapper .tg-zoom-hero__desc strong {
    color: var(--zoom-accent) !important; font-weight: 800 !important;
}

/* ============================================
   메인 콘텐츠 레이아웃
============================================ */
#tg-zoom-wrapper .tg-zoom-main {
    padding: 40px 24px !important;
    display: flex !important; flex-direction: column !important; gap: 40px !important;
}

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

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

#tg-zoom-wrapper .tg-zoom-section--dark {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    border-color: #3730a3 !important;
}

/* 다크 섹션 가독성 */
#tg-zoom-wrapper .tg-zoom-section--dark p { color: #c7d2fe !important; }
#tg-zoom-wrapper .tg-zoom-section--dark strong { color: var(--zoom-accent) !important; }

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

#tg-zoom-wrapper .tg-zoom-section__icon {
    width: 48px !important; height: 48px !important;
    background: #f5f3ff !important; color: var(--zoom-primary) !important;
    border-radius: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 20px !important; border: 1px solid #ddd6fe !important;
}

#tg-zoom-wrapper .tg-zoom-section--dark .tg-zoom-section__icon {
    background: rgba(255, 255, 255, 0.1) !important; color: var(--zoom-accent) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

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

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

/* ─── 기기별 카드 그리드 ─── */
#tg-zoom-wrapper .tg-zoom-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important; margin: 24px 0 !important;
}

#tg-zoom-wrapper .tg-zoom-card {
    padding: 24px !important; border-radius: 18px !important; background: var(--zoom-slate-100) !important;
    border: 1px solid var(--zoom-slate-100) !important; transition: all 0.3s ease !important;
}

#tg-zoom-wrapper .tg-zoom-card:hover {
    transform: translateY(-5px) !important; border-color: var(--zoom-primary) !important;
    background: #fff !important; box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
}

#tg-zoom-wrapper .tg-zoom-card i {
    font-size: 26px !important; color: var(--zoom-primary) !important; margin-bottom: 16px !important;
}

#tg-zoom-wrapper .tg-zoom-card h3 {
    font-size: 18px !important; font-weight: 800 !important; color: var(--zoom-navy) !important; margin-bottom: 12px !important;
}

/* ─── 단계별 프로세스 (모바일) ─── */
#tg-zoom-wrapper .tg-zoom-process {
    display: flex !important; flex-direction: column !important; gap: 16px !important;
}

#tg-zoom-wrapper .tg-zoom-step {
    display: flex !important; align-items: center !important; gap: 20px !important;
    padding: 20px 24px !important; background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 18px !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

#tg-zoom-wrapper .tg-zoom-step:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(10px) !important;
}

#tg-zoom-wrapper .tg-zoom-step__num {
    width: 36px !important; height: 36px !important;
    background: var(--zoom-accent) !important; color: var(--zoom-navy) !important;
    border-radius: 10px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 18px !important; font-weight: 950 !important; flex-shrink: 0 !important;
}

#tg-zoom-wrapper .tg-zoom-step__text {
    font-size: 16px !important; color: #e2e8f0 !important; font-weight: 500 !important;
}

/* ─── 팁 박스 ─── */
#tg-zoom-wrapper .tg-zoom-tip {
    display: flex !important; gap: 20px !important; padding: 24px !important;
    background: #fdf2f8 !important; border-radius: 20px !important;
    border: 1px solid #fce7f3 !important; margin-top: 10px !important;
}

#tg-zoom-wrapper .tg-zoom-tip i {
    font-size: 24px !important; color: #ec4899 !important; flex-shrink: 0 !important;
}

#tg-zoom-wrapper .tg-zoom-tip p {
    color: var(--zoom-slate-800) !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
}

#tg-zoom-wrapper .tg-zoom-tip--amber {
    background: #fffbeb !important; border-color: #fef3c7 !important;
}

#tg-zoom-wrapper .tg-zoom-tip--amber i { color: var(--zoom-accent) !important; }

#tg-zoom-wrapper .tg-zoom-tip h4 {
    font-size: 17px !important; font-weight: 850 !important; color: var(--zoom-navy) !important; margin-bottom: 6px !important;
}

/* ============================================
   결론 및 요약 (Summary 섹션)
============================================ */
#tg-zoom-wrapper .tg-zoom-summary {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    padding: 60px 24px !important; border-radius: 28px !important;
    text-align: center !important;
}

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

/* 요약 이포그래픽 */
#tg-zoom-wrapper .tg-zoom-summary__visual {
    display: flex !important; justify-content: center !important; align-items: center !important;
    gap: 16px !important; margin-bottom: 50px !important; flex-wrap: wrap !important;
}

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

#tg-zoom-wrapper .tg-zoom-summary__v-icon {
    width: 70px !important; height: 70px !important;
    background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 22px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 28px !important; color: var(--zoom-accent) !important;
}

#tg-zoom-wrapper .tg-zoom-summary__v-icon--active {
    background: var(--zoom-accent) !important; color: var(--zoom-navy) !important;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3) !important;
}

#tg-zoom-wrapper .tg-zoom-summary__v-text { font-size: 14px !important; font-weight: 800 !important; color: #fff !important; }

#tg-zoom-wrapper .tg-zoom-summary__v-arrow {
    height: 70px !important; display: flex !important; align-items: center !important;
    padding-bottom: 26px !important; color: rgba(255,255,255,0.2) !important; font-size: 20px !important;
}

/* 체크리스트 */
#tg-zoom-wrapper .tg-zoom-summary__checklist {
    text-align: left !important; display: inline-block !important;
    background: #fff !important; padding: 40px !important;
    border-radius: 24px !important; width: 100% !important; max-width: 700px !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2) !important;
}

#tg-zoom-wrapper .tg-zoom-summary__checklist li {
    position: relative !important; padding-left: 36px !important;
    margin-bottom: 20px !important; font-size: 16px !important; color: var(--zoom-slate-800) !important;
}

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

#tg-zoom-wrapper .tg-zoom-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(--zoom-primary) !important;
    font-size: 22px !important;
}

#tg-zoom-wrapper .tg-zoom-summary__footer {
    margin-top: 40px !important; font-size: 15px !important; color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.6 !important;
}

#tg-zoom-wrapper .tg-zoom-summary__footer strong {
    color: var(--zoom-accent) !important; font-weight: 900 !important;
}

/* 반응형 */
@media (max-width: 768px) {
    #tg-zoom-wrapper .tg-zoom-hero__title { font-size: 28px !important; }
    #tg-zoom-wrapper .tg-zoom-summary__visual { gap: 12px !important; }
}

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