@charset "utf-8";

/* ============================================
   텔레그램 원본 전송 가이드
   접두사: tg-raw- (기존 사이트 오염 방지)
   CSS 변수 접두사: --tgrw-
   컬러 톤: 시안 블루(Cyan) + 코랄 오렌지(Coral)
============================================ */

:root {
    --tgrw-cyan: #0891b2;
    --tgrw-cyan-dark: #0e7490;
    --tgrw-cyan-deep: #164e63;
    --tgrw-cyan-light: #ecfeff;
    --tgrw-cyan-border: #67e8f9;
    --tgrw-coral: #f97316;
    --tgrw-coral-dark: #ea580c;
    --tgrw-coral-light: #fff7ed;
    --tgrw-coral-border: #fdba74;
    --tgrw-android: #3ddc84;
    --tgrw-ios: #a78bfa;
    --tgrw-slate-900: #0f172a;
    --tgrw-slate-700: #334155;
    --tgrw-slate-500: #64748b;
    --tgrw-slate-300: #cbd5e1;
    --tgrw-slate-200: #e2e8f0;
    --tgrw-slate-100: #f1f5f9;
    --tgrw-bg: #f6fdff;
    --tgrw-white: #ffffff;
    --tgrw-red: #ef4444;
    --tgrw-green: #22c55e;
    --tgrw-radius: 14px;
}

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

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

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

.tg-raw-wrapper mark {
    background: linear-gradient(120deg, var(--tgrw-cyan-light) 0%, #a5f3fc 100%);
    color: #155e75;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 ─── */
.tg-raw-hero {
    background: linear-gradient(145deg, #164e63 0%, #0e7490 30%, #0891b2 60%, #22d3ee 100%);
    color: var(--tgrw-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-raw-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(8, 145, 178, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-raw-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(103, 232, 249, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

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

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

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

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

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

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

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

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

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

@keyframes tg-raw-float {

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

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

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

.tg-raw-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(249, 115, 22, 0.2);
    color: var(--tgrw-coral-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(253, 186, 116, 0.25);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

.tg-raw-section--accent {
    background: linear-gradient(135deg, var(--tgrw-cyan-light) 0%, #a5f3fc40 100%);
    border-color: var(--tgrw-cyan-border);
}

.tg-raw-section--android {
    border-left: 4px solid var(--tgrw-android);
}

.tg-raw-section--ios {
    border-left: 4px solid var(--tgrw-ios);
}

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

.tg-raw-section--demo {
    background: linear-gradient(135deg, var(--tgrw-coral-light) 0%, #fed7aa30 50%, #fef3c730 100%);
    border-color: var(--tgrw-coral-border);
}

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

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

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

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

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

.tg-raw-section__title i {
    margin-right: 6px;
}

.tg-raw-section__title .fab.fa-android {
    color: var(--tgrw-android);
}

.tg-raw-section__title .fab.fa-apple {
    color: var(--tgrw-ios);
}

.tg-raw-section__title--light {
    color: var(--tgrw-white);
}

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

/* ─── 이점 카드 ─── */
.tg-raw-benefit-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tg-raw-benefit-card {
    padding: 22px;
    border-radius: 12px;
    background-color: var(--tgrw-white);
    border: 1px solid var(--tgrw-cyan-border);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-raw-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.1);
}

.tg-raw-benefit-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tgrw-cyan) 0%, var(--tgrw-cyan-dark) 100%);
    color: var(--tgrw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
}

.tg-raw-benefit-card__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--tgrw-slate-900);
    margin-bottom: 4px;
}

.tg-raw-benefit-card__desc {
    font-size: 13px;
    line-height: 1.6;
}

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

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

.tg-raw-step:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.1);
}

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

.tg-raw-step__icon--ios {
    background: linear-gradient(135deg, var(--tgrw-ios) 0%, #8b5cf6 100%);
}

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

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

.tg-raw-step__num--ios {
    color: var(--tgrw-ios);
}

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

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

/* ─── 비교 데모 ─── */
.tg-raw-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tg-raw-demo__viewer {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--tgrw-coral-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tg-raw-demo__scene {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    transition: filter 0.4s ease;
}

.tg-raw-demo__sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
}

.tg-raw-demo__mountain {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(135deg, #166534 0%, #15803d 50%, #22c55e 100%);
    clip-path: polygon(0% 100%, 8% 50%, 20% 75%, 35% 25%, 50% 60%, 65% 20%, 78% 50%, 92% 35%, 100% 45%, 100% 100%);
}

.tg-raw-demo__ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, #4ade80 0%, #16a34a 50%, #15803d 100%);
}

.tg-raw-demo__sun {
    position: absolute;
    top: 12%;
    right: 18%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle, #fbbf24 0%, #f59e0b80 60%, transparent 100%);
    box-shadow: 0 0 20px 8px rgba(251, 191, 36, 0.3);
}

.tg-raw-demo__tree {
    position: absolute;
    bottom: 30%;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 45px solid #166534;
}

.tg-raw-demo__tree--1 {
    left: 15%;
}

.tg-raw-demo__tree--2 {
    left: 22%;
    border-bottom-width: 35px;
    border-left-width: 9px;
    border-right-width: 9px;
    border-bottom-color: #15803d;
}

.tg-raw-demo__tree--3 {
    right: 25%;
    border-bottom-width: 50px;
    border-left-width: 14px;
    border-right-width: 14px;
}

.tg-raw-demo__cloud {
    position: absolute;
    width: 45px;
    height: 14px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
}

.tg-raw-demo__cloud--1 {
    top: 16%;
    left: 10%;
}

.tg-raw-demo__cloud--2 {
    top: 24%;
    left: 55%;
    width: 35px;
    height: 10px;
}

/* 픽셀화 오버레이 */
.tg-raw-demo__pixel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, rgba(200, 200, 200, 0.15) 0px, rgba(200, 200, 200, 0.15) 1px, transparent 1px, transparent 8px),
        repeating-linear-gradient(90deg, rgba(200, 200, 200, 0.15) 0px, rgba(200, 200, 200, 0.15) 1px, transparent 1px, transparent 8px);
    transition: opacity 0.4s ease;
}

.tg-raw-demo__label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

/* 컨트롤 */
.tg-raw-demo__controls {
    background-color: var(--tgrw-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--tgrw-coral-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tg-raw-demo__slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tg-raw-demo__slider-label {
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.tg-raw-demo__slider-label--left {
    color: var(--tgrw-red);
}

.tg-raw-demo__slider-label--right {
    color: var(--tgrw-green);
}

.tg-raw-demo__slider-label i {
    margin-right: 2px;
}

.tg-raw-demo__slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, var(--tgrw-red) 0%, var(--tgrw-coral) 40%, var(--tgrw-cyan) 70%, var(--tgrw-green) 100%);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.tg-raw-demo__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tgrw-cyan) 0%, var(--tgrw-cyan-dark) 100%);
    border: 3px solid var(--tgrw-white);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.4);
    cursor: pointer;
}

.tg-raw-demo__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tgrw-cyan) 0%, var(--tgrw-cyan-dark) 100%);
    border: 3px solid var(--tgrw-white);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.4);
    cursor: pointer;
}

