@charset "utf-8";

/* ============================================
   텔레그램 프리미엄 가이드 - 실시간 번역 편
   접두사: tg-p03- (기존 사이트 오염 방지)
   컬러 톤: 에메랄드(Emerald) + 딥 포레스트 그린
============================================ */

/* ── CSS 변수 (디자인 토큰) ── */
:root {
    /* 주요 컬러: 에메랄드 그린 계열 */
    --p03-green:         #059669;
    --p03-green-dark:    #047857;
    --p03-green-deep:    #064e3b;
    --p03-green-light:   #ecfdf5;
    --p03-green-border:  #6ee7b7;
    --p03-green-mid:     #d1fae5;

    /* 액센트: 앰버(Amber) */
    --p03-amber:         #d97706;
    --p03-amber-light:   #fffbeb;
    --p03-amber-border:  #fcd34d;

    /* 기기별 색상 */
    --p03-android:       #3ddc84;
    --p03-ios:           #555555;

    /* 모노 슬레이트 */
    --p03-slate-900:     #0f172a;
    --p03-slate-700:     #334155;
    --p03-slate-500:     #64748b;
    --p03-slate-300:     #cbd5e1;
    --p03-slate-200:     #e2e8f0;
    --p03-slate-100:     #f1f5f9;
    --p03-bg:            #f0fdf4;
    --p03-white:         #ffffff;

    /* 공통 */
    --p03-radius:        14px;
    --p03-shadow:        0 2px 12px rgba(5, 150, 105, 0.08);
}

/* ============================================
   그누보드5 완전 리셋 (CSS 충돌 방지 필수)
============================================ */
#tg-p03-wrapper,
#tg-p03-wrapper *,
#tg-p03-wrapper *::before,
#tg-p03-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
    background: none;
    font-style: normal;
}

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

/* p 태그 여백 강제 보장 (그누보드5 p{margin:0} 차단) */
#tg-p03-wrapper p {
    margin-bottom: 14px !important;
    line-height: 1.7 !important;
}

#tg-p03-wrapper p:last-child {
    margin-bottom: 0 !important;
}

/* strong 태그 */
#tg-p03-wrapper strong {
    font-weight: 700;
    color: var(--p03-slate-900);
}

/* mark 태그 */
#tg-p03-wrapper mark {
    background: linear-gradient(120deg, var(--p03-green-mid) 0%, #a7f3d0 100%);
    color: var(--p03-green-deep);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ============================================
   래퍼 (최상위 컨테이너)
============================================ */
#tg-p03-wrapper.tg-p03-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--p03-slate-500);
    background-color: var(--p03-bg);
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 60px;
}

/* ============================================
   히어로 헤더
============================================ */
#tg-p03-wrapper .tg-p03-hero {
    background: linear-gradient(145deg, #022c22 0%, #064e3b 30%, #059669 70%, #34d399 100%) !important;
    color: var(--p03-white);
    padding: 56px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 장식 원형 - 우상단 */
#tg-p03-wrapper .tg-p03-hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 70px solid rgba(52, 211, 153, 0.07);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    pointer-events: none;
}

/* 장식 원형 - 좌하단 */
#tg-p03-wrapper .tg-p03-hero::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 50px solid rgba(217, 119, 6, 0.05);
    border-radius: 50%;
    bottom: -70px;
    left: -60px;
    pointer-events: none;
}

#tg-p03-wrapper .tg-p03-hero__inner {
    position: relative;
    z-index: 1;
}

#tg-p03-wrapper .tg-p03-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.25) 0%, rgba(245, 158, 11, 0.12) 100%);
    color: var(--p03-amber-border);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(252, 211, 77, 0.25);
    backdrop-filter: blur(4px);
}

#tg-p03-wrapper .tg-p03-hero__title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 16px;
    color: var(--p03-white);
}

#tg-p03-wrapper .tg-p03-hero__title--accent {
    color: var(--p03-green-border);
}

#tg-p03-wrapper .tg-p03-hero__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 32px;
}

/* 히어로 플로우 비주얼 */
#tg-p03-wrapper .tg-p03-hero__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

#tg-p03-wrapper .tg-p03-hero__flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 20px;
    min-width: 100px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

#tg-p03-wrapper .tg-p03-hero__flow-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

#tg-p03-wrapper .tg-p03-hero__flow-item i {
    font-size: 22px;
    color: var(--p03-green-border);
}

