@charset "utf-8";

/* ============================================
   텔레그램 광고 정책 가이드
   접두사: tg-adf- (기존 사이트 오염 방지)
   CSS 변수 접두사: --tgaf-
   컬러 톤: 에메랄드 그린(Emerald Green) + 클린 화이트(Clean White)
============================================ */

:root {
    --tgaf-emerald: #059669;
    --tgaf-emerald-dark: #047857;
    --tgaf-emerald-deep: #064e3b;
    --tgaf-emerald-light: #ecfdf5;
    --tgaf-emerald-border: #6ee7b7;
    --tgaf-mint: #10b981;
    --tgaf-mint-light: #d1fae5;
    --tgaf-slate-900: #0f172a;
    --tgaf-slate-700: #334155;
    --tgaf-slate-500: #64748b;
    --tgaf-slate-300: #cbd5e1;
    --tgaf-slate-200: #e2e8f0;
    --tgaf-slate-100: #f1f5f9;
    --tgaf-bg: #f7fdf9;
    --tgaf-white: #ffffff;
    --tgaf-blue: #3b82f6;
    --tgaf-purple: #8b5cf6;
    --tgaf-amber: #f59e0b;
    --tgaf-red: #ef4444;
    --tgaf-gold: #d97706;
    --tgaf-radius: 14px;
}

/* ─── 래퍼 ─── */
.tg-adf-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--tgaf-slate-500);
    background-color: var(--tgaf-bg);
    box-sizing: border-box;
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 60px;
}

.tg-adf-wrapper *,
.tg-adf-wrapper *::before,
.tg-adf-wrapper *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.tg-adf-wrapper strong {
    font-weight: 700;
    color: var(--tgaf-slate-900);
}

.tg-adf-wrapper mark {
    background: linear-gradient(120deg, var(--tgaf-emerald-light) 0%, #6ee7b780 100%);
    color: #064e3b;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 ─── */
.tg-adf-hero {
    background: linear-gradient(145deg, #064e3b 0%, #047857 25%, #059669 55%, #6ee7b7 100%);
    color: var(--tgaf-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-adf-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(5, 150, 105, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-adf-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(110, 231, 183, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

.tg-adf-hero__floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.tg-adf-hero__float-icon {
    position: absolute;
    font-size: 28px;
    opacity: 0.18;
    animation: tg-adf-float 6s ease-in-out infinite;
}

.tg-adf-hero__float-icon i {
    color: rgba(255, 255, 255, 0.9);
}

.tg-adf-hero__float-icon--1 {
    top: 14%;
    left: 8%;
    animation-delay: 0s;
}

.tg-adf-hero__float-icon--2 {
    top: 20%;
    right: 12%;
    animation-delay: 1s;
    font-size: 24px;
}

.tg-adf-hero__float-icon--3 {
    bottom: 22%;
    left: 15%;
    animation-delay: 2s;
}

.tg-adf-hero__float-icon--4 {
    bottom: 16%;
    right: 8%;
    animation-delay: 3s;
    font-size: 22px;
}

.tg-adf-hero__float-icon--5 {
    top: 55%;
    left: 4%;
    animation-delay: 4s;
    font-size: 20px;
}

.tg-adf-hero__float-icon--6 {
    top: 10%;
    right: 30%;
    animation-delay: 5s;
    font-size: 18px;
}

@keyframes tg-adf-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

.tg-adf-hero__inner {
    position: relative;
    z-index: 1;
}

.tg-adf-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--tgaf-white);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.tg-adf-hero__badge i {
    font-size: 16px;
}

.tg-adf-hero__title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 18px;
    color: var(--tgaf-white);
}

.tg-adf-hero__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin: 0 auto;
}

/* ─── 메인 ─── */
.tg-adf-main {
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── 도입부 ─── */
.tg-adf-intro {
    background-color: var(--tgaf-white);
    padding: 28px 24px;
    border-radius: var(--tgaf-radius);
    border-left: 4px solid var(--tgaf-emerald);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.tg-adf-intro p {
    font-size: 16px;
    margin-bottom: 14px;
}

.tg-adf-intro p:last-child {
    margin-bottom: 0;
}

/* ─── 섹션 공통 ─── */
.tg-adf-section {
    background-color: var(--tgaf-white);
    padding: 34px 24px;
    border-radius: var(--tgaf-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--tgaf-slate-200);
}

.tg-adf-section--accent {
    background: linear-gradient(135deg, var(--tgaf-emerald-light) 0%, #6ee7b725 100%);
    border-color: var(--tgaf-emerald-border);
}

.tg-adf-section--demo {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae530 50%, #a7f3d030 100%);
    border-color: var(--tgaf-emerald-border);
}

.tg-adf-section--premium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a20 100%);
    border-color: #fcd34d;
}

.tg-adf-section--dark {
    background: linear-gradient(135deg, var(--tgaf-slate-900) 0%, #1e293b 100%);
    border-color: var(--tgaf-slate-700);
    color: var(--tgaf-slate-300);
}

.tg-adf-section__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.tg-adf-section__num {
    font-size: 38px;
    font-weight: 900;
    color: var(--tgaf-emerald);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
}

.tg-adf-section__num--accent {
    opacity: 0.25;
}

.tg-adf-section__tip-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--tgaf-emerald) 0%, var(--tgaf-mint) 100%);
    color: var(--tgaf-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tg-adf-section__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tgaf-slate-900);
    line-height: 1.35;
    padding-top: 6px;
}

.tg-adf-section__title--light {
    color: var(--tgaf-white);
}

.tg-adf-section__desc {
    font-size: 16px;
    margin-bottom: 24px;
}

/* ─── 정책 카드 ─── */
.tg-adf-policy-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tg-adf-policy-card {
    padding: 22px;
    border-radius: 12px;
    background-color: var(--tgaf-white);
    border: 1px solid var(--tgaf-slate-200);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-adf-policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.1);
}

.tg-adf-policy-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
    color: var(--tgaf-white);
}

.tg-adf-policy-card__icon--green {
    background: linear-gradient(135deg, var(--tgaf-emerald) 0%, var(--tgaf-emerald-dark) 100%);
}

.tg-adf-policy-card__icon--blue {
    background: linear-gradient(135deg, var(--tgaf-blue) 0%, #2563eb 100%);
}

.tg-adf-policy-card__icon--purple {
    background: linear-gradient(135deg, var(--tgaf-purple) 0%, #7c3aed 100%);
}

.tg-adf-policy-card__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--tgaf-slate-900);
    margin-bottom: 4px;
}

.tg-adf-policy-card__desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ─── 스폰서 정보 ─── */
.tg-adf-sponsor-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tg-adf-sponsor-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: var(--tgaf-slate-100);
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.tg-adf-sponsor-item:hover {
    transform: translateX(4px);
}

.tg-adf-sponsor-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--tgaf-emerald) 0%, var(--tgaf-mint) 100%);
    color: var(--tgaf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.tg-adf-sponsor-item__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--tgaf-slate-900);
    margin-bottom: 2px;
}

