:root {
    --app-accent: #22c55e;
    --app-accent-dark: #16a34a;
    --app-accent-soft: rgba(34, 197, 94, 0.10);
    --app-text: #111827;
    --app-muted: #6b7280;
    --app-border: #e5e7eb;
    --app-bg: #f8fafc;
    --app-card: rgba(255, 255, 255, 0.92);
    --app-shadow: 0 20px 60px rgba(16, 24, 40, 0.12);
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    color: var(--app-text);
    background: var(--app-bg);
    margin-bottom: 0;
    font-family: Inter, sans-serif;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(34, 197, 94, 0.18), 0 0 0 0.3rem rgba(34, 197, 94, 0.28);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--app-border) !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--app-text) !important;
}

.nav-link {
    color: var(--app-text) !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: var(--app-accent-dark) !important;
    }

/* Buttons */
.btn-dark {
    background: linear-gradient(135deg, var(--app-accent) 0%, var(--app-accent-dark) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.22);
}

    .btn-dark:hover,
    .btn-dark:focus {
        background: linear-gradient(135deg, var(--app-accent-dark) 0%, var(--app-accent) 100%);
        color: #fff;
        transform: translateY(-1px);
    }

.btn-outline-dark {
    border-color: rgba(34, 197, 94, 0.55);
    color: var(--app-accent-dark);
    background: rgba(255, 255, 255, 0.65);
}

    .btn-outline-dark:hover,
    .btn-outline-dark:focus {
        background: var(--app-accent-soft);
        border-color: var(--app-accent);
        color: var(--app-accent-dark);
    }

/* Typography */
.display-3,
.display-4,
h1, h2, h3, h4, h5, h6 {
    color: var(--app-text);
    letter-spacing: -0.03em;
}

.lead,
.text-muted,
p.text-muted,
ul.text-muted {
    color: var(--app-muted) !important;
}

/* Hero section styled like the login page background */
.hero-omni {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.10), transparent 28%), radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 30%), linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

    /* Soft blurred background shapes */
    .hero-omni::before,
    .hero-omni::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        pointer-events: none;
        filter: blur(10px);
        opacity: 0.9;
    }

    .hero-omni::before {
        width: 320px;
        height: 320px;
        background: rgba(34, 197, 94, 0.10);
        top: -80px;
        left: -80px;
    }

    .hero-omni::after {
        width: 260px;
        height: 260px;
        background: rgba(34, 197, 94, 0.08);
        bottom: 30px;
        right: -60px;
    }

    /* Ensure content sits above background effects */
    .hero-omni .container {
        position: relative;
        z-index: 2;
    }

.badge.bg-dark {
    background: var(--app-accent-soft) !important;
    color: var(--app-accent-dark) !important;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Main visual card in hero */
.hero-visual-card {
    background: var(--app-card);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    box-shadow: var(--app-shadow);
    padding: 16px;
}

/* Carousel polish */
.carousel-inner {
    border-radius: 20px;
    overflow: hidden;
}

.carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background-color: rgba(17, 24, 39, 0.22);
}

.carousel-indicators .active {
    background-color: var(--app-accent);
}

/* Quick feature pills under hero image */
.hero-pill-row > div {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    color: #374151;
    font-weight: 600;
    padding: 0.7rem 1rem !important;
}

/* Cards below hero */
.card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.06) !important;
    }

    .card.shadow.border-dark {
        border: 2px solid var(--app-accent-dark) !important;
        box-shadow: 0 1rem 2rem rgba(34, 197, 94, 0.12) !important;
    }

/* General sections */
.bg-light {
    background-color: #f8fafc !important;
}

section {
    scroll-margin-top: 90px;
}

footer {
    border-top: 1px solid var(--app-border) !important;
}

    footer a:hover {
        color: var(--app-accent-dark) !important;
    }

@media (max-width: 991.98px) {
    .display-3 {
        font-size: 2.7rem;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.2rem;
    }

    .hero-visual-card {
        padding: 10px;
        border-radius: 22px;
    }
}
