﻿:root {
    --primary: #3a3985;
    --secondary: #7549ad;
    --accent: #6b46c1;
    --purple-soft: #f3efff;
    --purple-mid: #ebe4ff;
    --text: #1a1c2e;
    --muted: #5b6178;
    --border: #e8e6f0;
    --bg: #ffffff;
    --bg-soft: #f8f7fc;
    --dark: #1a1340;
    --success: #22c55e;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(58, 57, 133, 0.08);
    --container: 1160px;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
} 

body {
    font-family: "IBM Plex Sans", "Poppins", sans-serif;
    direction: ltr;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    display: block;
}

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

ul {
    list-style: none;
}


.container {
    width: 100%;
    margin-inline: auto;
}

.section-soft {
    background: #fff;
}

.section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-lead {
    color: var(--muted);
    max-width: 830px;
    margin: 0 auto 40px;
    font-size: 24px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(117, 73, 173, 0.35);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-outline:hover {
    background: var(--purple-soft);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* begin::navbar */
nav {
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: 0px 50px;
    border-radius: 1.5rem;
    background-color: rgb(255 255 255 / 60%) !important;
    z-index: 9999;
    position: absolute;
    margin-top: 25px;
}

nav img {
    width: 250px;
}

nav .nav-links,
a {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 25px;
    font-size: 20px;
}

.active-link {
    color: var(--primary);
}

.left-container {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 48px;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin: auto;
}



.right-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile-cta {
    display: none;
}

.lang-link {
    color: var(--primary);
    text-decoration: none;
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

.nav-logo-container {
    display: none;
}

.logo {
    width: 150px !important;
}
.hero-request-btn {
    width: 200px;
    background-color: var(--yellow);
    color: var(--black);
}

@media screen and (max-width: 992px) {
    nav {
        padding: 12px 20px;
        align-items: center;
        justify-content: space-between;
        display: flex;
        width: calc(100% - 24px);
        margin: 12px auto 0;
        position: sticky;
        top: 12px;
        z-index: 9999;
    }

    .nav-logo-container {
        display: block;
    }

    .nav-logo-container .nav-logo,
    .nav-logo-container img {
        width: 140px;
        max-width: 140px;
    }

    .logo-container {
        display: none;
    }

    nav .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(40, 40, 90, 0.14);
        border: 1px solid #ebeaf3;
    }

    nav .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 16px;
        color: var(--primary);
        font-weight: 600;
    }

    .nav-links a:hover {
        background: var(--purple-soft);
    }

    .nav-mobile-cta .request-btn {
        color: #fff;
        justify-content: center;
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #ebeaf3;
    }

    .nav-mobile-cta .request-btn {
        width: 100%;
    }

    .right-container {
        display: flex;
        gap: 10px;
    }

    .right-container > .request-btn,
    .right-container > .lang-link {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media screen and (max-width: 768px) {
    nav {
        padding: 12px 16px;
    }
}

.btn {
    color: var(--black);
    text-align: center;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    padding: 17px 40px;
    border-radius: 100px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.request-btn {
    background-color: var(--primary);
    color: var(--white);
}

/* end::navbar */

.white{
    color: var(--white);
}

/* Hero */


.hero {
    position: relative;
}

.container{
    padding: 4.5rem 9.5rem;
}

.hero-grid {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-copy {
    max-width: 560px;
}

.container.hero-shell {
    height: 100vh;
    margin: auto !important;
    display: flex;
}

.hero h1 {
    font-size: 70px;
    color: var(--accent);
    line-height: 1.05;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.hero-copy .nexa-word--xl {
    height: 100px;
    margin-top: 8rem;
    display: block;
}

/* Nexa wordmark inline */
.nexa-word {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    object-fit: contain;
    margin: 0 0.12em;
    position: relative;
    top: -0.05em;
}

.nexa-word--xl {
    height: 3.5rem;
}

.nexa-word--lg {
    height: 1.22em;
}

.nexa-word--md {
    height: 2em;
}

.nexa-word--sm {
    height: 0.95em;
}

.section-title .nexa-word,
.dga-support-title .nexa-word {
    vertical-align: baseline;
    top: 0.08em;
}

.lastdec-content .nexa-word--xl {
    height: 4.5rem;
    margin-bottom: 14px;
    display: block;
    top: 0;
}

.kyc-node-nexa .nexa-word {
    height: 2rem;
    margin: 0;
    top: 0;
}

nav .nav-links .nexa-word {
    height: 0.9em;
    top: -0.02em;
}

.hero-header-text .nexa-word--lg {
    height: 1.4em;
}

.hero h1 span {
    display: block;
    font-size: 30px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 8px;
    max-width: 650px;
}

.hero-desc {
    color: var(--text);
    font-size: 20px;
    margin: 18px 0 24px;
    max-width: 500px;
    opacity: 0.85;
}

.hero-visual {
    min-width: 0;
}

.hero-background {
    background: url(/assets-rw-nexa/images/nexa-bannar-bg.png) center / cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-visual img{
    width: 550px;
    margin-left: auto;
    height: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-outline-btn {
    background: #fff;
    color: var(--primary);
    border: 1px solid #d9d7ef;
    box-shadow: 0 8px 18px rgba(58, 57, 133, 0.08);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 6px;
}

.hero-trust span {
    position: relative;
    padding-left: 18px;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 500;
}

.hero-trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid #7c6cf0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.powered-by {
    color: var(--muted);
    font-size: 0.9rem;
}

.powered-by strong {
    color: var(--primary);
}

.hero-visual {
    position: relative;
}

.laptop {
    background: linear-gradient(160deg, #2b2a55, #4a3a7a);
    border-radius: 18px 18px 8px 8px;
    padding: 14px 14px 0;
    box-shadow: 0 30px 60px rgba(58, 57, 133, 0.25);
}

.laptop-screen {
    background: #f7f8fc;
    border-radius: 10px 10px 0 0;
    min-height: 260px;
    padding: 16px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
}

.laptop-side {
    background: #ece8f8;
    border-radius: 8px;
}

.laptop-main {
    display: grid;
    gap: 10px;
}

.dash-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10px;
}

.hero-visual {
    margin-top: 4rem;
}

.dash-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ebe7f5;
    padding: 12px;
    min-height: 90px;
}

.dash-card.chart {
    background:
        radial-gradient(circle at 70% 55%, #a78bfa 0 18%, transparent 19%),
        conic-gradient(#7c3aed 0 35%, #60a5fa 0 60%, #34d399 0 80%, #f59e0b 0 100%);
    background-size: auto, 70px 70px;
    background-repeat: no-repeat;
    background-position: center, 70% 50%;
}

.bar {
    height: 8px;
    border-radius: 99px;
    background: #e9e4f5;
    margin-top: 10px;
}

.bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.laptop-base {
    height: 14px;
    background: #1f1e3d;
    border-radius: 0 0 16px 16px;
    margin-top: 0;
}

.hero-stats {
    display: flex;
    margin-top: 32px;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

.hero-stats .stat {
    text-align: center;
    padding: 8px 30px;
    border-left: 1px solid var(--border);
}

.hero-stats .stat:first-child {
    padding-left: 0;
    border-left: none;
}

.hero-stats .stat:last-child {
    border-right: none;
}

.hero-stats strong {
    display: block;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 4px;
}

.hero-stats span {
    color: var(--text);
    font-size: 18px;
    font-weight: 400;
}

.hero-stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hero-stats-cards .stat {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #ebe8f7;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 12px 22px rgba(58, 57, 133, 0.05);
    border-left: 1px solid #ebe8f7;
}

.hero-stats-cards .stat:first-child {
    padding-left: 16px;
}

.hero-stats-cards strong {
    font-size: 1.8rem;
    line-height: 1.1;
}

.hero-stats-cards span {
    font-size: 0.92rem;
    color: #5e6480;
}

/* Pillars - What is Nexa */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.pillar-card {
    background: #fff;
    border: 1px solid #e8e6f0;
    border-radius: 18px;
    padding: 28px 24px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(58, 57, 133, 0.05);
    transition: box-shadow 0.25s ease;
}

.pillar-card:hover {
    box-shadow: 0 16px 36px rgba(58, 57, 133, 0.12);
}

.pillar-content {
    width: 80%;
    flex: 1;
    min-width: 0;
}

.pillar-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.35;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pillar-card:hover h3,
.pillar-card h3:hover {
    color: var(--secondary);
}

.pillar-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, max-height 0.35s ease, transform 0.3s ease, margin-top 0.3s ease;
}

.pillar-card:hover p,
.pillar-card h3:hover + p {
    opacity: 1;
    max-height: 220px;
    margin-top: 12px;
    transform: translateY(0);
}

.pillar-icon {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pillar-icon-marketplace {
    background: #ede9fe;
    color: #7c3aed;
}

.pillar-icon-gateway {
    background: #dbeafe;
    color: #2563eb;
}

.pillar-icon-ai {
    background: #fce7f3;
    color: #db2777;
}

.why-feat-icon img{
    height: 55px;
}

.pillar-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    justify-content: left;
}

.pillar-link:hover {
    text-decoration: underline;
}

/* DGA Alignment */
.dga-align-section {
    background: url("../images/dga-bg.png") center / cover no-repeat;
    position: relative;
}

.dga-align-section:before {
    content: "";
    height: 100%;
    width: 100%;
    background: #fff;
    display: block;
    position: absolute;
    opacity: 0.6;
}

.dga-align-section .container {
    z-index: 99;
    display: block;
    position: relative;
}

.dga-support-section {
    background: #fff;
}

.dga-compliance-section {
    background: #fff;
}

.dga-hero-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.dga-hero-logo {
    display: flex;
    align-items: center;
    justify-content: left;
}

.dga-logo-img {
    width: 100%;
    max-width: 270px;
    height: auto;
    object-fit: contain;
}

.dga-hero-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.dga-hero-text p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.65;
}

.dga-hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 14px;
}

.dga-hero-visual img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    object-position: right center;
}

.dga-support-section {
    text-align: center;
}

.dga-support-title {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.dga-support-accent {
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c5cbf, #5b6cff);
    margin: 0 auto 28px;
}

.dga-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
    margin-top: 40px;
}

.dga-support-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #ebeaf3;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 4px 16px rgba(58, 57, 133, 0.05);
}

.dga-support-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: #ede9fe;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dga-support-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.dga-support-card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.45;
    margin: 0;
}

.dga-compliance-box {
    background-color: #f3f0fc;
    border-radius: 20px;
    padding: 48px 32px 36px;
    text-align: center;
    position: relative;
}

.dga-compliance-shield {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cbf, #5b6cff);
    color: #fff;
    display: grid;
    place-items: center;
    margin: -76px auto 16px;
    box-shadow: 0 8px 24px rgba(107, 92, 255, 0.35);
}

.dga-compliance-title {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
}

.dga-compliance-code {
    font-size: 0.95rem;
    color: #7c5cbf;
    font-weight: 700;
    margin-bottom: 16px;
}

.dga-compliance-line {
    display: block;
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: #d5cff0;
    margin: 0 auto 18px;
}

.dga-compliance-lead {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 650px;
    margin: 20px auto;
}

.dga-compliance-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 16px;
}

.dga-compliance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 120px;
    max-width: 180px;
}

.dga-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ede9fe;
    color: #7c5cbf;
    display: grid;
    place-items: center;
}

