/* ========================================================================== 
   NeuroX — Global Stylesheet
   Replace the existing Site.css with this complete file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --nx-purple-900: #2c1b6b;
    --nx-purple-700: #4b2fc4;
    --nx-purple-600: #5b3de0;
    --nx-purple-500: #6c4ce0;
    --nx-purple-100: #ede9fe;
    --nx-purple-050: #f5f3ff;
    --nx-blue-600: #2563eb;
    --nx-blue-100: #dbeafe;
    --nx-green-600: #16a34a;
    --nx-green-100: #dcfce7;
    --nx-orange-600: #ea580c;
    --nx-orange-100: #ffedd5;
    --nx-red-600: #dc2626;
    --nx-red-100: #fee2e2;
    --nx-ink-900: #171331;
    --nx-ink-700: #3f3b5c;
    --nx-ink-500: #6b6787;
    --nx-ink-300: #9a97b3;
    --nx-bg: #ffffff;
    --nx-bg-soft: #f8f7fc;
    --nx-border: #e7e4f4;
    --nx-gradient: linear-gradient(135deg, var(--nx-purple-600), var(--nx-purple-900));
    --nx-shadow-sm: 0 2px 8px rgba(43, 27, 107, .06);
    --nx-shadow-md: 0 8px 24px rgba(43, 27, 107, .10);
    --nx-shadow-lg: 0 20px 48px rgba(43, 27, 107, .16);
    --nx-radius-sm: 10px;
    --nx-radius-md: 16px;
    --nx-radius-lg: 24px;
    --nx-radius-pill: 999px;
    --nx-ease: cubic-bezier(.22, 1, .36, 1);
    --nx-speed: .25s;
    --nx-font-display: "Poppins", "Segoe UI", sans-serif;
    --nx-font-body: "Inter", "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--nx-ink-700);
    background: var(--nx-bg);
    font-family: var(--nx-font-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--nx-ink-900);
    font-family: var(--nx-font-display);
    font-weight: 700;
}

p {
    margin: 0 0 1rem;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid var(--nx-purple-500);
    outline-offset: 2px;
    border-radius: 6px;
}

.nx-section {
    padding: 5rem 0;
}

.nx-section__title {
    position: relative;
    margin-bottom: 3rem;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}

    .nx-section__title::after {
        display: block;
        width: 56px;
        height: 4px;
        margin: .75rem auto 0;
        border-radius: var(--nx-radius-pill);
        background: var(--nx-gradient);
        content: "";
    }

/* --------------------------------------------------------------------------
   3. Top utility bar and navigation
   -------------------------------------------------------------------------- */
.nx-topbar {
    color: #ede9fe;
    background: var(--nx-gradient);
    font-size: .8125rem;
}

.nx-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
}

.nx-topbar__left {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nx-topbar__right {
    opacity: .9;
    font-weight: 500;
}

.nx-navbar {
    z-index: 1030;
    padding: .9rem 0;
    background: #fff;
    box-shadow: var(--nx-shadow-sm);
}

.nx-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.nx-brand__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: var(--nx-radius-sm);
    color: var(--nx-purple-600);
    background: var(--nx-purple-050);
    font-size: 1.25rem;
}

.nx-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nx-brand__name {
    color: var(--nx-ink-900);
    font-family: var(--nx-font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

    .nx-brand__name em {
        color: var(--nx-purple-600);
        font-style: normal;
    }

.nx-brand__tagline {
    color: var(--nx-ink-500);
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .02em;
}

.nx-nav .nav-link {
    position: relative;
    padding: .5rem 1rem !important;
    color: var(--nx-ink-700);
    font-weight: 500;
}

    .nx-nav .nav-link.active,
    .nx-nav .nav-link:hover {
        color: var(--nx-purple-600);
    }

        .nx-nav .nav-link.active::after {
            position: absolute;
            right: 1rem;
            bottom: 0;
            left: 1rem;
            height: 2px;
            border-radius: var(--nx-radius-pill);
            background: var(--nx-purple-600);
            content: "";
        }

.nx-dropdown {
    padding: .5rem;
    border: 0;
    border-radius: var(--nx-radius-md);
    box-shadow: var(--nx-shadow-lg);
}

    .nx-dropdown .dropdown-item {
        padding: .55rem .75rem;
        border-radius: var(--nx-radius-sm);
        font-size: .9rem;
    }

        .nx-dropdown .dropdown-item:hover {
            color: var(--nx-purple-600);
            background: var(--nx-purple-050);
        }

.nx-nav__actions {
    margin-left: 1rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-nx,
.btn-nx-blue,
.btn-outline-nx {
    border-radius: var(--nx-radius-sm);
    padding: .65rem 1.5rem;
    font-weight: 600;
    transition: transform var(--nx-speed) var(--nx-ease), box-shadow var(--nx-speed) var(--nx-ease), filter var(--nx-speed) var(--nx-ease), background var(--nx-speed) var(--nx-ease);
}

.btn-nx {
    border: 0;
    color: #fff;
    background: var(--nx-gradient);
    box-shadow: var(--nx-shadow-sm);
}

    .btn-nx:hover,
    .btn-nx:focus-visible {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--nx-shadow-md);
        filter: brightness(1.05);
    }

    .btn-nx:active {
        transform: translateY(0);
    }

.btn-nx-blue {
    border: 0;
    color: #fff;
    background: var(--nx-blue-600);
    box-shadow: var(--nx-shadow-sm);
}

    .btn-nx-blue:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--nx-shadow-md);
        filter: brightness(1.08);
    }

