html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #070a10;
    color: #f5f7fb;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    max-width: 1320px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    background: rgba(7, 10, 16, 0.96) !important;
    border-bottom: 1px solid rgba(77, 148, 255, 0.18) !important;
    padding: 15px 0;
    backdrop-filter: blur(14px);
}

.navbar-brand {
    color: #ffffff !important;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.nav-link {
    color: #cbd4e4 !important;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: #4d94ff !important;
}

/* =====================================================
   MAIN HERO
   ===================================================== */

.merqentra-hero {
    position: relative;
    overflow: hidden;

    margin: 20px 0 28px;
    padding: 60px 58px;

    border: 1px solid rgba(71, 141, 255, 0.25);
    border-radius: 28px;

    background:
        radial-gradient(circle at 86% 30%,
            rgba(44, 125, 255, 0.30),
            transparent 28%),
        radial-gradient(circle at 65% 90%,
            rgba(0, 166, 255, 0.14),
            transparent 28%),
        linear-gradient(
            135deg,
            #080b12 0%,
            #0d1421 42%,
            #0d203d 72%,
            #102c56 100%
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.merqentra-hero::after {
    content: "";
    position: absolute;

    width: 340px;
    height: 340px;

    right: -100px;
    top: -100px;

    border-radius: 50%;

    border: 1px solid rgba(80, 157, 255, 0.20);

    box-shadow:
        0 0 0 45px rgba(55, 130, 255, 0.035),
        0 0 0 90px rgba(55, 130, 255, 0.02);
}

.hero-badge {
    display: inline-block;
    position: relative;
    z-index: 2;

    margin-bottom: 17px;
    padding: 7px 13px;

    border: 1px solid rgba(86, 155, 255, 0.42);
    border-radius: 999px;

    background: rgba(40, 115, 230, 0.12);
    color: #7eb6ff;

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.merqentra-hero h1 {
    position: relative;
    z-index: 2;

    max-width: 900px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -2px;

    font-weight: 900;
}

.merqentra-hero p {
    position: relative;
    z-index: 2;

    max-width: 720px;

    color: #b8c4d8;

    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-button {
    display: inline-block;
    position: relative;
    z-index: 2;

    margin-top: 14px;
    padding: 12px 22px;

    border-radius: 11px;

    background: #2477ff;
    color: #ffffff;

    font-weight: 900;
    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(36, 119, 255, 0.28);

    transition: 0.2s ease;
}

.hero-button:hover {
    color: #ffffff;
    background: #3a88ff;

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(36, 119, 255, 0.38);
}

/* =====================================================
   GENERAL SECTIONS
   ===================================================== */

.section-title {
    margin: 42px 0 20px;
}

.section-title h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
}

.section-title p {
    color: #8f9db3;
}

.merqentra-section {
    margin: 25px 0;
    padding: 34px;

    border-radius: 22px;
    border: 1px solid rgba(86, 149, 255, 0.14);

    background:
        linear-gradient(
            145deg,
            #0c111a,
            #101827
        );
}

.merqentra-section h2,
.merqentra-section h3 {
    color: #ffffff;
    font-weight: 900;
}

.merqentra-section p {
    color: #aab6c8;
    line-height: 1.7;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-top: 22px;
}

.feature-card {
    min-height: 170px;

    padding: 23px;

    border-radius: 17px;
    border: 1px solid rgba(81, 151, 255, 0.17);

    background:
        linear-gradient(
            150deg,
            rgba(20, 31, 49, 0.96),
            rgba(10, 16, 27, 0.98)
        );

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    border-color: rgba(78, 151, 255, 0.55);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(34, 112, 255, 0.08);
}

.feature-card .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 17px;

    border-radius: 11px;

    background: rgba(41, 123, 255, 0.13);
    color: #66a6ff;

    font-size: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 9px;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 900;
}

.feature-card p {
    margin: 0;

    color: #98a6ba;

    font-size: 0.9rem;
    line-height: 1.55;
}

/* =====================================================
   VOICE AI
   ===================================================== */

.voice-ai-showcase {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 38px;

    align-items: center;

    margin: 30px 0;
    padding: 44px;

    border-radius: 26px;
    border: 1px solid rgba(66, 143, 255, 0.28);

    background:
        radial-gradient(circle at 83% 28%,
            rgba(30, 120, 255, 0.28),
            transparent 27%),
        linear-gradient(
            135deg,
            #080c13 0%,
            #0b1627 52%,
            #0c2a52 100%
        );

    box-shadow:
        0 25px 60px rgba(0,0,0,0.34);
}

.voice-ai-label {
    display: inline-block;

    margin-bottom: 14px;
    padding: 6px 11px;

    border-radius: 999px;

    border: 1px solid rgba(79, 150, 255, 0.35);

    background: rgba(38, 116, 235, 0.13);
    color: #7eb6ff;

    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.voice-ai-content h2 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: 2.45rem;
    line-height: 1.08;

    font-weight: 900;
}

.voice-ai-content p {
    max-width: 680px;

    color: #aab8cc;

    font-size: 1.02rem;
    line-height: 1.7;
}

.voice-ai-points {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}

.voice-ai-points span {
    padding: 8px 12px;

    border-radius: 999px;

    border: 1px solid rgba(92, 155, 255, 0.16);

    background: rgba(63, 134, 255, 0.08);

    color: #d6e4f8;

    font-size: 0.82rem;
    font-weight: 700;
}

.voice-ai-button {
    margin-top: 24px;
    padding: 11px 20px;

    border: 0;
    border-radius: 10px;

    background: #2477ff;
    color: #ffffff;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(36, 119, 255, 0.30);

    transition: 0.2s ease;
}

.voice-ai-button:hover {
    background: #3a88ff;
    transform: translateY(-2px);
}

.voice-ai-visual {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.voice-ring {
    width: 185px;
    height: 185px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(88, 157, 255, 0.30);

    background:
        radial-gradient(
            circle,
            rgba(35, 115, 245, 0.14),
            rgba(6, 13, 23, 0.25)
        );

    box-shadow:
        0 0 0 20px rgba(57, 132, 255, 0.035),
        0 0 55px rgba(41, 122, 255, 0.16);
}

.voice-core {
    width: 104px;
    height: 104px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(100, 167, 255, 0.36);

    background:
        linear-gradient(
            145deg,
            #173f78,
            #1d6ce0
        );

    color: #ffffff;

    font-size: 1.7rem;
    font-weight: 900;

    box-shadow:
        0 0 35px rgba(48, 127, 255, 0.32);
}

.voice-status {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 28px;

    color: #8294ad;

    font-size: 0.8rem;
}

.voice-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #42d392;

    box-shadow:
        0 0 12px rgba(66, 211, 146, 0.72);
}

/* =====================================================
   BUTTONS / FORMS
   ===================================================== */

.btn-primary,
.btn-dark,
.btn-success {
    background: #2477ff !important;
    border-color: #2477ff !important;

    color: #ffffff !important;

    border-radius: 10px;

    font-weight: 800;
}

.btn-primary:hover,
.btn-dark:hover,
.btn-success:hover {
    background: #3a88ff !important;
    border-color: #3a88ff !important;
}

.form-control,
.form-select {
    border-radius: 10px;

    border: 1px solid #263349;

    background: #0d1420;
    color: #ffffff;

    padding: 11px 13px;
}

.form-control:focus,
.form-select:focus {
    background: #0d1420;
    color: #ffffff;

    border-color: #3c8cff;

    box-shadow:
        0 0 0 3px rgba(60, 140, 255, 0.13);
}

.form-control::placeholder {
    color: #76859c;
}

/* =====================================================
   AI CHAT
   ===================================================== */

.ai-panel {
    margin-top: 35px;
    padding: 28px;

    border-radius: 22px;
    border: 1px solid rgba(71, 144, 255, 0.23);

    background:
        linear-gradient(
            145deg,
            #0b111c,
            #101c2d
        );

    color: #ffffff;
}

.ai-panel h3 {
    color: #ffffff;
    font-weight: 900;
}

.ai-panel .text-muted {
    color: #8998ae !important;
}

#aiMessages {
    background: #080d15;

    color: #eaf1fb;

    border: 1px solid #1d2d44 !important;
    border-radius: 14px !important;
}

/* =====================================================
   TABLE / WAREHOUSE
   ===================================================== */

.table {
    background: #0d1420;
    color: #e9eff8;
}

.table thead th {
    color: #ffffff;

    border-color: #26364f;

    font-weight: 900;
}

.table td {
    border-color: #1e2b3f;
}

.alert-success {
    background: #0d2a22;
    border-color: #245944;
    color: #b8f1d4;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    margin-top: 50px;

    background: #070a10 !important;
    color: #697a92 !important;

    border-top: 1px solid #19263a !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 990px) {

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .voice-ai-showcase {
        grid-template-columns: 1fr;
    }

    .merqentra-hero {
        padding: 45px 32px;
    }
}

@media (max-width: 650px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .merqentra-hero {
        padding: 36px 23px;
        border-radius: 20px;
    }

    .voice-ai-showcase {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .voice-ai-content h2 {
        font-size: 2rem;
    }

    .voice-ring {
        width: 155px;
        height: 155px;
    }
}/* =========================================================
   MERQENTRA CORPORATE PAGE
   BLACK / CHARCOAL / ELECTRIC BLUE
   ========================================================= */

.mq-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px 18px;
    border-bottom: 1px solid rgba(71, 144, 255, 0.16);
}

.mq-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.mq-brand-symbol {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(145deg, #111a29, #07101d);
    border: 1px solid rgba(76, 151, 255, 0.35);
    box-shadow: 0 0 25px rgba(35, 115, 255, 0.16);
}

.mq-m {
    position: absolute;
    top: 6px;
    left: 8px;
    color: #dfe7f3;
    font-weight: 900;
    font-size: 1.35rem;
}

.mq-q {
    position: absolute;
    right: 7px;
    bottom: 4px;
    color: #2f80ff;
    font-weight: 900;
    font-size: 1.3rem;
}

.mq-brand-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.mq-brand-name span {
    color: #3488ff;
}

.mq-menu-button {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    border: 1px solid rgba(81, 151, 255, 0.25);
    background: #0c1421;
    color: #ffffff;
    font-size: 1.45rem;
    cursor: pointer;
}

.mq-menu-button:hover {
    background: #13223a;
    border-color: #3988ff;
}


/* SIDE MENU */

.mq-menu {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: -390px;

    width: 360px;
    max-width: 92vw;
    height: 100vh;

    padding: 70px 28px 30px;

    background:
        linear-gradient(
            160deg,
            #080d15,
            #0b1422 58%,
            #0d203c
        );

    border-left: 1px solid rgba(69, 143, 255, 0.28);

    box-shadow:
        -25px 0 70px rgba(0,0,0,0.55);

    overflow-y: auto;

    transition: right 0.28s ease;
}

.mq-menu.open {
    right: 0;
}

.mq-menu-close {
    position: absolute;
    top: 18px;
    right: 22px;

    border: 0;
    background: transparent;
    color: #ffffff;

    font-size: 2rem;
    cursor: pointer;
}

.mq-menu-group {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mq-menu-heading {
    margin-bottom: 10px;

    color: #4e97ff;

    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.mq-menu a {
    display: block;
    padding: 9px 0;

    color: #d4dceb;
    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 650;
}

.mq-menu a:hover {
    color: #5ca3ff;
    padding-left: 5px;
}


/* HERO */

.mq-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;

    min-height: 600px;

    margin-top: 24px;
    padding: 58px 52px;

    border-radius: 28px;
    border: 1px solid rgba(71, 144, 255, 0.23);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 38%,
            rgba(37, 124, 255, 0.28),
            transparent 26%
        ),
        radial-gradient(
            circle at 25% 110%,
            rgba(0, 122, 255, 0.13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #070a10 0%,
            #0a111d 48%,
            #0c1f3a 100%
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,0.42);
}

.mq-eyebrow {
    display: inline-block;

    margin-bottom: 17px;
    padding: 7px 12px;

    border: 1px solid rgba(71, 145, 255, 0.33);
    border-radius: 999px;

    background: rgba(38, 113, 228, 0.10);

    color: #71adff;

    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.mq-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -2.3px;

    font-weight: 900;
}

.mq-hero h1 span {
    display: block;
    margin-top: 12px;

    color: #4b94ff;
}

.mq-hero-copy > p {
    max-width: 670px;

    margin-top: 22px;

    color: #a7b5ca;

    font-size: 1.07rem;
    line-height: 1.75;
}

.mq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;

    margin-top: 26px;
}

.mq-primary-button,
.mq-secondary-button {
    display: inline-flex;
    align-items: center;

    padding: 12px 20px;

    border-radius: 11px;

    text-decoration: none;
    font-weight: 900;
}

.mq-primary-button {
    background: #2477ff;
    color: #ffffff;

    box-shadow:
        0 12px 32px rgba(36,119,255,0.28);
}

.mq-primary-button:hover {
    background: #3a88ff;
    color: #ffffff;
}

.mq-secondary-button {
    border: 1px solid rgba(84, 153, 255, 0.35);
    background: rgba(255,255,255,0.025);
    color: #dbe7f8;
}

.mq-secondary-button:hover {
    background: rgba(57, 133, 255, 0.10);
    color: #ffffff;
}

.mq-quick-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;

    margin-top: 35px;
}

.mq-quick-features div {
    padding: 12px;

    border-radius: 12px;
    border: 1px solid rgba(83, 148, 244, 0.12);

    background: rgba(255,255,255,0.025);
}

.mq-quick-features strong,
.mq-quick-features span {
    display: block;
}

.mq-quick-features strong {
    color: #4f99ff;
    font-size: 0.8rem;
}

.mq-quick-features span {
    margin-top: 3px;

    color: #8f9db2;
    font-size: 0.72rem;
}


/* DESKTOP DASHBOARD */

.mq-dashboard {
    position: relative;

    padding: 18px;

    border-radius: 20px;
    border: 1px solid rgba(93, 160, 255, 0.31);

    background:
        linear-gradient(
            150deg,
            rgba(18, 29, 46, 0.98),
            rgba(7, 12, 20, 0.98)
        );

    box-shadow:
        0 35px 80px rgba(0,0,0,0.46),
        0 0 55px rgba(31, 108, 235, 0.10);
}

.mq-dashboard::before {
    content: "";

    position: absolute;
    inset: -18px;

    z-index: -1;

    border-radius: 30px;

    background:
        radial-gradient(
            circle,
            rgba(35, 120, 255, 0.18),
            transparent 65%
        );
}

.mq-dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 13px;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mq-dashboard-top strong,
.mq-dashboard-top small {
    display: block;
}

.mq-dashboard-top strong {
    color: #ffffff;
}

.mq-dashboard-top small {
    color: #7c8ca3;
}

.mq-live {
    color: #48da94;

    font-size: 0.75rem;
    font-weight: 900;
}

.mq-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;

    margin: 14px 0;
}

