@charset "utf-8";

/* ============================================================
   [그누보드5 완전 리셋 패턴] 
   rules.md 리셋 가이드 준수 (Night Mode Tips 73)
   ============================================================ */
#tg-nt-wrapper,
#tg-nt-wrapper *,
#tg-nt-wrapper *::before,
#tg-nt-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;
}

/* h1~h6 리셋 */
#tg-nt-wrapper h1, 
#tg-nt-wrapper h2, 
#tg-nt-wrapper h3, 
#tg-nt-wrapper h4, 
#tg-nt-wrapper h5, 
#tg-nt-wrapper h6 { 
    font-size: inherit; 
    font-weight: inherit; 
    color: inherit; 
}

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

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

/* ============================================================
   [디자인 시스템] Midnight Celestial & Moon Yellow
   ============================================================ */
:root {
    --nt-primary: #1e1b4b; /* Indigo 950 */
    --nt-primary-light: #4338ca; /* Indigo 700 */
    --nt-accent: #fde047; /* Yellow 300 */
    --nt-cyan: #22d3ee; /* Cyan 400 */
    --nt-secondary: #f8fafc; /* Slate 50 */
    --nt-slate-900: #0f172a;
    --nt-slate-800: #1e293b;
    --nt-slate-600: #475569;
    --nt-slate-100: #f1f5f9;
    --nt-white: #ffffff;
    --nt-radius: 32px;
}

/* ============================================================
   [Layout] Wide View (1100px)
   ============================================================ */
#tg-nt-wrapper {
    max-width: 1100px !important;
    margin: 30px auto !important;
    width: 100% !important;
    font-family: 'Pretendard', sans-serif !important;
    background-color: #fafbfc !important;
    color: var(--nt-slate-800) !important;
    overflow: hidden !important;
}

#tg-nt-wrapper strong {
    font-weight: 800 !important;
    color: var(--nt-primary-light) !important;
}

#tg-nt-wrapper mark {
    background: linear-gradient(120deg, #fef9c3 0%, #fde047 100%) !important;
    color: #854d0e !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* ============================================================
   [Hero Section]
   ============================================================ */
#tg-nt-wrapper .tg-nt-hero {
    background: radial-gradient(circle at top right, #312e81 0%, #1e1b4b 100%) !important;
    padding: 120px 24px !important;
    text-align: center !important;
    position: relative !important;
}

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

#tg-nt-wrapper .tg-nt-hero__icon-box {
    width: 75px !important; height: 75px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 30px !important; color: #fff !important;
    backdrop-filter: blur(8px) !important;
}

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

#tg-nt-wrapper .tg-nt-hero__title {
    font-size: 44px !important; font-weight: 950 !important; line-height: 1.25 !important;
    color: var(--nt-white) !important; margin-bottom: 25px !important;
    letter-spacing: -0.02em !important;
}

#tg-nt-wrapper .tg-nt-hero__title span { color: var(--nt-accent) !important; }

#tg-nt-wrapper .tg-nt-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-nt-wrapper .tg-nt-main {
    padding: 40px 20px !important;
    display: flex !important; flex-direction: column !important; gap: 50px !important;
}

#tg-nt-wrapper .tg-nt-section {
    background: var(--nt-white) !important;
    padding: 50px 40px !important;
    border-radius: var(--nt-radius) !important;
    border: 1px solid var(--nt-slate-100) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02) !important;
}

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

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

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

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

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

#tg-nt-wrapper .tg-nt-section--dark .tg-nt-section__title {
    color: var(--nt-white) !important;
}
#tg-nt-wrapper .tg-nt-section--dark p {
    color: #94a3b8 !important;
}

/* 다크 섹션 내 강조 텍스트 가독성 히어로 보정 */
#tg-nt-wrapper .tg-nt-section--dark strong {
    color: var(--nt-accent) !important;
}
#tg-nt-wrapper .tg-nt-section--dark mark {
    background: rgba(254, 224, 71, 0.2) !important;
    color: #fef9c3 !important;
}

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