.dga-item-icon svg {
    font-size: 25px !important;
    height: 25px;
    width: 25px;
}

.dga-compliance-item span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 1100px) {
    .dga-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dga-hero-visual {
        justify-content: center;
    }

    .dga-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dga-compliance-items {
        gap: 16px;
    }

    .dga-compliance-item {
        flex: 1 1 45%;
        max-width: none;
    }
}

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

/* Journey steps */

.journey-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
    margin-top: 48px;
    position: relative;
}

.journey-steps::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 8%;
    right: 8%;
    height: 0;
    border-top: 2px dashed #d4c8f0;
    z-index: 0;
}

.journey-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.journey-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #7c5cbf;
    background: #fff;
    color: #7c5cbf;
    font-weight: 700;
    font-size: 0.95rem;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 6px #fff;
}

.journey-step h3 {
    font-size: 0.95rem;
    color: var(--primary);
    line-height: 1.35;
    margin-top: 4px;
}

.journey-step p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Services & Solutions tabs */
.ss-tabs {
    display: inline-flex;
    gap: 10px;
    margin: 28px auto 32px;
    background: transparent;
}

.ss-tab {
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    background: #ece8f8;
    color: var(--primary);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ss-tab.active {
    background: linear-gradient(
        90deg,
        #AE95FF 0%,
        #9A83FD 18%,
        #8774F9 40%,
        #766EF5 65%,
        #6875F2 100%
    );
    color: #fff;
    box-shadow: 0 10px 30px rgba(120, 104, 255, .28),
    inset 0 1px 1px rgba(255,255,255,.35);
}

.ss-tab:not(.active):hover {
    background: #e0daf3;
}

.ss-panel {
    display: none;
}

.ss-panel.active {
    display: block;
}

.ss-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    text-align: left;
}

