/* guide.css - 사용방법 페이지 (GNB 제거 버전) */

/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SUIT', sans-serif;
}

.guide-page {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding-top: 168px; /* GNB + Tab 높이 */
}

/* ===== GNB 관련 스타일은 components/gnb/gnb.css에서 관리 ===== */

/* Tab Navigation (style.css에서 기본 정의, 여기서는 추가 스타일만) */
.tab-navigation {
    /* 기본 스타일은 style.css에서 관리 */
}

.tab-item {
    /* 기본 스타일은 style.css에서 관리 */
}

/* 가이드 페이지 전용 탭 애니메이션 */
.tab-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #134898;
    transition: width 0.3s ease;
}

.tab-item.active::before {
    width: 100%;
}

/* Guide Sections */
.guide-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 0px;
    gap: 70px;
}

/* Section 배경색 */
#section1 {
    padding: 120px 10px;
    background: #FFFFFF;
}

#section2 {
    padding: 120px 10px;
    background: #F4F9FF;
}

#section3 {
    padding: 120px 10px;
    background: #FFFFFF;
}

/* Section 4 & 5 Container */
.guide-section-group {
    width: 100%;
    background: linear-gradient(180deg, #E0EEFF 0%, #FFFFFF 100%);
    padding: 120px 314px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-section-group .guide-section {
    width: 1292px;
    max-width: 1292px;
    background: transparent;
    padding: 120px 0px;
}

#section4 {
    padding: 120px 10px;
}

#section5 {
    padding: 120px 10px;
}


@media (max-width: 480px) {
    /* Section 배경색 */

.main-content .section-title{
    font-size: 24px;
}
.main-content .section-description{
    font-size: 16px;
    padding-bottom: 10px;
}
#section1 {
    padding: 60px 10px;
    background: #FFFFFF;
}

#section2 {
    padding: 60px 10px;
    background: #F4F9FF;
}

#section3 {
    padding: 60px 10px;
    background: #FFFFFF;
}

/* Section 4 & 5 Container */
.guide-section-group {
    width: 100%;
    background: linear-gradient(180deg, #E0EEFF 0%, #FFFFFF 100%);
    padding: 60px 314px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-section-group .guide-section {
    width: 1292px;
    max-width: 1292px;
    background: transparent;
    padding: 60px 0px;
}

#section4 {
    padding: 60px 10px;
}

#section5 {
    padding: 60px 10px;
}
}
@media (max-width: 350px) {
    /* Section 배경색 */

.main-content .section-title{
    font-size: 18px;
}
.main-content .section-description{
    font-size: 14px;
    padding-bottom: 10px;
}
#tips .section-title{
    font-size: 24px;
    margin-bottom: -30px;
}
#faq .section-title{
    font-size: 24px;
    margin-bottom: -30px;
}
.cta-content .cta-title{
    font-size: 24px;
}
.cta-content .cta-subtitle {
    font-size: 16px;
    margin-top: -10px;
}
}
/* Title Area */
.title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.section-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.025em;
    color: #111111;
    margin: 0;
}

.section-description {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.025em;
    color: #111111;
    margin: 0;
    max-width: 692px;
}

/* Section 1 Description */
#section1 .section-description {
    max-width: 692px;
}

/* Image Area */
.image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Picture 태그 기본 스타일 */
picture {
    display: block;
    width: 100%;
    max-width: 100%;
}

picture img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Section별 이미지 크기 */
#section1 picture,
#section1 .guide-image {
    max-width: 1288px;
    width: 100%;
}

#section2 picture,
#section2 .guide-image {
    max-width: 1292px;
    width: 100%;
}

#section3 picture,
#section3 .guide-image {
    max-width: 956px;
    width: 100%;
}

#section4 picture,
#section4 .guide-image {
    max-width: 1292px;
    width: 100%;
}

#section5 picture,
#section5 .guide-image {
    max-width: 1293px;
    width: 100%;
}

/* 이미지 로딩 상태 */
picture img {
    transition: opacity 0.3s ease;
}

picture img[loading="lazy"] {
    opacity: 0;
}

picture img[loading="lazy"].loaded {
    opacity: 1;
}

/* Tips Section */
.tips-section {
    width: 100% !important;
    padding: 150px 20px !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #E9F2FF 100%) !important;
}

.tips-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.tips-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 40px !important;
    margin-top: 80px !important;
}

.tip-card {
    background: white !important;
    padding: 40px !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease !important;
    opacity: 0 !important;
    transform: translateY(30px) !important;
}

.tip-card.fade-in-up {
    transition: opacity 0.6s ease, transform 0.6s ease !important;
}

.tip-card.visible,
.tip-card.fade-in-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.tip-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 64px rgba(0, 0, 0, 0.12) !important;
}

