* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.highlight {
    color: #888888;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px 20px;
    text-align: center;
}

#matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: #888888;
    margin-bottom: 35px;
}

.search-container {
    width: 100%;
    margin-bottom: 25px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 8px 8px 8px 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-bar:hover,
.search-bar:focus-within {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.04);
}

.search-icon {
    stroke: #666666;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    padding: 6px 0;
}

.search-bar input::placeholder {
    color: #555555;
}

.search-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.search-btn:hover {
    background: #d8d8d8;
}

.results-card {
    width: 100%;
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.target-label {
    font-size: 0.9rem;
    color: #aaaaaa;
    font-family: monospace;
}

.score-pill {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.2);
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
}

.checks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.check-row {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.check-row .pass {
    color: #00ff66;
    font-weight: 600;
}

.check-row .warn {
    color: #ffaa00;
    font-weight: 600;
}

.paywall-box {
    position: relative;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 18px;
    overflow: hidden;
}

.paywall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}

.paywall-overlay h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.paywall-overlay p {
    font-size: 0.75rem;
    color: #888888;
    margin-bottom: 12px;
    max-width: 320px;
}

.unlock-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.unlock-btn:hover {
    background: #d8d8d8;
}

.blurred-content {
    filter: blur(5px);
    color: #333333;
    user-select: none;
    font-family: monospace;
    font-size: 0.78rem;
    line-height: 1.6;
}

.loader-box {
    padding: 24px;
    text-align: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px auto;
}

#loader-status {
    font-size: 0.82rem;
    color: #888888;
    font-family: monospace;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #555555;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: inherit;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .hero {
        padding: 100px 16px 40px 16px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 8px;
    }

    .search-icon {
        display: none;
    }

    .search-bar input {
        width: 100%;
        text-align: center;
        padding: 4px;
    }

    .search-btn {
        width: 100%;
        border-radius: 10px;
        padding: 10px;
    }

    footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px;
    }

    .footer-links {
        justify-content: center;
    }
}