.ss-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #ebecef;
    border-radius: 14px;
    padding: 16px 14px;
    box-shadow: 0 4px 14px rgba(40, 40, 90, 0.04);
}

.ss-card p {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    margin: 0;
}

.ss-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

span.ss-icon img {
    height: 40px;
}

.ss-icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.ss-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.ss-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.ss-icon-teal {
    background: #ccfbf1;
    color: #0d9488;
}

.ss-icon-teal2 {
    background: #ccfbf161;
    color: #0d9488;
}

.pillar-icon img{
    height: 45px;
}

@media (max-width: 1100px) {
    .journey-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 16px;
    }

    .journey-steps::before {
        display: none;
    }

    .ss-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ss-tabs {
        flex-direction: column;
        width: 100%;
    }

    .dga-hero-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .ss-tab {
        width: 100%;
    }

    .ss-grid {
        grid-template-columns: 1fr;
    }
}

/* KYC Section */
.kyc-section {
    background: linear-gradient(105deg, rgba(26, 19, 64, 0.88) 0%, rgba(42, 31, 110, 0.85) 45%, rgba(58, 42, 138, 0.82) 100%),
        url("../images/KYC-bg.png") center bottom / cover no-repeat;
    color: #fff;
}

.kyc-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.kyc-copy h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #fff;
}

