/* Mobile styles */
.faq-section {
    display: flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    padding: 60px 0 80px 0;
    flex-direction: column;
    overflow-x: hidden;
   
}

.faq-inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    padding: 0 16px;
    box-sizing: border-box;
}

.faq-title {
    color: var(--10, #FFF);
    text-align: center;
    font-family: "FRIZON", 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 36.502px;
    margin-bottom: 32px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-header {
    display: flex;
    align-items: center;
    padding-left: 40px;
    padding-right: 0;
    width: 100%;
    gap: 20px;
}

.faq-number {
    color: var(--white, #FFF);
    text-align: center;
    font-family: Barlow;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    min-width: 30px;
}

.faq-question {
    color: var(--white, #FFF);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    flex: 1;
    text-align: left;
    margin-right: 10px;
}

.faq-arrow-container {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 0 6.4px 6.4px 0;
    background: var(--SyFu-Dark, #0D1B2B);
    backdrop-filter: blur(6px);
    transition: border-radius 0.3s ease;
}

/* FAQ Answer Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 40px;
    margin-left: 70px; /* 40px padding + 30px number width */
}

.faq-answer a {
    color: #FFF;
    text-decoration: underline;
}

.faq-answer p {
    color: var(--white, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.5px;
    padding: 20px 0;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    opacity: 1;
    padding-bottom: 32px;
}

.faq-item.active .faq-arrow-container {
    border-radius: 0 6.4px 6.4px 0;
    /* Removed negative margin to prevent overflow */
}

.faq-arrow-mobile {
    width: 14px;
    height: 8.657px;
    flex-shrink: 0;
    fill: var(--SyFu-Mint, #3EE8B5);
    transition: transform 0.3s ease;
    display: block;
}

.faq-arrow-desktop {
    display: none;
}

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

.faq-docs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 64px;
    gap: 24px;
}

.faq-docs-text {
    color: var(--10, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.faq-learn-more-button {
    display: flex;
    padding: 0.438rem 1.25rem; /* 7px 20px */
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* 8px */
    background: transparent;
    border: 1px solid #FFF;
    border-radius: 1.875rem; /* 30px */
    color: var(--white, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.faq-learn-more-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-learn-more-icon {
    width: 16px;
    height: 16px;
    fill: var(--white, #FFF);
}