/* ========================================== */
/* RESET & BASE STYLES                         */
/* ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: "KNMaiyuan-Regular";
    src: url("./KNMaiyuan-Regular.ttf") format("woff2"),
         url("./KNMaiyuan-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Vividly-Regular";
    src: url("./Vividly-Regular.otf") format("woff2"),
         url("./Vividly-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Dreamy Notes Script";
    src: url("./Dreamy\ Notes\ Script.otf") format("woff2"),
         url("./Dreamy\ Notes\ Script.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #fff5fa;
    font-family: "Vividly-Regular", sans-serif;
    color: #5b1133;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    padding-top: 20px;
}

.faq-page {
    width: 100%;
    max-width: 450px;
    padding: 20px 20px 80px;
    position: relative;
    background-color: #fff5fa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================================== */
/* BACKGROUND BLOBS                             */
/* ========================================== */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}
.blob-1 { top: -20px; left: -80px; width: 300px; height: 300px; background: #ffffff; }
.blob-2 { top: 300px; right: -100px; width: 250px; height: 250px; background: #ffe8f3; }
.blob-3 { bottom: 100px; left: -60px; width: 300px; height: 300px; background: #ffffff; }

/* ========================================== */
/* BACK BUTTON                                  */
/* ========================================== */
.back-btn {
    display: inline-block;
    margin-bottom: 25px;
    color: #5b1133;
    font-size: 13px;
    text-decoration: none;
    border: 1.5px solid #ffadd6;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
}
.back-btn:hover {
    background: #ffe8f3;
    transform: translateX(-5px);
}

/* ========================================== */
/* HERO SECTION                                 */
/* ========================================== */
.faq-hero {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.faq-title {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 27px;
    line-height: 1.2;
    color: #5b1133;
    margin-bottom: 15px;
}

.faq-subtitle {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 25px;
    padding: 0 10px;
}

.hero-circle {
    display: inline-block;
    padding: 12px 24px;
    border: 1.5px solid #ffadd6;
    border-radius: 40px;
    background: #ffffff;
    font-family: "Dreamy Notes Script", cursive;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.2);
}

/* ========================================== */
/* FAQ ACCORDION                                */
/* ========================================== */
.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid #ffadd6;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.1);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 173, 214, 0.2);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "Vividly-Regular", sans-serif;
    font-size: 15px;
    color: #5b1133;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fff5fa;
}

.faq-icon {
    font-size: 22px;
    font-weight: 300;
    color: #ffadd6;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding: 0 20px;
    background: #fff5fa;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.8;
    padding-top: 5px;
    border-top: 1px solid #ffe8f3;
}

/* ========================================== */
/* CONTACT SECTION                              */
/* ========================================== */
.faq-contact {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid #ffadd6;
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.script-heading {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 21px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-text {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    background: #ffadd6;
    border: none;
    border-radius: 30px;
    padding: 12px 35px;
    font-family: "Dreamy Notes Script", cursive;
    font-size: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.4);
}

.contact-btn:hover {
    transform: scale(1.05);
    background: #ffdcee;
    box-shadow: 0 6px 25px rgba(91, 17, 51, 0.3);
}

/* ========================================== */
/* FOOTER                                      */
/* ========================================== */
.footer-section {
    text-align: center;
    padding-top: 10px;
}

.footer-circle {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1.5px solid #ffadd6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.5s ease;
    cursor: pointer;
}

.footer-circle:hover {
    transform: rotate(-5deg) scale(1.05);
    background: #fff0f5;
}

.text-wrapper-56 {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 18px;
    color: #5b1133;
}