@charset "utf-8";

/* ============================================
   텔레그램 앱 아이콘 변경 가이드
   접두사: tg-aic- (기존 사이트 오염 방지)
   CSS 변수 접두사: --tgai-
   컬러 톤: 그라디언트 퍼플(Purple) + 코랄 핑크(Coral Pink)
============================================ */

:root {
    --tgai-purple: #7c3aed;
    --tgai-purple-dark: #6d28d9;
    --tgai-purple-deep: #4c1d95;
    --tgai-purple-light: #f5f3ff;
    --tgai-purple-border: #a78bfa;
    --tgai-coral: #f43f5e;
    --tgai-coral-dark: #e11d48;
    --tgai-coral-light: #fff1f2;
    --tgai-coral-border: #fda4af;
    --tgai-slate-900: #0f172a;
    --tgai-slate-700: #334155;
    --tgai-slate-500: #64748b;
    --tgai-slate-300: #cbd5e1;
    --tgai-slate-200: #e2e8f0;
    --tgai-slate-100: #f1f5f9;
    --tgai-bg: #faf8ff;
    --tgai-white: #ffffff;
    --tgai-green: #22c55e;
    --tgai-blue: #3b82f6;
    --tgai-cyan: #06b6d4;
    --tgai-amber: #f59e0b;
    --tgai-radius: 14px;
}

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

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

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