/* 강조 플로우 아이템 (중앙 "즉시 번역") */
#tg-p03-wrapper .tg-p03-hero__flow-item--accent {
    background: rgba(110, 231, 183, 0.15) !important;
    border-color: rgba(110, 231, 183, 0.35) !important;
    color: var(--p03-white) !important;
}

#tg-p03-wrapper .tg-p03-hero__flow-item--accent i {
    color: var(--p03-green-border) !important;
}

#tg-p03-wrapper .tg-p03-hero__flow-arrow {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   메인 레이아웃
============================================ */
#tg-p03-wrapper .tg-p03-main {
    padding: 28px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ============================================
   도입부 섹션
============================================ */
#tg-p03-wrapper .tg-p03-intro {
    background-color: var(--p03-white);
    padding: 26px 22px;
    border-radius: var(--p03-radius);
    border-left: 4px solid var(--p03-green);
    box-shadow: var(--p03-shadow);
}

#tg-p03-wrapper .tg-p03-intro p {
    font-size: 15px;
    color: var(--p03-slate-700);
}

/* ============================================
   섹션 공통
============================================ */
#tg-p03-wrapper .tg-p03-section {
    background-color: var(--p03-white);
    padding: 32px 22px;
    border-radius: var(--p03-radius);
    box-shadow: var(--p03-shadow);
    border: 1px solid var(--p03-slate-200);
}

/* 팁 섹션 변형 */
#tg-p03-wrapper .tg-p03-section--tip {
    background-color: var(--p03-amber-light) !important;
    border-color: var(--p03-amber-border) !important;
}

#tg-p03-wrapper .tg-p03-section__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

#tg-p03-wrapper .tg-p03-section__num {
    font-size: 36px;
    font-weight: 900;
    color: var(--p03-green);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
}

/* 팁 섹션 아이콘 */
#tg-p03-wrapper .tg-p03-section__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--p03-amber) 0%, #f59e0b 100%);
    color: var(--p03-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

#tg-p03-wrapper .tg-p03-section__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--p03-slate-900);
    line-height: 1.35;
    padding-top: 6px;
}

#tg-p03-wrapper .tg-p03-section__desc {
    font-size: 15px;
    color: var(--p03-slate-500);
    margin-bottom: 22px !important;
}

/* ============================================
   기능 카드 (섹션 01)
============================================ */
#tg-p03-wrapper .tg-p03-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

#tg-p03-wrapper .tg-p03-card {
    background-color: var(--p03-slate-100);
    border-radius: 12px;
    padding: 22px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

#tg-p03-wrapper .tg-p03-card:hover {
    border-color: var(--p03-green-border);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.1);
}

#tg-p03-wrapper .tg-p03-card__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--p03-green) 0%, #34d399 100%);
    color: var(--p03-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}

#tg-p03-wrapper .tg-p03-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--p03-slate-900);
    margin-bottom: 8px;
}

#tg-p03-wrapper .tg-p03-card__text {
    font-size: 14px;
    color: var(--p03-slate-500);
    text-align: left;
}

/* ============================================
   PC 버전 UI 목업 (섹션 02)
============================================ */
#tg-p03-wrapper .tg-p03-mockup {
    background: linear-gradient(145deg, #1a2332 0%, #1e3a5f 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 번역 바 행 */
#tg-p03-wrapper .tg-p03-mockup__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.3) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-bottom: 1px solid rgba(110, 231, 183, 0.2);
    flex-wrap: wrap;
}

#tg-p03-wrapper .tg-p03-mockup__bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p03-green-border);
}

#tg-p03-wrapper .tg-p03-mockup__bar-left i {
    font-size: 15px;
    color: var(--p03-green-border);
}

#tg-p03-wrapper .tg-p03-mockup__bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

#tg-p03-wrapper .tg-p03-mockup__btn {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: default;
    border: 1px solid transparent;
    font-family: 'Pretendard', sans-serif;
}

#tg-p03-wrapper .tg-p03-mockup__btn--primary {
    background: linear-gradient(135deg, var(--p03-green) 0%, #34d399 100%);
    color: var(--p03-white);
    border-color: var(--p03-green-border);
}

#tg-p03-wrapper .tg-p03-mockup__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 채팅 영역 */
#tg-p03-wrapper .tg-p03-mockup__chat {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100px;
}

#tg-p03-wrapper .tg-p03-mockup__msg {
    display: flex;
}

#tg-p03-wrapper .tg-p03-mockup__msg--in {
    justify-content: flex-start;
}

