@charset "utf-8";

/* ============================================================
   [그누보드5 완전 리셋 패턴] 
   rules.md 리셋 가이드 준수
   ============================================================ */
#tg-copy-wrapper,
#tg-copy-wrapper *,
#tg-copy-wrapper *::before,
#tg-copy-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-copy-wrapper h1, #tg-copy-wrapper h2, #tg-copy-wrapper h3, #tg-copy-wrapper h4 { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; color: inherit; }
#tg-copy-wrapper p, #tg-copy-wrapper span, #tg-copy-wrapper div, #tg-copy-wrapper section, #tg-copy-wrapper article, #tg-copy-wrapper header, #tg-copy-wrapper main { margin: 0; padding: 0; }

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

/* 디자인 시스템 변수: Violet & Lavender */
:root {
    --cp-primary: #8b5cf6; 
    --cp-primary-dark: #6d28d9;
    --cp-secondary: #fbbf24;
    --cp-slate-900: #2e1065;
    --cp-slate-800: #1e293b;
    --cp-slate-100: #f1f5f9;
    --cp-white: #ffffff;
    --cp-radius: 32px;
}

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

#tg-copy-wrapper strong { font-weight: 800 !important; color: var(--cp-primary-dark) !important; }
#tg-copy-wrapper mark {
    background: linear-gradient(120deg, #ede9fe 0%, #ddd6fe 100%) !important;
    color: #5b21b6 !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* 히어로 섹션 */
#tg-copy-wrapper .tg-copy-hero {
    background: linear-gradient(135deg, #2e1065 0%, #8b5cf6 100%) !important;
    padding: 120px 24px !important;
    text-align: center !important;
    position: relative !important;
    color: #fff !important;
}

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

#tg-copy-wrapper .tg-copy-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;
}

#tg-copy-wrapper .tg-copy-badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: #fbbf24 !important;
    padding: 10px 24px !important; border-radius: 100px !important;
    font-size: 14px !important; font-weight: 900 !important;
    margin-bottom: 25px !important;
}

#tg-copy-wrapper .tg-copy-title {
    font-size: clamp(32px, 5vw, 48px) !important; font-weight: 950 !important; line-height: 1.2 !important;
    margin-bottom: 25px !important;
    color: #ffffff !important;
}

#tg-copy-wrapper .tg-copy-title span { color: var(--cp-secondary) !important; }

#tg-copy-wrapper .tg-copy-desc {
    font-size: 20px !important; opacity: 0.9 !important;
    max-width: 800px !important; margin: 0 auto !important;
    color: #ffffff !important;
}

/* 메인 영역 */
#tg-copy-wrapper .tg-copy-main {
    padding: 40px 20px !important;
    display: flex !important; flex-direction: column !important; gap: 50px !important;
}

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

#tg-copy-wrapper .tg-copy-section--dark {
    background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 100%) !important;
    border: none !important;
}

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

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

#tg-copy-wrapper .tg-copy-section--dark .tg-copy-section__icon { background: rgba(255, 255, 255, 0.1) !important; color: var(--cp-secondary) !important; }

#tg-copy-wrapper .tg-copy-section__title { font-size: 28px !important; font-weight: 900 !important; color: var(--cp-slate-900) !important; }
#tg-copy-wrapper .tg-copy-section--dark .tg-copy-section__title { color: var(--cp-white) !important; }

/* 그리드 카드 */
#tg-copy-wrapper .tg-copy-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 25px !important; }
#tg-copy-wrapper .tg-copy-card {
    background: var(--cp-white) !important; padding: 40px 30px !important; border-radius: 28px !important;
    text-align: center !important; border: 1px solid #f1f5f9 !important; transition: transform 0.3s ease !important;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.05) !important;
}
#tg-copy-wrapper .tg-copy-card:hover { transform: translateY(-10px) !important; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1) !important; border-color: var(--cp-primary) !important; }
#tg-copy-wrapper .tg-copy-card h4 { font-size: 22px !important; font-weight: 850 !important; color: var(--cp-slate-900) !important; margin-bottom: 15px !important; }

