/* =====================================================
   delete02 — 핸드폰 분실 시 텔레그램 원격 로그아웃 & 계정 삭제 가이드
   작성: telegram.pe.kr | 모바일 퍼스트, BEM 방식
   ===================================================== */

/* ── 구글 폰트 ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

/* ── CSS 변수(토큰) ── */
#ag-delete02 {
    /* 색상 팔레트 */
    --ag-bg:            #0d0f1a;
    --ag-bg-card:       rgba(255, 255, 255, 0.04);
    --ag-bg-card-hover: rgba(255, 255, 255, 0.08);
    --ag-border:        rgba(255, 255, 255, 0.08);
    --ag-border-hover:  rgba(255, 255, 255, 0.18);
    --ag-accent-blue:   #3b9eff;
    --ag-accent-red:    #ff4c6a;
    --ag-accent-gold:   #f5c842;
    --ag-accent-green:  #2ecc71;
    --ag-text-primary:  #e8eaf0;
    --ag-text-secondary:#9aa0b8;
    --ag-text-muted:    #5c6280;

    /* 그라디언트 */
    --ag-grad-hero:     linear-gradient(135deg, #0d0f1a 0%, #111428 50%, #0d1520 100%);
    --ag-grad-blue:     linear-gradient(135deg, #1a6fff, #3b9eff);
    --ag-grad-red:      linear-gradient(135deg, #c0392b, #ff4c6a);
    --ag-grad-gold:     linear-gradient(135deg, #d4a017, #f5c842);

    /* 타이포그래피 */
    --ag-font:          'Noto Sans KR', sans-serif;
    --ag-radius:        14px;
    --ag-radius-sm:     8px;
    --ag-shadow:        0 8px 32px rgba(0, 0, 0, 0.4);

    /* 래퍼 기본 */
    font-family: var(--ag-font);
    font-size: 16px;
    color: var(--ag-text-primary);
    background: var(--ag-bg);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    /* ★ 좌우 여백 충분히 확보 */
    padding: 0 24px 60px;
    line-height: 1.7;
}

/* 모든 자식 요소에 box-sizing 적용 */
#ag-delete02 *,
#ag-delete02 *::before,
#ag-delete02 *::after {
    box-sizing: border-box;
}

/* ── 공통 섹션 간격 ── */
#ag-delete02 .ag-delete02__section {
    margin-bottom: 48px;
}

/* =====================================================
   히어로 헤더
   ===================================================== */
#ag-delete02 .ag-delete02__hero {
    background: var(--ag-grad-hero);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    padding: 48px 28px 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* 배경 장식 원 */
#ag-delete02 .ag-delete02__hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 158, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

#ag-delete02 .ag-delete02__hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 76, 106, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

#ag-delete02 .ag-delete02__hero-badge {
    display: inline-block;
    background: var(--ag-grad-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 22px;
    animation: ag-pulse 2s ease-in-out infinite;
}

#ag-delete02 .ag-delete02__hero-badge i {
    margin-right: 6px;
}

@keyframes ag-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 76, 106, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(255, 76, 106, 0); }
}

#ag-delete02 .ag-delete02__hero-title {
    font-size: clamp(22px, 5vw, 38px);
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 16px;
    color: var(--ag-text-primary);
}

#ag-delete02 .ag-delete02__hero-title--highlight {
    background: var(--ag-grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#ag-delete02 .ag-delete02__hero-desc {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--ag-text-secondary);
    margin: 0 auto 24px;
    max-width: 600px;
    line-height: 1.8;
}

#ag-delete02 .ag-delete02__hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#ag-delete02 .ag-delete02__tag {
    background: rgba(59, 158, 255, 0.12);
    border: 1px solid rgba(59, 158, 255, 0.3);
    color: var(--ag-accent-blue);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 99px;
}

#ag-delete02 .ag-delete02__tag i {
    margin-right: 5px;
}

/* =====================================================
   경고 박스 (Alert)
   ===================================================== */
#ag-delete02 .ag-delete02__alert {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(245, 200, 66, 0.06);
    border: 1px solid rgba(245, 200, 66, 0.25);
    border-left: 4px solid var(--ag-accent-gold);
    border-radius: var(--ag-radius);
    padding: 24px 28px;
}

