/* ===== FAQ SECTION STYLES ===== */

/* FAQ Section Background */
#faq-section {
    background: linear-gradient(135deg, rgba(0, 186, 255, 0.05) 0%, rgba(0, 230, 255, 0.03) 50%, rgba(0, 186, 255, 0.08) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.faq-section-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.faq-section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,186,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-pattern)"/></svg>');
    opacity: 0.5;
}

.faq-section-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.faq-floating-question,
.faq-floating-lightbulb {
    position: absolute;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(0, 186, 255, 0.15);
    animation: faq-float 6s ease-in-out infinite;
}

.faq-floating-question.faq-question-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.faq-floating-question.faq-question-2 {
    top: 70%;
    right: 15%;
    animation-delay: 2s;
}

.faq-floating-lightbulb.faq-bulb-1 {
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

.faq-floating-lightbulb.faq-bulb-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
}

@keyframes faq-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Section Header */
.faq-section-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.faq-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 186, 255, 0.1);
    border: 1px solid rgba(0, 186, 255, 0.2);
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0066cc;
    backdrop-filter: blur(10px);
}

.faq-section-badge i {
    color: #00baff;
    font-size: 1rem;
}

.faq-section-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Wrapper */
.faq-section-wrapper {
    position: relative;
    z-index: 2;
}

/* FAQ Accordion */
.faq-section-accordion {
    background: transparent;
    border: none;
}

.faq-section-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 186, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 186, 255, 0.15);
    transition: all 0.3s ease;
}

.faq-section-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 186, 255, 0.2);
    border-color: rgba(0, 186, 255, 0.2);
}

/* FAQ Button */
.faq-section-button {
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    text-align: left;
}

.faq-section-button:focus {
    box-shadow: none;
    border: none;
}

.faq-section-button:not(.collapsed) {
    background: linear-gradient(135deg, #00baff 0%, #0066cc 100%);
    color: white;
}

.faq-section-button::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>') no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.faq-section-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-section-question-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: calc(100% - 40px);
}

.faq-section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00baff 0%, #0066cc 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-section-button:not(.collapsed) .faq-section-icon {
    background: rgba(255, 255, 255, 0.9);
    color: #00baff;
}

.faq-section-question {
    flex: 1;
    line-height: 1.4;
}

/* FAQ Answer */
.faq-section-answer {
    padding: 0 2rem 2rem 2rem;
    background: transparent;
}

.answer-content {
    padding-left: 66px;
}

.answer-intro {
    font-size: 1.1rem;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Answer Steps */
.answer-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 186, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid #00baff;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(0, 186, 255, 0.1);
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00baff 0%, #0066cc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Contact Methods and Info Sections */
.faq-section-contact-methods,
.faq-section-feedback-channels,
.faq-section-transport-policies,
.faq-section-guarantee-info,
.faq-section-pricing-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.faq-section-contact-item,
.faq-section-feedback-item,
.faq-section-policy-item,
.faq-section-guarantee-item,
.faq-section-pricing-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 186, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-section-contact-item:hover,
.faq-section-feedback-item:hover,
.faq-section-policy-item:hover,
.faq-section-guarantee-item:hover,
.faq-section-pricing-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #00baff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-section-contact-icon,
.faq-section-feedback-icon,
.faq-section-policy-icon,
.faq-section-guarantee-icon,
.faq-section-pricing-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00baff 0%, #0066cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-section-contact-details h4,
.faq-section-feedback-content h4,
.faq-section-policy-content h4,
.faq-section-guarantee-content h4,
.faq-section-pricing-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.faq-section-contact-details p,
.faq-section-feedback-content p,
.faq-section-policy-content p,
.faq-section-guarantee-content p,
.faq-section-pricing-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* FAQ Footer */
.faq-section-footer {
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

.faq-section-cta {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 186, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-section-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.faq-section-cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.faq-section-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-section-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-section-cta-button.primary {
    background: #00baff;
    color: white;
    border-color: #00baff;
}

.faq-section-cta-button.primary:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: translateY(-2px);
}

.faq-section-cta-button.secondary {
    background: transparent;
    color: #00baff;
    border-color: #00baff;
}

.faq-section-cta-button.secondary:hover {
    background: #00baff;
    color: white;
    border-color: #00baff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    #faq-section {
        padding: 60px 0;
    }
    
    .faq-section-main-title {
        font-size: 2.2rem;
    }
    
    .faq-section-subtitle {
        font-size: 1rem;
    }
    
    .faq-section-button {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-section-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .answer-content {
        padding-left: 0;
    }
    
    .step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .faq-section-contact-item,
    .faq-section-feedback-item,
    .faq-section-policy-item,
    .faq-section-guarantee-item,
    .faq-section-pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .faq-section-cta-title {
        font-size: 1.5rem;
    }
    
    .faq-section-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-section-cta-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .faq-floating-question,
    .faq-floating-lightbulb {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .faq-section-main-title {
        font-size: 1.8rem;
    }
    
    .faq-section-question-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .faq-section-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-section-cta {
        padding: 2rem 1.5rem;
    }
}

/* Animasi masuk — ditangani AOS (data-aos di HTML) */

/* Smooth scrolling for FAQ anchors - only when explicitly needed */
html.faq-smooth-scroll {
    scroll-behavior: smooth;
}

/* Prevent unwanted scrolling on FAQ interactions */
.faq-section-accordion .accordion-collapse {
    scroll-margin-top: 0;
}

.faq-section-item {
    scroll-margin-top: 0;
}

/* Enhanced focus states for accessibility */
.faq-section-button:focus {
    outline: 2px solid rgba(0, 186, 255, 0.5);
    outline-offset: 2px;
}

.faq-section-cta-button:focus {
    outline: 2px solid rgba(0, 186, 255, 0.5);
    outline-offset: 2px;
} 