@charset "utf-8";

/* ============================================
   텔레그램 프리미엄 스티커 가이드
   접두사: tg-pst- (기존 사이트 오염 방지)
   CSS 변수 접두사: --tgps-
   컬러 톤: 비비드 시안(Vivid Cyan) + 핫 마젠타(Hot Magenta)
============================================ */

:root {
    --tgps-cyan: #06b6d4;
    --tgps-cyan-dark: #0891b2;
    --tgps-cyan-deep: #0e7490;
    --tgps-cyan-light: #ecfeff;
    --tgps-cyan-border: #22d3ee;
    --tgps-magenta: #d946ef;
    --tgps-magenta-dark: #c026d3;
    --tgps-magenta-light: #fdf4ff;
    --tgps-magenta-border: #e879f9;
    --tgps-slate-900: #0f172a;
    --tgps-slate-700: #334155;
    --tgps-slate-500: #64748b;
    --tgps-slate-300: #cbd5e1;
    --tgps-slate-200: #e2e8f0;
    --tgps-slate-100: #f1f5f9;
    --tgps-bg: #f0fdfa;
    --tgps-white: #ffffff;
    --tgps-green: #22c55e;
    --tgps-amber: #f59e0b;
    --tgps-radius: 14px;
}

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

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

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

.tg-pst-wrapper mark {
    background: linear-gradient(120deg, var(--tgps-cyan-light) 0%, #22d3ee80 100%);
    color: #0e7490;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 ─── */
.tg-pst-hero {
    background: linear-gradient(145deg, #164e63 0%, #0e7490 20%, #06b6d4 45%, #e879f9 80%, #d946ef 100%);
    color: var(--tgps-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-pst-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(6, 182, 212, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-pst-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(217, 70, 239, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

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

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

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

.tg-pst-hero__float-icon--1 {
    top: 14%;
    left: 8%;
    animation-delay: 0s;
    font-size: 30px;
}

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

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

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

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

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

@keyframes tg-pst-float {

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

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

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

.tg-pst-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(217, 70, 239, 0.2);
    color: var(--tgps-magenta-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(232, 121, 249, 0.3);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

.tg-pst-section--accent {
    background: linear-gradient(135deg, var(--tgps-cyan-light) 0%, #22d3ee25 100%);
    border-color: var(--tgps-cyan-border);
}

.tg-pst-section--info {
    background: linear-gradient(135deg, var(--tgps-magenta-light) 0%, #e879f925 100%);
    border-color: var(--tgps-magenta-border);
}

.tg-pst-section--demo {
    background: linear-gradient(135deg, var(--tgps-cyan-light) 0%, #cffafe30 50%, #e879f915 100%);
    border-color: var(--tgps-cyan-border);
}

.tg-pst-section--dark {
    background: linear-gradient(135deg, #0c1427 0%, #1a0a2e 100%);
    border-color: #581c87;
    color: var(--tgps-slate-300);
}

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

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

.tg-pst-section__num--accent {
    color: var(--tgps-magenta);
    opacity: 0.22;
}

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

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

.tg-pst-section__title--light {
    color: var(--tgps-white);
}

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

/* ─── 특징 카드 ─── */
.tg-pst-feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

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

.tg-pst-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.1);
}

.tg-pst-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tgps-cyan) 0%, var(--tgps-magenta) 100%);
    color: var(--tgps-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}

.tg-pst-feature-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgps-slate-900);
    margin-bottom: 4px;
}

.tg-pst-feature-card__desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ─── 라이브러리 카드 ─── */
.tg-pst-library {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-pst-library__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--tgps-white);
    border: 1px solid var(--tgps-slate-200);
    transition: transform 0.25s ease;
}

.tg-pst-library__card:hover {
    transform: translateX(4px);
}

.tg-pst-library__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tgps-cyan) 0%, var(--tgps-cyan-dark) 100%);
    color: var(--tgps-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tg-pst-library__body {
    flex: 1;
}

.tg-pst-library__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgps-slate-900);
    margin-bottom: 4px;
}

.tg-pst-library__desc {
    font-size: 14px;
    line-height: 1.6;
}

/* ─── 스텝 ─── */
.tg-pst-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-pst-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--tgps-white);
    border: 1px solid var(--tgps-slate-200);
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.tg-pst-step:hover {
    transform: translateX(4px);
}

.tg-pst-step--highlight {
    border-color: var(--tgps-magenta-border);
    background-color: var(--tgps-magenta-light);
}

.tg-pst-step__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--tgps-cyan) 0%, var(--tgps-cyan-dark) 100%);
    color: var(--tgps-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-pst-step__icon--key {
    background: linear-gradient(135deg, var(--tgps-magenta) 0%, var(--tgps-magenta-dark) 100%);
    width: 50px;
    height: 50px;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.25);
}

.tg-pst-step__body {
    flex: 1;
}

.tg-pst-step__num {
    font-size: 11px;
    font-weight: 800;
    color: var(--tgps-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.tg-pst-step__num--key {
    color: var(--tgps-magenta-dark);
    font-size: 12px;
}

.tg-pst-step__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgps-slate-900);
    margin-bottom: 4px;
}

