﻿@charset "utf-8";

/* ============================================
   텔레그램 스와이프 제스처 가이드 (v1.0.0)
   접두사: tg-swipe-
   테마: Agile Silver & Electric Blue
============================================ */

:root {
    --swipe-primary: #3b82f6; /* Electric Blue */
    --swipe-primary-dark: #2563eb;
    --swipe-secondary: #10b981; /* Mint */
    --swipe-bg: #f8fafc;
    --swipe-white: #ffffff;
    --swipe-slate-950: #020617;
    --swipe-slate-900: #0f172a;
    --swipe-slate-800: #1e293b;
    --swipe-slate-100: #f1f5f9;
    
    --swipe-radius: 24px;
    --swipe-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* ============================================
   공통 리셋 및 기초 스타일 (기존 테마 충돌 방지)
============================================ */
#tg-swipe-wrapper,
#tg-swipe-wrapper *,
#tg-swipe-wrapper *::before,
#tg-swipe-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-swipe-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Noto Sans KR', 'Inter', sans-serif !important;
    background-color: var(--swipe-bg) !important;
    color: var(--swipe-slate-800) !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
}

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

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

/* 아이콘 렌더링 */
#tg-swipe-wrapper .fas, 
#tg-swipe-wrapper .fab, 
#tg-swipe-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-swipe-wrapper .tg-swipe-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('hero.png') no-repeat center center / cover !important;
    padding: 120px 24px !important;
    text-align: center !important;
    color: #fff !important;
}

#tg-swipe-wrapper .tg-swipe-hero__badge {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !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-swipe-wrapper .tg-swipe-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 20px rgba(0,0,0,0.5) !important;
}

#tg-swipe-wrapper .tg-swipe-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.4) !important;
}

#tg-swipe-wrapper .tg-swipe-hero__desc strong {
    color: var(--swipe-secondary) !important;
}

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

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

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

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

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

/* 카드 그리드 */
#tg-swipe-wrapper .tg-swipe-grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
}

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

#tg-swipe-wrapper .tg-swipe-card:hover {
    transform: translateY(-8px) !important; background: #fff !important;
    border-color: var(--swipe-primary) !important;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1) !important;
}

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

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

/* 리스트 아이템 (안드로이드 옵션 등) */
#tg-swipe-wrapper .tg-swipe-list {
    display: flex !important; flex-direction: column !important; gap: 12px !important;
}

#tg-swipe-wrapper .tg-swipe-item {
    display: flex !important; align-items: center !important; gap: 15px !important;
    padding: 18px 24px !important; background: var(--swipe-slate-100) !important;
    border-radius: 16px !important; transition: all 0.3s ease !important;
}

#tg-swipe-wrapper .tg-swipe-item:hover {
    background: var(--swipe-primary) !important; color: #fff !important;
    transform: translateX(10px) !important;
}

#tg-swipe-wrapper .tg-swipe-item i { width: 24px !important; text-align: center !important; font-size: 18px !important; }

/* 팁 박스 (직장인 활용 팁) */
#tg-swipe-wrapper .tg-swipe-tip {
    background: linear-gradient(135deg, #1e293b 0%, #020617 100%) !important;
    padding: 35px !important; border-radius: 25px !important;
    margin-top: 30px !important; position: relative !important;
}

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

#tg-swipe-wrapper .tg-swipe-tip__label {
    position: absolute !important; top: -15px !important; left: 35px !important;
    background: var(--swipe-secondary) !important; color: #fff !important;
    padding: 6px 18px !important; border-radius: 50px !important;
    font-weight: 900 !important; font-size: 14px !important; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

/* iOS 제스처 카드 전용 버튼 스타일 */
#tg-swipe-wrapper .tg-swipe-ios-btn {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    padding: 10px 20px !important; border-radius: 12px !important;
    font-weight: 800 !important; font-size: 15px !important; margin-top: 15px !important;
}

#tg-swipe-wrapper .tg-swipe-ios-btn--blue { background: #e0f2fe !important; color: #0369a1 !important; }
#tg-swipe-wrapper .tg-swipe-ios-btn--red { background: #fee2e2 !important; color: #b91c1c !important; }

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

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

#tg-swipe-wrapper .tg-swipe-summary__box strong {
    color: #ffffff !important; /* 상속 방지 */
    display: block !important; margin-top: 10px !important;
}

#tg-swipe-wrapper .tg-swipe-summary__grid {
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important; max-width: 900px !important; margin: 0 auto 60px !important;
}

#tg-swipe-wrapper .tg-swipe-summary__box {
    background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 30px !important; border-radius: 24px !important;
    transition: all 0.3s ease !important;
}

#tg-swipe-wrapper .tg-swipe-summary__box:hover {
    background: rgba(59, 130, 246, 0.2) !important; border-color: var(--swipe-primary) !important;
}

#tg-swipe-wrapper .tg-swipe-summary__box i {
    font-size: 32px !important; color: var(--swipe-primary) !important; margin-bottom: 20px !important; display: block !important;
}

/* 체크리스트 수평 정렬 */
#tg-swipe-wrapper .tg-swipe-summary__checklist {
    background: #fff !important; padding: 45px !important; border-radius: 30px !important;
    max-width: 800px !important; margin: 0 auto !important; text-align: left !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4) !important;
}

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

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

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

#tg-swipe-wrapper .tg-swipe-summary__footer {
    margin-top: 60px !important; font-size: 16px !important; 
    color: rgba(255, 255, 255, 0.7) !important; line-height: 1.8 !important;
}

#tg-swipe-wrapper .tg-swipe-summary__footer a {
    color: #93c5fd !important; text-decoration: underline !important; font-weight: 700 !important;
}

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

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