:root {
    --navy: #0b1020;
    --navy-2: #0f152b;
    --ink: #0b1226;
    --muted: #5b657a;
    --border: #e7eaf1;
    --surface: #f6f7fb;
    --electric: #3b6cff;
    --electric-2: #6aa0ff;
    --electric-glow: rgba(59, 108, 255, .45);
    --gradient-electric: linear-gradient(135deg, #3b6cff 0%, #6aa0ff 100%);
    --gradient-dark: linear-gradient(160deg, #0b1020 0%, #121a36 100%);
    --gradient-hero:
        radial-gradient(1200px 600px at 85% -10%, rgba(106, 160, 255, .30), transparent 60%),
        radial-gradient(900px 500px at 0% 10%, rgba(59, 108, 255, .22), transparent 60%),
        linear-gradient(180deg, #fbfcff 0%, #eef1f9 100%);
    --shadow-soft: 0 1px 2px rgba(11, 18, 38, .04), 0 8px 24px -8px rgba(11, 18, 38, .10);
    --shadow-card: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 1px 3px rgba(11, 18, 38, .06), 0 14px 36px -18px rgba(11, 18, 38, .22);
    --shadow-glow: 0 22px 60px -22px var(--electric-glow);
}

* {
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: #fff;
    letter-spacing: -0.01em;
}

.text-muted-2 {
    color: var(--muted) !important;
}

.eyebrow {
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--electric);
}

.display-h1 {
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    background: linear-gradient(180deg, #0b1226 0%, #3a435c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-electric {
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    border-radius: 12px;
    font-weight: 500;
    padding: .7rem 1.15rem;
    transition: all .2s ease;
}

.btn-lg {
    padding: .95rem 1.4rem;
    font-size: 1rem;
}

.btn-hero {
    background: var(--gradient-electric);
    color: #fff;
    border: 0;
    box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
    filter: brightness(1.08);
    color: #fff;
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .7);
    color: var(--ink);
}

.btn-glass:hover {
    background: #fff;
}

.btn-dark-glass {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
}

.btn-dark-glass:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

/* Navbar */
.nav-wrap {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    padding-top: 1rem;
}

.nav-pill {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: .5rem .75rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--gradient-electric);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-glow);
}

.brand-mark span {
    width: 11px;
    height: 11px;
    background: rgba(255, 255, 255, .9);
    border-radius: 3px;
}

.nav-link-min {
    color: var(--muted);
    font-size: .9rem;
    text-decoration: none;
    padding: .4rem .75rem;
}

.nav-link-min:hover {
    color: var(--ink);
}

/* Hero */
.hero {
    background: var(--gradient-hero);
    padding: 9.5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11, 18, 38, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 18, 38, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--border);
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .78rem;
    color: var(--muted);
    box-shadow: var(--shadow-soft);
}

.hero-badge i {
    color: var(--electric);
}

/* Dashboard mock */
.mock-wrap {
    position: relative;
    max-width: 1100px;
    margin: 4.5rem auto 0;
}

.mock-glow {
    position: absolute;
    inset: -30px -40px auto -40px;
    height: 280px;
    background: var(--gradient-electric);
    filter: blur(80px);
    opacity: .32;
    border-radius: 50%;
    pointer-events: none;
}

.mock {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 30px 80px -30px rgba(11, 18, 38, .30);
    overflow: hidden;
}

.mock-top {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    font-size: .72rem;
    color: var(--muted);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cdd3df;
}

.mock-body {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.mock-side {
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1rem;
}

.mock-side .label {
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .6rem;
}

.mock-side .item {
    font-size: .78rem;
    color: var(--muted);
    padding: .4rem .55rem;
    border-radius: 8px;
    margin-bottom: 2px;
}

.mock-side .item.active {
    background: var(--ink);
    color: #fff;
}

.mock-main {
    padding: 1.25rem 1.5rem 1.5rem;
    background: #fff;
}

.stat-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .95rem 1rem;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.stat-delta {
    color: #10b981;
    font-size: .7rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: .5rem;
}

.stat-label {
    font-size: .72rem;
    color: var(--muted);
}

.chart-card {
    margin-top: .85rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.pill {
    font-size: .65rem;
    padding: .15rem .55rem;
    border-radius: 8px;
    color: var(--muted);
}

.pill.active {
    background: var(--ink);
    color: #fff;
}

.pill.soft {
    background: #eef1f7;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow-card);
    width: 240px;
}

.float-card .label {
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.progress-mini {
    height: 6px;
    background: #eef1f7;
    border-radius: 999px;
    overflow: hidden;
    flex: 1;
}

.progress-mini>div {
    height: 100%;
    background: var(--gradient-electric);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-electric);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 600;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

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

.anim-float {
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--electric);
    display: inline-block;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* Metrics */
.metrics {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    justify-content: center;
    opacity: .55;
}

.logo-row span {
    font-weight: 700;
    letter-spacing: .18em;
    font-size: .85rem;
}

.stat-grid {
    margin-top: 3.5rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    background: var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

.stat-grid>div {
    background: #fff;
    padding: 2.25rem 1rem;
    text-align: center;
}

.stat-grid .v {
    font-size: 2.3rem;
    font-weight: 600;
    letter-spacing: -.03em;
}

.stat-grid .l {
    color: var(--muted);
    font-size: .85rem;
    margin-top: .25rem;
}

@media(max-width:768px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modules */
.modules {
    padding: 6rem 0;
    background: var(--surface);
}

.module-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -22px rgba(11, 18, 38, .22);
}

.module-card .blob {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-electric);
    filter: blur(60px);
    opacity: 0;
    transition: opacity .3s ease;
}

.module-card:hover .blob {
    opacity: .18;
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-electric);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.module-card h3 {
    font-weight: 600;
    margin-top: 1.1rem;
    letter-spacing: -.02em;
}

.module-bullets {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
}

.module-bullets li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .88rem;
}

.check-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(59, 108, 255, .12);
    color: var(--electric);
    display: grid;
    place-items: center;
    font-size: .7rem;
}

/* Why dark */
.why {
    position: relative;
    background: var(--gradient-dark);
    color: #fff;
    padding: 6rem 0;
    overflow: hidden;
}

.why::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .4;
    background: radial-gradient(800px 400px at 80% 0%, rgba(106, 160, 255, .35), transparent 60%);
}