#ag-delete02 .ag-delete02__alert-icon {
    font-size: 26px;
    color: var(--ag-accent-gold);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    width: 32px;
    text-align: center;
}

#ag-delete02 .ag-delete02__alert-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ag-accent-gold);
    margin: 0 0 10px;
}

#ag-delete02 .ag-delete02__alert-content p {
    color: var(--ag-text-secondary);
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.8;
}

#ag-delete02 .ag-delete02__alert-content p:last-child {
    margin-bottom: 0;
}

#ag-delete02 .ag-delete02__alert-content strong {
    color: var(--ag-text-primary);
}

#ag-delete02 .ag-delete02__alert-content em {
    color: var(--ag-text-muted);
    font-style: normal;
    font-size: 13px;
}

/* =====================================================
   진행 흐름 다이어그램 (Flow)
   ===================================================== */
#ag-delete02 .ag-delete02__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 28px 20px;
    background: var(--ag-bg-card);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
}

#ag-delete02 .ag-delete02__flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}

#ag-delete02 .ag-delete02__flow-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ag-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--ag-text-muted);
}

#ag-delete02 .ag-delete02__flow-num i {
    font-size: 14px;
}

#ag-delete02 .ag-delete02__flow-text {
    font-size: 11px;
    color: var(--ag-text-muted);
    text-align: center;
    line-height: 1.4;
}

/* 활성 단계 */
#ag-delete02 .ag-delete02__flow-step--active .ag-delete02__flow-num {
    background: rgba(59, 158, 255, 0.15);
    border-color: var(--ag-accent-blue);
    color: var(--ag-accent-blue);
    box-shadow: 0 0 12px rgba(59, 158, 255, 0.2);
}

#ag-delete02 .ag-delete02__flow-step--active .ag-delete02__flow-text {
    color: var(--ag-accent-blue);
}

/* 완료 단계 */
#ag-delete02 .ag-delete02__flow-step--done .ag-delete02__flow-num {
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--ag-accent-green);
    color: var(--ag-accent-green);
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.2);
}

#ag-delete02 .ag-delete02__flow-step--done .ag-delete02__flow-text {
    color: var(--ag-accent-green);
}

#ag-delete02 .ag-delete02__flow-arrow {
    font-size: 14px;
    color: var(--ag-text-muted);
    flex-shrink: 0;
}

/* =====================================================
   섹션 헤더
   ===================================================== */
#ag-delete02 .ag-delete02__section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#ag-delete02 .ag-delete02__step-badge {
    display: inline-block;
    background: var(--ag-grad-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}

#ag-delete02 .ag-delete02__step-badge--red {
    background: var(--ag-grad-red);
}

#ag-delete02 .ag-delete02__step-badge--gold {
    background: var(--ag-grad-gold);
    color: #222;
}

#ag-delete02 .ag-delete02__section-title {
    font-size: clamp(18px, 3.5vw, 24px);
    font-weight: 700;
    color: var(--ag-text-primary);
    margin: 0;
    line-height: 1.3;
}

#ag-delete02 .ag-delete02__section-intro {
    color: var(--ag-text-secondary);
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.8;
}

#ag-delete02 .ag-delete02__section-intro strong {
    color: var(--ag-text-primary);
}

/* =====================================================
   탭 내비게이션
   ===================================================== */
#ag-delete02 .ag-delete02__tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

#ag-delete02 .ag-delete02__tab {
    padding: 10px 22px;
    border-radius: var(--ag-radius-sm) var(--ag-radius-sm) 0 0;
    border: 1px solid var(--ag-border);
    border-bottom: none;
    background: var(--ag-bg-card);
    color: var(--ag-text-muted);
    font-family: var(--ag-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#ag-delete02 .ag-delete02__tab i {
    margin-right: 6px;
}

#ag-delete02 .ag-delete02__tab:hover {
    background: var(--ag-bg-card-hover);
    color: var(--ag-text-secondary);
}

