/* 자주 묻는 질문 페이지 스타일 */

/* 히어로 섹션 */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #001510 0%, #00251a 100%);
    color: #fff;
    overflow: hidden;
}

.page-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 178, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 255, 178, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #b1f1b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url('../../images/wave.svg');
    background-size: cover;
    background-position: center;
    z-index: 3;
}

/* FAQ 탭 섹션 */
.faq-tabs {
    padding: 80px 0;
    background: #f9fffc;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 50px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(0, 166, 81, 0.05);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #00A651 0%, #00916E 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* FAQ 아이템 스타일 */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(0, 166, 81, 0.03);
    border-bottom: 1px solid rgba(0, 166, 81, 0.1);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #00A651;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.toggle-btn:hover {
    transform: scale(1.1);
}

/* FAQ 아코디언 스타일 수정 */
.faq-answer {
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
    height: 0;
}

.faq-item.active .faq-answer {
    padding: 24px 30px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* 토글 버튼 애니메이션 개선 */
.toggle-btn i {
    transition: transform 0.3s ease;
}

.toggle-btn:hover i {
    transform: rotate(90deg);
}

.faq-item.active .toggle-btn i.fa-minus {
    transform: rotate(0);
}

/* 더 궁금한 점 섹션 */
.more-questions {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fffc 0%, #e6f5ef 100%);
    text-align: center;
}

.more-questions-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.more-questions-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.more-questions-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #00A651 0%, #00916E 100%);
    color: #fff;
}

.cta-btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.3);
}

/* 푸터 스타일 */
footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #999;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00A651;
    transform: translateY(-3px);
}

.footer-nav h4,
.footer-services h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-nav ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-nav li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-services a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-nav a:hover,
.footer-services a:hover {
    color: #00A651;
}

.footer-info p {
    color: #999;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 150px 0 80px;
    }
    
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 10px;
    }
    
    .more-questions-content {
        padding: 40px 20px;
    }
    
    .more-questions-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 16px 20px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }
}

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-icon {
    font-size: 1.8rem;
    color: #00A651;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00A651;
}

.contact-btn {
    background: rgba(0, 166, 81, 0.1);
    color: #00A651;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 166, 81, 0.2);
}

.contact-btn:hover {
    background: #00A651;
    color: #fff;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(0, 166, 81, 0.05);
    color: #00A651;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 10px 0 10px 20px;
        display: none;
    }
    
    .dropdown:hover .dropdown-content {
        transform: none;
        display: block;
    }
    
    .contact-btn {
        display: inline-block;
        text-align: center;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 히어로 섹션 스타일 */
#faq-hero {
  position: relative;
  display: flex;
  min-height: 600px;
  padding-top: 120px;
  background: linear-gradient(135deg, #f9fffc 0%, #e6f5ef 100%);
  overflow: hidden;
}

#faq-hero .hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

#faq-hero .hero-text {
  max-width: 600px;
  padding: 60px 0;
}

#faq-hero .hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 166, 81, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #00A651;
  margin-bottom: 20px;
}

#faq-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.2;
}

#faq-hero .text-gradient {
  background: linear-gradient(135deg, #00A651 0%, #00916E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#faq-hero p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
}

#faq-hero .hero-visual {
  position: relative;
  flex: 1;
}

#faq-hero .floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
}

#faq-hero .shape {
  position: absolute;
  border-radius: 50%;
}

#faq-hero .shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 166, 81, 0.05);
  top: 20%;
  right: 10%;
}

#faq-hero .shape-2 {
  width: 200px;
  height: 200px;
  background: rgba(0, 166, 81, 0.08);
  top: 50%;
  right: 25%;
}

#faq-hero .shape-3 {
  width: 150px;
  height: 150px;
  background: rgba(0, 166, 81, 0.1);
  bottom: 10%;
  right: 15%;
}

/* 섹션 헤더 스타일 */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.section-header .section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 166, 81, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #00A651;
}

.section-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.section-header .section-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
  #faq-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  #faq-hero {
    flex-direction: column;
    padding-top: 100px;
  }
  
  #faq-hero .hero-text {
    padding: 40px 0;
  }
  
  #faq-hero h1 {
    font-size: 2.5rem;
  }
  
  #faq-hero .hero-visual {
    display: none;
  }
}

@media (max-width: 480px) {
  #faq-hero h1 {
    font-size: 2rem;
  }
  
  .section-header .section-title {
    font-size: 2rem;
  }
}