.kyc-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 12px;
}

.kyc-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
}

.kyc-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 64px;
}

.kyc-node-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.kyc-icon-green {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
}

.kyc-node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.3;
}

.kyc-arrow {
    color: #8b9cff;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-bottom: 22px;
}

.kyc-node-nexa {
    min-width: 78px;
}

.kyc-nexa-badge {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 0 28px rgba(139, 92, 246, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.kyc-nexa-letter {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.kyc-nexa-name {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
}

/* Entities grid */
.entities-section {
    background: url("../images/entities-bg.png") center top / cover no-repeat;
    background-color: #f7f6fc;
}

.entities-accent {
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c5cbf, #5b6cff);
    margin: 4px auto 0;
}

.entities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    text-align: left;
}

.entity-card {
    background: #fff;
    border: 1px solid #ebeaf3;
    border-radius: 18px;
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(58, 57, 133, 0.07);
    min-height: 168px;
    flex: 0 1 calc((100% - 64px) / 3);
    max-width: calc((100% - 64px) / 3);
    transition: box-shadow 0.2s, transform 0.2s;
}

.entity-card:hover {
    box-shadow: 0 14px 32px rgba(58, 57, 133, 0.12);
    transform: translateY(-2px);
}

.entity-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entity-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.entity-card h3 {
    font-size: 0.88rem;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
}

.entity-list {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    margin: 0;
}

.entity-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
}

.entity-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
}

.entity-arrow {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.theme-purple .entity-icon {
    background: #ede9fe;
    color: #7c3aed;
}

.theme-purple .entity-badge {
    background: #ede9fe;
    color: #7c3aed;
}

.theme-purple .entity-arrow {
    color: #7c3aed;
}

.theme-blue .entity-icon {
    background: #dbeafe;
    color: #2563eb;
}

.theme-blue .entity-badge {
    background: #dbeafe;
    color: #2563eb;
}

.theme-blue .entity-arrow {
    color: #2563eb;
}

.theme-green .entity-icon {
    background: #dcfce7;
    color: #16a34a;
}

.theme-green .entity-badge {
    background: #dcfce7;
    color: #16a34a;
}

.secure-why-grid .section-lead{
    margin:  0 0  40px;
}

.theme-green .entity-arrow {
    color: #16a34a;
}

@media (max-width: 1100px) {
    .kyc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .entity-card {
        flex: 0 1 calc((100% - 32px) / 3);
        max-width: calc((100% - 32px) / 3);
    }
}

@media (max-width: 768px) {
    .kyc-flow {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 8px;
    }

    .kyc-arrow {
        margin-bottom: 0;
    }

    .entity-card {
        flex: 0 1 calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 480px) {
    .entity-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .kyc-copy h2 {
        font-size: 1.35rem;
    }
}

/* Security & Regulatory Compliance */
.secure-section {
    background: #fff;
}

.secure-why-title {
    font-size: 1.55rem;
    color: var(--primary);
    margin-bottom: 22px;
    line-height: 1.3;
}

.secure-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr ;
    gap: 22px;
    align-items: center;
}

.secure-intro-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.secure-intro-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ede9fe;
    color: #4c3a8f;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.secure-intro-head h2 {
    font-size: 1.45rem;
    color: var(--primary);
    line-height: 1.3;
}

