@charset "utf-8";

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

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

/* ============================================================
   [디자인 시스템] Productivity Emerald (Emerald/Slate)
   ============================================================ */
:root {
    --select-primary: #10b981; /* Emerald 500 */
    --select-primary-dark: #059669;
    --select-primary-light: #a7f3d0;
    --select-secondary: #0ea5e9; /* Sky 500 */
    --select-slate-900: #0f172a;
    --select-slate-800: #1e293b;
    --select-slate-600: #475569;
    --select-slate-100: #f1f5f9;
    --select-white: #ffffff;
    --select-radius: 32px;
}

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

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

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

#tg-select-wrapper .tg-select-hero__inner {
    max-width: 900px !important;
    margin: 0 auto !important;
}

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

#tg-select-wrapper .tg-select-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-select-wrapper .tg-select-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(16, 185, 129, 0.2) !important;
    color: #a7f3d0 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    padding: 10px 24px !important; border-radius: 100px !important;
    font-size: 14px !important; font-weight: 900 !important;
    margin-bottom: 25px !important;
}

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

#tg-select-wrapper .tg-select-hero__title span { color: #34d399 !important; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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