:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --text: #172033;
    --muted: #667085;
    --background: #f6f8fb;
    --white: #ffffff;
    --border: rgba(16, 24, 40, .08);
    --shadow-sm: 0 4px 16px rgba(16, 24, 40, .05);
    --shadow-md: 0 12px 32px rgba(16, 24, 40, .08);
    --shadow-lg: 0 24px 60px rgba(16, 24, 40, .10);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ===== Navbar ===== */

.navbar {
    min-height: 72px;
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -.025em;
}

.navbar .nav-link {
    position: relative;
    padding-left: .9rem !important;
    padding-right: .9rem !important;
    color: #475467;
    font-weight: 600;
    transition: color .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--primary);
}

.navbar .btn {
    border-radius: .7rem;
    padding: .6rem 1.15rem;
    font-weight: 600;
}

/* ===== Hero ===== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 105px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(13, 110, 253, .13),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(13, 110, 253, .06),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8faff 65%,
            var(--background) 100%
        );
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(2.7rem, 5vw, 4.15rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.045em;
}

.hero p {
    max-width: 590px;
    margin-top: 1.5rem;
    margin-bottom: 2.25rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero .badge {
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hero-buttons .btn {
    min-width: 145px;
    padding: .85rem 1.5rem;
    margin-right: 0;
    border-radius: .75rem;
    font-weight: 650;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(13, 110, 253, .18);
}

.hero-placeholder {
    position: relative;
    padding: 65px 45px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(247, 250, 255, .94)
        );
    border: 1px solid rgba(13, 110, 253, .10);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.hero-placeholder::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(13, 110, 253, .06);
    border-radius: 20px;
    pointer-events: none;
}

.hero-placeholder .display-1 {
    position: relative;
    font-size: 5rem;
}

.hero-placeholder h4,
.hero-placeholder p {
    position: relative;
}

/* ===== Generic Sections ===== */

.section {
    padding: 100px 0;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-title h2 {
    margin-bottom: .75rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.section-title p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== Feature Cards ===== */

.feature-card {
    height: 100%;
    border: 1px solid rgba(16, 24, 40, .07);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(13, 110, 253, .16);
    box-shadow: var(--shadow-md);
}

.feature-card .card-body {
    padding: 2rem;
}

.feature-card h4 {
    margin-bottom: .7rem;
    font-weight: 750;
    letter-spacing: -.02em;
}

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(13, 110, 253, .08);
    border-radius: 1.1rem;
    background: linear-gradient(
        145deg,
        rgba(13, 110, 253, .12),
        rgba(13, 110, 253, .04)
    );
}

.feature-icon .bi {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary);
}

/* ===== Security Section ===== */

.security-panel {
    position: relative;
    padding: 55px;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7faff 100%
        );
    border: 1px solid rgba(13, 110, 253, .09);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    overflow: hidden;
}

.security-panel::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(13, 110, 253, .06);
}

.security-panel .display-3 {
    position: relative;
    z-index: 1;
}

.security-panel .display-3 .bi {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
}

.security-panel h4,
.security-panel p {
    position: relative;
    z-index: 1;
}

.section .badge.bg-success {
    border-radius: .7rem;
    font-weight: 600;
    letter-spacing: .01em;
}

/* ===== Statistics ===== */

.stats-card {
    height: 100%;
    padding: 32px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, .12);
    box-shadow: var(--shadow-md);
}

.stats-card h2 {
    margin-bottom: .5rem;
    color: var(--primary);
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.stats-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 500;
}

/* ===== Footer ===== */

footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

footer h5 {
    font-weight: 750;
    letter-spacing: -.02em;
}

footer p {
    line-height: 1.7;
}

/* ===== Accessibility ===== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .35);
    outline-offset: 3px;
}

/* ===== Responsive ===== */

@media (max-width: 991.98px) {
    .hero {
        padding: 85px 0;
        text-align: center;
    }

    .hero h1,
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-placeholder {
        margin-top: 20px;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        min-height: 64px;
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-buttons {
        display: block;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: .75rem;
    }

    .hero-placeholder {
        padding: 45px 25px;
        border-radius: 22px;
    }

    .hero-placeholder .display-1 {
        font-size: 4rem;
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        margin-bottom: 2.25rem;
    }

    .feature-card .card-body {
        padding: 1.5rem;
    }

    .security-panel {
        padding: 40px 25px;
    }

    .stats-card {
        padding: 25px 15px;
    }

    .stats-card h2 {
        font-size: 2.25rem;
    }
}
