@charset "utf-8";

/* ============================================
   텔레그램 Siri 알림 읽어주기 가이드
   접두사: tg-sri- (기존 사이트 오염 방지)
   컬러 톤: 스카이 블루(Sky Blue) + 다크 네이비(Dark Navy)
============================================ */

:root {
    --tgsr-sky: #0ea5e9;
    --tgsr-sky-dark: #0284c7;
    --tgsr-sky-deep: #0c4a6e;
    --tgsr-sky-light: #f0f9ff;
    --tgsr-sky-border: #7dd3fc;
    --tgsr-blue: #3b82f6;
    --tgsr-blue-light: #eff6ff;
    --tgsr-blue-border: #93c5fd;
    --tgsr-amber: #d97706;
    --tgsr-amber-light: #fffbeb;
    --tgsr-amber-border: #fde68a;
    --tgsr-green: #22c55e;
    --tgsr-slate-900: #0f172a;
    --tgsr-slate-700: #334155;
    --tgsr-slate-500: #64748b;
    --tgsr-slate-300: #cbd5e1;
    --tgsr-slate-200: #e2e8f0;
    --tgsr-slate-100: #f1f5f9;
    --tgsr-bg: #f0f8ff;
    --tgsr-white: #ffffff;
    --tgsr-radius: 14px;
}

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

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

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

.tg-sri-wrapper mark {
    background: linear-gradient(120deg, var(--tgsr-sky-light) 0%, #e0f2fe 100%);
    color: var(--tgsr-sky-deep);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ─── 히어로 헤더 ─── */
.tg-sri-hero {
    background: linear-gradient(145deg, #020617 0%, #0c4a6e 30%, #0ea5e9 65%, #38bdf8 100%);
    color: var(--tgsr-white);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tg-sri-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(14, 165, 233, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.tg-sri-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(125, 211, 252, 0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -50px;
}

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

.tg-sri-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(14, 165, 233, 0.15);
    color: var(--tgsr-sky-border);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
    border: 1px solid rgba(125, 211, 252, 0.15);
    backdrop-filter: blur(4px);
}

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

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

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

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

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

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

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

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

.tg-sri-section--accent {
    background: linear-gradient(135deg, var(--tgsr-blue-light) 0%, #dbeafe40 100%);
    border-color: var(--tgsr-blue-border);
}

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

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

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

.tg-sri-section__num--accent {
    color: var(--tgsr-blue);
    opacity: 0.25;
}

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

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

.tg-sri-section__title--light {
    color: var(--tgsr-white);
}

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

/* ─── 지원 기기 3열 ─── */
.tg-sri-devices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tg-sri-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    background-color: var(--tgsr-sky-light);
    border: 1px solid var(--tgsr-sky-border);
    border-radius: 10px;
}

.tg-sri-device__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tgsr-sky) 0%, var(--tgsr-sky-dark) 100%);
    color: var(--tgsr-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-sri-device span {
    font-size: 12px;
    font-weight: 700;
    color: var(--tgsr-sky-deep);
}

/* Siri 음파 비주얼 */
.tg-sri-wave-visual {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--tgsr-slate-900) 0%, #1e293b 100%);
    border-radius: 12px;
    overflow: hidden;
}

.tg-sri-wave-visual__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--tgsr-sky) 0%, #38bdf8 100%);
    color: var(--tgsr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tg-sri-wave-visual__bars {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.tg-sri-wave-visual__bars span {
    display: block;
    width: 3px;
    background: linear-gradient(to top, var(--tgsr-sky) 0%, var(--tgsr-sky-border) 100%);
    border-radius: 100px;
    animation: tg-sri-bar 1.2s ease-in-out infinite;
}

.tg-sri-wave-visual__bars span:nth-child(1) {
    height: 10px;
    animation-delay: 0s;
}

.tg-sri-wave-visual__bars span:nth-child(2) {
    height: 18px;
    animation-delay: 0.15s;
}

.tg-sri-wave-visual__bars span:nth-child(3) {
    height: 24px;
    animation-delay: 0.3s;
}

.tg-sri-wave-visual__bars span:nth-child(4) {
    height: 16px;
    animation-delay: 0.45s;
}

.tg-sri-wave-visual__bars span:nth-child(5) {
    height: 12px;
    animation-delay: 0.6s;
}

@keyframes tg-sri-bar {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

.tg-sri-wave-visual__bubble {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(125, 211, 252, 0.2);
    padding: 6px 12px;
    border-radius: 100px;
    flex: 1;
    min-width: 0;
}

.tg-sri-wave-visual__bubble i {
    color: var(--tgsr-sky-border);
    font-size: 14px;
    flex-shrink: 0;
}

.tg-sri-wave-visual__bubble span {
    font-size: 11px;
    font-weight: 600;
    color: var(--tgsr-sky-border);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── 스텝 리스트 ─── */
.tg-sri-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-sri-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: var(--tgsr-white);
    padding: 16px 18px;
    border-radius: 10px;
    border-left: 3px solid var(--tgsr-blue-border);
    transition: border-left-color 0.2s ease;
}

.tg-sri-step:hover {
    border-left-color: var(--tgsr-sky);
}

.tg-sri-step--highlight {
    background: linear-gradient(135deg, var(--tgsr-sky-light) 0%, #e0f2fe40 100%);
    border-left-color: var(--tgsr-sky);
}

.tg-sri-step__marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tgsr-sky) 0%, var(--tgsr-sky-dark) 100%);
    color: var(--tgsr-white);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 1px;
}

.tg-sri-step__marker--highlight {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.tg-sri-step__text {
    font-size: 15px;
    padding-top: 3px;
}

.tg-sri-step__text p {
    margin-bottom: 10px;
}

/* iOS 토글 스위치 비주얼 */
.tg-sri-toggle-visual {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background-color: var(--tgsr-white);
    border: 1px solid var(--tgsr-slate-200);
    border-radius: 10px;
}

.tg-sri-toggle-visual__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--tgsr-slate-900);
}

.tg-sri-toggle-visual__label i {
    color: var(--tgsr-sky);
    margin-right: 2px;
}

.tg-sri-toggle-visual__switch {
    width: 44px;
    height: 24px;
    border-radius: 100px;
    position: relative;
    transition: background-color 0.2s ease;
}

.tg-sri-toggle-visual__switch--on {
    background-color: var(--tgsr-green);
}

.tg-sri-toggle-visual__knob {
    width: 20px;
    height: 20px;
    background-color: var(--tgsr-white);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* 설정 경로 플로우 */
.tg-sri-path-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 16px 14px;
    background: linear-gradient(135deg, var(--tgsr-sky-light) 0%, #e0f2fe 100%);
    border: 1px solid var(--tgsr-sky-border);
    border-radius: 10px;
}

.tg-sri-path-flow__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    background-color: var(--tgsr-white);
    border: 1px solid var(--tgsr-sky-border);
    border-radius: 100px;
    color: var(--tgsr-sky-dark);
}

.tg-sri-path-flow__item i {
    font-size: 10px;
}

.tg-sri-path-flow__item--end {
    background: linear-gradient(135deg, var(--tgsr-sky) 0%, var(--tgsr-sky-dark) 100%);
    border-color: var(--tgsr-sky);
    color: var(--tgsr-white);
}

.tg-sri-path-flow__arrow {
    font-size: 10px;
    color: var(--tgsr-sky-border);
}

/* ─── 팁 2열 ─── */
.tg-sri-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tg-sri-tip {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.12);
    padding: 22px;
    border-radius: 10px;
    position: relative;
}

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

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

