@charset "utf-8";

/* ============================================================
   [그누보드5 완전 리셋 패턴] 
   rules.md 리셋 가이드 준수
   ============================================================ */
#tg-sync-wrapper,
#tg-sync-wrapper *,
#tg-sync-wrapper *::before,
#tg-sync-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0; padding: 0; border: none;
    outline: none; text-decoration: none;
    list-style: none; background: none;
    font-style: normal;
    -webkit-font-smoothing: antialiased !important;
    word-break: keep-all;
}

#tg-sync-wrapper h1, 
#tg-sync-wrapper h2, 
#tg-sync-wrapper h3, 
#tg-sync-wrapper h4, 
#tg-sync-wrapper h5, 
#tg-sync-wrapper h6 { font-size: inherit; font-weight: inherit; color: inherit; }

#tg-sync-wrapper p, 
#tg-sync-wrapper span, 
#tg-sync-wrapper div, 
#tg-sync-wrapper section, 
#tg-sync-wrapper article, 
#tg-sync-wrapper header, 
#tg-sync-wrapper main { margin: 0; padding: 0; }

#tg-sync-wrapper p {
    margin-bottom: 14px !important;
    line-height: 1.8 !important;
}
#tg-sync-wrapper p:last-child { margin-bottom: 0 !important; }

/* ============================================================
   [디자인 시스템] Telegram Blue & Cloud Indigo
   ============================================================ */
:root {
    --sync-primary: #0088cc;
    --sync-primary-dark: #006699;
    --sync-primary-light: #7dd3fc;
    --sync-secondary: #6366f1; /* Indigo 500 */
    --sync-slate-900: #0f172a;
    --sync-slate-800: #1e293b;
    --sync-slate-600: #475569;
    --sync-slate-400: #94a3b8;
    --sync-slate-100: #f1f5f9;
    --sync-white: #ffffff;
    --sync-radius: 32px;
}

#tg-sync-wrapper {
    max-width: 1100px !important;
    margin: 30px auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    background-color: #f8fafc !important;
    color: var(--sync-slate-800) !important;
    overflow: hidden !important;
}

#tg-sync-wrapper strong { font-weight: 800 !important; color: var(--sync-primary) !important; }
#tg-sync-wrapper mark {
    background: linear-gradient(120deg, #e0f2fe 0%, #bae6fd 100%) !important;
    color: #0369a1 !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* ============================================================
   [Hero Section]
   ============================================================ */
#tg-sync-wrapper .tg-sync-hero {
    background: linear-gradient(135deg, #0f172a 0%, #6366f1 100%) !important;
    padding: 120px 24px !important;
    text-align: center !important;
    position: relative !important;
}

#tg-sync-wrapper .tg-sync-hero__icon-group {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 15px !important; margin-bottom: 40px !important;
}

#tg-sync-wrapper .tg-sync-hero__icon-box {
    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;
    backdrop-filter: blur(5px) !important;
}

#tg-sync-wrapper .tg-sync-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e0e7ff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 10px 24px !important; border-radius: 100px !important;
    font-size: 14px !important; font-weight: 900 !important;
    margin-bottom: 25px !important;
}

#tg-sync-wrapper .tg-sync-hero__title {
    font-size: 48px !important; font-weight: 950 !important; line-height: 1.2 !important;
    color: var(--sync-white) !important; margin-bottom: 25px !important;
}

#tg-sync-wrapper .tg-sync-hero__title span { color: #bae6fd !important; }

#tg-sync-wrapper .tg-sync-hero__desc {
    font-size: 20px !important; color: rgba(255, 255, 255, 0.85) !important;
    max-width: 800px !important; margin: 0 auto !important;
}

/* ============================================================
   [Main Content]
   ============================================================ */
#tg-sync-wrapper .tg-sync-main {
    padding: 40px 20px !important;
    display: flex !important; flex-direction: column !important; gap: 50px !important;
}

#tg-sync-wrapper .tg-sync-section {
    background: var(--sync-white) !important;
    padding: 60px 45px !important;
    border-radius: var(--sync-radius) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02) !important;
}

#tg-sync-wrapper .tg-sync-section--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: none !important;
}

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

#tg-sync-wrapper .tg-sync-section__icon {
    width: 60px !important; height: 60px !important;
    background: var(--sync-slate-100) !important; color: var(--sync-primary) !important;
    border-radius: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important;
}

#tg-sync-wrapper .tg-sync-section--dark .tg-sync-section__icon {
    background: rgba(255, 255, 255, 0.1) !important; color: #bae6fd !important;
}

#tg-sync-wrapper .tg-sync-section__title {
    font-size: 28px !important; font-weight: 900 !important; color: var(--sync-slate-900) !important;
}

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

