/* ── Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e1e3a;
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-family: 'Sora', sans-serif;
}

/* ── Navbar ── */
#navbar {
    transition: background .35s, box-shadow .35s;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 2px 20px rgba(59, 64, 222, .12);
}

.nav-link {
    position: relative;
    font-size: .9rem;
    font-weight: 600;
    color: #1e1e3a;
    transition: color .2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3B40DE;
    transition: width .25s;
}

.nav-link:hover {
    color: #3B40DE;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Hero gradient blob ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .18;
    pointer-events: none;
}

/* ── Dashboard mockup ── */
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(59, 64, 222, .18);
    overflow: hidden;
}

.dash-sidebar {
    background: #0D0E2C;
    color: #fff;
    width: 160px;
    padding: 20px 14px;
}

@media(max-width:640px) {
    .dash-sidebar {
        width: 110px;
    }
}

.dash-main {
    flex: 1;
    padding: 20px;
    background: #f5f7ff;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    flex: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.sparkline {
    width: 100%;
    height: 80px;
}

/* ── Service cards ── */
.service-card {
    border: 1.5px solid #e8eaff;
    border-radius: 18px;
    padding: 28px 22px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(59, 64, 222, .14);
    border-color: #3B40DE;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

/* ── Stats banner ── */
.stats-banner {
    background: linear-gradient(135deg, #3B40DE 0%, #5B5FED 100%);
}

/* ── Testimonial card ── */
.testi-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(59, 64, 222, .1);
}

.stars {
    color: #FFC107;
}

/* ── CTA section ── */
.cta-section {
    background: linear-gradient(135deg, #3B40DE 0%, #2328b0 100%);
}

/* ── Footer ── */
footer {
    background: #0D0E2C;
    color: #a0a4cc;
}

footer a {
    transition: color .2s;
}

footer a:hover {
    color: #fff;
}

/* ── Buttons ── */
.btn-primary {
    background: #3B40DE;
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: .9rem;
    transition: background .25s, transform .2s, box-shadow .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #2328b0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 64, 222, .35);
}

.btn-outline {
    border: 2px solid #3B40DE;
    color: #3B40DE;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #3B40DE;
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #3B40DE;
    border-radius: 8px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    background: #e8eaff;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .15);
}

/* ── Hamburger ── */
#mobile-menu {
    display: none;
}

#mobile-menu.open {
    display: block;
}

/* ── SVG Chart ── */
.chart-line {
    fill: none;
    stroke: #3B40DE;
    stroke-width: 2.5;
}

.chart-area {
    fill: url(#areaGrad);
}

/* ── Scroll-to-top ── */
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: #3B40DE;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(59, 64, 222, .4);
    transition: transform .2s;
}

#scrollTop:hover {
    transform: translateY(-3px);
}

/* checkmark list */
.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.check-item i {
    color: #3B40DE;
    font-size: 1rem;
}

/* badge */
.badge {
    display: inline-block;
    background: #eef0ff;
    color: #3B40DE;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 4px 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
}