@charset "utf-8";

/* ============================================
   텔레그램 제한 두 배 상승 가이드
   접두사: tg-dbl- (기존 사이트 오염 방지)
   CSS 변수 접두사: --tgdb-
   컬러 톤: 로열 인디고(Royal Indigo) + 일렉트릭 골드(Electric Gold)
============================================ */

:root {
    --tgdb-indigo: #4f46e5;
    --tgdb-indigo-dark: #4338ca;
    --tgdb-indigo-deep: #312e81;
    --tgdb-indigo-light: #eef2ff;
    --tgdb-indigo-border: #818cf8;
    --tgdb-gold: #d97706;
    --tgdb-gold-dark: #b45309;
    --tgdb-gold-light: #fffbeb;
    --tgdb-gold-border: #fbbf24;
    --tgdb-slate-900: #0f172a;
    --tgdb-slate-700: #334155;
    --tgdb-slate-500: #64748b;
    --tgdb-slate-300: #cbd5e1;
    --tgdb-slate-200: #e2e8f0;
    --tgdb-slate-100: #f1f5f9;
    --tgdb-bg: #f8f7ff;
    --tgdb-white: #ffffff;
    --tgdb-green: #22c55e;
    --tgdb-red: #ef4444;
    --tgdb-radius: 14px;
}

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

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

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

.tg-dbl-wrapper mark {
    background: linear-gradient(120deg, var(--tgdb-gold-light) 0%, #fbbf2480 100%);
    color: #92400e;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 ─── */
.tg-dbl-hero {
    background: linear-gradient(145deg, #1e1b4b 0%, #312e81 25%, #4f46e5 55%, #818cf8 100%);
    color: var(--tgdb-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-dbl-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(79, 70, 229, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-dbl-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(129, 140, 248, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

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

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

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

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

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

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

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

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

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

@keyframes tg-dbl-float {

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

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

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

.tg-dbl-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(217, 119, 6, 0.2);
    color: var(--tgdb-gold-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

.tg-dbl-section--accent {
    background: linear-gradient(135deg, var(--tgdb-indigo-light) 0%, #818cf825 100%);
    border-color: var(--tgdb-indigo-border);
}

.tg-dbl-section--demo {
    background: linear-gradient(135deg, var(--tgdb-gold-light) 0%, #fbbf2430 50%, #fef3c730 100%);
    border-color: var(--tgdb-gold-border);
}

.tg-dbl-section--info {
    background: linear-gradient(135deg, var(--tgdb-indigo-light) 0%, #c7d2fe40 100%);
    border-color: var(--tgdb-indigo-border);
}

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

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

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

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

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

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

.tg-dbl-section__title--light {
    color: var(--tgdb-white);
}

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

/* ─── 비교 테이블 ─── */
.tg-dbl-table-wrap {
    overflow-x: auto;
}

.tg-dbl-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    font-size: 13px;
}

.tg-dbl-table th,
.tg-dbl-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--tgdb-slate-200);
}

.tg-dbl-table th {
    background-color: var(--tgdb-slate-100);
    font-weight: 800;
    color: var(--tgdb-slate-700);
    font-size: 12px;
}

.tg-dbl-table__premium {
    background: linear-gradient(135deg, var(--tgdb-indigo-deep) 0%, var(--tgdb-indigo-dark) 100%) !important;
    color: var(--tgdb-gold-border) !important;
}

.tg-dbl-table td {
    color: var(--tgdb-slate-500);
}

.tg-dbl-table td i {
    margin-right: 4px;
    color: var(--tgdb-indigo-border);
    font-size: 12px;
}

.tg-dbl-table__premium-val {
    font-weight: 900;
    color: var(--tgdb-indigo) !important;
}

.tg-dbl-table tbody tr:hover {
    background-color: var(--tgdb-indigo-light);
}

/* ─── 데모 ─── */
.tg-dbl-demo {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tgdb-gold-border);
    background-color: var(--tgdb-white);
}

/* 토글 */
.tg-dbl-demo__toggle-wrap {
    display: flex;
    gap: 0;
    background-color: var(--tgdb-slate-100);
    padding: 6px;
    border-radius: 0;
}

.tg-dbl-demo__toggle-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    background: none;
    color: var(--tgdb-slate-500);
}

.tg-dbl-demo__toggle-btn--active {
    color: var(--tgdb-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#tg-dbl-free.tg-dbl-demo__toggle-btn--active {
    background: linear-gradient(135deg, var(--tgdb-slate-700) 0%, var(--tgdb-slate-500) 100%);
}

#tg-dbl-premium.tg-dbl-demo__toggle-btn--active {
    background: linear-gradient(135deg, var(--tgdb-indigo) 0%, var(--tgdb-indigo-dark) 100%);
}

/* 바 차트 */
.tg-dbl-demo__bars {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tg-dbl-demo__bar-item {
    cursor: pointer;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.tg-dbl-demo__bar-item:hover {
    background-color: var(--tgdb-indigo-light);
    border-color: var(--tgdb-indigo-border);
}

.tg-dbl-demo__bar-item--selected {
    background-color: var(--tgdb-gold-light);
    border-color: var(--tgdb-gold-border);
}

.tg-dbl-demo__bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.tg-dbl-demo__bar-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--tgdb-slate-700);
}

.tg-dbl-demo__bar-value {
    font-size: 11px;
    font-weight: 900;
    color: var(--tgdb-indigo);
}

.tg-dbl-demo__bar-track {
    height: 14px;
    border-radius: 7px;
    background-color: var(--tgdb-slate-100);
    overflow: hidden;
}

.tg-dbl-demo__bar-fill {
    height: 100%;
    border-radius: 7px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tg-dbl-demo__bar-fill--free {
    background: linear-gradient(90deg, var(--tgdb-slate-500) 0%, var(--tgdb-slate-300) 100%);
}

.tg-dbl-demo__bar-fill--premium {
    background: linear-gradient(90deg, var(--tgdb-indigo) 0%, var(--tgdb-indigo-border) 100%);
}

/* 상세 비교 */
.tg-dbl-demo__detail {
    padding: 12px 16px;
    border-top: 1px solid var(--tgdb-slate-200);
    min-height: 60px;
}

.tg-dbl-demo__detail-empty {
    text-align: center;
    font-size: 12px;
    color: var(--tgdb-slate-300);
    padding: 10px 0;
}

.tg-dbl-demo__detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: tg-dbl-detail-in 0.4s ease;
}

.tg-dbl-demo__detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tgdb-indigo) 0%, var(--tgdb-indigo-dark) 100%);
    color: var(--tgdb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tg-dbl-demo__detail-body {
    flex: 1;
}

.tg-dbl-demo__detail-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--tgdb-slate-900);
}

.tg-dbl-demo__detail-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.tg-dbl-demo__detail-free {
    font-size: 16px;
    font-weight: 800;
    color: var(--tgdb-slate-300);
    text-decoration: line-through;
}

.tg-dbl-demo__detail-arrow {
    font-size: 12px;
    color: var(--tgdb-gold);
}

.tg-dbl-demo__detail-premium {
    font-size: 20px;
    font-weight: 900;
    color: var(--tgdb-indigo);
}

.tg-dbl-demo__detail-x2 {
    font-size: 11px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--tgdb-gold) 0%, #fbbf24 100%);
    color: var(--tgdb-white);
}

@keyframes tg-dbl-detail-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 초기화 */
.tg-dbl-demo__reset {
    width: 100%;
    padding: 8px;
    background-color: var(--tgdb-slate-100);
    border: none;
    border-top: 1px solid var(--tgdb-slate-200);
    font-size: 12px;
    font-weight: 600;
    color: var(--tgdb-slate-500);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.tg-dbl-demo__reset:hover {
    background-color: var(--tgdb-slate-200);
}

/* ─── 파워 카드 ─── */
.tg-dbl-power-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-dbl-power-card {
    padding: 24px;
    border-radius: 12px;
    background-color: var(--tgdb-white);
    border: 1px solid var(--tgdb-indigo-border);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tg-dbl-power-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.1);
}

.tg-dbl-power-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tgdb-indigo) 0%, var(--tgdb-indigo-dark) 100%);
    color: var(--tgdb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}

.tg-dbl-power-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--tgdb-gold) 0%, #fbbf24 100%);
    color: var(--tgdb-white);
    font-size: 12px;
    font-weight: 900;
}