/* ─── 그리드 레이아웃 ─── */
#tg-sync-wrapper .tg-sync-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 25px !important; margin-top: 20px !important;
}

#tg-sync-wrapper .tg-sync-card {
    background: #f8fafc !important; padding: 40px 30px !important; border-radius: 28px !important;
    border: 1px solid #f1f5f9 !important; text-align: center !important;
}

#tg-sync-wrapper .tg-sync-card h4 {
    font-size: 22px !important; font-weight: 900 !important; color: var(--sync-slate-900) !important;
    margin-bottom: 15px !important; text-align: center !important;
}

/* ─── 프로세스 (다크) ─── */
#tg-sync-wrapper .tg-sync-process {
    display: flex !important; flex-direction: column !important; gap: 20px !important;
}

#tg-sync-wrapper .tg-sync-step {
    display: flex !important; align-items: center !important; gap: 25px !important;
    padding: 30px !important; background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 24px !important; border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#tg-sync-wrapper .tg-sync-step__num {
    width: 44px !important; height: 44px !important; background: var(--sync-primary) !important;
    color: #fff !important; border-radius: 14px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-weight: 950 !important; font-size: 22px !important; flex-shrink: 0 !important;
}

#tg-sync-wrapper .tg-sync-step__content h4 {
    font-size: 21px !important; font-weight: 850 !important; color: #fff !important; margin-bottom: 5px !important;
}

#tg-sync-wrapper .tg-sync-step__content p { font-size: 16px !important; color: #cbd5e1 !important; margin: 0 !important; }

/* ─── 팁 박스 ─── */
#tg-sync-wrapper .tg-sync-tip {
    display: flex !important; gap: 20px !important; padding: 30px !important;
    background: #eff6ff !important; border: 1px solid #bfdbfe !important;
    border-radius: 24px !important;
}

#tg-sync-wrapper .tg-sync-tip__icon {
    width: 56px !important; height: 56px !important; background: var(--sync-primary) !important;
    color: #fff !important; border-radius: 18px !important; display: flex !important;
    align-items: center !important; justify-content: center !important; flex-shrink: 0 !important;
}

#tg-sync-wrapper .tg-sync-tip__badge {
    display: inline-block !important; background: var(--sync-slate-900) !important;
    color: var(--sync-primary) !important; font-size: 13px !important; font-weight: 900 !important;
    padding: 6px 18px !important; border-radius: 100px !important; margin-bottom: 12px !important;
    text-transform: uppercase !important; letter-spacing: 0.5px !important;
}

/* ============================================================
   [Summary Section]
   ============================================================ */
#tg-sync-wrapper .tg-sync-summary {
    background: linear-gradient(135deg, #0f172a 0%, #0088cc 100%) !important;
    padding: 80px 40px !important; border-radius: 40px !important;
    text-align: center !important; color: #fff !important;
}

#tg-sync-wrapper .tg-sync-summary__title {
    font-size: 36px !important; font-weight: 900 !important; margin-bottom: 60px !important;
}

#tg-sync-wrapper .tg-sync-formula {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 25px !important; margin-bottom: 60px !important; flex-wrap: wrap !important;
}

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

#tg-sync-wrapper .tg-sync-formula__icon {
    width: 80px !important; height: 80px !important; background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important; border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}

#tg-sync-wrapper .tg-sync-formula__icon--active {
    background: var(--sync-primary) !important; box-shadow: 0 0 30px rgba(0, 136, 204, 0.4) !important;
}

#tg-sync-wrapper .tg-sync-formula__text { font-size: 15px !important; font-weight: 850 !important; }

/* 체크리스트 */
#tg-sync-wrapper .tg-sync-checklist {
    text-align: left !important; display: inline-block !important;
    background: #fff !important; padding: 50px !important; border-radius: 32px !important;
    width: 100% !important; max-width: 800px !important;
}

#tg-sync-wrapper .tg-sync-checklist li {
    position: relative !important; padding-left: 45px !important; margin-bottom: 25px !important;
    color: var(--sync-slate-800) !important; font-size: 18px !important;
}

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

#tg-sync-wrapper .tg-sync-footer {
    margin-top: 60px !important; font-size: 16px !important; opacity: 0.8 !important;
}
#tg-sync-wrapper .tg-sync-footer a { color: #fff !important; font-weight: 800 !important; text-decoration: underline !important; }

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

@media (max-width: 768px) {
    #tg-sync-wrapper .tg-sync-hero__title { font-size: 32px !important; }
    #tg-sync-wrapper .tg-sync-section { padding: 40px 25px !important; }
    #tg-sync-wrapper .tg-sync-checklist { padding: 30px !important; }
}