.secure-intro p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.secure-shield {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

.secure-card {
    background: #fff;
    border: 1px solid #ebeaf3;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 6px 20px rgba(58, 57, 133, 0.06);
    min-height: 355px;

}

.why-nexa-section h2.section-title {
    text-align: center;
}

.secure-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.secure-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ede9fe;
    color: #7c5cbf;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.secure-card-head h3 {
    font-size: 0.92rem;
    color: var(--primary);
    line-height: 1.3;
}

.secure-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.secure-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

.secure-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #7c5cbf;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
}

.secure-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(45deg);
}

.certs-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.certs-col h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.cert-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f6f4fc;
    color: var(--primary);
    border: 1px solid #e4dff5;
    border-radius: 12px;
    padding: 7px 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.cert-pill-col {
    display: flex;
    gap: 15px;
}

.cert-pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ede9fe;
    color: #7c5cbf;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

/* Why Nexa */
.why-nexa-section {
    background: linear-gradient(160deg, #f4f1fc 0%, #eef0fb 100%);
}

.why-accent {
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c5cbf, #5b6cff);
    margin-bottom: 12px;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-feat-card {
    background: #fff;
    border: 1px solid #ebeaf3;
    border-radius: 16px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(58, 57, 133, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.why-feat-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ede9fe;
    display: grid;
    place-items: center;
}

.why-feat-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.why-feat-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
}

.why-feat-card p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.why-feat-card::after {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: #7c5cbf;
    margin-top: auto;
}

.vs-card {
    background: #fff;
    border: 1px solid #ebeaf3;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 6px 20px rgba(58, 57, 133, 0.06);
}

span.secure-intro-icon img {
    height: 30px;
}

.vs-card > h3 {
    text-align: center;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.vs-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.vs-col h4 {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.vs-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vs-col li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.4;
}

.vs-x {
    color: #ef4444;
    font-weight: 700;
    flex-shrink: 0;
}

.vs-ok {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
}

.vs-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cbf, #5b6cff);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(107, 92, 255, 0.35);
}

/* Last CTA with lastdec-bg */
.lastdec-cta {
    background: url("../images/nexaaa.png") right center / cover no-repeat;
    background-color: #5b3fa8;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.lastdec-content {
    max-width: 520px;
    color: #fff;
}

.lastdec-content img {
    height: 95px;
}

.lastdec-content h2 {
    font-size: 4rem;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #fff;
}

.lastdec-content p {
    font-size: 25px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
}

.lastdec-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lastdec-btn-primary {
    background: #fff !important;
    color: #5b3fa8 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
}

.lastdec-btn-primary:hover {
    background: #f3efff !important;
}

.lastdec-btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
}



.lastdec-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

section#contact {
    padding: 5.5rem 9.5rem !important;
}



@media (max-width: 1100px) {
    .secure-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .certs-col {
        border-left: none;
        padding-left: 0;
    }

    .why-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .secure-grid {
        grid-template-columns: 1fr;
    }

    .why-features {
        grid-template-columns: 1fr;
    }

    .vs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vs-badge {
        margin: 0 auto;
    }

    .lastdec-content h2 {
        font-size: 1.45rem;
    }

    .lastdec-cta {
        background-position: left center;
        min-height: auto;
        padding: 56px 0;
    }
}