.tip-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 24px auto !important;
    background: #F0F7FF !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tip-icon img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
}

.tip-title {
    font-family: 'SUIT', sans-serif !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    line-height: 28px !important;
    color: #111111 !important;
    margin: 0 0 16px 0 !important;
}

.tip-desc {
    font-family: 'SUIT', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #666666 !important;
    margin: 0 !important;
}

/* FAQ Section */
.faq-section {
    width: 100% !important;
    padding: 150px 20px !important;
    background: #FFFFFF !important;
}

.faq-container {
    max-width: 900px !important;
    margin: 0 auto !important;
}

.faq-list {
    margin-top: 80px !important;
}

.faq-item {
    border-bottom: 1px solid #E5E5E5 !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
}

.faq-item.fade-in-up {
    transition: opacity 0.6s ease, transform 0.6s ease !important;
}

.faq-item.visible,
.faq-item.fade-in-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.faq-question {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 30px 0 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
    text-align: left !important;
}

.faq-question:hover {
    color: #134898 !important;
}

.faq-question h3 {
    font-family: 'SUIT', sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    color: inherit !important;
    margin: 0 !important;
    text-align: left !important;
    flex: 1 !important;
}

.faq-toggle {
    font-size: 24px !important;
    font-weight: 300 !important;
    color: #999999 !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
    flex-shrink: 0 !important;
    margin-left: 20px !important;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg) !important;
    color: #134898 !important;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease, padding 0.3s ease !important;
    text-align: left !important;
}

.faq-item.active .faq-answer {
    max-height: 200px !important;
    padding-bottom: 30px !important;
}

.faq-answer p {
    font-family: 'SUIT', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 26px !important;
    color: #666666 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* CTA Section */
.cta-section {
    width: 100%;
    padding: 150px 20px;
    background: linear-gradient(135deg, #134898 0%, #061832 100%);
    text-align: center;
}

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

.cta-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    color: white;
    margin: 0 0 20px 0;
}

.cta-subtitle {
    font-family: 'SUIT', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 32px;
    color: white;
    opacity: 0.9;
    margin: 0 0 40px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-button.primary {
    background: white;
    color: #134898;
}

.cta-button.primary:hover {
    background: #F0F7FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #134898;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    width: 100%;
    height: 318px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px 10px;
    background: #FFFFFF;
}

.copyright {
    font-family: 'SUIT', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.025em;
    color: #111111;
}

/* Section Title 공통 스타일 */
.tips-section .section-title,
.faq-section .section-title {
    font-family: 'SUIT', sans-serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 55px;
    text-align: center;
    color: #111111;
    margin-bottom: 80px;
}

/* 스크롤 애니메이션 기본 클래스 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.guide-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.guide-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 1920px) {
    .guide-section {
        max-width: 100%;
    }
    
    .guide-section-group {
        padding: 120px 20px;
    }
    
    .guide-section-group .guide-section {
        width: 100%;
        height: auto;
    }
    .section-description {
        line-height: 28px;
    }
}

@media (max-width: 1400px) {
    .guide-page {
        padding-top: 156px; /* 수정된 GNB 높이 반영 */
    }
    
    picture,
    .guide-image {
        width: 100% !important;
        height: auto !important;
        padding: 0 10px;
    }
}

/* 중형 데스크탑 (1200px 이하) - 수정된 부분 */
@media (max-width: 1200px) {
    .guide-page {
        padding-top: 146px; /* 수정된 GNB 높이 반영 */
    }
    
    .guide-section {
        padding: 100px 40px;
        gap: 50px;
    }
    
    .guide-section-group {
        padding: 100px 40px;
    }
    
    .guide-section-group .guide-section {
        width: 100%;
        max-width: 1000px;
        padding: 100px 0px;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .section-description {
        font-size: 18px;
        line-height: 24px;
        max-width: 600px;
    }
    
    /* 이미지 크기 조정 */
    picture,
    .guide-image {
        width: 100% !important;
        max-width: 900px !important;
        padding: 0 20px;
    }
    
    #section1 picture,
    #section1 .guide-image,
    #section2 picture,
    #section2 .guide-image,
    #section3 picture,
    #section3 .guide-image,
    #section4 picture,
    #section4 .guide-image,
    #section5 picture,
    #section5 .guide-image {
        max-width: 900px;
        width: 100%;
    }
    
    /* Tips Section 조정 */
    .tips-section {
        padding: 120px 40px !important;
    }
    
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 30px !important;
    }
    
    .tip-card {
        padding: 35px !important;
    }
    
    .tip-title {
        font-size: 20px !important;
        line-height: 26px !important;
    }
    
    /* FAQ Section 조정 */
    .faq-section {
        padding: 120px 40px !important;
    }
    
    .faq-container {
        max-width: 800px !important;
    }
    
    .faq-question h3 {
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    /* CTA Section 조정 */
    .cta-section {
        padding: 120px 40px;
    }
    
    .cta-title {
        font-size: 40px;
        line-height: 48px;
    }
    
    .cta-subtitle {
        font-size: 20px;
        line-height: 28px;
    }
}

