/* Modern FAQ Section Styles */
.faq-modern {
    position: relative;
    min-height: 100vh;
    background: #0a0a0a;
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 5rem 0;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Mode Styles */
body:not(.dark-mode) .faq-modern {
    background: #f8fafc;
    color: #1e293b;
}

/* Decorative Background Blobs */
.faq-bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.faq-blob-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(249, 115, 22, 0.2);
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse 4s ease-in-out infinite;
}

.faq-blob-2 {
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(234, 179, 8, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

/* Light Mode Blobs */
body:not(.dark-mode) .faq-blob-1 {
    background: rgba(249, 115, 22, 0.1);
}

body:not(.dark-mode) .faq-blob-2 {
    background: rgba(0, 177, 225, 0.08);
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Container */
.faq-container-modern {
    position: relative;
    z-index: 10;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Section */
.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-subtitle {
    color: #f97316;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

body:not(.dark-mode) .faq-title {
    color: #1e293b;
}

.faq-title-gradient {
    background: linear-gradient(to right, #fb923c, #fde047);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-description {
    max-width: 32rem;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #9ca3af;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body:not(.dark-mode) .faq-description {
    color: #64748b;
}

/* FAQ Grid */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 5rem;
}

/* FAQ Item */
.faq-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

body:not(.dark-mode) .faq-item-modern {
    border: 1px solid rgba(30, 41, 59, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.faq-item-modern:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item-modern.active {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px -10px rgba(249, 115, 22, 0.3);
}

body:not(.dark-mode) .faq-item-modern:hover {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.3);
}

body:not(.dark-mode) .faq-item-modern.active {
    background: rgba(249, 115, 22, 0.05);
    box-shadow: 0 0 30px -10px rgba(249, 115, 22, 0.2);
}

/* Background Gradient */
.faq-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, transparent 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.faq-item-modern.active .faq-bg-gradient {
    opacity: 1;
}

.faq-item-modern:hover .faq-bg-gradient {
    opacity: 0.5;
}

/* Content Wrapper */
.faq-content-wrapper {
    position: relative;
    padding: 1.5rem 2rem;
}

/* Question Wrapper */
.faq-question-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

/* Icon Wrapper */
.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #fb923c;
    flex-shrink: 0;
}

body:not(.dark-mode) .faq-icon-wrapper {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.faq-item-modern.active .faq-icon-wrapper {
    background: #f97316;
    color: white;
    transform: rotate(12deg) scale(1.1);
}

.faq-icon {
    font-size: 1.5rem;
}

/* Question */
.faq-question-modern {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e5e7eb;
    transition: color 0.3s ease;
    margin: 0;
    line-height: 1.4;
}

body:not(.dark-mode) .faq-question-modern {
    color: #374151;
}

.faq-item-modern.active .faq-question-modern {
    color: white;
}

.faq-item-modern:hover .faq-question-modern {
    color: white;
}

body:not(.dark-mode) .faq-item-modern.active .faq-question-modern {
    color: #1e293b;
}

body:not(.dark-mode) .faq-item-modern:hover .faq-question-modern {
    color: #1e293b;
}

/* Arrow */
.faq-arrow {
    margin-top: 0.25rem;
    transition: all 0.5s ease;
    color: #6b7280;
    flex-shrink: 0;
}

body:not(.dark-mode) .faq-arrow {
    color: #9ca3af;
}

.faq-item-modern.active .faq-arrow {
    transform: rotate(180deg);
    color: #f97316;
}

.faq-item-modern:hover .faq-arrow {
    color: white;
}

body:not(.dark-mode) .faq-item-modern:hover .faq-arrow {
    color: #374151;
}

/* Answer Wrapper */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    margin-top: 0;
}

.faq-item-modern.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 1rem;
}

.faq-answer-content {
    overflow: hidden;
}

.faq-answer-modern {
    padding-top: 0.5rem;
    color: #9ca3af;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, border-color 0.3s ease;
}

body:not(.dark-mode) .faq-answer-modern {
    color: #64748b;
    border-top: 1px solid rgba(30, 41, 59, 0.1);
}

.faq-answer-modern p {
    margin-bottom: 0.5rem;
}

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

.faq-highlight {
    color: #fb923c;
}

.faq-emphasis {
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

body:not(.dark-mode) .faq-emphasis {
    color: #1e293b;
}

.faq-list {
    list-style: disc;
    list-style-position: inside;
    margin: 0.5rem 0;
    padding-left: 0;
}

.faq-list li {
    margin-bottom: 0.25rem;
}

.faq-note {
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Bottom CTA */
.faq-cta {
    text-align: center;
}

.faq-cta-text {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

body:not(.dark-mode) .faq-cta-text {
    color: #64748b;
}

.faq-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    color: white;
    background: #ea580c;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.faq-cta-button:hover {
    background: #f97316;
    transform: scale(1.05);
}

.faq-cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.5);
}

.faq-cta-icon {
    margin-left: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.faq-cta-button:hover .faq-cta-icon {
    transform: rotate(12deg);
}

.faq-cta-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s ease;
}

.faq-cta-button:hover .faq-cta-ring {
    border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 320px) {
    .faq-title {
        font-size: 1.875rem;
    }
    .faq-content-wrapper {
        padding: 1rem 1.25rem;
    }
    .faq-question-wrapper {
        gap: 0.75rem;
    }
    .faq-icon-wrapper {
        width: 2.5rem;
        height: 2.5rem;
    }
    .faq-icon {
        font-size: 1.25rem;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    .faq-title {
        font-size: 2rem;
    }
}

@media (min-width: 376px) and (max-width: 414px) {
    .faq-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 640px) {
    .faq-title {
        font-size: 3rem;
    }
    .faq-content-wrapper {
        padding: 2rem;
    }
    .faq-question-modern {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .faq-container-modern {
        padding: 0 1.5rem;
    }
    .faq-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .faq-container-modern {
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .faq-blob-1 {
        width: 600px;
        height: 600px;
    }
    .faq-blob-2 {
        width: 500px;
        height: 500px;
    }
}

@media (min-width: 1536px) {
    .faq-title {
        font-size: 4rem;
    }
}

/* Ultra-wide monitors */
@media (min-width: 2560px) {
    .faq-container-modern {
        max-width: 1400px;
    }
    .faq-title {
        font-size: 5rem;
    }
}

/* Vertical monitors */
@media (orientation: portrait) and (min-height: 1024px) {
    .faq-modern {
        padding: 8rem 0;
    }
    .faq-header {
        margin-bottom: 6rem;
    }
}

/* Dark mode compatibility */
body.dark-mode .faq-modern {
    background: #0a0a0a;
}