/* Problem cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.problem-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--purple-soft);
    color: var(--secondary);
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.thankyou.nexa .icon-box img {
    height: 150px;
    width: auto;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.problem-card p {
    color: var(--text);
    font-size: 0.92rem;
}

/* Equation banner */
.bannar-bg {
    background: url(/assets-rw-nexa/images/banner-bg.svg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.equation {
    background: url(/assets-rw-nexa/images/banner-bg22.svg);
    color: #fff;
    border-radius: 22px;
    padding: 36px 28px;
    box-shadow: 0 20px 40px rgba(58, 57, 133, 0.25);
}

.equation h3 {
    font-size: 1.4rem;
    margin-bottom: 22px;
    text-align: center;
}

.equation-grid {
    display: flex;
    gap: 14px 35px;
}

.equation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.check::before {
    content: "✓";
    font-size: 0.8rem;
}

/* What is */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

section#what {
    background: rgb(251 246 255);
}

.ui-mock img {
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(58, 57, 133, 0.25);
    width: 90%;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    background: #eef2ff;
    color: #4338ca;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    position: relative;
    margin-top: 40px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 34px;
    right: 8%;
    left: 8%;
    border-top: 2px dashed #cfc7ea;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 95px;
    height: 95px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px #cfc7ea dashed;
    color: #cfc7ea;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.step-num img {
    height: 55px;
    width: 55px;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

section#bridge {
    position: relative;
} 

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    color: var(--primary);
    margin: 12px 0 8px;
}

.feature-card p {
    color: var(--muted);
}

/* Gov services */
.services-section {
    position: relative;
    overflow: hidden;
}

.security img {
    width: 580px;
    max-width: 600px;
}

.services-bg {
    position: absolute;
    inset: 0;
    background:
        url("../images/banner-bg.svg") left top / 55% no-repeat,
        radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.08), transparent 40%);
    opacity: 0.45;
    pointer-events: none;
}

.services-header {
    position: relative;
    z-index: 1;
}

.services-header .section-title {
    color: #1e3a5f;
}

.popular-label span{
    color: var(--primary);
    font-size: 20px;
}

.services-header .section-lead {
    color: #64748b;
}

.popular-card img {
    height: 70px;
    width: auto;
}

.popular-services {
    position: relative;
    z-index: 1;
    margin: 28px 0 32px;
}