#ag-delete02 .ag-delete02__tab--active {
    background: rgba(59, 158, 255, 0.1);
    border-color: rgba(59, 158, 255, 0.35);
    color: var(--ag-accent-blue);
    font-weight: 700;
}

/* ── 탭 패널 ── */
#ag-delete02 .ag-delete02__tab-content {
    display: none;
    background: var(--ag-bg-card);
    border: 1px solid var(--ag-border);
    border-radius: 0 var(--ag-radius) var(--ag-radius) var(--ag-radius);
    padding: 28px 24px;
    animation: ag-fadeIn 0.25s ease;
}

#ag-delete02 .ag-delete02__tab-content--active {
    display: block;
}

@keyframes ag-fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

#ag-delete02 .ag-delete02__tab-desc {
    color: var(--ag-text-secondary);
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.8;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ag-border);
}

/* =====================================================
   단계별 순서 목록 (Steps)
   ===================================================== */
#ag-delete02 .ag-delete02__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#ag-delete02 .ag-delete02__step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
    border-radius: var(--ag-radius-sm);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

#ag-delete02 .ag-delete02__step-item:hover {
    background: var(--ag-bg-card-hover);
    border-color: var(--ag-border-hover);
}

#ag-delete02 .ag-delete02__step-item--final {
    background: rgba(59, 158, 255, 0.04);
    border-color: rgba(59, 158, 255, 0.15) !important;
}

/* Font Awesome 아이콘 래퍼 */
#ag-delete02 .ag-delete02__step-icon {
    font-size: 16px;
    color: var(--ag-accent-blue);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(59, 158, 255, 0.10);
    border: 1px solid rgba(59, 158, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* 빨간 아이콘 변형 */
#ag-delete02 .ag-delete02__step-icon--red {
    color: var(--ag-accent-red);
    background: rgba(255, 76, 106, 0.10);
    border-color: rgba(255, 76, 106, 0.2);
}

#ag-delete02 .ag-delete02__step-body {
    flex: 1;
}

#ag-delete02 .ag-delete02__step-body strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ag-text-primary);
    margin-bottom: 4px;
}

#ag-delete02 .ag-delete02__step-body p {
    color: var(--ag-text-secondary);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

#ag-delete02 .ag-delete02__step-body p strong {
    display: inline;
    color: var(--ag-accent-blue);
    font-size: inherit;
    font-weight: 600;
    margin: 0;
}

/* =====================================================
   2단계 삭제 절차 (Delete Steps)
   ===================================================== */
#ag-delete02 .ag-delete02__delete-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* 세로 연결선 */
#ag-delete02 .ag-delete02__delete-steps::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ag-accent-blue), var(--ag-accent-red));
    opacity: 0.25;
}

#ag-delete02 .ag-delete02__delete-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 14px 0;
    position: relative;
}

#ag-delete02 .ag-delete02__delete-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(59, 158, 255, 0.12);
    border: 2px solid rgba(59, 158, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ag-accent-blue);
    flex-shrink: 0;
    z-index: 1;
}

#ag-delete02 .ag-delete02__delete-step--final .ag-delete02__delete-num {
    background: var(--ag-grad-red);
    border-color: var(--ag-accent-red);
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 76, 106, 0.35);
}

#ag-delete02 .ag-delete02__delete-content {
    flex: 1;
    background: var(--ag-bg-card);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-sm);
    padding: 16px 20px;
    transition: border-color 0.2s ease;
}

#ag-delete02 .ag-delete02__delete-content:hover {
    border-color: var(--ag-border-hover);
}

#ag-delete02 .ag-delete02__delete-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ag-text-primary);
    margin: 0 0 10px;
}

#ag-delete02 .ag-delete02__delete-content h3 i {
    margin-right: 8px;
    color: var(--ag-accent-blue);
    font-size: 14px;
}

#ag-delete02 .ag-delete02__delete-content p {
    color: var(--ag-text-secondary);
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.75;
}

#ag-delete02 .ag-delete02__delete-content p:last-child {
    margin-bottom: 0;
}

#ag-delete02 .ag-delete02__delete-content strong {
    color: var(--ag-accent-blue);
}