#tg-nt-wrapper .tg-nt-card {
    background: #fdfdfd !important; padding: 40px 30px !important; border-radius: 28px !important;
    text-align: center !important; border: 1px solid #e2e8f0 !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#tg-nt-wrapper .tg-nt-card:hover { transform: translateY(-12px) !important; border-color: var(--nt-primary-light) !important; box-shadow: 0 20px 40px rgba(30, 27, 75, 0.05) !important; }

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

#tg-nt-wrapper .tg-nt-card i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 44px !important;
    color: var(--nt-primary) !important;
    display: block !important;
    margin: 0 auto 20px !important;
    line-height: 44px !important;
    text-align: center !important;
}

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

#tg-nt-wrapper .tg-nt-step {
    display: flex !important; align-items: flex-start !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.08) !important;
}

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

#tg-nt-wrapper .tg-nt-step__content h4 {
    font-size: 20px !important; font-weight: 850 !important; color: #fff !important; margin-bottom: 8px !important;
}

#tg-nt-wrapper .tg-nt-step__content p { font-size: 16px !important; color: #94a3b8 !important; margin: 0 !important; line-height: 1.6 !important; }

/* ─── PRO TIP 컴포넌트 ─── */
#tg-nt-wrapper .tg-nt-tip {
    display: flex !important; gap: 20px !important; padding: 30px !important;
    background: #f1f5f9 !important; border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important; margin-top: 20px !important;
}

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

#tg-nt-wrapper .tg-nt-tip__icon i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

#tg-nt-wrapper .tg-nt-tip__badge {
    display: inline-block !important; background: var(--nt-slate-900) !important;
    color: var(--nt-white) !important; font-size: 12px !important; font-weight: 800 !important;
    padding: 4px 14px !important; border-radius: 100px !important; margin-bottom: 10px !important;
}

#tg-nt-wrapper .tg-nt-tip__body p {
    color: var(--nt-slate-800) !important;
}

/* ============================================================
   [Summary Section]
   ============================================================ */
#tg-nt-wrapper .tg-nt-summary {
    background: radial-gradient(circle at bottom left, #312e81 0%, #1e1b4b 100%) !important;
    padding: 80px 40px !important; border-radius: 40px !important;
    text-align: center !important; color: #fff !important;
}

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

/* 요약 비주얼 (공식) */
#tg-nt-wrapper .tg-nt-formula {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 20px !important; margin-bottom: 60px !important; flex-wrap: wrap !important;
}

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

#tg-nt-wrapper .tg-nt-formula__icon {
    width: 85px !important; height: 85px !important; background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important; border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 32px !important; color: #fff !important;
}

#tg-nt-wrapper .tg-nt-formula__icon i {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

#tg-nt-wrapper .tg-nt-formula__icon--active {
    background: var(--nt-accent) !important; color: #854d0e !important;
}

#tg-nt-wrapper .tg-nt-formula__plus { font-size: 24px !important; font-weight: 900 !important; color: rgba(255,255,255,0.2) !important; }

#tg-nt-wrapper .tg-nt-formula__text { font-size: 15px !important; font-weight: 800 !important; opacity: 0.9 !important; }

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

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

#tg-nt-wrapper .tg-nt-checklist li::before {
    content: "\f058" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    position: absolute !important; left: 0 !important; top: 2px !important;
    color: var(--nt-primary-light) !important; font-size: 24px !important;
}

#tg-nt-wrapper .tg-nt-footer {
    margin-top: 60px !important; font-size: 16px !important; opacity: 0.8 !important; line-height: 1.6 !important;
}

#tg-nt-wrapper .tg-nt-footer strong, #tg-nt-wrapper .tg-nt-footer a { color: var(--nt-accent) !important; font-weight: 800 !important; }

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

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