﻿@charset "utf-8";

/* ============================================
   텔레그램 음성 대화 녹음 가이드 (v1.0.0)
   접두사: tg-rec-
   테마: Vibrant Crimson & Charcoal
============================================ */

:root {
    --rec-primary: #e11d48; /* Crimson / REC Red */
    --rec-primary-dark: #9f1239;
    --rec-secondary: #475569; /* Slate / Charcoal */
    --rec-bg: #f8fafc;
    --rec-white: #ffffff;
    --rec-slate-900: #0f172a;
    --rec-slate-800: #1e293b;
    --rec-slate-100: #f1f5f9;
    
    --rec-radius: 20px;
    --rec-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* ============================================
   공통 리셋 및 기초 스타일
============================================ */
#tg-rec-wrapper,
#tg-rec-wrapper *,
#tg-rec-wrapper *::before,
#tg-rec-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0; padding: 0; border: none; outline: none;
    text-decoration: none; list-style: none; font-style: normal;
    -webkit-font-smoothing: antialiased !important;
    word-break: keep-all;
}

#tg-rec-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Noto Sans KR', 'Inter', sans-serif !important;
    background-color: var(--rec-bg) !important;
    color: var(--rec-slate-800) !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
}

#tg-rec-wrapper strong {
    font-weight: 800 !important;
    color: var(--rec-primary) !important;
}

#tg-rec-wrapper mark {
    background: linear-gradient(120deg, #ffe4e6 0%, #fecdd3 100%) !important;
    color: var(--rec-primary-dark) !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* 아이콘 시스템 */
#tg-rec-wrapper .fas, 
#tg-rec-wrapper .far {
    display: inline-block !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* ============================================
   히어로 섹션
============================================ */
#tg-rec-wrapper .tg-rec-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('hero.png') no-repeat center center / cover !important;
    padding: 120px 24px !important;
    text-align: center !important;
    color: #fff !important;
}

#tg-rec-wrapper .tg-rec-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(225, 29, 72, 0.2) !important;
    color: #fda4af !important;
    border: 1px solid rgba(225, 29, 72, 0.4) !important;
    padding: 8px 20px !important; border-radius: 100px !important;
    font-size: 14px !important; font-weight: 900 !important;
    margin-bottom: 25px !important; backdrop-filter: blur(10px) !important;
}

#tg-rec-wrapper .tg-rec-hero__badge i {
    color: var(--rec-primary) !important;
    animation: pulse-red 1.5s infinite !important;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

#tg-rec-wrapper .tg-rec-hero__title {
    font-size: 44px !important; font-weight: 950 !important; line-height: 1.2 !important;
    margin-bottom: 24px !important; 
    color: #ffffff !important; /* 명시적 흰색 */
    text-shadow: 0 4px 25px rgba(0,0,0,0.6) !important;
}

#tg-rec-wrapper .tg-rec-hero__desc {
    font-size: 20px !important; line-height: 1.6 !important; 
    color: rgba(255, 255, 255, 0.95) !important; /* 명시적 흰색 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}

#tg-rec-wrapper .tg-rec-hero__desc strong {
    color: #fda4af !important; /* 밝은 핑크/크림슨으로 강조 */
    font-weight: 900 !important;
}

/* ============================================
   메인 콘텐츠
============================================ */
#tg-rec-wrapper .tg-rec-main {
    padding: 60px 24px !important;
    display: flex !important; flex-direction: column !important; gap: 60px !important;
}

#tg-rec-wrapper .tg-rec-section {
    background: #fff !important; padding: 50px 40px !important; border-radius: var(--rec-radius) !important;
    box-shadow: var(--rec-shadow) !important; border: 1px solid var(--rec-slate-100) !important;
}

#tg-rec-wrapper .tg-rec-section__head {
    display: flex !important; align-items: center !important; gap: 18px !important;
    margin-bottom: 40px !important;
}

#tg-rec-wrapper .tg-rec-section__icon-box {
    width: 60px !important; height: 60px !important;
    background: #fff1f2 !important; color: var(--rec-primary) !important;
    border-radius: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 28px !important; border: 1px solid #ffe4e6 !important;
}

#tg-rec-wrapper .tg-rec-section__title {
    font-size: 30px !important; font-weight: 900 !important; color: var(--rec-slate-900) !important;
}

/* ─── 단계 리스트 ─── */
#tg-rec-wrapper .tg-rec-steps {
    display: flex !important; flex-direction: column !important; gap: 16px !important;
}

#tg-rec-wrapper .tg-rec-step {
    display: flex !important; align-items: center !important; gap: 20px !important;
    padding: 24px 30px !important; background: var(--rec-bg) !important;
    border-radius: 20px !important; border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

#tg-rec-wrapper .tg-rec-step:hover {
    background: #fff !important; border-color: var(--rec-primary) !important;
    transform: translateX(10px) !important; box-shadow: 0 10px 30px rgba(225, 29, 72, 0.05) !important;
}

#tg-rec-wrapper .tg-rec-step__num {
    width: 40px !important; height: 40px !important;
    background: var(--rec-primary) !important; color: #fff !important;
    border-radius: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-weight: 900 !important; font-size: 20px !important; flex-shrink: 0 !important;
}

