﻿@charset "utf-8";

/* ============================================
   텔레그램 음성 메시지 받아쓰기 가이드
   접두사: tg-vtt- (기존 사이트 오염 방지)
   CSS 변수 접두사: --tgvt-
   컬러 톤: 딥 네이비(Deep Navy) + 웜 코랄(Warm Coral)
============================================ */

:root {
    --tgvt-navy: #1e3a5f;
    --tgvt-navy-dark: #0f2744;
    --tgvt-navy-deep: #0a1f3a;
    --tgvt-navy-light: #eff6ff;
    --tgvt-navy-border: #3b82f6;
    --tgvt-coral: #f97316;
    --tgvt-coral-dark: #ea580c;
    --tgvt-coral-light: #fff7ed;
    --tgvt-coral-border: #fb923c;
    --tgvt-slate-900: #0f172a;
    --tgvt-slate-700: #334155;
    --tgvt-slate-500: #64748b;
    --tgvt-slate-300: #cbd5e1;
    --tgvt-slate-200: #e2e8f0;
    --tgvt-slate-100: #f1f5f9;
    --tgvt-bg: #f0f4f8;
    --tgvt-white: #ffffff;
    --tgvt-green: #22c55e;
    --tgvt-blue: #3b82f6;
    --tgvt-radius: 14px;
}

/* ─── 래퍼 ─── */
.tg-vtt-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--tgvt-slate-500);
    background-color: var(--tgvt-bg);
    box-sizing: border-box;
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 60px;
}

.tg-vtt-wrapper *,
.tg-vtt-wrapper *::before,
.tg-vtt-wrapper *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.tg-vtt-wrapper strong {
    font-weight: 700;
    color: var(--tgvt-slate-900);
}

