*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #111827;
    background-color: #0b1120;
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid #1f2937;
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e5e7eb;
    font-weight: 600;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.logo-text {
    font-size: 0.95rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.main-nav a {
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
    background-color: #111827;
    color: #e5e7eb;
}

/* Hero */

.hero {
    border-bottom: 1px solid #111827;
    background: radial-gradient(circle at top left, #1f2937, #020617);
    color: #e5e7eb;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    gap: 2rem;
    padding: 2.5rem 0 2.75rem;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.hero-text p {
    max-width: 34rem;
    color: #d1d5db;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid #22c55e;
    background: linear-gradient(to right, #22c55e, #16a34a);
    color: #022c22;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45);
    filter: brightness(1.03);
}

.hero-card {
    border-radius: 1rem;
    border: 1px solid #1f2937;
    background: radial-gradient(circle at top right, #1f2937, #020617);
    padding: 1.25rem 1.1rem;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
}

.hero-card h2 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.hero-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hero-card a {
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: none;
}

.hero-card a:hover {
    color: #e5e7eb;
}

/* Sections */

.section {
    padding: 2.25rem 0;
    background: #020617;
    color: #e5e7eb;
    border-top: 1px solid #020617;
    border-bottom: 1px solid #020617;
}

.section-alt {
    background: #020617;
    background: radial-gradient(circle at top right, #020617, #020617);
}

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.section-intro {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
    max-width: 40rem;
}

/* Grid and cards */

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    border-radius: 0.9rem;
    border: 1px solid #111827;
    background: linear-gradient(145deg, #020617, #020617);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
}

.card h3 {
    font-size: 1rem;
}

.card p {
    font-size: 0.9rem;
    color: #9ca3af;
}

.card-link {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #22c55e;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* Footer */

.site-footer {
    border-top: 1px solid #111827;
    background: #020617;
    color: #6b7280;
    padding: 1.25rem 0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e5e7eb;
}

/* Responsive */

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Neon green link styling */
a {
    color: #48ff9c; /* neon green */
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: #2cff80;
    text-shadow: 0 0 8px #2cff80;
}

.site-search {
    margin-bottom: 1.5rem;
}

.site-search label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.site-search input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #555;
    border-radius: 4px;
}

#no-results-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Site search styling ===== */

.site-search {
    max-width: 600px;
    margin: 2rem auto 2.5rem; /* space under hero / before cards */
    padding: 1.25rem 1.5rem;
    background: rgba(8, 15, 32, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-search label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #cbd5f5; /* light enough to actually see */
}

.site-search input[type="text"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #3b415b;
    background: #050816;
    color: #f9fafb;
    font-size: 0.95rem;
}

.site-search input[type="text"]::placeholder {
    color: #6b7280;
}

.site-search input[type="text"]:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px #22c55e55;
}

#no-results-message {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #f97373;
}


