/* ==========================================================================
   INDO NATURA EXPORTER
   FAQ.CSS
   GREEN GLASSMORPHISM THEME
========================================================================== */

/* ==========================================================================
   PAGE HERO SECTION
========================================================================== */
.faq-page {
    padding: 60px 0 100px 0;
    position: relative;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.faq-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #4ade80;
    margin-bottom: 15px;
    padding: 6px 16px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 30px;
}

.faq-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-header h1 span {
    background: linear-gradient(90deg, #4ade80, #86efac, #22c55e, #bbf7d0, #16a34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-header p {
    font-size: 1.05rem;
    color: #9bb0c0;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* ==========================================================================
   SEARCH BAR (GREEN GLASSMORPHISM)
========================================================================== */
.faq-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: rgba(16, 42, 28, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 50px;
    padding: 8px 10px 8px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-search:focus-within {
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow: 0 15px 35px rgba(74, 222, 128, 0.15);
}

.faq-search input {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}

.faq-search input::placeholder {
    color: #7c93a8;
}

.faq-search button {
    background: #22c55e;
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.faq-search button:hover {
    background: #16a34a;
    transform: scale(1.05);
}

/* ==========================================================================
   CATEGORY FILTER BUTTONS
========================================================================== */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.faq-category {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9bb0c0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category:hover {
    background: rgba(74, 222, 128, 0.15);
    color: #ffffff;
    border-color: rgba(74, 222, 128, 0.3);
}

.faq-category.active {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

/* ==========================================================================
   FAQ LIST & ACCORDION (GREEN GLASS CARDS)
========================================================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(16, 42, 28, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item.open {
    background: rgba(16, 42, 28, 0.45);
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
}

.faq-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4ade80;
    opacity: 0.85;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s ease;
}

.faq-question:hover .faq-question-text {
    color: #86efac;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #4ade80;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.open .faq-icon {
    background: #22c55e;
    color: #ffffff;
    transform: rotate(45deg);
    border-color: #22c55e;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, padding 0.35s ease-in-out;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #9bb0c0;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid rgba(74, 222, 128, 0.1);
    padding-top: 16px;
}

.faq-answer strong {
    color: #ffffff;
}

/* ==========================================================================
   NO RESULT STATE
========================================================================== */
.faq-no-result {
    text-align: center;
    padding: 50px 20px;
    background: rgba(16, 42, 28, 0.2);
    border: 1px dashed rgba(74, 222, 128, 0.2);
    border-radius: 16px;
    max-width: 600px;
    margin: 30px auto 0 auto;
}

.faq-no-result h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.faq-no-result p {
    color: #7c93a8;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   FAQ CTA SECTION (GREEN GLASSMORPHISM BOX)
========================================================================== */
.faq-cta {
    padding: 40px 0 80px 0;
}

.faq-cta-box {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 42, 28, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 24px;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.faq-cta-content {
    max-width: 600px;
}

.faq-cta-content span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4ade80;
    margin-bottom: 12px;
}

.faq-cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 15px;
}

.faq-cta-content h2 strong {
    color: #4ade80;
}

.faq-cta-content p {
    font-size: 0.95rem;
    color: #9bb0c0;
    line-height: 1.7;
    margin: 0;
}

.faq-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.faq-btn-primary {
    background: #22c55e;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.faq-btn-primary:hover {
    background: #16a34a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
}

.faq-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.faq-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
========================================================================== */
@media (max-width: 992px) {
    .faq-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
    }

    .faq-cta-buttons {
        width: 100%;
        flex-direction: row;
    }

    .faq-cta-buttons a {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.2rem;
    }

    .faq-question {
        padding: 18px 20px;
        gap: 15px;
    }

    .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-item.open .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-cta-buttons {
        flex-direction: column;
    }
}