/* 링크 버튼 */
#ag-delete02 .ag-delete02__link-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ag-grad-blue);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 99px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-top: 4px;
}

#ag-delete02 .ag-delete02__link-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* 입력 예시 박스 */
#ag-delete02 .ag-delete02__example-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-sm);
    padding: 10px 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

#ag-delete02 .ag-delete02__example-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--ag-text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

#ag-delete02 .ag-delete02__example-code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--ag-accent-gold);
}

#ag-delete02 .ag-delete02__example-code strong {
    color: var(--ag-accent-green);
}

/* =====================================================
   꿀팁 카드
   ===================================================== */
#ag-delete02 .ag-delete02__tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

#ag-delete02 .ag-delete02__tip-card {
    background: var(--ag-bg-card);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    padding: 28px 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

#ag-delete02 .ag-delete02__tip-card:hover {
    border-color: var(--ag-border-hover);
    transform: translateY(-2px);
}

/* FA 아이콘 래퍼 */
#ag-delete02 .ag-delete02__tip-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 158, 255, 0.1);
    border: 1px solid rgba(59, 158, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--ag-accent-blue);
    margin-bottom: 16px;
}

#ag-delete02 .ag-delete02__tip-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ag-accent-gold);
    margin: 0 0 10px;
}

#ag-delete02 .ag-delete02__tip-desc {
    color: var(--ag-text-secondary);
    font-size: 14px;
    margin: 0;
    line-height: 1.85;
}

#ag-delete02 .ag-delete02__tip-desc strong {
    color: var(--ag-text-primary);
}

/* =====================================================
   결론/요약 섹션
   ===================================================== */
#ag-delete02 .ag-delete02__summary {
    background: linear-gradient(135deg, rgba(59, 158, 255, 0.07) 0%, rgba(255, 76, 106, 0.05) 100%);
    border: 1px solid rgba(59, 158, 255, 0.2);
    border-radius: var(--ag-radius);
    padding: 40px 32px;
    text-align: center;
}

#ag-delete02 .ag-delete02__summary-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ag-text-primary);
    margin: 0 0 18px;
}

#ag-delete02 .ag-delete02__summary-title i {
    margin-right: 8px;
    color: var(--ag-accent-blue);
}

#ag-delete02 .ag-delete02__summary p {
    color: var(--ag-text-secondary);
    font-size: 15px;
    margin: 0 auto 12px;
    line-height: 1.85;
    max-width: 760px;
}

#ag-delete02 .ag-delete02__summary p strong {
    color: var(--ag-text-primary);
}

#ag-delete02 .ag-delete02__summary-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

#ag-delete02 .ag-delete02__summary-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(59, 158, 255, 0.12);
    border: 1px solid rgba(59, 158, 255, 0.3);
    color: var(--ag-accent-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 99px;
    transition: all 0.2s ease;
}

#ag-delete02 .ag-delete02__summary-btn:hover {
    background: rgba(59, 158, 255, 0.22);
    transform: translateY(-2px);
}

/* =====================================================
   반응형 — 태블릿 (640px 이상)
   ===================================================== */
@media (min-width: 640px) {
    #ag-delete02 {
        /* ★ 태블릿: 좌우 여백 32px */
        padding: 0 32px 80px;
    }

    #ag-delete02 .ag-delete02__hero {
        padding: 64px 48px 52px;
    }

    #ag-delete02 .ag-delete02__tips {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   반응형 — 데스크톱 (1024px 이상)
   ===================================================== */
@media (min-width: 1024px) {
    #ag-delete02 {
        /* ★ 데스크톱: 좌우 여백 40px 유지 */
        padding: 0 40px 100px;
    }

    #ag-delete02 .ag-delete02__hero {
        padding: 80px 64px 64px;
    }

    #ag-delete02 .ag-delete02__tab-content {
        padding: 32px 36px;
    }

    #ag-delete02 .ag-delete02__step-item {
        padding: 20px 20px;
    }

    #ag-delete02 .ag-delete02__alert {
        padding: 32px 40px;
    }

    #ag-delete02 .ag-delete02__summary {
        padding: 52px 48px;
    }
}