.tg-aic-wrapper mark {
    background: linear-gradient(120deg, var(--tgai-purple-light) 0%, #a78bfa80 100%);
    color: #4c1d95;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 ─── */
.tg-aic-hero {
    background: linear-gradient(145deg, #4c1d95 0%, #6d28d9 25%, #7c3aed 50%, #a78bfa 80%, #fda4af 100%);
    color: var(--tgai-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-aic-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(124, 58, 237, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-aic-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(167, 139, 250, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

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

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

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

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

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

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

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

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

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

@keyframes tg-aic-float {

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

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

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

.tg-aic-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(244, 63, 94, 0.2);
    color: var(--tgai-coral-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(253, 164, 175, 0.25);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

.tg-aic-section--accent {
    background: linear-gradient(135deg, var(--tgai-purple-light) 0%, #a78bfa25 100%);
    border-color: var(--tgai-purple-border);
}

.tg-aic-section--demo {
    background: linear-gradient(135deg, var(--tgai-coral-light) 0%, #fda4af30 50%, #fecdd330 100%);
    border-color: var(--tgai-coral-border);
}

.tg-aic-section--info {
    background: linear-gradient(135deg, var(--tgai-purple-light) 0%, #c4b5fd30 100%);
    border-color: var(--tgai-purple-border);
}

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

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

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

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

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

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

.tg-aic-section__title--light {
    color: var(--tgai-white);
}

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

/* ─── 아이콘 쇼케이스 ─── */
.tg-aic-icon-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tg-aic-icon-group {
    padding: 20px;
    border-radius: 12px;
    background-color: var(--tgai-white);
    border: 1px solid var(--tgai-slate-200);
}

.tg-aic-icon-group--premium {
    border-color: var(--tgai-purple-border);
    background: linear-gradient(135deg, var(--tgai-purple-light) 0%, #ede9fe 100%);
}

.tg-aic-icon-group__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--tgai-slate-700);
    margin-bottom: 14px;
}

.tg-aic-icon-group__title i {
    margin-right: 4px;
}

.tg-aic-icon-group--premium .tg-aic-icon-group__title {
    color: var(--tgai-purple-dark);
}

.tg-aic-icon-group__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* 아이콘 카드 */
.tg-aic-icon-card {
    text-align: center;
}

.tg-aic-icon-card__preview {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--tgai-white);
    margin: 0 auto 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.tg-aic-icon-card__preview:hover {
    transform: scale(1.1);
}

.tg-aic-icon-card__preview--default {
    background: linear-gradient(135deg, #0088cc 0%, #229ed9 100%);
}

.tg-aic-icon-card__preview--vintage {
    background: linear-gradient(135deg, #5a9e6f 0%, #7db88e 100%);
}

.tg-aic-icon-card__preview--aqua {
    background: linear-gradient(135deg, #06b6d4 0%, #67e8f9 100%);
}

.tg-aic-icon-card__preview--star {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 70%, #fbbf24 100%);
}

.tg-aic-icon-card__preview--turbo {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
}

.tg-aic-icon-card__preview--nox {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}

.tg-aic-icon-card__name {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--tgai-slate-900);
}

.tg-aic-icon-card__desc {
    display: block;
    font-size: 9px;
    color: var(--tgai-slate-500);
}

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

/* 아이콘 선택 */
.tg-aic-demo__selector {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tgai-coral-border);
    background-color: var(--tgai-white);
}

.tg-aic-demo__selector-header {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--tgai-purple) 0%, var(--tgai-purple-dark) 100%);
    color: var(--tgai-white);
    font-size: 13px;
    font-weight: 800;
}

.tg-aic-demo__selector-header i {
    margin-right: 6px;
}

.tg-aic-demo__icons {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tg-aic-demo__icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.tg-aic-demo__icon-item:hover {
    background-color: var(--tgai-purple-light);
    border-color: var(--tgai-purple-border);
}

.tg-aic-demo__icon-item--selected {
    background-color: var(--tgai-coral-light);
    border-color: var(--tgai-coral);
}

.tg-aic-demo__icon-item--premium {
    position: relative;
}

.tg-aic-demo__icon-premium-tag {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    color: var(--tgai-purple);
}

.tg-aic-demo__icon-preview {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--tgai-white);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.tg-aic-demo__icon-item:hover .tg-aic-demo__icon-preview {
    transform: scale(1.08);
}

.tg-aic-demo__icon-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--tgai-slate-700);
}

.tg-aic-demo__info {
    padding: 8px 16px;
    background-color: var(--tgai-slate-100);
    font-size: 11px;
    font-weight: 700;
    color: var(--tgai-slate-500);
    text-align: center;
}

/* 폰 화면 미리보기 */
.tg-aic-demo__phone {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tgai-purple-border);
}

.tg-aic-demo__phone-header {
    padding: 10px 16px;
    background-color: var(--tgai-purple-light);
    color: var(--tgai-purple-dark);
    font-size: 13px;
    font-weight: 800;
}

.tg-aic-demo__phone-header i {
    margin-right: 4px;
}

.tg-aic-demo__phone-screen {
    padding: 24px 16px;
    background: linear-gradient(180deg, #e8e4f0 0%, #ddd6f3 50%, #d4cbe7 100%);
    min-height: 200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    justify-items: center;
}

.tg-aic-demo__phone-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tg-aic-demo__phone-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--tgai-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.tg-aic-demo__phone-app-icon--telegram {
    animation: tg-aic-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tg-aic-demo__phone-app-name {
    font-size: 9px;
    font-weight: 600;
    color: var(--tgai-slate-700);
    text-align: center;
}

@keyframes tg-aic-icon-pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ─── OS 카드 ─── */
.tg-aic-os-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-aic-os-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--tgai-slate-200);
}

.tg-aic-os-card__header {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--tgai-white);
}

.tg-aic-os-card--android .tg-aic-os-card__header {
    background: linear-gradient(135deg, #3ddc84 0%, #2fa866 100%);
}

.tg-aic-os-card--ios .tg-aic-os-card__header {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.tg-aic-os-card__header i {
    margin-right: 6px;
}

.tg-aic-os-card__steps {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tg-aic-os-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.tg-aic-os-step__num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3ddc84 0%, #2fa866 100%);
    color: var(--tgai-white);
    font-weight: 900;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tg-aic-os-step__num--ios {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.tg-aic-os-step p {
    font-size: 13px;
}

/* ─── 안내 ─── */
.tg-aic-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background-color: var(--tgai-white);
    border: 1px solid var(--tgai-purple-border);
    border-radius: 12px;
}

.tg-aic-notice__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tgai-slate-500) 0%, var(--tgai-slate-700) 100%);
    color: var(--tgai-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tg-aic-notice__body p {
    font-size: 14px;
    margin-bottom: 10px;
}

.tg-aic-notice__body p:last-child {
    margin-bottom: 0;
}

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

.tg-aic-tip {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 139, 250, 0.12);
    padding: 22px;
    border-radius: 10px;
    position: relative;
}

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

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

.tg-aic-tip__title i {
    color: var(--tgai-purple-border);
    margin-right: 4px;
}

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

.tg-aic-tip__text strong {
    color: var(--tgai-white);
}

/* ─── 결론 ─── */
.tg-aic-summary {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 40%, #7c3aed 70%, #a78bfa 100%);
    color: var(--tgai-white);
    padding: 44px 28px;
    border-radius: var(--tgai-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(76, 29, 149, 0.4);
}

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

.tg-aic-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgai-purple-border);
}

.tg-aic-summary strong {
    color: var(--tgai-white);
}

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

.tg-aic-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(167, 139, 250, 0.12);
    border-radius: 10px;
}

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

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

.tg-aic-summary__highlight span {
    font-size: 11px;
    color: var(--tgai-purple-border);
    text-align: center;
}

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

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

.tg-aic-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(--tgai-coral-border);
}

.tg-aic-summary__checklist strong {
    color: var(--tgai-white);
}

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

.tg-aic-summary__footer strong {
    color: var(--tgai-white);
}

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

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

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

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

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

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

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

    .tg-aic-icon-showcase {
        flex-direction: row;
    }

    .tg-aic-icon-group {
        flex: 1;
    }

    .tg-aic-os-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

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

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

    .tg-aic-demo__selector {
        flex: 1;
    }

    .tg-aic-demo__phone {
        flex: 1;
    }
}

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