/**
 * 이용안내 페이지 스타일
 */

/* ==========================================================================
   히어로 섹션
   ========================================================================== */

.guide-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.guide-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.guide-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   탭 섹션
   ========================================================================== */

.guide-tabs-section {
    padding: 60px 20px;
    background: #fff;
}

.guide-container {
    max-width: 900px;
    margin: 0 auto;
}

/* 탭 네비게이션 */
.guide-tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.guide-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.guide-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s;
}

.guide-tab-btn:hover {
    color: #3b82f6;
}

.guide-tab-btn.active {
    color: #3b82f6;
}

.guide-tab-btn.active::after {
    background: #3b82f6;
}

/* 탭 패널 */
.guide-panel {
    display: none;
}

.guide-panel.active {
    display: block;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

/* 가이드 스텝 */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.guide-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: #3b82f6;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.938rem;
    color: #64748b;
    line-height: 1.6;
}

/* 정보 박스 */
.guide-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 24px;
}

.guide-info-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 12px;
}

.guide-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-info-box li {
    font-size: 0.938rem;
    color: #1e40af;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.guide-info-box li:last-child {
    margin-bottom: 0;
}

.guide-info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
}

/* ==========================================================================
   인증 시스템
   ========================================================================== */

.cert-intro {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cert-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

/* 등급 리스트 */
.grade-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.grade-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
}

.grade-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.grade-s .grade-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.grade-a .grade-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.grade-b .grade-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.grade-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.grade-content p {
    font-size: 0.875rem;
    color: #64748b;
}

/* 검수 항목 그리드 */
.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.item-card {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}

.item-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.item-card p {
    font-size: 0.813rem;
    color: #64748b;
}

/* ==========================================================================
   FAQ 섹션
   ========================================================================== */

.guide-faq-section {
    padding: 60px 20px;
    background: #f8fafc;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    color: #64748b;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.938rem;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   반응형
   ========================================================================== */

@media (max-width: 768px) {
    .guide-hero {
        padding: 60px 20px;
    }

    .guide-hero-title {
        font-size: 1.75rem;
    }

    .guide-tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .guide-tab-btn {
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 0.938rem;
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        margin: 0 auto;
    }

    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grade-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .item-grid {
        grid-template-columns: 1fr;
    }
}