#tg-rec-wrapper .tg-rec-step__text {
    font-size: 18px !important; font-weight: 700 !important; color: var(--rec-slate-800) !important;
}

/* ─── 팁 박스 ─── */
#tg-rec-wrapper .tg-rec-tip-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    padding: 35px !important; border-radius: 25px !important;
    margin-top: 20px !important;
}

#tg-rec-wrapper .tg-rec-tip-box__header {
    display: flex !important; align-items: center !important; gap: 12px !important;
    color: #ffffff !important; font-weight: 900 !important; font-size: 19px !important; margin-bottom: 15px !important;
}

#tg-rec-wrapper .tg-rec-tip-box p {
    color: #e2e8f0 !important; /* 내부 텍스트 색상 강제 */
    font-size: 16px !important; line-height: 1.7 !important;
}

#tg-rec-wrapper .tg-rec-tip-box__header i { color: var(--rec-primary) !important; }

/* ─── 사각형 그리드 (보안/활용) ─── */
#tg-rec-wrapper .tg-rec-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px !important;
}

#tg-rec-wrapper .tg-rec-card {
    padding: 35px !important; background: #fff !important;
    border-radius: 24px !important; border: 1px solid var(--rec-slate-100) !important;
    transition: all 0.4s ease !important;
}

#tg-rec-wrapper .tg-rec-card:hover {
    transform: translateY(-8px) !important; border-color: var(--rec-primary) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
}

#tg-rec-wrapper .tg-rec-card__icon {
    font-size: 40px !important; color: var(--rec-primary) !important; margin-bottom: 25px !important; display: block !important;
}

#tg-rec-wrapper .tg-rec-card h3 {
    font-size: 22px !important; font-weight: 850 !important; margin-bottom: 15px !important;
}

/* ============================================
   결론 및 요약 (Summary 섹션)
============================================ */
#tg-rec-wrapper .tg-rec-summary {
    background: linear-gradient(135deg, #9f1239 0%, #4c0519 100%) !important;
    padding: 80px 30px !important; border-radius: 40px !important;
    text-align: center !important;
}

#tg-rec-wrapper .tg-rec-summary__title {
    font-size: 36px !important; font-weight: 950 !important; margin-bottom: 50px !important;
    color: #ffffff !important; /* 명시적 흰색 */
}

#tg-rec-wrapper .tg-rec-summary__visual {
    display: flex !important; justify-content: center !important; align-items: center !important;
    gap: 30px !important; margin-bottom: 60px !important; flex-wrap: wrap !important;
}

#tg-rec-wrapper .tg-rec-summary__v-item {
    display: flex !important; flex-direction: column !important; align-items: center !important; gap: 15px !important;
}

#tg-rec-wrapper .tg-rec-summary__v-icon {
    width: 82px !important; height: 82px !important;
    background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important; display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 34px !important; color: #fff !important; transition: all 0.3s ease !important;
}

#tg-rec-wrapper .tg-rec-summary__v-icon--active {
    background: var(--rec-primary) !important;
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.4) !important; border: none !important;
}

#tg-rec-wrapper .tg-rec-summary__v-text { 
    font-size: 16px !important; font-weight: 850 !important; 
    color: #ffffff !important; /* 명시적 흰색 */
}

#tg-rec-wrapper .tg-rec-summary__v-arrow { color: rgba(255,255,255,0.2) !important; font-size: 24px !important; padding-bottom: 40px !important; }

/* 요약 체크리스트 (수평 정렬 최적화) */
#tg-rec-wrapper .tg-rec-summary__checklist {
    background: #fff !important; padding: 50px !important; border-radius: 35px !important;
    max-width: 820px !important; margin: 0 auto !important; text-align: left !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3) !important;
}

#tg-rec-wrapper .tg-rec-summary__checklist li {
    display: flex !important; align-items: flex-start !important; gap: 18px !important;
    margin-bottom: 24px !important; color: var(--rec-slate-800) !important; font-size: 19px !important;
}

#tg-rec-wrapper .tg-rec-summary__checklist li:last-child { margin-bottom: 0 !important; }

#tg-rec-wrapper .tg-rec-summary__checklist li::before {
    content: "\f058" !important; font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important;
    color: var(--rec-primary) !important; font-size: 28px !important;
    flex-shrink: 0 !important; line-height: 1 !important; margin-top: 2px !important;
}

#tg-rec-wrapper .tg-rec-summary__footer {
    margin-top: 60px !important; 
    font-size: 16px !important; 
    color: rgba(255, 255, 255, 0.8) !important; /* 명시적 밝은 색상 */
    line-height: 1.8 !important;
}

#tg-rec-wrapper .tg-rec-summary__footer strong,
#tg-rec-wrapper .tg-rec-summary__footer a {
    color: #fda4af !important; /* 강조 링크 색상 */
    font-weight: 800 !important;
    text-decoration: underline !important;
}

/* 애니메이션 */
.tg-rec-motion {
    opacity: 0 !important; transform: translateY(30px) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tg-rec-motion.is-visible {
    opacity: 1 !important; transform: translateY(0) !important;
}

/* 반응형 */
@media (max-width: 768px) {
    #tg-rec-wrapper .tg-rec-hero__title { font-size: 32px !important; }
    #tg-rec-wrapper .tg-rec-section { padding: 40px 24px !important; }
}

