/* 고객센터(FAQ 아코디언, 1:1 온라인 문의, 상담안내) 전용 반응형 스타일시트 */
:root {
    --support-bg: #070b14;
    --support-card-bg: rgba(13, 19, 33, 0.75);
    --support-card-border: rgba(255, 255, 255, 0.08);
    --support-gold: #fbbf24;
    --support-blue: #38bdf8;
    --support-green: #34d399;
}

/* Base Container & Shell */
.support-page {
    background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.04) 0%, #070b14 60%, #030509 100%);
    min-height: calc(100vh - 180px);
    padding: 40px 0 80px;
}

.support-shell {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}

/* Hero Section */
.support-hero {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--support-blue);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.support-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.support-subtitle {
    font-size: 14.5px;
    color: #94a3b8;
    margin: 0 auto;
    max-width: 580px;
    line-height: 1.6;
}

/* Quick Channels Grid */
.support-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.support-quick-card {
    background: var(--support-card-bg);
    border: 1px solid var(--support-card-border);
    border-radius: 20px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.support-quick-card.highlight {
    background: linear-gradient(135deg, rgba(254, 229, 0, 0.06) 0%, rgba(13, 19, 33, 0.9) 100%);
    border-color: rgba(254, 229, 0, 0.25);
}

.support-quick-card.highlight:hover {
    border-color: rgba(254, 229, 0, 0.5);
    box-shadow: 0 12px 28px rgba(254, 229, 0, 0.1);
}

.quick-card-icon {
    font-size: 30px;
    margin-bottom: 12px;
    line-height: 1;
}

.quick-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.quick-card-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* FAQ Box Container */
.support-faq-box {
    background: var(--support-card-bg);
    border: 1px solid var(--support-card-border);
    border-radius: 24px;
    padding: 36px 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.faq-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.faq-search-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.faq-search-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    padding: 11px 20px;
    color: #ffffff;
    font-size: 13.5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--support-blue);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

/* Category Tabs */
.faq-category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.faq-category-tabs::-webkit-scrollbar {
    display: none;
}

.faq-tab-btn {
    padding: 9px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.faq-tab-btn.active {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

/* FAQ Accordion Items */
.faq-item-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
    transition: background 0.15s ease;
}

.faq-item-card:last-child {
    border-bottom: none;
}

.faq-item-button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 4px 6px;
    color: #ffffff;
    gap: 16px;
}

.faq-q-text {
    font-size: 15.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.faq-q-badge {
    color: var(--support-blue);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.faq-arrow-icon {
    font-size: 13px;
    color: #64748b;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
}

.faq-answer-panel {
    display: none;
    margin-top: 14px;
    margin-left: 28px;
    padding: 18px 22px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.75;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* 1:1 Inquiry Form Styles */
.inquiry-form-card {
    background: var(--support-card-bg);
    border: 1px solid var(--support-card-border);
    border-radius: 24px;
    padding: 36px 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    max-width: 780px;
    margin: 0 auto;
}

.inquiry-input, .inquiry-select, .inquiry-textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-input:focus, .inquiry-select:focus, .inquiry-textarea:focus {
    outline: none;
    border-color: var(--support-blue);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

/* ============================================================
   Mobile Responsive Rules (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    .support-page {
        padding: 24px 0 60px;
    }

    .support-shell {
        width: min(100%, calc(100% - 24px));
    }

    .support-hero {
        margin-bottom: 28px;
    }

    .support-title {
        font-size: 24px;
    }

    .support-subtitle {
        font-size: 13.5px;
    }

    /* 3 Cards -> 1 Column Stack */
    .support-quick-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 32px;
    }

    .support-quick-card {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .support-faq-box, .inquiry-form-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .faq-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .faq-search-wrap {
        max-width: 100%;
    }

    .faq-category-tabs {
        margin-bottom: 20px;
        gap: 6px;
    }

    .faq-tab-btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .faq-q-text {
        font-size: 14px;
        gap: 8px;
    }

    .faq-answer-panel {
        margin-left: 0;
        padding: 14px 16px;
        font-size: 13px;
    }
}
