.faq-hero {
    display: block;
    position: relative;
    max-width: 1200px;
    margin: 2.2rem auto 0;
    padding: 0 1.5rem;
    overflow: hidden;
    min-height: auto;
    background: transparent;
    color: var(--text-white);
}

.faq-hero .hero-content {
    max-width: 820px;
    margin: 0;
    padding: 2.15rem 2rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    transform: translateX(-100px);
}

.faq-hero .hero-content.scroll-revealed {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.faq-title {
    margin-bottom: 0.8rem;
    color: var(--text-white);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 0.98;
    text-shadow:
        0 10px 26px rgba(0, 0, 0, 1),
        0 0 3px rgba(0, 0, 0, 0.98),
        0 0 18px rgba(0, 0, 0, 0.8);
}

.faq-subtitle {
    max-width: 60ch;
    margin-bottom: 1.45rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.98);
}

.faq-subtitle__link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 0.16em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.98);
    transition: color var(--transition-base), text-decoration-color var(--transition-base);
}

.faq-subtitle__link:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.9);
}

.faq-subtitle__link:focus-visible {
    outline: 2px solid rgba(255, 59, 73, 0.45);
    outline-offset: 3px;
    border-radius: 3px;
}

body {
    background-color: #000;
    background-image: url('/images/hero-premium.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 78px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    overflow-y: scroll !important;
    scrollbar-gutter: stable both-edges;
}

body {
    overflow-y: scroll;
}

header {
    background: rgba(15, 20, 25, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

footer {
    background: rgba(24, 24, 24, 0.68);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px) saturate(110%);
    -webkit-backdrop-filter: blur(6px) saturate(110%);
    margin-top: auto;
}

.faq-section {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem 2rem;
    opacity: 0;
    transform: translateX(100px);
}

.faq-section.scroll-revealed {
    animation: slideInFromRight 0.75s ease-out forwards;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    justify-items: center;
}

.faq-panel {
    width: 920px;
    max-width: calc(100vw - 3rem);
    min-width: 0;
    padding: 1.75rem;
    border-radius: 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    box-sizing: border-box;
}

.faq-panel {
    position: relative;
    overflow: hidden;
}

.faq-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff3b49, #e3202e 45%, #ff6a74);
}

.faq-panel h2 {
    margin-bottom: 1rem;
    color: var(--text-white);
    font-size: 1.35rem;
    text-shadow: 0 7px 18px rgba(0, 0, 0, 0.98);
}

.faq-panel .accordion {
    --bs-accordion-bg: rgba(10, 12, 16, 0.72);
    --bs-accordion-color: rgba(255, 255, 255, 0.88);
    --bs-accordion-border-color: rgba(255, 255, 255, 0.12);
    --bs-accordion-btn-color: #ffffff;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-color: #ffffff;
    --bs-accordion-active-bg: rgba(227, 32, 46, 0.12);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(255, 59, 73, 0.18);
    width: 100%;
}

.faq-panel .accordion-item {
    margin-bottom: 0.8rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 16, 0.72);
    width: 100%;
    box-sizing: border-box;
}

.faq-panel .accordion-button {
    padding: 1rem 1.1rem;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.98);
}

.faq-panel .accordion-button:not(.collapsed) {
    box-shadow: none;
}

.faq-panel .accordion-collapse {
    width: 100%;
    box-sizing: border-box;
}

.faq-panel .accordion-body {
    padding: 0 1.1rem 1rem;
    color: rgba(255, 255, 255, 0.84);
    box-sizing: border-box;
    text-shadow: 0 7px 18px rgba(0, 0, 0, 0.96);
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-hero .hero-content,
    .faq-section {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        padding-top: 86px;
    }

    .faq-hero {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }

    .faq-hero .hero-content {
        padding: 1.6rem 1.25rem;
        border-radius: 18px;
    }

    .faq-title {
        font-size: clamp(1.95rem, 10vw, 3rem);
    }

    .faq-subtitle {
        font-size: 0.95rem;
    }

    .faq-section {
        margin-top: 1rem;
        padding: 0 1rem 2rem;
    }

    .faq-panel {
        width: 100%;
        max-width: 100%;
        padding: 1.35rem;
        border-radius: 16px;
    }
}