.btn-outline-nx {
    border: 1.5px solid var(--nx-purple-600);
    color: var(--nx-purple-600);
    background: transparent;
}

    .btn-outline-nx:hover,
    .btn-outline-nx:focus-visible {
        color: #fff;
        transform: translateY(-2px);
        background: var(--nx-purple-600);
        box-shadow: var(--nx-shadow-md);
    }

/* --------------------------------------------------------------------------
   5. Hero

   The source image already contains the white curved lower edge.  The image
   is intentionally slightly taller than the hero, so its unused white bottom
   is cropped and cannot create a blank gap before the next section.
   -------------------------------------------------------------------------- */
.nx-hero {
    position: relative;
    display: flex;
    height: 610px;
    min-height: 0;
    align-items: center;
    overflow: hidden;
    padding: 24px 0 70px;
    background-color: #dfe7f8;
    background-image: url("../Images/7eb7a8d5-90d7-4b2f-8494-7c5feca57e07.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 112%;
}

    /* Do not add a second white curve or extra glow over the supplied image. */
    .nx-hero::before,
    .nx-hero::after {
        display: none !important;
        content: none !important;
    }

    .nx-hero .container {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 1240px;
    }

.nx-hero__copy {
    z-index: 3;
    padding-right: 8px;
}

.nx-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: var(--nx-radius-pill);
    color: var(--nx-purple-600);
    background: #ede9fe;
    font-size: .78rem;
    font-weight: 700;
}

.nx-hero__title {
    margin-bottom: 17px;
    color: #171331;
    font-size: clamp(2.3rem, 3.2vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -1.25px;
    line-height: 1.12;
}

.nx-text-gradient {
    color: #5b3de0;
    background: linear-gradient(135deg, #7145f5, #4822ca);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nx-hero__desc {
    max-width: 510px;
    margin-bottom: 22px;
    color: #27264c;
    font-size: .98rem;
    line-height: 1.8;
}

.nx-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}

.nx-hero .nx-cta {
    display: inline-flex;
    min-width: 210px;
    min-height: 68px;
    align-items: center;
    gap: 13px;
    padding: 11px 17px;
    border-radius: 10px;
    text-align: left;
    transition: transform var(--nx-speed) var(--nx-ease), box-shadow var(--nx-speed) var(--nx-ease);
}

    .nx-hero .nx-cta:hover {
        transform: translateY(-4px);
    }

.nx-hero .btn-nx {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #6c3cf0, #35178d);
    box-shadow: 0 10px 22px rgba(73, 38, 183, .24);
}

.nx-hero .btn-outline-nx {
    border: 1px solid #e6e2f4;
    color: #5731db;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(32, 28, 84, .10);
}

    .nx-hero .btn-outline-nx:hover {
        border-color: #5b3de0;
        color: #5b3de0;
        background: #fff;
    }

.nx-cta__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    font-size: 1.05rem;
}

.btn-nx .nx-cta__icon {
    color: #fff;
    background: rgba(255, 255, 255, .17);
}

.btn-outline-nx .nx-cta__icon {
    color: #5b3de0;
    background: #ede9fe;
}

.nx-cta__text {
    display: flex;
    flex-direction: column;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
}

    .nx-cta__text small {
        margin-top: 3px;
        font-size: .72rem;
        font-weight: 400;
        opacity: .86;
    }