.tg-adf-sponsor-item__text {
    font-size: 12px;
}

/* ─── 데모 ─── */
.tg-adf-demo {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tgaf-emerald-border);
    background-color: var(--tgaf-white);
}

/* 토글 */
.tg-adf-demo__toggle-wrap {
    display: flex;
    gap: 0;
    background-color: var(--tgaf-slate-100);
    padding: 6px;
}

.tg-adf-demo__toggle-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    background: none;
    color: var(--tgaf-slate-500);
}

.tg-adf-demo__toggle-btn--active {
    color: var(--tgaf-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#tg-adf-free.tg-adf-demo__toggle-btn--active {
    background: linear-gradient(135deg, var(--tgaf-slate-700) 0%, var(--tgaf-slate-500) 100%);
}

#tg-adf-premium.tg-adf-demo__toggle-btn--active {
    background: linear-gradient(135deg, var(--tgaf-emerald) 0%, var(--tgaf-emerald-dark) 100%);
}

/* 채널 시뮬레이션 */
.tg-adf-demo__channel {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.tg-adf-demo__channel-header {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--tgaf-emerald-deep) 0%, var(--tgaf-emerald-dark) 100%);
    color: var(--tgaf-white);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tg-adf-demo__channel-header i {
    font-size: 12px;
}

.tg-adf-demo__channel-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

.tg-adf-demo__msg {
    padding: 10px 16px;
    border-bottom: 1px solid var(--tgaf-slate-100);
    animation: tg-adf-msg-in 0.3s ease;
}

.tg-adf-demo__msg-text {
    font-size: 12px;
    color: var(--tgaf-slate-700);
}

.tg-adf-demo__msg-time {
    font-size: 9px;
    color: var(--tgaf-slate-300);
    text-align: right;
    margin-top: 2px;
}

/* 스폰서 메시지 */
.tg-adf-demo__sponsor {
    padding: 10px 16px;
    background-color: #fff8e1;
    border-top: 1px dashed #fcd34d;
    border-bottom: 1px dashed #fcd34d;
    animation: tg-adf-msg-in 0.4s ease;
}

