/* =========================================================
   NEXA AI — ENTERPRISE SAAS
========================================================= */

:root {
    --bg: #05070a;
    --bg-soft: #080b10;
    --surface: #0b0f15;
    --surface-2: #10151d;
    --border: rgba(255, 255, 255, 0.09);

    --text: #f5f7fa;
    --muted: #8d96a5;
    --muted-light: #b7bfcb;

    --blue: #4d8dff;
    --blue-bright: #6ea6ff;
    --blue-soft: rgba(77, 141, 255, 0.14);

    --green: #4ade80;

    --radius: 18px;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(5, 7, 10, 0.78);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    width: min(var(--container), calc(100% - 48px));

    height: 78px;

    margin: auto;

    display: flex;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.logo span {
    color: var(--blue-bright);
}

.nav-links {
    display: flex;

    gap: 34px;

    margin-left: 70px;
}

.nav-links a {
    color: var(--muted);

    font-size: 14px;
    font-weight: 500;

    transition: 0.25s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 24px;
}

.login {
    color: var(--muted-light);

    font-size: 14px;
}

.nav-button {
    padding: 11px 18px;

    background: white;

    color: #05070a;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.25s ease;
}

.nav-button:hover {
    transform: translateY(-2px);

    background: #e9edf4;
}

.mobile-menu-button {
    display: none;

    margin-left: auto;

    border: 0;

    background: transparent;

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 900px;

    padding-top: 170px;
    padding-bottom: 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(44, 91, 170, 0.15),
            transparent 35%
        );
}

.hero-container {
    width: min(var(--container), calc(100% - 48px));

    margin: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--blue-bright);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.hero h1 {
    max-width: 700px;

    margin-top: 24px;

    font-size: clamp(52px, 6vw, 78px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    color: var(--blue-bright);
}

.hero-description {
    max-width: 580px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 38px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 15px 22px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}

.primary-button {
    background: white;

    color: #05070a;
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.12);
}

.secondary-button {
    border: 1px solid var(--border);

    color: var(--muted-light);

    background: rgba(255, 255, 255, 0.025);
}

.secondary-button:hover {
    border-color: rgba(255, 255, 255, 0.2);

    color: white;
}

.hero-trust {
    display: flex;

    gap: 42px;

    margin-top: 55px;
}

.trust-item {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.trust-item strong {
    font-size: 19px;
}

.trust-item span {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   HERO GLOW
========================================================= */

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;
}

.glow-one {
    width: 400px;
    height: 400px;

    top: 120px;
    left: -200px;

    background: rgba(37, 99, 235, 0.08);
}

.glow-two {
    width: 500px;
    height: 500px;

    right: -250px;
    bottom: 100px;

    background: rgba(37, 99, 235, 0.07);
}


/* =========================================================
   DASHBOARD PREVIEW
========================================================= */

.hero-dashboard {
    position: relative;

    z-index: 2;
}

.dashboard-window {
    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 17px;

    overflow: hidden;

    background: #080c12;

    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(50, 100, 200, 0.08);

    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);

    transition: 0.5s ease;
}

.dashboard-window:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.window-top {
    height: 48px;

    display: flex;

    align-items: center;

    padding: 0 17px;

    border-bottom: 1px solid var(--border);

    background: #0b0f15;
}

.window-dots {
    display: flex;

    gap: 6px;
}

.window-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #39404b;
}

.window-title {
    margin: auto;

    color: var(--muted);

    font-size: 10px;
}

.live-status {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #7ee59e;

    font-size: 9px;
    font-weight: 700;
}

.live-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);
}

.dashboard-body {
    display: flex;

    min-height: 430px;
}

.dashboard-sidebar {
    width: 58px;

    padding: 18px 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

    border-right: 1px solid var(--border);

    background: #090d13;
}

.side-logo {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--blue);

    color: white;

    font-size: 12px;
    font-weight: 800;
}

.side-item {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    color: #596372;

    font-size: 14px;
}

.side-item.active {
    background: var(--blue-soft);

    color: var(--blue-bright);
}

.dashboard-main {
    flex: 1;

    padding: 25px;
}

.dashboard-header {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.dashboard-header small {
    color: var(--muted);

    font-size: 8px;

    letter-spacing: 1px;
}

.dashboard-header h3 {
    margin-top: 3px;

    font-size: 15px;
}

.date-box {
    padding: 7px 11px;

    border: 1px solid var(--border);

    border-radius: 7px;

    color: var(--muted);

    font-size: 9px;
}

.metric-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 20px;
}

.metric-card {
    padding: 14px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.015);
}

.metric-card span {
    display: block;

    color: var(--muted);

    font-size: 8px;
}

