/* FAQ 페이지 스타일 */

/* ========================================
   Hero Section 스타일
======================================== */
.faq-hero-section {
    background: linear-gradient(135deg, #FCB913 0%, #e6a800 100%);
    padding: 120px 0 80px;
    position: relative;
}

.faq-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.faq-icon-wrapper i {
    font-size: 60px;
    color: #ffffff;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.faq-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.faq-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* 검색 박스 */
.faq-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-box input {
    height: 60px;
    border-radius: 50px;
    border: none;
    padding: 0 60px 0 30px;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.faq-search-box input:focus {
    outline: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.faq-search-box i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #FCB913;
    pointer-events: none;
}

/* 카테고리 퀵 링크 */
.faq-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-height: 120px;
}

.faq-quick-link:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.faq-quick-link i {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.faq-quick-link:hover i {
    color: #FCB913;
    transform: scale(1.1);
}

.faq-quick-link span {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.faq-quick-link:hover span {
    color: #FCB913;
}

/* 배경 장식 요소 */
.faq-bg-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.faq-bg-decoration-1 {
    width: 400px;
    height: 400px;
    background: #ffffff;
    top: -100px;
    right: -100px;
}

.faq-bg-decoration-2 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    bottom: -80px;
    left: -80px;
}

.faq-bg-decoration-3 {
    width: 200px;
    height: 200px;
    background: #ffffff;
    top: 50%;
    left: 10%;
    animation: float 4s ease-in-out infinite;
}

/* ========================================
   카테고리 스타일
======================================== */
.faq-category {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.faq-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0c1f3f;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #FCB913;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-category-title i {
    color: #FCB913;
    font-size: 1.5rem;
}

/* ========================================
   아코디언 스타일
======================================== */
.accordion {
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 5px 25px rgba(252, 185, 19, 0.15);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    background-color: #ffffff;
    padding: 1.5rem 1.5rem;
    border: none;
    box-shadow: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #FCB913 0%, #e6a800 100%);
    color: #ffffff;
}

.accordion-button:hover {
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed):hover {
    background: linear-gradient(135deg, #e9aa11 0%, #d39800 100%);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FCB913'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    width: 1.5rem;
    height: 1.5rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FCB913 0%, #e6a800 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(252, 185, 19, 0.3);
}

.accordion-button:not(.collapsed) .faq-number {
    background: #ffffff;
    color: #FCB913;
}

.accordion-body {
    padding: 2rem 1.5rem 2rem 5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    border-top: 1px solid #e9ecef;
}

.accordion-body strong {
    color: #FCB913;
    font-size: 1.1rem;
    margin-right: 0.5rem;
    font-weight: 700;
}

/* ========================================
   반응형 스타일
======================================== */
@media (max-width: 992px) {
    .faq-hero-section {
        padding: 100px 0 60px;
    }

    .faq-main-title {
        font-size: 2.5rem;
    }

    .faq-quick-link {
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .faq-hero-section {
        padding: 80px 0 50px;
    }

    .faq-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .faq-icon-wrapper i {
        font-size: 50px;
    }

    .faq-main-title {
        font-size: 2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-search-box input {
        height: 50px;
        font-size: 0.95rem;
    }

    .faq-category-title {
        font-size: 1.4rem;
    }

    .faq-quick-link {
        padding: 20px 10px;
        min-height: 90px;
    }

    .faq-quick-link i {
        font-size: 1.75rem;
    }

    .faq-quick-link span {
        font-size: 0.9rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1.25rem 1rem;
    }

    .faq-number {
        min-width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .accordion-body {
        padding: 1.5rem 1rem 1.5rem 3.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .faq-hero-section {
        padding: 60px 0 40px;
    }

    .faq-main-title {
        font-size: 1.75rem;
    }

    .faq-category-title {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .faq-category-title i {
        font-size: 1.25rem;
    }

    .faq-quick-link {
        min-height: 80px;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem 0.875rem;
        flex-direction: row;
        gap: 0.75rem;
    }

    .faq-number {
        min-width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .accordion-body {
        padding: 1.25rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   CTA 섹션
======================================== */
.gap-3 {
    gap: 1rem !important;
}

.btn-warning {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.btn-white {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #667eea;
    font-weight: 600;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   애니메이션
======================================== */
.accordion-item {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-collapse {
    transition: height 0.3s ease;
}

/* 스크롤 시 부드러운 이동 */
html {
    scroll-behavior: smooth;
}

/* 검색 기능 하이라이트 */
.faq-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}