.tg-sri-tip__title i {
    color: var(--tgsr-sky-border);
    margin-right: 4px;
}

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

.tg-sri-tip__text strong {
    color: var(--tgsr-white);
}

/* ─── 결론 및 요약 ─── */
.tg-sri-summary {
    background: linear-gradient(135deg, #020617 0%, var(--tgsr-sky-deep) 50%, var(--tgsr-sky-dark) 100%);
    color: var(--tgsr-white);
    padding: 44px 28px;
    border-radius: var(--tgsr-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(12, 74, 110, 0.4);
}

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

.tg-sri-summary__body p {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--tgsr-sky-border);
}

.tg-sri-summary strong {
    color: var(--tgsr-white);
}

/* 하이라이트 3열 */
.tg-sri-summary__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0;
}

.tg-sri-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(125, 211, 252, 0.12);
    border-radius: 10px;
}

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

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

.tg-sri-summary__highlight span {
    font-size: 11px;
    color: var(--tgsr-sky-border);
    text-align: center;
}

/* 체크리스트 */
.tg-sri-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-sri-summary__checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #e0f2fe;
}

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

.tg-sri-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(--tgsr-sky-border);
}

.tg-sri-summary__checklist strong {
    color: var(--tgsr-white);
}

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

.tg-sri-summary__footer strong {
    color: var(--tgsr-white);
}

/* ============================================
   반응형 미디어 쿼리 (모바일 퍼스트)
============================================ */
@media (min-width: 768px) {
    .tg-sri-hero {
        padding: 80px 40px;
    }

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

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

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

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

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

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

    /* 팁 2열 */
    .tg-sri-tips {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 하이라이트 3열 */
    .tg-sri-summary__highlights {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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