.nx-hero__note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #57557e;
    font-size: .82rem;
    line-height: 1.7;
}

    .nx-hero__note i {
        margin-top: 3px;
        color: #5b3de0;
        font-size: 1.28rem;
    }

/* The MRI is the hero background.  Keep the markup image harmless if present. */
.nx-hero__img {
    display: none !important;
}

.nx-hero__visual,
.nx-hero__imgwrap {
    position: static;
    min-height: 0;
}

/* AI card is positioned against the full hero, not against the Bootstrap column. */
.nx-hero .nx-ai-preview {
    position: absolute;
    top: 43%;
    right: clamp(28px, 3vw, 65px);
    z-index: 5;
    width: 268px;
    padding: 20px 23px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    color: #fff;
    background: rgba(17, 33, 70, .66);
    box-shadow: 0 20px 44px rgba(8, 17, 50, .28);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    animation: nx-ai-preview-float 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes nx-ai-preview-float {
    0%, 100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 14px));
    }
}

.nx-ai-preview__header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
}

    .nx-ai-preview__header i {
        color: #b99aff;
    }

.nx-ai-preview__list {
    margin: 0 0 12px;
}

.nx-ai-preview__row {
    display: block;
    margin-bottom: 12px;
}

    .nx-ai-preview__row dt {
        margin: 0;
        color: #e6e9f5;
        font-size: .77rem;
        font-weight: 400;
    }

    .nx-ai-preview__row dd {
        margin: 3px 0 0;
        font-size: .95rem;
        font-weight: 700;
    }

.nx-ai-preview .text-purple {
    color: #ad7cff !important;
}

.nx-ai-preview .text-success {
    color: #20dc76 !important;
}

.nx-ai-preview .text-danger {
    color: #ff5c67 !important;
}

.nx-ai-preview .text-warning {
    color: #ffd52a !important;
}

.nx-ai-preview .btn {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #6c3cf0, #421bb8);
    font-size: .82rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. Cards and feature section
   -------------------------------------------------------------------------- */
.nx-card {
    height: 100%;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-md);
    background: #fff;
    box-shadow: var(--nx-shadow-sm);
    transition: transform var(--nx-speed) var(--nx-ease), box-shadow var(--nx-speed) var(--nx-ease), border-color var(--nx-speed) var(--nx-ease);
}

    .nx-card:hover {
        border-color: var(--nx-purple-100);
        transform: translateY(-6px);
        box-shadow: var(--nx-shadow-lg);
    }

.nx-features {
    background: var(--nx-bg-soft);
}

.nx-feature-card {
    padding: 2rem 1.75rem;
}

.nx-feature-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: var(--nx-radius-sm);
    font-size: 1.35rem;
    transition: transform var(--nx-speed) var(--nx-ease);
}

.nx-card:hover .nx-feature-card__icon {
    transform: scale(1.08) rotate(-4deg);
}

.nx-feature-card__title {
    margin-bottom: .6rem;
    font-size: 1.1rem;
}

.nx-feature-card__text {
    margin: 0;
    color: var(--nx-ink-500);
    font-size: .9rem;
}

.nx-icon-bg-purple {
    color: var(--nx-purple-600);
    background: var(--nx-purple-100);
}

.nx-icon-bg-green {
    color: var(--nx-green-600);
    background: var(--nx-green-100);
}

.nx-icon-bg-orange {
    color: var(--nx-orange-600);
    background: var(--nx-orange-100);
}

.nx-icon-bg-blue {
    color: var(--nx-blue-600);
    background: var(--nx-blue-100);
}

.nx-icon-bg-red {
    color: var(--nx-red-600);
    background: var(--nx-red-100);
}

/* --------------------------------------------------------------------------
   7. How it works
   -------------------------------------------------------------------------- */
.nx-steps {
    position: relative;
}

.nx-steps__line {
    position: absolute;
    top: 28px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--nx-purple-100) 0 10px, transparent 10px 20px);
}

.nx-step {
    position: relative;
    text-align: center;
}

.nx-step__badge {
    position: relative;
    z-index: 2;
    display: grid;
    width: 26px;
    height: 26px;
    margin: 0 auto .75rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--nx-purple-600);
    font-size: .75rem;
    font-weight: 700;
}

.nx-step__icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    color: var(--nx-purple-600);
    background: var(--nx-purple-050);
    font-size: 1.4rem;
    transition: transform var(--nx-speed) var(--nx-ease), color var(--nx-speed) var(--nx-ease), background var(--nx-speed) var(--nx-ease);
}