/* 소형 데스크탑/태블릿 (968px 이하) - 수정된 부분 */
@media (max-width: 968px) {
    .guide-page {
        padding-top: 200px; /* 수정된 GNB + Tab 높이 반영 */
    }
    
    .guide-section {
        padding: 80px 30px;
        gap: 50px;
    }
    
    .guide-section-group {
        padding: 80px 30px;
    }
    
    .guide-section-group .guide-section {
        width: 100%;
        max-width: 100%;
        padding: 80px 0px;
    }
    
    .section-title {
        font-size: 26px;
        line-height: 32px;
    }
    
    .section-description {
        font-size: 17px;
        line-height: 24px;
        max-width: 500px;
    }
    
    /* 이미지 크기 조정 */
    picture,
    .guide-image {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
    }
    
    #section1 picture,
    #section1 .guide-image,
    #section2 picture,
    #section2 .guide-image,
    #section3 picture,
    #section3 .guide-image,
    #section4 picture,
    #section4 .guide-image,
    #section5 picture,
    #section5 .guide-image {
        max-width: 100%;
        width: 100%;
    }

    /* Tips와 FAQ 섹션 반응형 */
    .tips-section {
        padding: 100px 30px !important;
    }
    
    .tips-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .tip-card {
        padding: 30px !important;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tip-title {
        font-size: 24px;
        line-height: 25px;
    }
    
    .tip-desc {
        font-size: 15px !important;
        line-height: 22px !important;
    }
    
    /* FAQ Section 조정 */
    .faq-section {
        padding: 100px 30px !important;
    }
    
    .faq-container {
        max-width: 100% !important;
    }
    
    .faq-question {
        padding: 25px 0 !important;
    }
    
    .faq-question h3 {
        font-size: 17px;
        line-height: 23px;
    }
    
    .faq-answer p {
        font-size: 15px;
        line-height: 23px ;
    }
    
    /* CTA Section 조정 */
    .cta-section {
        padding: 100px 30px;
    }
    
    .cta-title {
        font-size: 28px;
        line-height: 44px;
    }
    
    .cta-subtitle {
        font-size: 18px;
        line-height: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        min-width: 250px;
    }
    
    /* Section Title 조정 */
    .tips-section .section-title,
    .faq-section .section-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .guide-page {
        padding-top: 140px; /* 수정된 GNB + Tab 높이 반영 (모바일에서는 메뉴가 숨어서 높이가 줄어듦) */
    }
    
    .guide-section {
        padding: 60px 15px;
        gap: 40px;
    }
    
    .guide-section-group {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .section-description {
        font-size: 16px;
        line-height: 24px;
    }
    
    /* 모바일에서 Picture 태그 최적화 */
    picture {
        width: 100%;
        max-width: 100%;
    }
    
    picture img,
    .guide-image {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        max-width: 100% !important;
    }
    
    /* 모바일에서 모든 섹션 이미지 크기 통일 */
    #section1 picture,
    #section2 picture,
    #section3 picture,
    #section4 picture,
    #section5 picture {
        max-width: 100%;
        width: 100%;
    }

    /* CTA Section 모바일 */
    .cta-title {
        font-size: 28px;
    }

    .cta-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-top: -12px;
    
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .guide-page {
        padding-top: 120px; /* 수정된 GNB + Tab 높이 반영 */
    }
    
    .guide-section {
        padding: 40px 10px;
        gap: 30px;
    }
    
    .guide-section-group {
        padding: 40px 10px;
    }
    
    .section-title { 
        font-size: 18px;
        line-height: 24px;
    }
    
    .section-description {
        font-size: 14px;
        line-height: 24px;
    }
    
    .footer {
        height: 200px;
        padding: 80px 10px;
    }
    
    .copyright {
        font-size: 12px;
        text-align: center;
    }

    /* Tips Section 초소형 화면 */
    .tips-section {
        padding: 80px 15px !important;
    }

    .tip-card {
        width: 320px;
    }

    .tip-title {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .tip-desc {
        margin-top: -10px !important;
    }

    /* FAQ Section 초소형 화면 */
    .faq-section {
        padding: 80px 15px !important;
    }

    .faq-question h3 {
        font-size: 16px !important;
        line-height: 22px !important;
    }
}