.tg-vtt-wrapper mark {
    background: linear-gradient(120deg, var(--tgvt-navy-light) 0%, #3b82f680 100%);
    color: var(--tgvt-navy);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 ─── */
.tg-vtt-hero {
    background: linear-gradient(145deg, #0a1f3a 0%, #0f2744 20%, #1e3a5f 50%, #fb923c 85%, #f97316 100%);
    color: var(--tgvt-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-vtt-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(30, 58, 95, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-vtt-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(249, 115, 22, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

.tg-vtt-hero__floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.tg-vtt-hero__float-icon {
    position: absolute;
    font-size: 28px;
    opacity: 0.15;
    animation: tg-vtt-float 6s ease-in-out infinite;
}

.tg-vtt-hero__float-icon i {
    color: rgba(255, 255, 255, 0.9);
}

.tg-vtt-hero__float-icon--1 {
    top: 14%;
    left: 8%;
    animation-delay: 0s;
    font-size: 32px;
}

.tg-vtt-hero__float-icon--2 {
    top: 20%;
    right: 12%;
    animation-delay: 1s;
    font-size: 24px;
}

.tg-vtt-hero__float-icon--3 {
    bottom: 22%;
    left: 15%;
    animation-delay: 2s;
}

.tg-vtt-hero__float-icon--4 {
    bottom: 16%;
    right: 8%;
    animation-delay: 3s;
    font-size: 22px;
}

.tg-vtt-hero__float-icon--5 {
    top: 55%;
    left: 4%;
    animation-delay: 4s;
    font-size: 20px;
}

.tg-vtt-hero__float-icon--6 {
    top: 10%;
    right: 30%;
    animation-delay: 5s;
    font-size: 20px;
}

@keyframes tg-vtt-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(6deg);
    }
}

.tg-vtt-hero__inner {
    position: relative;
    z-index: 1;
}

.tg-vtt-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(249, 115, 22, 0.2);
    color: var(--tgvt-coral-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(251, 146, 60, 0.3);
    backdrop-filter: blur(4px);
}

.tg-vtt-hero__badge i {
    font-size: 16px;
}

.tg-vtt-hero__title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 18px;
    color: var(--tgvt-white);
}

.tg-vtt-hero__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 620px;
    margin: 0 auto;
}

/* ─── 메인 ─── */
.tg-vtt-main {
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── 도입부 ─── */
.tg-vtt-intro {
    background-color: var(--tgvt-white);
    padding: 28px 24px;
    border-radius: var(--tgvt-radius);
    border-left: 4px solid var(--tgvt-navy);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.tg-vtt-intro p {
    font-size: 16px;
    margin-bottom: 14px;
}

.tg-vtt-intro p:last-child {
    margin-bottom: 0;
}

/* ─── 섹션 공통 ─── */
.tg-vtt-section {
    background-color: var(--tgvt-white);
    padding: 34px 24px;
    border-radius: var(--tgvt-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--tgvt-slate-200);
}

.tg-vtt-section--accent {
    background: linear-gradient(135deg, var(--tgvt-navy-light) 0%, #3b82f620 100%);
    border-color: var(--tgvt-navy-border);
}

.tg-vtt-section--demo {
    background: linear-gradient(135deg, var(--tgvt-coral-light) 0%, #fb923c20 50%, #fed7aa20 100%);
    border-color: var(--tgvt-coral-border);
}

.tg-vtt-section--dark {
    background: linear-gradient(135deg, var(--tgvt-navy-deep) 0%, var(--tgvt-navy-dark) 100%);
    border-color: #1e3a5f;
    color: var(--tgvt-slate-300);
}

.tg-vtt-section__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.tg-vtt-section__num {
    font-size: 38px;
    font-weight: 900;
    color: var(--tgvt-navy);
    opacity: 0.15;
    line-height: 1;
    flex-shrink: 0;
}

.tg-vtt-section__num--accent {
    color: var(--tgvt-coral);
    opacity: 0.25;
}

.tg-vtt-section__tip-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--tgvt-coral) 0%, #fb923c 100%);
    color: var(--tgvt-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tg-vtt-section__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tgvt-slate-900);
    line-height: 1.35;
    padding-top: 6px;
}

.tg-vtt-section__title--light {
    color: var(--tgvt-white);
}

.tg-vtt-section__desc {
    font-size: 16px;
    margin-bottom: 24px;
}

/* ─── 액션 카드 ─── */
.tg-vtt-action-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tg-vtt-action-card {
    padding: 22px;
    border-radius: 12px;
    background-color: var(--tgvt-white);
    border: 1px solid var(--tgvt-slate-200);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-vtt-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.08);
}

.tg-vtt-action-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tgvt-navy) 0%, var(--tgvt-navy-dark) 100%);
    color: var(--tgvt-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}

.tg-vtt-action-card__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgvt-slate-900);
    margin-bottom: 4px;
}

.tg-vtt-action-card__desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ─── 스텝 ─── */
.tg-vtt-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-vtt-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--tgvt-white);
    border: 1px solid var(--tgvt-slate-200);
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.tg-vtt-step:hover {
    transform: translateX(4px);
}

.tg-vtt-step--highlight {
    border-color: var(--tgvt-coral-border);
    background-color: var(--tgvt-coral-light);
}

.tg-vtt-step__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--tgvt-navy) 0%, var(--tgvt-navy-dark) 100%);
    color: var(--tgvt-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-vtt-step__icon--key {
    background: linear-gradient(135deg, var(--tgvt-coral) 0%, var(--tgvt-coral-dark) 100%);
    width: 50px;
    height: 50px;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
}

.tg-vtt-step__body {
    flex: 1;
}

.tg-vtt-step__num {
    font-size: 11px;
    font-weight: 800;
    color: var(--tgvt-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.tg-vtt-step__num--key {
    color: var(--tgvt-coral-dark);
    font-size: 12px;
}

.tg-vtt-step__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgvt-slate-900);
    margin-bottom: 4px;
}

.tg-vtt-step__text {
    font-size: 14px;
    line-height: 1.6;
}

/* ─── 데모 ─── */
.tg-vtt-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 음성 메시지 */
.tg-vtt-demo__voice {
    border-radius: 14px;
    padding: 14px 16px;
    background-color: var(--tgvt-white);
    border: 1px solid var(--tgvt-slate-200);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tg-vtt-demo__voice-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tg-vtt-demo__voice-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--tgvt-white);
    flex-shrink: 0;
}