.popular-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.popular-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.popular-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 12px 22px 12px 22px;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.popular-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.logo-absher { background: #16a34a; }
.logo-qiwa { background: linear-gradient(135deg, #2563eb, #dc2626); }
.logo-mudad { background: #2563eb; }
.logo-gosi { background: #15803d; }
.logo-zatca { background: #1d4ed8; }

.popular-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 10px 16px;
}

.popular-more:hover {
    background: #eff6ff;
}

.gov-sectors {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gov-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.gov-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.gov-card h3 {
    color: #3a3985;
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gov-count {
    color: #94a3b8;
    font-size: 0.82rem;
}

.gov-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.gov-icon.gov-icon-hr.icon.blue {
    BACKGROUND: #e9eefe;
}

.gov-icon.gov-icon-hr.icon.purpule {
    BACKGROUND: #efeafe;
}

.gov-icon.gov-icon-hr.icon.green {
    BACKGROUND: #e1faed;
}

.gov-icon.gov-icon-hr.icon.light-green {
    BACKGROUND: #edfbfa;
}

.gov-icon.gov-icon-hr.icon.orange {
    BACKGROUND: #fff5e6;
}

.gov-icon.gov-icon-hr.icon.red {
    BACKGROUND: #fdecf4;
}



.gov-icon.icon {
    height: 65px;
    width: 65px;
}

.gov-icon.icon img {
    height: 30px;
    width: auto;
}



.gov-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gov-pills span.gov-count {
    background: #fff;
}

.gov-pills span {
    background: #f7f7fd;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.82rem;
    color: #455ab1;    
    font-weight: 600;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
}

.services-list span {
    margin-left: 6px;
    margin-bottom: 6px;
}

.gov-pills .pill-more {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.gov-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 600;
}

.gov-link:hover {
    text-decoration: underline;
}

.services-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding: 22px 8px;
}

.benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #93c5fd;
    color: #2563eb;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fff;
}

.benefit-item strong {
    display: block;
    color: #1e3a5f;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
}

.more-note {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 20px;
}

@media (max-width: 992px) {
    .gov-sectors,
    .services-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-more {
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .gov-sectors,
    .services-benefits {
        grid-template-columns: 1fr;
    }
}

/* Industries */
.industries {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.industry {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 10px;
}

.industry .icon-box {
    margin: 0 auto 10px;
}

.industry span {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.industries-note {
    text-align: center;
    margin-top: 22px;
    color: var(--muted);
}

/* Security */
.security {
    background:
        linear-gradient(135deg, rgba(26, 19, 64, 0.72), rgba(58, 57, 133, 0.55) 55%, rgba(91, 61, 154, 0.5)),
        url("../images/saftey-bg.png") center / cover no-repeat;
    color: #fff;
    border-radius: 24px;
    padding: 40px 0px 20px 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    overflow: hidden;
}

.security h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.security > div > p {
    opacity: 0.85;
    margin-bottom: 18px;
}

.security-list {
    display: grid;
    gap: 12px;
}

.security-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.security-list .check {
    background: rgba(255, 255, 255, 0.15);
    margin-top: 2px;
}

.certs {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.certs span {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
}

.shield {
    width: min(100%, 260px);
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 45%, #312e81 80%);
    display: grid;
    place-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
}

.shield::after {
    content: "🔒";
    font-size: 4rem;
}

/* Experience */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.exp-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 18px;
    text-align: center;
    box-shadow: var(--shadow);
}

.exp-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.exp-card span {
    color: var(--muted);
}

/* CTA hero form (e-commerce style) */
.nexa-cta-hero {
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    overflow: hidden;
    padding: 0 !important;
    background: #fff;
    min-height: 640px;
}

.nexa-cta-bg {
    position: absolute;
    inset: 0;
    background: url("../images/formbg.png") center / cover no-repeat;
    z-index: 1;
}

.nexa-cta-form-box,
.nexa-cta-text-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nexa-cta-form-box {
    align-items: left;
    padding: 0px;
}

.nexa-cta-text-box {
    padding: 0px;
    margin-left: 40px;
}

.nexa-cta-hero .form-right-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 34rem;
    width: 100%;
}

.nexa-cta-hero .form-right-content h3 {
    width: 100%;
    font-size: 36px;
    font-weight: 500;
    line-height: 3.5rem;
    color: var(--text);
}

.nexa-cta-hero .form-right-content h3 .secondary-highlight {
    font-weight: 700;
    color: var(--secondary);
}

.nexa-cta-hero .form-right-content form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nexa-cta-hero .form-right-content form input {
    border-radius: 1.75rem;
    outline: none;
    border: 1px solid #dedce2;
    background-color: #fff;
    padding: 1rem 1.5rem;
    max-width: 30rem;
    width: 100%;
    font-size: 18px;
    color: #808080;
    font-family: inherit;
}

.nexa-cta-hero .form-right-content form input::placeholder {
    color: #808080;
}

.nexa-cta-hero .form-right-content form input:focus {
    border-color: var(--secondary);
    color: var(--primary);
}

.nexa-cta-hero .request-btn {
    max-width: 55%;
    width: 100%;
    border-radius: 1.75rem;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    background-color: #ffc947;
    color: #344054 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.nexa-cta-hero .request-btn:hover {
    color: #fff !important;
    background-image: linear-gradient(110deg, rgba(255, 201, 71, 1) 45%, rgb(219 170 54) 55%, rgba(255, 201, 71, 1));
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.nexa-cta-hero .hero-star {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
}

.nexa-cta-hero .hero-supercharge {
    font-size: 16px;
    font-weight: 400;
    color: #7549ad;
    margin-bottom: 8px;
}

.nexa-cta-hero .hero-header-text .highlight {
    display: block;
    font-size: clamp(2rem, 4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--secondary);
}

.nexa-cta-hero .hero-header-text .highlight-p {
    display: block;
    padding-top: 24px;
    font-size: clamp(1.1rem, 2vw, 26px);
    line-height: 1.45;
    color: #344054;
}

.nexa-cta-hero .highlight-p-colored {
    color: var(--secondary);
    font-weight: 600;
}

.nexa-cta-hero .loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(52, 64, 84, 0.25);
    border-top-color: #344054;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .nexa-cta-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .nexa-cta-form-box {
        order: 2;
        padding: 40px 24px 60px;
    }

    .nexa-cta-text-box {
        order: 1;
        margin-left: 0;
        padding: 60px 24px 20px;
    }

    .nexa-cta-hero .request-btn {
        max-width: 100%;
    }

    .nexa-cta-hero .form-right-content h3 {
        font-size: 28px;
        line-height: 1.4;
    }
}

/* Footer (e-commerce style) */
.nexa-site-footer .footer {
    display: flex;
    flex-direction: column;
    background-color: #fbf6ff;
    border-radius: 0;
}

.nexa-site-footer .footer-content {
    padding: 5.5rem 9.5rem;
}

.nexa-site-footer .footer-top-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

.nexa-site-footer .footer-top-content > img {
    height: 32px;
    width: auto;
}

.nexa-site-footer .footer-top-content a {
    color: var(--primary);
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 42px;
    letter-spacing: 0.46px;
}

.nexa-site-footer .footer-sm {
    display: flex;
    gap: 10px;
}

.nexa-site-footer .footer-sm img {
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.nexa-site-footer .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    padding-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.nexa-site-footer .footer-bottom a {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    text-decoration: underline;
}

.nexa-site-footer .footer-bottom a:hover {
    color: var(--primary);
}

.nexa-site-footer .footer-bottom p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.nexa-site-footer .footer-bottom-right {
    display: flex;
    gap: 24px;
}

.nexa-site-footer .footer-middle {
    display: flex;
    flex-direction: row;
    gap: 7px;
    justify-content: center;
    align-items: center;
}

.nexa-site-footer .footer-middle.btn.website-btn {
    background: linear-gradient(287.73deg, #7549AD -15.83%, #4544A7 100%) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
}

.nexa-site-footer .footer-middle img {
    transition: all 0.3s linear;
    filter: invert(1);
    width: 18px;
    height: 18px;
}

.nexa-site-footer .footer-middle:hover img {
    transform: translateX(10px);
}

@media (max-width: 960px) {
    .nexa-site-footer .footer-content {
        padding: 40px;
        width: 100%;
    }

    .nexa-site-footer .footer-middle {
        width: 100%;
    }

    .nexa-site-footer .footer-top-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nexa-site-footer .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .nexa-site-footer .footer-bottom-right {
        width: 100%;
        justify-content: center;
    }

    .nexa-site-footer .footer-top-content a {
        font-size: 1rem;
        line-height: 2.625rem;
        letter-spacing: 0.36px;
    }
}

/* Thank you */
.thankyou {
    background: url("../images/nexa-thankyou-bg.png") center / cover no-repeat;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 50px 20px;
    text-align: center;
}

.thankyou a.btn.btn-primary {
    color: #fff;
}

.thankyou-box {
    max-width: 560px;
}

.thankyou h1 {
    color: var(--primary);
    margin: 16px 0;
}

.thankyou p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .what-grid,
    .security {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .steps,
    .features-grid,
    .exp-grid,
    .industries {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps::before {
        display: none;
    }

    .equation-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-grid {
        flex-direction: column;
    }

    .container {
        padding: 3rem 1rem;
    }

}

@media (max-width: 640px) {
    .hero-shell {
        padding: 28px 18px 20px;
        border-radius: 20px;
    }

    .hero-grid,
    .hero-stats-cards {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero h1 span {
        font-size: 20px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-trust {
        gap: 12px 10px;
    }

    .hero-visual img {
        max-width: 100%;
    }

    .problem-grid,
    .steps,
    .features-grid,
    .exp-grid,
    .industries,
    .equation-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats .stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 14px;
    }

    .hero-stats .stat:last-child {
        border-bottom: none;
    }

    .security {
        padding: 28px 20px;
    }

    .container {
        padding: 2rem 1rem;
    }

    .secure-grid {
        grid-template-columns: 1fr;
    }

    .dga-hero-card {
        grid-template-columns: 1fr;
    }

    .dga-logo-img {
        max-width: 220px;
    }

    .hero {
        top: -80px;
    }

    .hero h1 {
        padding-top: 20px;
        font-size: 50px;
    }

    .hero-copy .nexa-word--xl {
        height: 80px;
    }

    .btn {
        font-size: 16px;
        padding: 11px 11px;
    }

    .hero-trust span {
        font-size: 13px;
    }

    .container.hero-shell {
        height: fit-content;
    }

    .why-col {
        width: 100%;
    }

    section#contact {
        padding: 0rem 0rem !important;
    }

    .certs-row {
        gap: 5px;
    }

    .hero-grid {
        flex-direction: column;
    }








}

@media (min-width: 992px) and (max-width: 1200px) {
    .container {
        padding: 2rem 3rem;
    }

    .hero-visual img {
        width: 400px;
    }

}

.hero-header-text span.highlight-p {
    max-width: 500px;
}