#tg-p03-wrapper .tg-p03-mockup__msg-bubble {
    max-width: 80%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 12px 12px 12px;
    padding: 10px 14px;
}

#tg-p03-wrapper .tg-p03-mockup__msg-orig {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 6px !important;
    font-style: italic;
}

#tg-p03-wrapper .tg-p03-mockup__msg-trans {
    font-size: 14px;
    font-weight: 600;
    color: var(--p03-green-border);
    margin-bottom: 0 !important;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

#tg-p03-wrapper .tg-p03-mockup__msg-trans i {
    margin-top: 2px;
    font-size: 12px;
    color: var(--p03-green-border);
    flex-shrink: 0;
}

/* 목업 캡션 */
#tg-p03-wrapper .tg-p03-mockup__label {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    padding: 8px 16px 12px;
    font-weight: 500;
}

/* ============================================
   스텝 리스트
============================================ */
#tg-p03-wrapper .tg-p03-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

#tg-p03-wrapper .tg-p03-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: var(--p03-slate-100);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 3px solid var(--p03-green-border);
}

#tg-p03-wrapper .tg-p03-step__marker {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--p03-green) 0%, #34d399 100%);
    color: var(--p03-white);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 1px;
}

#tg-p03-wrapper .tg-p03-step__text {
    font-size: 14px;
    color: var(--p03-slate-700);
    padding-top: 3px;
}

/* 꿀팁 박스 */
#tg-p03-wrapper .tg-p03-tip {
    background: linear-gradient(135deg, var(--p03-amber-light) 0%, #fef3c7 100%);
    border: 1px solid var(--p03-amber-border);
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 4px;
}

#tg-p03-wrapper .tg-p03-tip__label {
    font-size: 13px;
    font-weight: 800;
    color: var(--p03-amber);
    margin-bottom: 8px;
}

#tg-p03-wrapper .tg-p03-tip__text {
    font-size: 14px;
    color: var(--p03-slate-700);
    margin-bottom: 0 !important;
}

/* ============================================
   탭 UI (섹션 03 - 모바일 기기별)
============================================ */
#tg-p03-wrapper .tg-p03-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background-color: var(--p03-slate-100);
    padding: 5px;
    border-radius: 12px;
}

#tg-p03-wrapper .tg-p03-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p03-slate-500);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: 'Pretendard', sans-serif;
}

#tg-p03-wrapper .tg-p03-tab:hover {
    color: var(--p03-green);
    background-color: var(--p03-white);
}

#tg-p03-wrapper .tg-p03-tab--active {
    background-color: var(--p03-white) !important;
    color: var(--p03-green) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
    border-color: var(--p03-green-mid);
}

/* 탭 패널 */
#tg-p03-wrapper .tg-p03-tab-panel {
    display: none;
    animation: p03FadeIn 0.3s ease;
}

#tg-p03-wrapper .tg-p03-tab-panel--active {
    display: block !important;
}

/* 탭 패널 헤더 */
#tg-p03-wrapper .tg-p03-tab-panel__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px;
    background: linear-gradient(135deg, var(--p03-green-light) 0%, #d1fae5 100%);
    border-radius: 12px;
    border: 1px solid var(--p03-green-mid);
}

#tg-p03-wrapper .tg-p03-tab-panel__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--p03-white);
}

#tg-p03-wrapper .tg-p03-tab-panel__icon--android {
    background: linear-gradient(135deg, #22a65c 0%, var(--p03-android) 100%);
}

#tg-p03-wrapper .tg-p03-tab-panel__icon--ios {
    background: linear-gradient(135deg, #444 0%, #777 100%);
}

#tg-p03-wrapper .tg-p03-tab-panel__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--p03-slate-900);
    margin-bottom: 4px;
}

#tg-p03-wrapper .tg-p03-tab-panel__sub {
    font-size: 13px;
    color: var(--p03-slate-500);
    margin-bottom: 0 !important;
}

/* ============================================
   추가 팁 그리드 (섹션 04)
============================================ */
#tg-p03-wrapper .tg-p03-tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

#tg-p03-wrapper .tg-p03-tips-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--p03-amber-border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#tg-p03-wrapper .tg-p03-tips-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.1);
}

#tg-p03-wrapper .tg-p03-tips-item__num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--p03-amber) 0%, #f59e0b 100%);
    color: var(--p03-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

#tg-p03-wrapper .tg-p03-tips-item__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--p03-slate-900);
    margin-bottom: 6px;
}

#tg-p03-wrapper .tg-p03-tips-item__text {
    font-size: 14px;
    color: var(--p03-slate-500);
}

