@charset "utf-8";

/* ============================================================
   [그누보드5 완전 리셋 패턴] 
   rules.md 가이드 준수 (ID 특이성 보호)
   ============================================================ */
#tg-edit-wrapper,
#tg-edit-wrapper *,
#tg-edit-wrapper *::before,
#tg-edit-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-edit-wrapper h1, 
#tg-edit-wrapper h2, 
#tg-edit-wrapper h3, 
#tg-edit-wrapper h4, 
#tg-edit-wrapper h5, 
#tg-edit-wrapper h6 { font-size: inherit; font-weight: inherit; color: inherit; }

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

/* ============================================================
   [디자인 시스템] Privacy & Security (Slate/Red/Indigo)
   ============================================================ */
:root {
    --edit-primary: #ef4444; /* Red 500 */
    --edit-primary-dark: #b91c1c;
    --edit-secondary: #6366f1; /* Indigo 500 */
    --edit-slate-900: #0f172a;
    --edit-slate-800: #1e293b;
    --edit-slate-600: #475569;
    --edit-slate-100: #f1f5f9;
    --edit-white: #ffffff;
    --edit-radius: 32px;
}

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

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

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

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

#tg-edit-wrapper .tg-edit-hero__icon-box {
    width: 70px !important; height: 70px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 22px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    backdrop-filter: blur(5px) !important;
}

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

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

#tg-edit-wrapper .tg-edit-hero__title span { color: #f87171 !important; }

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

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

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

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

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

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

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

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

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

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

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

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

/* ─── 테이블 (Comparison) ─── */
#tg-edit-wrapper .tg-edit-table-wrap {
    margin-top: 30px !important;
    overflow-x: auto !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
}

#tg-edit-wrapper .tg-edit-table {
    width: 100% !important; border-collapse: collapse !important; min-width: 600px !important;
}

#tg-edit-wrapper .tg-edit-table th {
    background: #f8fafc !important; color: var(--edit-slate-900) !important;
    font-weight: 900 !important; padding: 20px !important; border-bottom: 2px solid #e2e8f0 !important;
}

#tg-edit-wrapper .tg-edit-table td {
    padding: 20px !important; border-bottom: 1px solid #f1f5f9 !important; font-size: 16px !important;
}

#tg-edit-wrapper .tg-edit-table tr:last-child td { border-bottom: none !important; }

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

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

#tg-edit-wrapper .tg-edit-step__num {
    width: 44px !important; height: 44px !important; background: var(--edit-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-edit-wrapper .tg-edit-step__content h4 {
    font-size: 21px !important; font-weight: 850 !important; color: #fff !important; margin-bottom: 5px !important;
}

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

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

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

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

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

#tg-edit-wrapper .tg-edit-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-edit-wrapper .tg-edit-formula__icon--active {
    background: #fff !important; color: var(--edit-primary) !important; box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) !important;
}

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

/* 체크리스트 */
#tg-edit-wrapper .tg-edit-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-edit-wrapper .tg-edit-checklist li {
    position: relative !important; padding-left: 45px !important; margin-bottom: 25px !important;
    color: var(--edit-slate-800) !important; font-size: 18px !important;
}

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

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

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

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