:root {
    --bg: #030712;
    --bg-alt: #060b1f;
    --panel: rgba(10, 16, 35, 0.9);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #f0f4ff;
    --muted: #a5b6ff;
    --accent: #8ef6ff;
    --accent-strong: #7c3aed;
    --accent-warm: #ff9f68;
    --shadow: 0 20px 60px rgba(4, 8, 20, 0.55);
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Space Grotesk", "Sora", sans-serif;
    background: radial-gradient(circle at 20% 20%, #102050, #030712 55%);
    color: var(--text);
    padding: 0 12px 80px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff11'/%3E%3C/svg%3E") repeat;
    opacity: 0.35;
    pointer-events: none;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

.orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(0px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.orb-one {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(126, 255, 212, 0.9), transparent 70%);
    top: 5%;
    left: 10%;
}

.orb-two {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(164, 120, 255, 0.9), transparent 60%);
    bottom: 3%;
    right: 6%;
}

.site-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.9) 0%, rgba(3, 7, 18, 0) 100%);
    backdrop-filter: blur(16px);
    z-index: 10;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--accent);
}

.site-nav {
    display: flex;
    gap: 16px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--accent);
}

.cta {
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(120deg, var(--accent), var(--accent-warm));
    color: #010203;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 30px rgba(112, 255, 239, 0.25);
}

.cta.secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--text);
    box-shadow: none;
}

.cta.ghost {
    background: transparent;
    border: 1px solid var(--panel-border);
    color: var(--muted);
}

.cta:hover {
    transform: translateY(-2px);
}

.hero {
    margin-top: 40px;
    padding: 60px;
    border-radius: 40px;
    background: rgba(4, 7, 25, 0.95);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(142, 246, 255, 0.08), rgba(255, 159, 104, 0.08));
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 16px 0;
}

.hero .lede {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent);
    margin: 0;
}

.hero-metrics {
    list-style: none;
    display: flex;
    gap: 32px;
    padding: 0;
    margin: 16px 0 0;
}

.hero-metrics span {
    display: block;
    font-size: 2rem;
}

.hero-metrics small {
    color: var(--muted);
}

.panel {
    margin-top: 40px;
    padding: 40px;
    border-radius: 32px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.panel-head h2 {
    margin: 8px 0 0;
}

.timestamp {
    color: var(--muted);
    font-size: 0.9rem;
}

.panel-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--panel-border);
    background: rgba(10, 14, 38, 0.9);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.fact-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.fact {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed var(--panel-border);
    min-height: 120px;
    background: rgba(15, 20, 40, 0.85);
}

.gallery {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.gallery figure {
    margin: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    filter: saturate(1.2);
}

.gallery figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 999px;
    font-size: 0.8rem;
}

.site-footer {
    text-align: center;
    margin-top: 60px;
    color: var(--muted);
}

.site-footer a {
    color: var(--accent);
}

.footer-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
}

.footer-actions .cta {
    min-width: 140px;
}

.muted-text {
    color: var(--muted);
}

.contact-dialog {
    border: 1px solid var(--panel-border);
    border-radius: 36px;
    padding: 32px;
    background: rgba(4, 7, 25, 0.98);
    color: var(--text);
    width: min(900px, 96vw);
    box-shadow: 0 30px 90px rgba(2, 4, 12, 0.8);
    position: relative;
}

.contact-dialog::backdrop {
    background: rgba(1, 3, 10, 0.75);
    backdrop-filter: blur(6px);
}

.contact-shell {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.contact-copy h2 {
    margin: 12px 0;
}

.contact-copy .lede {
    font-size: 1rem;
    color: var(--muted);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-notice {
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(142, 246, 255, 0.4);
    background: rgba(142, 246, 255, 0.1);
    color: var(--accent);
    font-size: 0.9rem;
}

.contact-notice[data-variant="error"] {
    border-color: rgba(255, 159, 104, 0.5);
    background: rgba(255, 159, 104, 0.15);
    color: var(--accent-warm);
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.input-field input,
.input-field textarea {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.input-field textarea {
    resize: vertical;
}

.form-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.input-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
}

.input-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.dialog-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 1px solid var(--panel-border);
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
}

.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 140px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#notifyDialog {
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 24px;
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
}

#notifyDialog input {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    margin-top: 8px;
}

#notifyDialog menu {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
}

@media (max-width: 720px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 36px;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 12px;
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }
}
