<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>www.naturopathperth.com - Domain Security Report | Status & Breach Check</title>
    <meta name="description" content="www.naturopathperth.com is no longer active and is being monitored for security research. Check if your personal data was exposed in data breaches. Free breach check available.">
    <meta name="robots" content="index, follow">
    <link rel="canonical" href="http://www.naturopathperth.com/">
    <meta property="og:title" content="www.naturopathperth.com - Domain Security Report | Status & Breach Check">
    <meta property="og:description" content="www.naturopathperth.com is no longer active and is being monitored for security research. Check if your personal data was exposed in data breaches. Free breach check available.">
    <meta property="og:type" content="website">
    <meta property="og:url" content="http://www.naturopathperth.com/">
    <meta name="twitter:card" content="summary">
    <meta name="twitter:title" content="www.naturopathperth.com - Domain Security Report | Status & Breach Check">
    <meta name="twitter:description" content="www.naturopathperth.com is no longer active and is being monitored for security research. Check if your personal data was exposed in data breaches. Free breach check available.">
    <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"www.naturopathperth.com Security Report","description":"www.naturopathperth.com is no longer active and is being monitored for security research. Check if your personal data was exposed in data breaches. Free breach check available.","url":"http://www.naturopathperth.com/","publisher":{"@type":"Organization","name":"HEROIC","url":"https://heroic.com"},"mainEntity":{"@type":"Thing","name":"www.naturopathperth.com","description":"Domain security status and breach data"}}</script>
    <link rel="icon" href="/favicon.ico" type="image/svg+xml">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #080c18;
            color: #c8d0e0;
            min-height: 100vh;
            overflow-x: hidden;
            padding-bottom: 72px;
        }

        body::before {
            content: '';
            position: fixed;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: radial-gradient(ellipse at 20% 20%, rgba(239,68,68,0.06) 0%, transparent 50%),
                        radial-gradient(ellipse at 80% 80%, rgba(46,163,242,0.06) 0%, transparent 50%),
                        radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 50%);
            z-index: 0;
            animation: bgShift 20s ease-in-out infinite alternate;
        }
        @keyframes bgShift {
            0% { transform: translate(0, 0); }
            100% { transform: translate(-5%, -3%); }
        }

        .container {
            position: relative;
            z-index: 1;
            max-width: 640px;
            width: 100%;
            margin: 0 auto;
            padding: 32px 20px 40px;
        }

        /* Alert banner */
        .alert-banner {
            background: rgba(239, 68, 68, 0.12);
            border: 1px solid rgba(239, 68, 68, 0.25);
            border-radius: 10px;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
            font-size: 13px;
            color: #f87171;
            font-weight: 500;
            animation: fadeSlideDown 0.6s ease;
        }
        .alert-banner .pulse-dot {
            width: 8px; height: 8px;
            background: #ef4444;
            border-radius: 50%;
            animation: pulse 2s infinite;
            flex-shrink: 0;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
            50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(239,68,68,0); }
        }
        @keyframes fadeSlideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Social proof bar */
        .social-proof {
            text-align: center;
            padding: 8px 0;
            font-size: 13px;
            color: #8892a6;
            margin-bottom: 24px;
            animation: fadeSlideDown 0.7s ease;
        }
        .social-proof strong {
            color: #2ea3f2;
            font-weight: 700;
        }
        .social-proof .live-dot {
            display: inline-block;
            width: 6px; height: 6px;
            background: #22c55e;
            border-radius: 50%;
            margin-right: 6px;
            vertical-align: middle;
            animation: pulse-green 2s infinite;
        }
        @keyframes pulse-green {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
            50% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
        }

        /* Hero */
        .hero {
            text-align: center;
            margin-bottom: 28px;
            animation: fadeSlideDown 0.8s ease;
        }
        .hero h1 {
            font-size: 36px;
            font-weight: 900;
            color: #fff;
            line-height: 1.1;
            letter-spacing: -0.8px;
            margin-bottom: 10px;
        }
        .hero h1 .highlight {
            background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero .subtitle {
            font-size: 15px;
            color: #8892a6;
            line-height: 1.5;
        }

        /* Email check section */
        .check-section {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 20px;
            padding: 28px 24px;
            margin-bottom: 20px;
            animation: fadeSlideDown 0.9s ease;
        }
        .check-section h2 {
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            text-align: center;
            margin-bottom: 4px;
            letter-spacing: -0.3px;
        }
        .check-section .check-subtitle {
            font-size: 13px;
            color: #8892a6;
            text-align: center;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        /* Email form */
        .email-form {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
        }
        .email-form input[type="email"] {
            flex: 1;
            padding: 14px 18px;
            border: 2px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            background: rgba(0,0,0,0.4);
            color: #fff;
            font-size: 15px;
            font-family: inherit;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .email-form input[type="email"]::placeholder { color: #4a5568; }
        .email-form input[type="email"]:focus {
            border-color: #2ea3f2;
            box-shadow: 0 0 0 3px rgba(46,163,242,0.15);
        }
        .email-form button {
            padding: 14px 28px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            letter-spacing: -0.2px;
        }
        .email-form button:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 24px rgba(239,68,68,0.35);
        }
        .email-form button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        .form-note {
            font-size: 12px;
            color: #4a5568;
            text-align: center;
        }
        .form-note svg { vertical-align: -2px; margin-right: 4px; }

        /* Trust bar */
        .trust-bar {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 24px;
            flex-wrap: wrap;
            animation: fadeSlideDown 1s ease;
        }
        .trust-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #5a6478;
            font-weight: 500;
        }
        .trust-item svg {
            width: 14px; height: 14px;
            flex-shrink: 0;
        }

        /* Domain breach card — enhanced with glow */
        .domain-card {
            background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(239,68,68,0.02) 100%);
            border: 1px solid rgba(239,68,68,0.2);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            animation: fadeSlideDown 1.1s ease;
        }
        .domain-card.glow-red {
            animation: fadeSlideDown 1.1s ease, glowPulse 3s ease-in-out 1.1s infinite alternate;
        }
        @keyframes glowPulse {
            0% { box-shadow: 0 0 8px rgba(239,68,68,0.08); }
            100% { box-shadow: 0 0 24px rgba(239,68,68,0.2), 0 0 48px rgba(239,68,68,0.08); }
        }
        .domain-card.clean {
            background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.02) 100%);
            border-color: rgba(34,197,94,0.2);
        }
        .urgency-badge {
            background: rgba(239,68,68,0.15);
            color: #f87171;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 6px 12px;
            border-radius: 6px;
            text-align: center;
            margin-bottom: 14px;
        }
        .domain-card .domain-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }
        .domain-card .icon-circle {
            width: 44px; height: 44px;
            border-radius: 12px;
            background: rgba(239,68,68,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            flex-shrink: 0;
        }
        .domain-card.clean .icon-circle { background: rgba(34,197,94,0.15); }
        .domain-card .domain-label {
            font-size: 13px;
            color: #8892a6;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .domain-card .domain-name {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            font-family: 'SF Mono', 'Fira Code', monospace;
        }
        .domain-stats {
            display: flex;
            gap: 12px;
        }
        .domain-stats .stat {
            flex: 1;
            background: rgba(0,0,0,0.3);
            border-radius: 10px;
            padding: 14px;
            text-align: center;
        }
        .domain-stats .stat-value {
            font-size: 28px;
            font-weight: 900;
            color: #ef4444;
            line-height: 1;
        }
        .domain-card.clean .stat-value { color: #22c55e; }
        .domain-stats .stat-label {
            font-size: 11px;
            color: #8892a6;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 4px;
            font-weight: 500;
        }

        /* Results container */
        .results {
            display: none;
            margin-top: 24px;
            animation: fadeSlideDown 0.5s ease;
        }
        .results.visible { display: block; }

        .results-breached {
            background: linear-gradient(135deg, rgba(239,68,68,0.1) 0%, rgba(239,68,68,0.03) 100%);
            border: 1px solid rgba(239,68,68,0.25);
            border-radius: 16px;
            padding: 28px;
            text-align: center;
        }
        .results-clean {
            background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(34,197,94,0.03) 100%);
            border: 1px solid rgba(34,197,94,0.25);
            border-radius: 16px;
            padding: 28px;
            text-align: center;
        }
        .results h3 {
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 8px;
        }
        .results .result-count {
            font-size: 56px;
            font-weight: 900;
            line-height: 1;
            margin: 16px 0;
        }
        .results-breached .result-count { color: #ef4444; }
        .results-clean .result-count { color: #22c55e; }
        .results .result-detail {
            font-size: 14px;
            color: #8892a6;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .results .cta-heroic {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 16px 36px;
            background: linear-gradient(135deg, #2ea3f2 0%, #1a8cd8 100%);
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            font-weight: 700;
            border-radius: 12px;
            transition: all 0.2s;
            box-shadow: 0 4px 20px rgba(46,163,242,0.3);
        }
        .results .cta-heroic:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(46,163,242,0.45);
        }
        .results .cta-heroic svg {
            width: 16px; height: 16px;
            transition: transform 0.2s;
        }
        .results .cta-heroic:hover svg { transform: translateX(3px); }

        /* Recommendations */
        .recs {
            margin-top: 20px;
            text-align: left;
        }
        .recs h4 {
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            margin-top: 16px;
        }
        .recs ul { list-style: none; padding: 0; }
        .recs li {
            font-size: 13px;
            color: #a0aab8;
            padding: 6px 0;
            display: flex;
            align-items: flex-start;
            gap: 8px;
            line-height: 1.4;
        }
        .recs li .check {
            color: #2ea3f2;
            font-weight: 700;
            flex-shrink: 0;
            margin-top: 1px;
        }

        /* Check another button */
        .check-another {
            display: inline-block;
            margin-top: 16px;
            padding: 10px 20px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            color: #8892a6;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }
        .check-another:hover {
            background: rgba(255,255,255,0.1);
            color: #c8d0e0;
        }

        /* Loading spinner */
        .spinner {
            display: inline-block;
            width: 18px; height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
            vertical-align: middle;
            margin-right: 8px;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* Footer */
        .footer {
            text-align: center;
            padding: 20px 0;
            border-top: 1px solid rgba(255,255,255,0.04);
            margin-top: 8px;
        }
        .footer a {
            color: #2ea3f2;
            text-decoration: none;
            font-weight: 600;
        }
        .footer a:hover { text-decoration: underline; }
        .footer .powered { font-size: 12px; color: #4a5568; }

        /* Sticky CTA bar */
        .sticky-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(8,12,24,0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-top: 1px solid rgba(46,163,242,0.2);
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            z-index: 100;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        .sticky-cta.visible { transform: translateY(0); }
        .sticky-cta .cta-text {
            font-size: 14px;
            color: #c8d0e0;
            font-weight: 500;
        }
        .sticky-cta .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 24px;
            background: linear-gradient(135deg, #2ea3f2 0%, #1a8cd8 100%);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
            transition: all 0.2s;
            box-shadow: 0 2px 12px rgba(46,163,242,0.3);
            font-family: inherit;
        }
        .sticky-cta .cta-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 20px rgba(46,163,242,0.45);
        }
        .sticky-cta .cta-btn svg {
            width: 14px; height: 14px;
        }

        /* Responsive */
        @media (max-width: 520px) {
            .hero h1 { font-size: 28px; }
            .email-form { flex-direction: column; }
            .email-form button { width: 100%; }
            .domain-stats { flex-direction: column; }
            .trust-bar { gap: 12px; }
            .check-section { padding: 24px 18px; }
            .results .result-count { font-size: 44px; }
            .sticky-cta { gap: 10px; padding: 10px 16px; }
            .sticky-cta .cta-text { font-size: 12px; }
            .sticky-cta .cta-btn { padding: 10px 18px; font-size: 13px; }
        }
    </style>
</head>
<body>

<div class="container">

    <!-- Alert banner -->
    <div class="alert-banner">
        <span class="pulse-dot"></span>
        Data breaches associated with this domain have been detected
    </div>

    <!-- Social proof -->
    <div class="social-proof">
        <span class="live-dot"></span>
        <strong id="socialCount">357</strong> people have checked their exposure in the last 24 hours
    </div>

    <!-- Hero — streamlined -->
    <div class="hero">
        <h1>Is your data <span class="highlight">exposed</span>?</h1>
        <p class="subtitle">Scan your email in seconds. Free and confidential.</p>
    </div>

    <!-- Email check — promoted above breach card -->
    <div class="check-section">
        <h2>Instant Breach Scan</h2>
        <p class="check-subtitle">Check if your email appears in known data breaches</p>

        <form class="email-form" id="checkForm" onsubmit="return checkEmail(event)">
            <input type="email" id="emailInput" placeholder="Enter your email address" required autocomplete="email" />
            <button type="submit" id="checkBtn">Scan Now</button>
        </form>
        <p class="form-note">
            <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#4a5568" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg>
            256-bit encrypted &middot; Results in seconds
        </p>

        <div class="results" id="results"></div>
    </div>

    <!-- Trust indicators -->
    <div class="trust-bar">
        <div class="trust-item">
            <svg viewBox="0 0 24 24" fill="none" stroke="#22c55e" stroke-width="2"><path d="M12 2L3 7V12C3 17.55 6.84 22.74 12 24C17.16 22.74 21 17.55 21 12V7L12 2Z"/><path d="M9 12l2 2 4-4" stroke-linecap="round" stroke-linejoin="round"/></svg>
            Verified by HEROIC
        </div>
        <div class="trust-item">
            <svg viewBox="0 0 24 24" fill="none" stroke="#22c55e" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg>
            256-bit Encrypted
        </div>
        <div class="trust-item">
            <svg viewBox="0 0 24 24" fill="none" stroke="#22c55e" stroke-width="2"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.66-4.03 3-9 3s-9-1.34-9-3"/><path d="M3 5v14c0 1.66 4.03 3 9 3s9-1.34 9-3V5"/></svg>
            30B+ Records
        </div>
    </div>

    <!-- Domain breach card -->
    <div class="domain-card clean"><div class="domain-header"><div class="icon-circle">&#10003;</div><div><div class="domain-label">Affected Domain</div><div class="domain-name">www.naturopathperth.com</div></div></div><div class="domain-stats"><div class="stat"><div class="stat-value">0</div><div class="stat-label">Breach Records</div></div><div class="stat"><div class="stat-value">Low</div><div class="stat-label">Risk Level</div></div></div></div>

    <!-- Footer -->
    <div class="footer">
        <div class="powered">
            Breach intelligence powered by <a href="/go?d=www.naturopathperth.com&b=0" target="_blank" rel="noopener noreferrer">HEROIC</a> &mdash; AI-Powered Identity Threat Protection
        </div>
    </div>

</div>

<!-- Sticky bottom CTA -->
<div class="sticky-cta" id="stickyCta">
    <span class="cta-text">Protect your identity now</span>
    <a href="/go?d=www.naturopathperth.com&b=0" target="_blank" rel="noopener noreferrer" class="cta-btn">
        Get Free Protection
        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
    </a>
</div>

<script>
function animateCount(el, target) {
    var current = 0;
    var increment = Math.max(1, Math.floor(target / 40));
    var timer = setInterval(function() {
        current += increment;
        if (current >= target) {
            current = target;
            clearInterval(timer);
        }
        el.textContent = current.toLocaleString();
    }, 30);
}

function incrementSocialProof() {
    var el = document.getElementById('socialCount');
    if (el) {
        var current = parseInt(el.textContent.replace(/,/g, ''), 10) || 0;
        el.textContent = (current + 1).toLocaleString();
    }
}

function checkAnother() {
    document.getElementById('emailInput').value = '';
    document.getElementById('emailInput').focus();
    document.getElementById('results').className = 'results';
    document.getElementById('checkBtn').textContent = 'Scan Now';
    var form = document.getElementById('checkForm');
    if (form) {
        window.scrollTo({ top: form.offsetTop - 80, behavior: 'smooth' });
    }
}

async function checkEmail(e) {
    e.preventDefault();
    var email = document.getElementById('emailInput').value.trim();
    if (!email) return false;

    var btn = document.getElementById('checkBtn');
    var results = document.getElementById('results');

    btn.disabled = true;
    btn.innerHTML = '<span class="spinner"></span>Scanning...';
    results.className = 'results';
    results.innerHTML = '';

    try {
        var resp = await fetch('/check-email?email=' + encodeURIComponent(email));
        var data = await resp.json();

        incrementSocialProof();

        if (data.records_found > 0) {
            results.innerHTML = '<div class="results-breached">'
                + '<h3>&#9888; Your email was found in data breaches</h3>'
                + '<div class="result-count" id="countUp">0</div>'
                + '<p class="result-detail">breach records associated with <strong style="color:#fff">' + escapeHtml(email) + '</strong></p>'
                + '<a href="' + data.heroic_url + '" target="_blank" rel="noopener noreferrer" class="cta-heroic">'
                + 'Protect Your Identity with HEROIC'
                + '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>'
                + '</a>'
                + '<div class="recs"><h4>Immediate steps you should take:</h4>'
                + '<ul>'
                + '<li><span class="check">&#10003;</span> Change passwords on accounts using this email</li>'
                + '<li><span class="check">&#10003;</span> Enable two-factor authentication everywhere</li>'
                + '<li><span class="check">&#10003;</span> Monitor your accounts for suspicious activity</li>'
                + '<li><span class="check">&#10003;</span> Sign up for continuous breach monitoring</li>'
                + '</ul></div>'
                + '<button class="check-another" onclick="checkAnother()">Check another email</button>'
                + '</div>';
            results.className = 'results visible';
            var countEl = document.getElementById('countUp');
            if (countEl) animateCount(countEl, data.records_found);
        } else {
            results.innerHTML = '<div class="results-clean">'
                + '<h3>&#10003; No breaches found for this email</h3>'
                + '<p class="result-detail" style="margin-top:12px"><strong style="color:#fff">' + escapeHtml(email) + '</strong> was not found in known breach databases.</p>'
                + '<p class="result-detail" style="color:#f59e0b;font-weight:600;font-size:15px;margin-top:16px">But don\'t let your guard down.</p>'
                + '<p class="result-detail">Over 16 billion passwords were exposed in 2025 alone. New breaches happen every day and your data could be compromised without you knowing.</p>'
                + '<a href="' + data.heroic_url + '" target="_blank" rel="noopener noreferrer" class="cta-heroic">'
                + 'Get Free Breach Monitoring'
                + '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>'
                + '</a>'
                + '<div class="recs"><h4>Stay ahead of threats:</h4>'
                + '<ul>'
                + '<li><span class="check">&#10003;</span> Get real-time alerts when your email appears in new breaches</li>'
                + '<li><span class="check">&#10003;</span> Monitor the dark web for your exposed credentials</li>'
                + '<li><span class="check">&#10003;</span> Receive AI-powered security recommendations</li>'
                + '</ul></div>'
                + '<button class="check-another" onclick="checkAnother()">Check another email</button>'
                + '</div>';
            results.className = 'results visible';
        }
    } catch (err) {
        results.innerHTML = '<div class="results-clean"><p class="result-detail">Unable to check at this time. <a href="/go?d=www.naturopathperth.com&b=0" target="_blank" rel="noopener noreferrer" style="color:#2ea3f2">Check directly on HEROIC &rarr;</a></p></div>';
        results.className = 'results visible';
    }

    btn.disabled = false;
    btn.textContent = 'Scan Again';
    return false;
}

function escapeHtml(s) {
    var d = document.createElement('div');
    d.textContent = s;
    return d.innerHTML;
}

/* Sticky CTA — show after scrolling past the email form */
(function() {
    var form = document.getElementById('checkForm');
    var sticky = document.getElementById('stickyCta');
    var visible = false;
    if (!form || !sticky) return;

    function onScroll() {
        var rect = form.getBoundingClientRect();
        var shouldShow = rect.bottom < 0;
        if (shouldShow && !visible) {
            sticky.classList.add('visible');
            visible = true;
        } else if (!shouldShow && visible) {
            sticky.classList.remove('visible');
            visible = false;
        }
    }
    window.addEventListener('scroll', onScroll, { passive: true });
})();
</script>

</body>
</html>
