@charset "utf-8";

/* ============================================
   텔레그램 온라인 시 전송 가이드 (tips109)
   접두사: tg-online-
   테마: Smart Etiquette (Indigo & Violet)
   디자인 언어: tips150 프리미엄 스타일 반영
============================================ */

:root {
    --online-primary: #6366f1; /* Indigo */
    --online-primary-dark: #4338ca;
    --online-secondary: #8b5cf6; /* Violet */
    --online-accent: #10b981; /* Emerald */
    --online-white: #ffffff;
    
    --online-slate-900: #0f172a;
    --online-slate-800: #1e293b;
    --online-slate-700: #334155;
    --online-slate-600: #475569;
    --online-slate-100: #f1f5f9;
    
    --online-radius: 28px;
    --online-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   그누보드5 충돌 방지 리셋
============================================ */
#tg-online-wrapper,
#tg-online-wrapper *,
#tg-online-wrapper *::before,
#tg-online-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-online-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    background-color: #fcfaff !important;
    color: var(--online-slate-800) !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
    line-height: 1.6 !important;
}

#tg-online-wrapper strong { font-weight: 850 !important; }

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

#tg-online-wrapper .tg-online-hero::before {
    content: "\f4fc" !important; /* User Check Icon */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    font-size: 320px !important;
    color: rgba(255, 255, 255, 0.06) !important;
    bottom: -80px !important; right: -50px !important;
    transform: rotate(-10deg) !important;
    pointer-events: none !important;
}

#tg-online-wrapper .tg-online-hero__inner {
    position: relative !important; z-index: 10 !important;
    display: flex !important; flex-direction: column !important; align-items: center !important;
    max-width: 800px !important; margin: 0 auto !important;
}

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

#tg-online-wrapper .tg-online-hero__icon-box {
    width: 72px !important; height: 72px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 22px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 32px !important; color: #fff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

#tg-online-wrapper .tg-online-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(67, 56, 202, 0.4) !important;
    color: #c7d2fe !important;
    font-size: 13px !important; font-weight: 900 !important;
    padding: 10px 24px !important; border-radius: 100px !important;
    margin-bottom: 28px !important; border: 1px solid rgba(139, 92, 246, 0.3) !important;
    backdrop-filter: blur(8px) !important; letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

#tg-online-wrapper .tg-online-hero__title {
    font-size: clamp(34px, 5.5vw, 54px) !important; font-weight: 950 !important; line-height: 1.25 !important;
    color: var(--online-white) !important; margin-bottom: 25px !important;
    letter-spacing: -2px !important; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#tg-online-wrapper .tg-online-hero__desc {
    font-size: 19px !important; color: rgba(255, 255, 255, 0.9) !important;
    max-width: 650px !important; line-height: 1.6 !important;
}

/* ============================================
   메인 섹션 디자인
============================================ */
#tg-online-wrapper .tg-online-main {
    padding: 0 24px !important;
    margin-top: -60px !important;
    display: flex !important; flex-direction: column !important; gap: 40px !important;
}

#tg-online-wrapper .tg-online-section {
    background: var(--online-white) !important;
    padding: 60px 45px !important; border-radius: var(--online-radius) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(99, 102, 241, 0.05) !important;
}

#tg-online-wrapper .tg-online-section__head {
    display: flex !important; align-items: center !important; gap: 18px !important;
    margin-bottom: 40px !important;
}

#tg-online-wrapper .tg-online-section__icon {
    width: 54px !important; height: 54px !important;
    background: #f5f3ff !important; color: var(--online-primary) !important;
    border-radius: 16px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 26px !important;
}

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

/* ─── 카드 그리드 ─── */
#tg-online-wrapper .tg-online-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
}

#tg-online-wrapper .tg-online-card {
    background: #f8fafc !important; padding: 35px !important; border-radius: 24px !important;
    transition: 0.3s var(--online-ease) !important; border: 1px solid transparent !important;
}

#tg-online-wrapper .tg-online-card:hover {
    transform: translateY(-8px) !important; background: #fff !important;
    border-color: var(--online-primary) !important;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1) !important;
}

#tg-online-wrapper .tg-online-card i {
    font-size: 32px !important; color: var(--online-primary) !important; margin-bottom: 20px !important; display: block !important;
}

#tg-online-wrapper .tg-online-card h4 {
    font-size: 20px !important; font-weight: 850 !important; margin-bottom: 12px !important;
}

/* ─── 시나리오 섹션 ─── */
#tg-online-wrapper .tg-online-tip {
    background: #fdfaff !important; padding: 40px !important; border-radius: 32px !important;
    border: 1.5px dashed #c7d2fe !important;
}

#tg-online-wrapper .tg-online-scenario {
    display: flex !important; flex-direction: column !important; gap: 24px !important; margin-top: 30px !important;
}

#tg-online-wrapper .tg-online-scenario__item {
    display: flex !important; gap: 20px !important; align-items: flex-start !important;
}

#tg-online-wrapper .tg-online-scenario__num {
    width: 32px !important; height: 32px !important; background: var(--online-primary) !important;
    color: #fff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-weight: 900 !important; flex-shrink: 0 !important;
}

#tg-online-wrapper .tg-online-scenario__content strong {
    color: var(--online-primary-dark) !important; font-size: 18px !important; display: block !important; margin-bottom: 6px !important;
}

/* ─── 다크 요약 섹션 ─── */
#tg-online-wrapper .tg-online-summary {
    background: #0f172a !important; padding: 80px 45px !important; border-radius: 40px !important;
    text-align: center !important; color: #fff !important; margin-bottom: 40px !important;
}

#tg-online-wrapper .tg-online-summary__title {
    font-size: 32px !important; font-weight: 950 !important; margin-bottom: 50px !important;
    color: var(--online-white) !important; /* 색상 충돌 방지 */
}

#tg-online-wrapper .tg-online-checklist {
    text-align: left !important; display: inline-block !important; width: 100% !important; max-width: 650px !important;
}

#tg-online-wrapper .tg-online-checklist li {
    position: relative !important; padding-left: 40px !important; margin-bottom: 20px !important;
    font-size: 18px !important; color: rgba(255,255,255,0.9) !important;
}

#tg-online-wrapper .tg-online-checklist li::before {
    content: "\f00c" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; left: 0 !important; top: 0 !important; color: var(--online-accent) !important;
    font-size: 22px !important;
}

#tg-online-wrapper .tg-online-footer {
    border-top: 1px solid rgba(255,255,255,0.1) !important; padding-top: 40px !important;
    font-size: 16px !important; color: rgba(255,255,255,0.5) !important;
}

#tg-online-wrapper .tg-online-footer a { color: var(--online-secondary) !important; font-weight: 800 !important; }

/* ─── 애니메이션 ─── */
.tg-online-motion {
    opacity: 0 !important; transform: translateY(30px) !important;
    transition: all 0.8s var(--online-ease) !important;
}
.tg-online-motion.is-visible {
    opacity: 1 !important; transform: translateY(0) !important;
}

/* 📱 반응형 */
@media (max-width: 768px) {
    #tg-online-wrapper .tg-online-hero { padding: 80px 20px !important; }
    #tg-online-wrapper .tg-online-section { padding: 40px 25px !important; }
    #tg-online-wrapper .tg-online-card { padding: 25px !important; }
}