.tg-dbl-power-card__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--tgdb-slate-900);
    margin-bottom: 6px;
}

.tg-dbl-power-card__desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ─── 텍스트 카드 ─── */
.tg-dbl-text-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-dbl-text-card {
    padding: 22px;
    border-radius: 12px;
    background-color: var(--tgdb-white);
    border: 1px solid var(--tgdb-indigo-border);
    text-align: center;
}

.tg-dbl-text-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tgdb-gold) 0%, #fbbf24 100%);
    color: var(--tgdb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
}

.tg-dbl-text-card__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--tgdb-slate-900);
    margin-bottom: 8px;
}

.tg-dbl-text-card__compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tg-dbl-text-card__old {
    font-size: 16px;
    font-weight: 700;
    color: var(--tgdb-slate-300);
    text-decoration: line-through;
}

.tg-dbl-text-card__compare i {
    font-size: 12px;
    color: var(--tgdb-gold);
}

.tg-dbl-text-card__new {
    font-size: 20px;
    font-weight: 900;
    color: var(--tgdb-indigo);
}

.tg-dbl-text-card__desc {
    font-size: 12px;
    color: var(--tgdb-slate-500);
}

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

.tg-dbl-tip {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(129, 140, 248, 0.12);
    padding: 22px;
    border-radius: 10px;
    position: relative;
}

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

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

.tg-dbl-tip__title i {
    color: var(--tgdb-indigo-border);
    margin-right: 4px;
}

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

.tg-dbl-tip__text strong {
    color: var(--tgdb-white);
}

/* ─── 결론 ─── */
.tg-dbl-summary {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, var(--tgdb-indigo-dark) 100%);
    color: var(--tgdb-white);
    padding: 44px 28px;
    border-radius: var(--tgdb-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 27, 75, 0.4);
}

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

.tg-dbl-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgdb-indigo-border);
}

.tg-dbl-summary strong {
    color: var(--tgdb-white);
}

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

.tg-dbl-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(129, 140, 248, 0.12);
    border-radius: 10px;
}

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

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

.tg-dbl-summary__highlight span {
    font-size: 11px;
    color: var(--tgdb-indigo-border);
    text-align: center;
}

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

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

.tg-dbl-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(--tgdb-gold-border);
}

.tg-dbl-summary__checklist strong {
    color: var(--tgdb-white);
}

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

.tg-dbl-summary__footer strong {
    color: var(--tgdb-white);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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