@charset "utf-8";

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

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

/* ============================================================
   [디자인 시스템] Vivid Animation (Rose/Purple)
   ============================================================ */
:root {
    --vivid-primary: #e11d48; /* Rose 600 */
    --vivid-primary-dark: #be123c;
    --vivid-secondary: #7c3aed; /* Violet 600 */
    --vivid-accent: #facc15; /* Yellow 400 */
    --vivid-slate-900: #0f172a;
    --vivid-slate-800: #1e293b;
    --vivid-slate-100: #f1f5f9;
    --vivid-white: #ffffff;
    --vivid-radius: 32px;
}

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

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

/* ============================================================
   [Hero Section]
   ============================================================ */
#tg-vivid-wrapper .tg-vivid-hero {
    background: linear-gradient(135deg, #be123c 0%, #7c3aed 100%) !important;
    padding: 120px 24px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#tg-vivid-wrapper .tg-vivid-hero::before {
    content: "" !important; position: absolute !important; top: -30px !important; left: -30px !important;
    width: 150px !important; height: 150px !important;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.2) 0%, transparent 70%) !important;
}

#tg-vivid-hero__inner {
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

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

#tg-vivid-wrapper .tg-vivid-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;
    backdrop-filter: blur(8px) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ─── 하이라이트 박스 ─── */
#tg-vivid-wrapper .tg-vivid-highlight {
    background: #fff8f8 !important; border: 1px dashed #fecdd3 !important;
    padding: 30px !important; border-radius: 24px !important; margin: 30px 0 !important;
}

#tg-vivid-wrapper .tg-vivid-highlight h5 {
    display: flex !important; align-items: center !important; gap: 10px !important;
    font-weight: 900 !important; color: var(--vivid-primary-dark) !important; margin-bottom: 15px !important;
}

/* ─── 가로 리스트 ─── */
#tg-vivid-wrapper .tg-vivid-list {
    display: flex !important; flex-direction: column !important; gap: 15px !important;
}

#tg-vivid-wrapper .tg-vivid-item {
    display: flex !important; align-items: center !important; gap: 20px !important;
    padding: 20px 30px !important; background: var(--vivid-slate-100) !important;
    border-radius: 20px !important; transition: transform 0.3s ease !important;
}

#tg-vivid-wrapper .tg-vivid-item:hover { transform: translateX(10px) !important; }

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

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

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

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

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

#tg-vivid-wrapper .tg-vivid-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-vivid-wrapper .tg-vivid-formula__icon--active {
    background: var(--vivid-accent) !important; color: var(--vivid-slate-900) !important; 
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.4) !important;
}

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

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

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

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

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

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