:root {
    --bg: #f6f8fc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e6eef8;
    --shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --shadow2: 0 10px 25px rgba(15, 23, 42, .06);
    --radius: 18px;
    --pri: #2563eb;
    --pri2: #1d4ed8;
    --priSoft: rgba(37, 99, 235, .12);
    --ok: #16a34a;
    --warn: #f59e0b;
    --bad: #ef4444;
}

.ph-body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(900px 500px at 20% -10%, rgba(37, 99, 235, .12), transparent 60%), radial-gradient(700px 400px at 95% 0%, rgba(29, 78, 216, .10), transparent 55%), var(--bg);
    color: var(--text);
}

/* topbar */
.ph-topbar {
    background: rgba(255,255,255,.8);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    padding: 8px 0;
}

.ph-link {
    color: var(--pri);
    text-decoration: none;
    font-weight: 600;
}

    .ph-link:hover {
        text-decoration: underline;
    }

/* navbar */
.ph-nav {
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.ph-logo {
    height: 60px;
    width: auto;
}

.ph-brand {
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--text);
}

.nav-link {
    color: #334155 !important;
    font-weight: 600;
}

    .nav-link:hover {
        color: var(--pri) !important;
    }

.ph-btn-primary {
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--pri), var(--pri2));
    border: none;
    box-shadow: 0 12px 24px rgba(37,99,235,.18);
}

    .ph-btn-primary:hover {
        transform: translateY(-1px);
    }

.ph-btn-outline {
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 700;
}

    .ph-btn-outline:hover {
        border-color: rgba(37,99,235,.35);
    }

.ph-section {
    padding: 70px 0;
}

.ph-section-sm {
    padding: 45px 0;
}

.ph-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow2);
    padding: 18px;
}

.ph-hero {
    padding: 70px 0 55px;
}

.ph-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--border);
    box-shadow: var(--shadow2);
    font-weight: 700;
    color: #1f2937;
}

.ph-hero h1 {
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.05;
    margin-top: 14px;
}

.ph-muted {
    color: var(--muted);
}

.ph-kpi {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .ph-kpi .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--pri);
        box-shadow: 0 0 0 6px var(--priSoft);
    }

.ph-pill {
    display: inline-block;
    padding: 6px 10px;
    background: rgba(37,99,235,.10);
    color: var(--pri2);
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.ph-screen {
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

    .ph-screen img {
        width: 100%;
        height: auto;
        display: block;
    }

.ph-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(37,99,235,.10);
    border: 1px solid rgba(37,99,235,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--pri);
}

.ph-footer {
    padding: 55px 0 25px;
    background: rgba(255,255,255,.85);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.ph-footer-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.ph-footer-link {
    display: block;
    color: #334155;
    text-decoration: none;
    margin: 6px 0;
    font-weight: 600;
}

    .ph-footer-link:hover {
        color: var(--pri);
    }

.ph-mini-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

    .ph-mini-link:hover {
        color: var(--pri);
    }

.ph-dot {
    color: #cbd5e1;
}

.ph-footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
/* Make hamburger visible on our custom navbar */
.ph-nav .navbar-toggler {
    border: 1px solid rgba(15, 23, 42, .18);
    border-radius: 12px;
    padding: 8px 10px;
}

    .ph-nav .navbar-toggler:focus {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
    }

.ph-nav .navbar-toggler-icon {
    /* Force visible icon (Bootstrap sets this via navbar-light/dark, we keep it safe here too) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
    #phNav {
        margin-top: 10px;
        padding: 12px;
        background: rgba(255,255,255,.95);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow2);
    }

    .navbar-nav .nav-link {
        padding: 10px 12px;
        border-radius: 12px;
    }

        .navbar-nav .nav-link:hover {
            background: rgba(37,99,235,.08);
        }
}
/* ===== Sticky footer layout (fix footer floating mid page) ===== */
.ph-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ph-main {
    flex: 1; /* pushes footer to bottom */
}
/* ===========================
   Sticky Footer (Final Fix)
   =========================== */
html, body {
    height: 100%;
}

    body.ph-layout {
        min-height: 100vh;
        display: flex !important;
        flex-direction: column !important;
    }

main.ph-main {
    flex: 1 0 auto !important;
}

footer.ph-footer {
    margin-top: auto !important;
}
/* Slightly tighter hero image on large screens */
@media (min-width: 992px) {
    .ph-hero .ph-screen img {
        max-height: 520px;
        object-fit: cover;
    }

    .ph-hero .ph-screen {
        background: #fff;
    }
}
/* ===============================
   Request Demo (Red CTA Button)
   =============================== */
.ph-btn-cta {
    border-radius: 999px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(239, 68, 68, .25);
    transition: all .2s ease;
}

    .ph-btn-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(239, 68, 68, .35);
        background: linear-gradient(135deg, #dc2626, #b91c1c);
    }