.metric-card strong {
    display: block;

    margin-top: 5px;

    font-size: 20px;
}

.metric-card small {
    font-size: 8px;
}

.positive {
    color: var(--green);
}

.dashboard-panels {
    display: grid;

    grid-template-columns: 1.35fr 1fr;

    gap: 10px;

    margin-top: 10px;
}

.conversation-panel,
.lead-panel {
    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.015);
}

.panel-header {
    display: flex;

    justify-content: space-between;

    color: var(--muted-light);

    font-size: 9px;
    font-weight: 600;
}

.panel-live {
    color: var(--green);
}

.conversation {
    display: flex;

    gap: 9px;

    margin-top: 17px;
}

.avatar {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: var(--blue-soft);

    color: var(--blue-bright);

    font-size: 8px;
    font-weight: 700;
}

.avatar.customer {
    background: rgba(255, 255, 255, 0.06);

    color: var(--muted-light);
}

.conversation strong {
    display: block;

    font-size: 8px;
}

.conversation p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 8px;

    line-height: 1.5;
}

.lead-score {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;
}

.score-circle {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 3px solid var(--blue);

    color: var(--blue-bright);

    font-size: 13px;
    font-weight: 700;
}

.lead-score strong {
    display: block;

    font-size: 9px;
}

.lead-score p {
    color: var(--muted);

    font-size: 8px;
}

.lead-data {
    display: grid;

    grid-template-columns: 1fr 1fr;

    margin-top: 18px;

    padding-top: 12px;

    border-top: 1px solid var(--border);
}

.lead-data span {
    color: var(--muted);

    font-size: 8px;
}

.lead-data strong {
    font-size: 9px;
}


/* =========================================================
   TRUST
========================================================= */

.trust-section {
    padding: 55px 24px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    text-align: center;
}

.trust-section > p {
    color: #596372;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.trust-logos {
    max-width: 900px;

    margin: 28px auto 0;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    color: #5f6876;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    width: min(var(--container), calc(100% - 48px));

    margin: auto;

    padding: 130px 0;
}

.section-heading {
    max-width: 750px;
}

.section-heading h2 {
    margin-top: 18px;

    font-size: clamp(40px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2.5px;
}

.section-heading h2 span {
    color: var(--muted);
}

.section-heading p {
    max-width: 620px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-top: 65px;
}

.feature-card {
    min-height: 300px;

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.008)
        );

    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);

    border-color: rgba(77, 141, 255, 0.3);

    background:
        linear-gradient(
            145deg,
            rgba(77,141,255,0.08),
            rgba(255,255,255,0.01)
        );
}

.feature-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--blue-soft);

    color: var(--blue-bright);

    font-size: 18px;
}

.feature-card h3 {
    margin-top: 28px;

    font-size: 18px;
}

.feature-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.feature-card a {
    display: inline-block;

    margin-top: 25px;

    color: var(--blue-bright);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   ENTERPRISE CTA
========================================================= */

.enterprise-cta {
    width: min(var(--container), calc(100% - 48px));

    margin: 0 auto 130px;

    padding: 85px;

    position: relative;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(77, 141, 255, 0.16),
            transparent 40%
        ),
        #090d13;
}

.enterprise-cta h2 {
    max-width: 700px;

    margin-top: 18px;

    font-size: clamp(40px, 5vw, 60px);

    line-height: 1.04;

    letter-spacing: -2.5px;
}

.enterprise-cta h2 span {
    color: var(--blue-bright);
}

.enterprise-cta p {
    max-width: 580px;

    margin: 22px 0 32px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    border-top: 1px solid var(--border);

    padding: 35px 0;
}

.footer-container {
    width: min(var(--container), calc(100% - 48px));

    margin: auto;

    display: flex;

    align-items: center;

    gap: 25px;

    color: var(--muted);

    font-size: 11px;
}

.footer-container > div:last-child {
    margin-left: auto;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 18px;

        margin-left: 35px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .hero-content {
        max-width: 750px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .nav-container {
        width: min(100% - 30px, var(--container));
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-container,
    .section {
        width: min(100% - 30px, var(--container));
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-trust {
        gap: 25px;
    }

    .dashboard-window {
        transform: none;
    }

    .dashboard-main {
        padding: 15px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panels {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    .trust-logos {
        flex-wrap: wrap;

        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-cta {
        width: min(100% - 30px, var(--container));

        padding: 45px 25px;

        margin-bottom: 70px;
    }

    .footer-container {
        width: min(100% - 30px, var(--container));

        flex-wrap: wrap;
    }

    .footer-container > div:last-child {
        margin-left: 0;

        width: 100%;
    }

}