/* 정보 카드 */
.tg-raw-demo__info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tg-raw-demo__info-card {
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--tgrw-slate-200);
}

.tg-raw-demo__info-icon {
    font-size: 16px;
    color: var(--tgrw-cyan);
    margin-bottom: 4px;
}

.tg-raw-demo__info-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--tgrw-slate-500);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tg-raw-demo__info-value {
    font-size: 12px;
    font-weight: 800;
    color: var(--tgrw-slate-900);
    transition: color 0.3s ease;
}

/* ─── PC 팁 ─── */
.tg-raw-pc-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

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

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

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

.tg-raw-pc-tip__title i {
    color: var(--tgrw-cyan-border);
    margin-right: 4px;
}

.tg-raw-pc-tip__text {
    font-size: 14px;
    color: var(--tgrw-slate-300);
}

.tg-raw-pc-tip__text strong {
    color: var(--tgrw-white);
}

/* ─── 결론 ─── */
.tg-raw-summary {
    background: linear-gradient(135deg, #164e63 0%, #0e7490 50%, var(--tgrw-cyan-dark) 100%);
    color: var(--tgrw-white);
    padding: 44px 28px;
    border-radius: var(--tgrw-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(22, 78, 99, 0.4);
}

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

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

.tg-raw-summary strong {
    color: var(--tgrw-white);
}

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

.tg-raw-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(103, 232, 249, 0.12);
    border-radius: 10px;
}

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

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

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

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

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

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

.tg-raw-summary__checklist strong {
    color: var(--tgrw-white);
}

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

.tg-raw-summary__footer strong {
    color: var(--tgrw-white);
}

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

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

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

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

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

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

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

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

    .tg-raw-pc-tips {
        grid-template-columns: repeat(2, 1fr);
    }

    .tg-raw-demo__scene {
        height: 280px;
    }

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

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

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

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

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

    .tg-raw-demo__viewer {
        flex: 1;
    }

    .tg-raw-demo__controls {
        flex: 0 0 320px;
    }
}

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