.tg-vtt-demo__voice-info {
    flex: 1;
}

.tg-vtt-demo__voice-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--tgvt-slate-900);
}

.tg-vtt-demo__voice-time {
    font-size: 10px;
    color: var(--tgvt-slate-500);
}

.tg-vtt-demo__voice-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    border: 2px solid var(--tgvt-coral-border);
    background-color: var(--tgvt-coral-light);
    color: var(--tgvt-coral-dark);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.tg-vtt-demo__voice-btn:hover {
    background-color: var(--tgvt-coral);
    color: var(--tgvt-white);
    transform: scale(1.05);
}

.tg-vtt-demo__voice-btn.is-active {
    background-color: var(--tgvt-green);
    border-color: var(--tgvt-green);
    color: var(--tgvt-white);
}

.tg-vtt-demo__voice-btn i {
    margin-right: 2px;
    font-size: 10px;
}

/* 파형 */
.tg-vtt-demo__voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    margin-bottom: 2px;
}

.tg-vtt-demo__voice-bar {
    flex-shrink: 0;
    width: 4px;
    border-radius: 2px;
    background-color: var(--tgvt-navy-border);
    opacity: 0.4;
    animation: tg-vtt-wave 1.5s ease-in-out infinite;
}

.tg-vtt-demo__voice-bar:nth-child(1) {
    height: 10px;
    animation-delay: 0s;
}

.tg-vtt-demo__voice-bar:nth-child(2) {
    height: 16px;
    animation-delay: 0.1s;
}

.tg-vtt-demo__voice-bar:nth-child(3) {
    height: 22px;
    animation-delay: 0.2s;
}

.tg-vtt-demo__voice-bar:nth-child(4) {
    height: 14px;
    animation-delay: 0.3s;
}

.tg-vtt-demo__voice-bar:nth-child(5) {
    height: 28px;
    animation-delay: 0.4s;
}

.tg-vtt-demo__voice-bar:nth-child(6) {
    height: 18px;
    animation-delay: 0.5s;
}

.tg-vtt-demo__voice-bar:nth-child(7) {
    height: 24px;
    animation-delay: 0.6s;
}

.tg-vtt-demo__voice-bar:nth-child(8) {
    height: 12px;
    animation-delay: 0.7s;
}

.tg-vtt-demo__voice-bar:nth-child(9) {
    height: 20px;
    animation-delay: 0.8s;
}

.tg-vtt-demo__voice-bar:nth-child(10) {
    height: 26px;
    animation-delay: 0.9s;
}

.tg-vtt-demo__voice-bar:nth-child(11) {
    height: 15px;
    animation-delay: 1s;
}

.tg-vtt-demo__voice-bar:nth-child(12) {
    height: 8px;
    animation-delay: 1.1s;
}

.tg-vtt-demo__voice-bar:nth-child(13) {
    height: 20px;
    animation-delay: 0.15s;
}

.tg-vtt-demo__voice-bar:nth-child(14) {
    height: 12px;
    animation-delay: 0.35s;
}

.tg-vtt-demo__voice-bar:nth-child(15) {
    height: 6px;
    animation-delay: 0.55s;
}

@keyframes tg-vtt-wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

/* 변환 텍스트 */
.tg-vtt-demo__voice-text {
    font-size: 13px;
    color: var(--tgvt-slate-700);
    padding: 0;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    border-top: 0 solid transparent;
}

.tg-vtt-demo__voice-text.is-visible {
    max-height: 200px;
    padding: 10px 0 4px;
    opacity: 1;
    border-top: 1px solid var(--tgvt-slate-200);
}

.tg-vtt-demo__voice-text .tg-vtt-demo__copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    background-color: var(--tgvt-navy-light);
    border: 1px solid var(--tgvt-navy-border);
    color: var(--tgvt-navy);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.tg-vtt-demo__voice-text .tg-vtt-demo__copy-btn:hover {
    background-color: var(--tgvt-navy);
    color: var(--tgvt-white);
}

/* 타이핑 효과 */
.tg-vtt-demo__typing {
    display: inline;
}

