/* Novaq — pages légales & FAQ (animations légères) */

.novaq-page {
    --novaq-hero-bg: linear-gradient(135deg, var(--primary-color, #ff6a65) 0%, #c44569 48%, #574b90 100%);
    --novaq-card-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --novaq-radius: 1.25rem;
    overflow-x: hidden;
}

/* Hero */
.novaq-hero {
    position: relative;
    padding: 3.5rem 0 4.5rem;
    background: var(--novaq-hero-bg);
    color: #fff;
    overflow: hidden;
}

.novaq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.novaq-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: novaq-float 8s ease-in-out infinite;
}

.novaq-hero__shape--1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 8%;
    animation-delay: 0s;
}

.novaq-hero__shape--2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 5%;
    animation-delay: -2s;
}

.novaq-hero__shape--3 {
    width: 50px;
    height: 50px;
    top: 35%;
    left: 18%;
    animation-delay: -4s;
}

@keyframes novaq-float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-18px) scale(1.05);
    }
}

.novaq-hero .container {
    position: relative;
    z-index: 1;
}

.novaq-hero .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

.novaq-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.novaq-hero .breadcrumb-item a:hover {
    opacity: 0.85;
    color: #fff;
}

.novaq-hero .breadcrumb-item.active,
.novaq-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.75);
}

.novaq-hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}

.novaq-hero__text {
    flex: 1 1 280px;
}

.novaq-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    animation: novaq-fade-up 0.7s ease-out both;
}

.novaq-hero__subtitle {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 36rem;
    line-height: 1.6;
    animation: novaq-fade-up 0.7s ease-out 0.1s both;
}

.novaq-hero__icon-wrap {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    animation: novaq-fade-up 0.7s ease-out 0.15s both, novaq-pulse-soft 3s ease-in-out 1s infinite;
}

.novaq-hero__icon-wrap ion-icon,
.novaq-hero__icon-wrap i {
    font-size: 2.5rem;
    color: #fff;
}

@keyframes novaq-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes novaq-pulse-soft {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
}

/* Content card */
.novaq-content-section {
    margin-top: -2rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.novaq-content-card {
    background: #fff;
    border-radius: var(--novaq-radius);
    box-shadow: var(--novaq-card-shadow);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.novaq-content-card:hover {
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

.novaq-content-card.novaq-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.35s ease;
}

.novaq-content-card.novaq-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legal typography */
.novaq-legal-content h3,
.novaq-legal-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--bs-body-color, #1e293b);
}

.novaq-legal-content h3:first-child,
.novaq-legal-content h4:first-child {
    margin-top: 0;
}

.novaq-legal-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--bs-secondary-color, #64748b);
}

.novaq-legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.novaq-legal-content li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
}

/* FAQ */
.novaq-faq-section {
    padding-bottom: 4rem;
}

.novaq-faq-intro {
    animation: novaq-fade-up 0.6s ease-out both;
}

.novaq-faq-accordion .accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.novaq-faq-accordion .accordion-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.novaq-faq-accordion .accordion-item:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

.novaq-faq-accordion .accordion-button {
    font-weight: 600;
    padding: 1.1rem 1.25rem;
    background: #fff;
    box-shadow: none;
}

.novaq-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color, #ff6a65);
    background: rgba(var(--bs-primary-rgb, 255, 106, 101), 0.06);
}

.novaq-faq-accordion .accordion-button::after {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.novaq-faq-accordion .accordion-body {
    line-height: 1.75;
    color: var(--bs-secondary-color, #64748b);
    padding-top: 0.25rem;
}

.novaq-faq-image {
    animation: novaq-fade-up 0.8s ease-out 0.2s both;
}

.novaq-faq-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 32px rgba(15, 23, 42, 0.12));
    animation: novaq-float 6s ease-in-out infinite;
}

/* Classic theme overrides */
.novaq-page--classic .novaq-hero {
    padding: 2.5rem 0 3.5rem;
}

.novaq-page--classic .colored-breadcrumb.novaq-hero {
    background: var(--novaq-hero-bg);
}

.novaq-page--classic .novaq-faq-accordion .card {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.novaq-page--classic .novaq-faq-accordion .card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.novaq-page--classic .novaq-faq-accordion .card-header {
    background: #fff;
    border: none;
    padding: 0;
}

.novaq-page--classic .novaq-faq-accordion .home_faq_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

.novaq-page--classic .novaq-faq-accordion .home_faq_btn:not(.collapsed) {
    color: var(--primary-color, #ff6a65);
}

.novaq-page--classic .novaq-faq-accordion .home_faq_btn .rotate {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.novaq-page--classic .novaq-faq-accordion .home_faq_btn:not(.collapsed) .rotate {
    transform: rotate(180deg);
}

.novaq-page--classic .novaq-content-section {
    margin-top: 0;
}

.novaq-page--classic .novaq-content-card {
    margin-top: -2rem;
}

@media (prefers-reduced-motion: reduce) {
    .novaq-hero__shape,
    .novaq-faq-image img,
    .novaq-hero__icon-wrap {
        animation: none !important;
    }

    .novaq-content-card.novaq-reveal,
    .novaq-faq-accordion .accordion-item,
    .novaq-page--classic .novaq-faq-accordion .card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .novaq-hero__title,
    .novaq-hero__subtitle,
    .novaq-hero__icon-wrap,
    .novaq-faq-intro,
    .novaq-faq-image {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .novaq-hero {
        padding: 2.5rem 0 3.5rem;
    }

    .novaq-hero__icon-wrap {
        width: 64px;
        height: 64px;
    }

    .novaq-hero__icon-wrap ion-icon,
    .novaq-hero__icon-wrap i {
        font-size: 1.75rem;
    }
}

/* Mobile Money (RDC) */
.novaq-mobile-money {
    margin-top: 1rem;
}

.novaq-mobile-money__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.novaq-mobile-money__item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.novaq-mobile-money__badge {
    width: 0.45rem;
    min-height: 2.5rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.novaq-mobile-money__item--mpesa .novaq-mobile-money__badge {
    background: #00a651;
}

.novaq-mobile-money__item--orange .novaq-mobile-money__badge {
    background: #ff7900;
}

.novaq-mobile-money__item--airtel .novaq-mobile-money__badge {
    background: #ed1c24;
}

.novaq-mobile-money--checkout {
    padding: 1rem;
    border-radius: var(--novaq-radius, 1rem);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

#mobile_money_slide {
    margin-top: 1rem;
}

/* Footer payment icons (compact row) */
.novaq-footer-payments {
    margin-top: 1rem;
    padding-top: 0.25rem;
}

.novaq-footer-payments__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.novaq-footer-payments__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    border-radius: 0.35rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    line-height: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.novaq-footer-payments__link:hover,
.novaq-footer-payments__link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.novaq-footer-payments__link--static {
    cursor: default;
}

.novaq-footer-payments__link--static:hover,
.novaq-footer-payments__link--static:focus-visible {
    transform: none;
    box-shadow: none;
}

.novaq-footer-payments__icon {
    display: block;
    width: auto;
    height: 1.5rem;
    max-width: 3.25rem;
    object-fit: contain;
}

#dark-footer .novaq-footer-payments__link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}