.nx-step:hover .nx-step__icon {
    color: #fff;
    transform: translateY(-4px);
    background: var(--nx-gradient);
}

.nx-step__title {
    margin-bottom: .4rem;
    font-size: 1rem;
}

.nx-step__text {
    margin: 0;
    color: var(--nx-ink-500);
    font-size: .85rem;
}

/ /* ===============================
   WHO IS NEUROX FOR? / AUDIENCE
================================ */
.nx-audience {
    padding: 5rem 0;
    background: #fff;
}

.nx-audience .nx-section__title {
    margin-bottom: 2.5rem;
}

.nx-audience-card {
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #e7e4f4;
    border-radius: 14px;
    background: #f8f7fc;
    box-shadow: 0 10px 26px rgba(43, 27, 107, .08);
    transition: .25s ease;
}

    .nx-audience-card:hover {
        border-color: #d9d0fa;
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(43, 27, 107, .13);
    }

    .nx-audience-card .row {
        min-height: 300px;
    }

/* Image columns */
.nx-audience-card__media {
    min-height: 300px;
    background-color: #eeeaff;
    background-repeat: no-repeat;
    background-size: cover;
}

.patient-bg {
    background-image: url("../Images/patient.png");
    background-position: 32% center;
}

.doctor-bg {
    background-image: url("../Images/doctor.png");
    background-position: 76% center;
}

/* Writing columns — white background nahi aayega */
.nx-audience-card__body {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem 1.85rem;
}