.tg-vtt-demo__typing::after {
    content: '|';
    animation: tg-vtt-blink 0.7s step-end infinite;
    color: var(--tgvt-coral);
    font-weight: 700;
}

@keyframes tg-vtt-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 토스트 */
.tg-vtt-demo__toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--tgvt-slate-900);
    color: var(--tgvt-white);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 9999;
    white-space: nowrap;
    animation: tg-vtt-toast-in 0.3s ease, tg-vtt-toast-out 0.3s ease 1.5s forwards;
}

@keyframes tg-vtt-toast-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes tg-vtt-toast-out {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ─── 직장인 팁 ─── */
.tg-vtt-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-vtt-tip {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.1);
    padding: 22px;
    border-radius: 10px;
    position: relative;
}

.tg-vtt-tip__number {
    position: absolute;
    top: -10px;
    left: 18px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tgvt-coral) 0%, #fb923c 100%);
    color: var(--tgvt-white);
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tg-vtt-tip__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tgvt-white);
    margin-bottom: 8px;
    padding-top: 6px;
}

.tg-vtt-tip__title i {
    color: var(--tgvt-coral-border);
    margin-right: 4px;
}

.tg-vtt-tip__text {
    font-size: 14px;
    color: var(--tgvt-slate-300);
}

.tg-vtt-tip__text strong {
    color: var(--tgvt-white);
}

/* ─── 결론 ─── */
.tg-vtt-summary {
    background: linear-gradient(145deg, #0a1f3a 0%, #0f2744 25%, #1e3a5f 55%, #fb923c 85%, #f97316 100%);
    color: var(--tgvt-white);
    padding: 44px 28px;
    border-radius: var(--tgvt-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 39, 68, 0.5);
}

.tg-vtt-summary__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--tgvt-white);
    margin-bottom: 20px;
}

.tg-vtt-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgvt-coral-border);
}

.tg-vtt-summary strong {
    color: var(--tgvt-white);
}

.tg-vtt-summary__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0;
}

.tg-vtt-summary__highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 10px;
}

.tg-vtt-summary__highlight-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--tgvt-coral) 0%, #fb923c 100%);
    color: var(--tgvt-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tg-vtt-summary__highlight strong {
    font-size: 13px;
    color: var(--tgvt-white);
}

.tg-vtt-summary__highlight span {
    font-size: 11px;
    color: var(--tgvt-coral-border);
    text-align: center;
}

.tg-vtt-summary__checklist {
    list-style: none;
    display: inline-block;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 24px 32px;
    border-radius: 12px;
    margin: 0 0 24px;
}

.tg-vtt-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #bfdbfe;
}

.tg-vtt-summary__checklist li:last-child {
    margin-bottom: 0;
}

.tg-vtt-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(--tgvt-coral-border);
}

.tg-vtt-summary__checklist strong {
    color: var(--tgvt-white);
}

.tg-vtt-summary__footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: var(--tgvt-coral-border);
    line-height: 1.8;
}

.tg-vtt-summary__footer strong {
    color: var(--tgvt-white);
}

/* ============================================
   반응형
============================================ */
@media (min-width: 768px) {
    .tg-vtt-hero {
        padding: 80px 40px;
    }

    .tg-vtt-hero__title {
        font-size: 38px;
    }

    .tg-vtt-main {
        padding: 40px 36px 0;
        gap: 40px;
    }

    .tg-vtt-intro {
        padding: 36px 32px;
    }

    .tg-vtt-section {
        padding: 40px 36px;
    }

    .tg-vtt-section__title {
        font-size: 24px;
    }

    .tg-vtt-section__num {
        font-size: 44px;
    }

    .tg-vtt-action-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-vtt-tips {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-vtt-summary__highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-vtt-summary {
        padding: 56px 44px;
    }
}

@media (min-width: 1024px) {
    .tg-vtt-hero__title {
        font-size: 44px;
    }

    .tg-vtt-main {
        gap: 46px;
    }
}

/* ============================================
   스크롤 등장 애니메이션
============================================ */
.tg-vtt-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-vtt-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}