/* ============================================
   결론 및 요약 (다크 섹션)
============================================ */
#tg-p03-wrapper .tg-p03-summary {
    background: linear-gradient(145deg, #022c22 0%, #064e3b 40%, #059669 80%, #047857 100%) !important;
    color: var(--p03-white);
    padding: 44px 24px;
    border-radius: var(--p03-radius);
    text-align: center;
    box-shadow: 0 12px 36px rgba(5, 150, 105, 0.25);
    position: relative;
    overflow: hidden;
}

#tg-p03-wrapper .tg-p03-summary::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 60px solid rgba(52, 211, 153, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -80px;
    pointer-events: none;
}

#tg-p03-wrapper .tg-p03-summary__title {
    font-size: 22px;
    font-weight: 900;
    color: var(--p03-white) !important;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

#tg-p03-wrapper .tg-p03-summary__lead {
    font-size: 15px;
    color: var(--p03-slate-300) !important;
    max-width: 620px;
    margin: 0 auto 28px !important;
    position: relative;
    z-index: 1;
}

#tg-p03-wrapper .tg-p03-summary__lead strong {
    color: var(--p03-white) !important;
}

/* 요약 프로세스 플로우 */
#tg-p03-wrapper .tg-p03-summary__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

#tg-p03-wrapper .tg-p03-summary__flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 100px;
}

#tg-p03-wrapper .tg-p03-summary__flow-item strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--p03-white) !important;
}

#tg-p03-wrapper .tg-p03-summary__flow-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

#tg-p03-wrapper .tg-p03-summary__flow-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--p03-green) 0%, #34d399 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--p03-white);
}

#tg-p03-wrapper .tg-p03-summary__flow-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.25);
}

/* 체크리스트 */
#tg-p03-wrapper .tg-p03-summary__checklist {
    list-style: none;
    display: inline-block;
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    padding: 22px 28px;
    border-radius: 12px;
    margin: 0 auto 24px !important;
    position: relative;
    z-index: 1;
}

#tg-p03-wrapper .tg-p03-summary__checklist li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--p03-slate-300);
}

#tg-p03-wrapper .tg-p03-summary__checklist li:last-child {
    margin-bottom: 0;
}

/* FA5 Free 체크 아이콘 */
#tg-p03-wrapper .tg-p03-summary__checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 13px;
    color: var(--p03-green-border);
}

#tg-p03-wrapper .tg-p03-summary__checklist strong {
    color: var(--p03-white) !important;
}

/* 푸터 안내 */
#tg-p03-wrapper .tg-p03-summary__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #6ee7b7;
    line-height: 2;
    position: relative;
    z-index: 1;
}

#tg-p03-wrapper .tg-p03-summary__footer strong {
    color: var(--p03-white) !important;
}

/* ============================================
   스크롤 등장 애니메이션 (JS 연동)
============================================ */
#tg-p03-wrapper .tg-p03-motion {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

#tg-p03-wrapper .tg-p03-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 탭 패널 전환 애니메이션 */
@keyframes p03FadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   반응형 미디어 쿼리 (모바일 퍼스트)
============================================ */

/* 태블릿 이상 (768px~) */
@media (min-width: 768px) {
    #tg-p03-wrapper .tg-p03-hero {
        padding: 76px 40px 80px;
    }

    #tg-p03-wrapper .tg-p03-hero__title {
        font-size: 36px;
    }

    #tg-p03-wrapper .tg-p03-hero__desc {
        font-size: 15px;
    }

    #tg-p03-wrapper .tg-p03-main {
        padding: 36px 32px 0;
        gap: 36px;
    }

    #tg-p03-wrapper .tg-p03-section {
        padding: 38px 32px;
    }

    #tg-p03-wrapper .tg-p03-section__title {
        font-size: 22px;
    }

    /* 기능 카드 3열 */
    #tg-p03-wrapper .tg-p03-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 추가 팁 2열 */
    #tg-p03-wrapper .tg-p03-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #tg-p03-wrapper .tg-p03-summary {
        padding: 56px 44px;
    }

    #tg-p03-wrapper .tg-p03-summary__title {
        font-size: 26px;
    }
}

/* 데스크탑 이상 (1024px~) */
@media (min-width: 1024px) {
    #tg-p03-wrapper .tg-p03-hero__title {
        font-size: 42px;
    }

    #tg-p03-wrapper .tg-p03-main {
        gap: 44px;
    }
}