.mq-stat {
    padding: 14px;

    border-radius: 12px;

    background: #121d2d;
    border: 1px solid rgba(255,255,255,0.05);
}

.mq-stat span,
.mq-stat strong,
.mq-stat small {
    display: block;
}

.mq-stat span {
    color: #8998ae;
    font-size: 0.72rem;
}

.mq-stat strong {
    margin: 4px 0;

    color: #ffffff;

    font-size: 1.35rem;
}

.mq-stat small {
    color: #4f98ff;
}

.mq-ai-conversation {
    padding: 16px;

    border-radius: 14px;

    background: #080e17;
    border: 1px solid rgba(83, 151, 255, 0.12);
}

.mq-ai-title {
    margin-bottom: 14px;

    color: #6aa8ff;

    font-weight: 900;
}

.mq-message {
    width: fit-content;
    max-width: 85%;

    margin-bottom: 9px;
    padding: 9px 11px;

    border-radius: 10px;

    font-size: 0.78rem;
    line-height: 1.45;
}

.mq-message.ai {
    background: #13243b;
    color: #dce8f8;
}

.mq-message.customer {
    margin-left: auto;

    background: #1f67d8;
    color: #ffffff;
}

.mq-wave {
    margin-top: 14px;

    overflow: hidden;

    color: #3888ff;

    letter-spacing: 3px;
    white-space: nowrap;
}