.glass-dark {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 1.5rem;
    backdrop-filter: blur(14px);
    height: 100%;
}

.glass-dark .ico {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .10);
    display: grid;
    place-items: center;
    color: var(--electric-2);
}

/* CTA */
.cta {
    padding: 6rem 0;
    background: #fff;
}

.cta-card {
    position: relative;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--gradient-dark);
    color: #fff;
    padding: 4rem 3rem;
    box-shadow: 0 30px 80px -30px rgba(11, 18, 38, .35);
}

.cta-card::before {
    content: "";
    position: relative;
    z-index: 2;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--gradient-electric);
    filter: blur(80px);
    opacity: .4;
}

.cta-card::after {
    content: "";
    position: relative;
    z-index: 2;
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(59, 108, 255, .35);
    filter: blur(80px);
}

/* Footer */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

footer a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
}

footer a:hover {
    color: var(--ink);
}

.ftr-title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .mock-body {
        grid-template-columns: 1fr;
    }

    .mock-side {
        display: none;
    }

    .float-card {
        display: none;
    }

    .display-h1 {
        font-size: 2.4rem;
    }
}

/* Book Demo Modal */

.elegant-modal {
    overflow: hidden;
    border-radius: 32px;
    background: white;
    box-shadow:
        0 50px 120px -20px rgba(11, 18, 38, .28);
}

.elegant-side {
    background:
        linear-gradient(180deg,
            #0b1020 0%,
            #111936 100%);
    color: white;
    position: relative;
}

.elegant-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(106, 160, 255, .22),
            transparent 35%);
}

.elegant-side-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.elegant-line {
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            #3b6cff,
            #6aa0ff);
}

.elegant-tag {
    margin-top: 2rem;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}

.elegant-heading {
    font-size: 2.4rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.05em;
}

.elegant-description {
    color: rgba(255, 255, 255, .72);
    line-height: 1.8;
    font-size: .98rem;
}

.elegant-stats {
    margin-top: auto;
    display: flex;
    gap: 2rem;
}

.elegant-stats strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.elegant-stats span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
}

.elegant-form-wrap {
    max-width: 460px;
}

.elegant-label {
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .55rem;
    color: #0b1226;
    display: inline-block;
}

.elegant-input {
    height: 56px;
    border-radius: 16px;
    border: 1px solid #e7eaf1;
    background: #fbfcff;
    padding-inline: 1rem;
    transition: all .2s ease;
    font-size: .95rem;
}

.elegant-input:focus {
    background: white;
    border-color: #3b6cff;
    box-shadow:
        0 0 0 4px rgba(59, 108, 255, .10);
}

.elegant-btn {
    height: 58px;
    border-radius: 16px;
    border: 0;
    background:
        linear-gradient(135deg,
            #0b1020,
            #121a36);
    color: white;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: all .2s ease;
}

.elegant-btn:hover {
    transform: translateY(-1px);
    color: white;
    filter: brightness(1.05);
}

.modal-backdrop.show {
    background: rgba(8, 12, 24, .62);
    backdrop-filter: blur(10px);
}

@media(max-width:991px) {

    .elegant-side-content {
        padding: 2.5rem;
    }

    .elegant-heading {
        font-size: 2rem;
    }

}


/* =========================================
   SUCCESS TOAST
========================================= */

.custom-toast {
    position: relative;

    width: 380px;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(135deg,
            #0b1020 0%,
            #121a36 100%);

    box-shadow:
        0 25px 80px -20px rgba(11, 18, 38, .35);

    animation:
        toastIn .35s ease;
}

.custom-toast-glow {
    position: absolute;

    top: -80px;
    right: -80px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(106, 160, 255, .35),
            transparent 70%);
}

.custom-toast-content {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 24px;
}

.custom-toast-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            #3b6cff,
            #6aa0ff);

    display: grid;
    place-items: center;

    color: white;

    font-size: 22px;

    box-shadow:
        0 10px 30px rgba(59, 108, 255, .35);
}

.custom-toast-title {
    color: white;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: -.02em;
}

.custom-toast-message {
    margin-top: 6px;

    color: rgba(255, 255, 255, .72);

    font-size: 14px;
    line-height: 1.7;
}

.custom-toast-close {
    border: 0;
    background: transparent;

    color: rgba(255, 255, 255, .55);

    padding: 0;

    transition: all .2s ease;
}

.custom-toast-close:hover {
    color: white;
    transform: rotate(90deg);
}

.custom-toast-progress {
    height: 3px;

    background:
        linear-gradient(90deg,
            #3b6cff,
            #6aa0ff);

    animation:
        toastProgress 5s linear forwards;
}

@keyframes toastProgress {

    from {
        width: 100%;
    }

    to {
        width: 0%;
    }

}

@keyframes toastIn {

    from {
        opacity: 0;
        transform:
            translateY(-12px) scale(.96);
    }

    to {
        opacity: 1;
        transform:
            translateY(0) scale(1);
    }

}