/* 프로세스 (다크 전용) */
#tg-copy-wrapper .tg-copy-process { display: flex !important; flex-direction: column !important; gap: 20px !important; }
#tg-copy-wrapper .tg-copy-step {
    display: flex !important; align-items: flex-start !important; gap: 25px !important;
    padding: 30px !important; background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#tg-copy-wrapper .tg-copy-step__num {
    width: 100px !important; height: 40px !important; background: var(--cp-primary) !important;
    color: #fff !important; border-radius: 12px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-weight: 950 !important; font-size: 14px !important; flex-shrink: 0 !important;
}
#tg-copy-wrapper .tg-copy-step__content h4 { font-size: 20px !important; font-weight: 850 !important; color: #fff !important; margin-bottom: 8px !important; }
#tg-copy-wrapper .tg-copy-step__content p { font-size: 16px !important; color: #cbd5e1 !important; margin: 0 !important; }

/* 팁박스 */
#tg-copy-wrapper .tg-copy-tip {
    display: flex !important; gap: 20px !important; padding: 30px !important;
    background: #f5f3ff !important; border: 1px solid #ddd6fe !important;
    border-radius: 24px !important; margin-top: 20px !important; align-items: center !important;
}
#tg-copy-wrapper .tg-copy-tip__icon {
    width: 56px !important; height: 56px !important; background: var(--cp-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-copy-wrapper .tg-copy-summary {
    background: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%) !important;
    padding: 80px 40px !important; border-radius: 40px !important;
    text-align: center !important; color: #fff !important;
}
#tg-copy-wrapper .tg-copy-summary__title { font-size: 36px !important; font-weight: 900 !important; margin-bottom: 60px !important; }

/* 요약 비주얼 (공식) */
#tg-copy-wrapper .tg-copy-formula { display: flex !important; align-items: center !important; justify-content: center !important; gap: 20px !important; margin-bottom: 60px !important; flex-wrap: wrap !important; }
#tg-copy-wrapper .tg-copy-formula__item { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important; }
#tg-copy-wrapper .tg-copy-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;
    font-size: 30px !important; color: var(--cp-secondary) !important;
}
#tg-copy-wrapper .tg-copy-formula__icon--active { background: var(--cp-secondary) !important; color: var(--cp-slate-900) !important; }
#tg-copy-wrapper .tg-copy-formula__plus { font-size: 24px !important; font-weight: 900 !important; color: rgba(255,255,255,0.3) !important; }
#tg-copy-wrapper .tg-copy-formula__text { font-size: 15px !important; font-weight: 800 !important; color: #fff !important; }

/* 체크리스트 */
#tg-copy-wrapper .tg-copy-checklist {
    text-align: left !important; display: inline-block !important; width: 100% !important; max-width: 800px !important;
    background: #fff !important; padding: 50px !important; border-radius: 32px !important; margin-bottom: 40px !important;
}
#tg-copy-wrapper .tg-copy-checklist li { position: relative !important; padding-left: 40px !important; margin-bottom: 25px !important; color: var(--cp-slate-800) !important; font-size: 18px !important; }
#tg-copy-wrapper .tg-copy-checklist li::before {
    content: "\f058" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; left: 0 !important; top: 0 !important;
    color: var(--cp-primary) !important; font-size: 24px !important;
}

#tg-copy-wrapper .tg-copy-footer { margin-top: 40px !important; font-size: 16px !important; opacity: 0.9 !important; color: #ffffff !important; }
#tg-copy-wrapper .tg-copy-footer strong { color: var(--cp-secondary) !important; }

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

@media (max-width: 768px) {
    #tg-copy-wrapper .tg-copy-main { padding: 40px 10px !important; }
    #tg-copy-wrapper .tg-copy-section { padding: 40px 20px !important; }
    #tg-copy-wrapper .tg-copy-hero { padding: 80px 20px !important; }
}