/* CORPORATE SECTIONS */

.mq-section {
    margin: 24px 0;
    padding: 38px;

    border: 1px solid rgba(72, 143, 246, 0.13);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #0b111b,
            #0e1827
        );
}

.mq-section-label {
    margin-bottom: 10px;

    color: #4c96ff;

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.mq-section h2 {
    color: #ffffff;

    font-size: 2rem;
    font-weight: 900;
}

.mq-section-intro {
    max-width: 880px;

    margin: 0;

    color: #9eacc0;

    font-size: 1rem;
    line-height: 1.75;
}


/* CONTACT */

.mq-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin: 28px 0 45px;
    padding: 38px;

    border-radius: 22px;

    border: 1px solid rgba(62, 142, 255, 0.25);

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(40, 125, 255, 0.22),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #09101a,
            #0d203d
        );
}

.mq-contact h2 {
    max-width: 780px;

    color: #ffffff;

    font-weight: 900;
}

.mq-contact p {
    color: #96a6bc;
}

.mq-contact-badge {
    min-width: 190px;

    padding: 18px;

    border: 1px solid rgba(87, 155, 255, 0.24);
    border-radius: 15px;

    background: rgba(255,255,255,0.03);

    color: #ffffff;

    font-weight: 900;
    text-align: center;
}

.mq-contact-badge span {
    display: block;

    margin-top: 5px;

    color: #4d95ff;

    font-size: 0.73rem;
}


/* MOBILE */

@media (max-width: 1000px) {

    .mq-hero {
        grid-template-columns: 1fr;
        padding: 42px 30px;
    }

    .mq-dashboard {
        margin-top: 15px;
    }

    .mq-quick-features {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 650px) {

    .mq-brand-name {
        font-size: 0.95rem;
    }

    .mq-hero {
        min-height: auto;

        padding: 32px 20px;

        border-radius: 20px;
    }

    .mq-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .mq-quick-features {
        grid-template-columns: 1fr 1fr;
    }

    .mq-section {
        padding: 26px 21px;
    }

    .mq-contact {
        flex-direction: column;
        align-items: stretch;

        padding: 27px 22px;
    }
}
