/* ========================================================================
   SMG FAQ WIDGET
   Accordion-basierte FAQ mit modernen Animationen
   ======================================================================== */

.smg-faq-widget {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.smg-faq-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    animation: float-background 40s ease-in-out infinite;
    z-index: 1;
}

.smg-faq-widget > * {
    position: relative;
    z-index: 2;
}

.smg-faq-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.smg-faq-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #dc2626 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.smg-faq-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}

.smg-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.smg-faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.smg-faq-item.active {
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

/* FAQ Question Button */
.smg-faq-question {
    width: 100%;
    padding: 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 20px 20px 0 0;
}

.smg-faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary-red);
}

.smg-faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.smg-faq-question-text {
    flex: 1;
    line-height: 1.4;
    text-align: left;
}

/* FAQ Icon */
.smg-faq-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 1rem;
    position: relative;
}

.smg-faq-icon::before {
    content: '+';
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-faq-item.active .smg-faq-icon {
    background: var(--accent-blue);
    transform: rotate(45deg);
}

.smg-faq-item.active .smg-faq-icon::before {
    transform: rotate(45deg);
}

/* FAQ Answer */
.smg-faq-answer {
    display: none;
    padding: 0 2rem 2rem;
    border-radius: 0 0 20px 20px;
    animation: fade-in-down 0.3s ease-out;
}

.smg-faq-item.active .smg-faq-answer {
    display: block;
}

.smg-faq-answer-content {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

.smg-faq-answer-content p {
    margin-bottom: 1rem;
}

.smg-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.smg-faq-answer-content ul,
.smg-faq-answer-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.smg-faq-answer-content li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.smg-faq-answer-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.smg-faq-answer-content a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.smg-faq-answer-content a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Animation Keyframes */
@keyframes fade-in-down {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE STYLES
   ======================================================================== */

@media (max-width: 768px) {
    .smg-faq-widget {
        padding: 4rem 0;
    }

    .smg-faq-container {
        padding: 0 1rem;
    }

    .smg-faq-question {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .smg-faq-answer {
        padding: 0 1.5rem 1.5rem;
    }

    .smg-faq-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .smg-faq-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .smg-faq-question {
        padding: 1.25rem;
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .smg-faq-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin-left: 0;
        align-self: flex-end;
    }

    .smg-faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .smg-faq-answer-content {
        font-size: 1rem;
    }

    .smg-faq-item {
        margin-bottom: 1rem;
    }
} 