.tg-adf-demo__sponsor-tag {
    font-size: 8px;
    font-weight: 800;
    color: var(--tgaf-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.tg-adf-demo__sponsor-text {
    font-size: 11px;
    color: #92400e;
}

/* 광고 없음 표시 */
.tg-adf-demo__clean {
    padding: 14px 16px;
    text-align: center;
    background-color: var(--tgaf-emerald-light);
    border-top: 1px solid var(--tgaf-emerald-border);
    animation: tg-adf-msg-in 0.4s ease;
}

.tg-adf-demo__clean-icon {
    font-size: 20px;
    color: var(--tgaf-emerald);
    margin-bottom: 4px;
}

.tg-adf-demo__clean-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--tgaf-emerald-dark);
}

@keyframes tg-adf-msg-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 비교 결과 */
.tg-adf-demo__result {
    padding: 10px 16px;
    background-color: var(--tgaf-slate-100);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

/* ─── 프리미엄 카드 ─── */
.tg-adf-premium-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tg-adf-premium-card {
    padding: 22px;
    border-radius: 12px;
    background-color: var(--tgaf-white);
    border: 1px solid #fcd34d;
    text-align: center;
    transition: transform 0.3s ease;
}

.tg-adf-premium-card:hover {
    transform: translateY(-2px);
}

.tg-adf-premium-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tgaf-gold) 0%, #fbbf24 100%);
    color: var(--tgaf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}

.tg-adf-premium-card__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--tgaf-slate-900);
    margin-bottom: 4px;
}

.tg-adf-premium-card__desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ─── 직장인 팁 ─── */
.tg-adf-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-adf-tip {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(110, 231, 183, 0.12);
    padding: 22px;
    border-radius: 10px;
    position: relative;
}

.tg-adf-tip__number {
    position: absolute;
    top: -10px;
    left: 18px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tgaf-emerald) 0%, var(--tgaf-mint) 100%);
    color: var(--tgaf-white);
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tg-adf-tip__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tgaf-white);
    margin-bottom: 8px;
    padding-top: 6px;
}

.tg-adf-tip__title i {
    color: var(--tgaf-emerald-border);
    margin-right: 4px;
}

.tg-adf-tip__text {
    font-size: 14px;
    color: var(--tgaf-slate-300);
}

.tg-adf-tip__text strong {
    color: var(--tgaf-white);
}

/* ─── 결론 ─── */
.tg-adf-summary {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, var(--tgaf-emerald-dark) 100%);
    color: var(--tgaf-white);
    padding: 44px 28px;
    border-radius: var(--tgaf-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.4);
}

.tg-adf-summary__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--tgaf-white);
    margin-bottom: 20px;
}

.tg-adf-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgaf-emerald-border);
}

.tg-adf-summary strong {
    color: var(--tgaf-white);
}

.tg-adf-summary__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0;
}

.tg-adf-summary__highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(110, 231, 183, 0.12);
    border-radius: 10px;
}

.tg-adf-summary__highlight-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--tgaf-emerald) 0%, var(--tgaf-mint) 100%);
    color: var(--tgaf-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tg-adf-summary__highlight strong {
    font-size: 13px;
    color: var(--tgaf-white);
}

.tg-adf-summary__highlight span {
    font-size: 11px;
    color: var(--tgaf-emerald-border);
    text-align: center;
}

.tg-adf-summary__checklist {
    list-style: none;
    display: inline-block;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px 32px;
    border-radius: 12px;
    margin: 0 0 24px;
}

.tg-adf-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #6ee7b7;
}

.tg-adf-summary__checklist li:last-child {
    margin-bottom: 0;
}

.tg-adf-summary__checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 13px;
    color: var(--tgaf-emerald-border);
}

.tg-adf-summary__checklist strong {
    color: var(--tgaf-white);
}

.tg-adf-summary__footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--tgaf-emerald-border);
    line-height: 1.8;
}

.tg-adf-summary__footer strong {
    color: var(--tgaf-white);
}

/* ============================================
   반응형
============================================ */
@media (min-width: 768px) {
    .tg-adf-hero {
        padding: 80px 40px;
    }

    .tg-adf-hero__title {
        font-size: 38px;
    }

    .tg-adf-main {
        padding: 40px 36px 0;
        gap: 40px;
    }

    .tg-adf-intro {
        padding: 36px 32px;
    }

    .tg-adf-section {
        padding: 40px 36px;
    }

    .tg-adf-section__title {
        font-size: 24px;
    }

    .tg-adf-section__num {
        font-size: 44px;
    }

    .tg-adf-policy-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-adf-premium-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-adf-tips {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-adf-summary__highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-adf-summary {
        padding: 56px 44px;
    }
}

@media (min-width: 1024px) {
    .tg-adf-hero__title {
        font-size: 44px;
    }

    .tg-adf-main {
        gap: 46px;
    }
}

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

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