.tg-pst-step__text {
    font-size: 14px;
    line-height: 1.6;
}

/* ─── 데모 ─── */
.tg-pst-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 채팅 영역 */
.tg-pst-demo__chat {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tgps-cyan-border);
    background: linear-gradient(180deg, #f0fdfa 0%, #ecfeff 100%);
    position: relative;
}

.tg-pst-demo__chat-header {
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--tgps-cyan-deep) 0%, var(--tgps-cyan-dark) 100%);
    color: var(--tgps-white);
    font-size: 13px;
    font-weight: 800;
}

.tg-pst-demo__chat-header i {
    margin-right: 6px;
}

.tg-pst-demo__chat-body {
    padding: 14px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tg-pst-demo__chat-msg {
    max-width: 85%;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.tg-pst-demo__chat-msg--other {
    background-color: var(--tgps-white);
    border: 1px solid var(--tgps-slate-200);
    align-self: flex-start;
}

.tg-pst-demo__chat-msg--mine {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    border: 1px solid var(--tgps-cyan-border);
    align-self: flex-end;
}

.tg-pst-demo__chat-msg--sticker {
    background: none;
    border: none;
    padding: 4px;
    align-self: flex-end;
    text-align: center;
}

.tg-pst-demo__chat-msg-name {
    font-size: 10px;
    font-weight: 800;
    color: var(--tgps-cyan-deep);
    display: block;
    margin-bottom: 2px;
}

.tg-pst-demo__chat-sticker {
    font-size: 52px;
    display: block;
    animation: tg-pst-sticker-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tg-pst-sticker-in {
    from {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* 전체 화면 효과 오버레이 */
.tg-pst-demo__effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.tg-pst-demo__effect-particle {
    position: absolute;
    font-size: 28px;
    animation: tg-pst-effect-fly 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes tg-pst-effect-fly {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(var(--ex), var(--ey)) scale(0.6) rotate(var(--er));
    }
}

/* 스티커 패널 */
.tg-pst-demo__panel {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tgps-magenta-border);
    background-color: var(--tgps-white);
}

.tg-pst-demo__panel-header {
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--tgps-magenta-dark) 0%, var(--tgps-magenta) 100%);
    color: var(--tgps-white);
    font-size: 12px;
    font-weight: 800;
}

.tg-pst-demo__panel-header i {
    margin-right: 4px;
}

/* 패널 탭 */
.tg-pst-demo__panel-tabs {
    display: flex;
    gap: 0;
    background-color: var(--tgps-slate-100);
    border-bottom: 1px solid var(--tgps-slate-200);
}

.tg-pst-demo__panel-tab {
    flex: 1;
    padding: 8px 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--tgps-slate-500);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tg-pst-demo__panel-tab:hover {
    color: var(--tgps-magenta);
}

.tg-pst-demo__panel-tab--active {
    color: var(--tgps-magenta);
    border-bottom-color: var(--tgps-magenta);
}

/* 패널 그리드 */
.tg-pst-demo__panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px;
}

.tg-pst-demo__sticker {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--tgps-slate-100);
    transition: all 0.2s ease;
    position: relative;
}

.tg-pst-demo__sticker:hover {
    background-color: var(--tgps-magenta-light);
    transform: scale(1.1);
}

.tg-pst-demo__sticker::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tgps-cyan) 0%, var(--tgps-magenta) 100%);
}

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

.tg-pst-tip {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 121, 249, 0.12);
    padding: 22px;
    border-radius: 10px;
    position: relative;
}

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

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

.tg-pst-tip__title i {
    color: var(--tgps-cyan-border);
    margin-right: 4px;
}

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

.tg-pst-tip__text strong {
    color: var(--tgps-white);
}

/* ─── 결론 ─── */
.tg-pst-summary {
    background: linear-gradient(145deg, #164e63 0%, #0e7490 25%, #06b6d4 50%, #e879f9 80%, #d946ef 100%);
    color: var(--tgps-white);
    padding: 44px 28px;
    border-radius: var(--tgps-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(14, 116, 144, 0.4);
}

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

.tg-pst-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgps-cyan-border);
}

.tg-pst-summary strong {
    color: var(--tgps-white);
}

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

.tg-pst-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(34, 211, 238, 0.12);
    border-radius: 10px;
}

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

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

.tg-pst-summary__highlight span {
    font-size: 11px;
    color: var(--tgps-cyan-border);
    text-align: center;
}

.tg-pst-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-pst-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #a5f3fc;
}

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

.tg-pst-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(--tgps-magenta-border);
}

.tg-pst-summary__checklist strong {
    color: var(--tgps-white);
}

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

.tg-pst-summary__footer strong {
    color: var(--tgps-white);
}

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

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

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

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

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

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

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

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

    .tg-pst-library {
        flex-direction: row;
    }

    .tg-pst-library__card {
        flex: 1;
    }

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

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

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

    .tg-pst-demo__panel-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .tg-pst-demo {
        flex-direction: row;
    }

    .tg-pst-demo__chat {
        flex: 0.55;
    }

    .tg-pst-demo__panel {
        flex: 0.45;
    }
}

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

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

/* ============================================
   스크롤 등장 애니메이션
============================================ */
.tg-pst-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-pst-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}