/* Patient card writing background */
.nx-audience .col-lg-6:first-child .nx-audience-card__body {
    background: linear-gradient(135deg, #fbfaff 0%, #f0ecff 100%);
}

/* Doctor card writing background */
.nx-audience .col-lg-6:last-child .nx-audience-card__body {
    background: linear-gradient(135deg, #fbfdff 0%, #eaf3ff 100%);
}

.nx-audience-card__body h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .7rem;
    color: #171331;
    font-size: 1.18rem;
}

    .nx-audience-card__body h3 i {
        font-size: 1.28rem;
    }

.nx-audience-card__body p {
    margin-bottom: 1rem;
    color: #5f5b80;
    font-size: .9rem;
    line-height: 1.65;
}

.nx-checklist {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

    .nx-checklist li {
        display: flex;
        align-items: center;
        gap: .6rem;
        margin-bottom: .5rem;
        color: #393658;
        font-size: .84rem;
    }

        .nx-checklist li i {
            display: grid;
            width: 19px;
            height: 19px;
            flex: 0 0 19px;
            place-items: center;
            border-radius: 50%;
            color: #16a34a;
            background: #dcfce7;
            font-size: .62rem;
        }

.nx-audience-card__body .btn {
    align-self: flex-start;
    padding: .65rem 1.15rem;
    border-radius: 8px;
    font-size: .85rem;
}

/* Mobile */
@media (max-width: 767.98px) {
    .nx-audience {
        padding: 3.25rem 0;
    }

    .nx-audience-card,
    .nx-audience-card .row {
        min-height: 0;
    }

        .nx-audience-card .row.g-0 {
            flex-direction: column;
        }

    /* Doctor image bhi mobile par top par show hogi */
    .nx-audience .col-lg-6:last-child .row.g-0 {
        flex-direction: column-reverse;
    }

    .nx-audience-card__media,
    .patient-bg,
    .doctor-bg {
        width: 100%;
        min-height: 235px;
        max-width: 100%;
        flex: 0 0 100%;
        background-position: center;
    }

    .nx-audience-card__body {
        width: 100%;
        min-height: 0;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 1.5rem;
    }
}

/* ===============================
   TRUSTED AI / STATS SECTION
================================ */

.nx-stats {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 3.5rem 0;
    color: #fff;
    background: linear-gradient(135deg, #5b3de0 0%, #2c1b6b 100%);
}

    /* Right side glowing brain image */
    .nx-stats::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 38%;
        background-image: url("../Images/brain1.png");
        background-repeat: no-repeat;
        background-position: right center;
        background-size: auto 125%;
        content: "";
        /* Black image background purple bar mein merge karega */
        opacity: .95;
        mix-blend-mode: screen;
        pointer-events: none;
    }

    /* Text and statistics image ke upar visible rahenge */
    .nx-stats .container {
        position: relative;
        z-index: 1;
    }

.nx-stats__title {
    max-width: 18rem;
    margin-bottom: .75rem;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1.25;
}

.nx-stats p {
    max-width: 22rem;
    margin: 0;
    color: #e6e0ff;
    font-size: .92rem;
    line-height: 1.7;
}

.nx-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}

    .nx-stat i {
        margin-bottom: .25rem;
        color: #c7b8ff;
        font-size: 1.4rem;
    }

.nx-stat__num {
    color: #fff;
    font-family: var(--nx-font-display);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
}

.nx-stat__label {
    color: #e0dbff;
    font-size: .8rem;
    font-weight: 500;
}

.nx-stats__brain {
    display: none;
}

/* Tablet */
@media (max-width: 991.98px) {
    .nx-stats {
        padding: 3rem 0;
    }

    .nx-stats__title {
        max-width: 100%;
    }

    .nx-stats p {
        max-width: 30rem;
        margin-bottom: 1.5rem;
    }

    .nx-stats::after {
        width: 42%;
        background-size: auto 105%;
        opacity: .65;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .nx-stats {
        padding: 2.75rem 0;
    }

        .nx-stats::after {
            width: 100%;
            background-position: right center;
            background-size: auto 120%;
            opacity: .20;
        }

    .nx-stats__title {
        font-size: 1.45rem;
    }

    .nx-stat__num {
        font-size: 1.4rem;
    }

    .nx-stat__label {
        font-size: .75rem;
    }
}




/* ==========================================
   MODERN NEUROX FOOTER
========================================== */

.nx-footer {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 0;
    color: #686482;
    background: radial-gradient(circle at 8% 8%, rgba(117, 83, 255, .12), transparent 28rem), radial-gradient(circle at 90% 18%, rgba(91, 61, 224, .08), transparent 22rem), linear-gradient(135deg, #ffffff 0%, #faf9ff 55%, #f5f2ff 100%);
    border-top: 1px solid #e8e4f5;
}

    /* Top modern gradient line */
    .nx-footer::before {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: linear-gradient(90deg, #2c1b6b, #7a5cff, #5b3de0, #2c1b6b);
        content: "";
    }

    .nx-footer .container {
        position: relative;
        z-index: 1;
    }

    .nx-footer .row {
        row-gap: 2.25rem;
    }

/* Brand */

.nx-brand--footer {
    display: inline-flex;
    margin-bottom: .8rem;
}

    .nx-brand--footer .nx-brand__icon {
        color: #6240e7;
        background: linear-gradient(135deg, #ede9fe, #e5ddff);
        box-shadow: 0 8px 18px rgba(91, 61, 224, .12);
    }

    .nx-brand--footer .nx-brand__name {
        color: #171331;
        font-size: 1.45rem;
        letter-spacing: -.4px;
    }

    .nx-brand--footer .nx-brand__tagline {
        color: #766f9c;
        font-size: .69rem;
    }

.nx-footer__desc {
    max-width: 290px;
    margin: .9rem 0 1.35rem;
    color: #625e7e;
    font-size: .87rem;
    line-height: 1.85;
}

/* Social buttons */

.nx-footer__social {
    display: flex;
    gap: .65rem;
}

    .nx-footer__social a {
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border: 1px solid #e9e4fa;
        border-radius: 11px;
        color: #6240e7;
        background: rgba(255, 255, 255, .75);
        box-shadow: 0 4px 12px rgba(57, 38, 130, .06);
        font-size: .85rem;
        transition: all .25s ease;
    }

        .nx-footer__social a:hover {
            border-color: transparent;
            color: #fff;
            background: linear-gradient(135deg, #7652f6, #4220b9);
            box-shadow: 0 10px 20px rgba(91, 61, 224, .25);
            transform: translateY(-4px);
        }

/* Footer headings */

.nx-footer__heading {
    position: relative;
    margin: .35rem 0 1.4rem;
    padding-bottom: .7rem;
    color: #171331;
    font-size: 1rem;
    font-weight: 700;
}

    .nx-footer__heading::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 34px;
        height: 3px;
        border-radius: 99px;
        background: linear-gradient(90deg, #6c4ce0, #b8a7ff);
        content: "";
    }

/* Quick links and resources */

.nx-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nx-footer__list li {
        margin-bottom: .55rem;
        font-size: .86rem;
    }

    .nx-footer__list a {
        display: inline-flex;
        padding: .25rem .45rem;
        border-radius: 7px;
        color: #625e7e;
        transition: all .2s ease;
    }

        .nx-footer__list a:hover {
            padding-left: .7rem;
            color: #5633d7;
            background: #eeeaff;
        }

/* Contact section */

.nx-footer__contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nx-footer__contact li {
        display: flex;
        align-items: center;
        gap: .7rem;
        margin-bottom: .8rem;
        padding: .38rem .45rem;
        border-radius: 9px;
        color: #625e7e;
        font-size: .86rem;
        transition: background .2s ease;
    }

        .nx-footer__contact li:hover {
            background: rgba(237, 233, 254, .65);
        }

    .nx-footer__contact i {
        display: grid;
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        place-items: center;
        border-radius: 7px;
        color: #5b3de0;
        background: #eeeaff;
        font-size: .8rem;
    }

    .nx-footer__contact a {
        color: #625e7e;
    }

        .nx-footer__contact a:hover {
            color: #5633d7;
        }

/* Copyright bar */

.nx-footer__bottom {
    position: relative;
    margin-top: 3.5rem;
    padding: 1.05rem 0;
    color: #f1edff;
    background: linear-gradient(90deg, #25155e, #5b3de0, #2c1b6b);
    box-shadow: 0 -8px 24px rgba(50, 29, 128, .08);
    font-size: .78rem;
    text-align: center;
}

    .nx-footer__bottom p {
        margin: 0;
    }

/* Responsive */

@media (max-width: 991.98px) {
    .nx-footer {
        padding-top: 3.5rem;
    }

    .nx-footer__desc {
        max-width: 100%;
    }

    .nx-footer__heading {
        margin-top: .5rem;
    }
}

@media (max-width: 575.98px) {
    .nx-footer {
        padding-top: 3rem;
    }

    .nx-footer__bottom {
        margin-top: 2.5rem;
    }
}




/* --------------------------------------------------------------------------
   10. Back to top
   -------------------------------------------------------------------------- */
.nx-back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1040;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    background: var(--nx-gradient);
    box-shadow: var(--nx-shadow-md);
    transform: translateY(12px);
    transition: opacity var(--nx-speed) var(--nx-ease), transform var(--nx-speed) var(--nx-ease), visibility var(--nx-speed);
}

    .nx-back-to-top.is-visible {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nx-back-to-top:hover {
        filter: brightness(1.08);
    }

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
    .nx-hero .container {
        max-width: 1720px;
    }
}

@media (max-width: 1199.98px) {
    .nx-hero {
        height: 580px;
        padding-bottom: 62px;
    }

    .nx-hero__title {
        font-size: clamp(2.2rem, 4.2vw, 3.1rem);
    }

    .nx-hero__desc {
        max-width: 455px;
        font-size: .92rem;
    }

    .nx-hero .nx-ai-preview {
        right: 24px;
        width: 252px;
    }
}

@media (max-width: 767.98px) {
    .nx-section {
        padding: 3.25rem 0;
    }

    .nx-topbar__inner {
        font-size: .75rem;
    }

    .nx-nav__actions {
        margin: 1rem 0 0;
    }

    .nx-hero {
        display: block;
        height: auto;
        min-height: 0;
        padding: 48px 0 55px;
        background-size: cover;
        background-position: 63% center;
    }

    .nx-hero__copy {
        margin-bottom: 24px;
    }

    .nx-hero__title {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    .nx-hero__desc {
        max-width: 490px;
    }

    .nx-hero__cta {
        flex-direction: column;
        gap: 12px;
    }

    .nx-hero .nx-cta {
        width: 100%;
        min-width: 0;
    }

    .nx-hero .nx-ai-preview {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 330px);
        margin: 0 0 0 auto;
        transform: none;
        animation: nx-ai-preview-float-mobile 4s ease-in-out infinite;
    }

    .nx-steps__line {
        display: none;
    }

    .nx-audience-card__media {
        min-height: 200px;
    }

        .nx-audience-card__media img {
            min-height: 200px;
        }

    .nx-audience-card .row.g-0 {
        flex-direction: column;
    }

    .nx-audience-card__media,
    .nx-audience-card__body {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .nx-stats__title {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

@keyframes nx-ai-preview-float-mobile {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 575.98px) {
    .nx-brand__tagline {
        display: none;
    }

    .nx-topbar__left span {
        font-size: .7rem;
    }

    .nx-hero {
        padding-top: 40px;
        background-position: 66% center;
    }

    .nx-hero__note {
        font-size: .76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
