:root {
    --color-bg: #0a192f;
    --color-accent: #64ffda;
    --color-text-main: #e6f1ff;
    --color-text-muted: #8892b0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    /* Prevent scrolling for the full app experience */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- CANVAS & EFFECTS --- */

canvas#security-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    /* Subtle core look */
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 25, 47, 0) 50%,
            rgba(0, 0, 0, 0.2) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0.3;
}

/* --- MAIN INTERFACE --- */

.sanctum-interface {
    z-index: 5;
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    height: 100vh;
    justify-content: space-between;
}

/* --- STATUS BAR --- */

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-accent);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(10, 25, 47, 0.6);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(5px);
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lab-id {
    font-family: var(--font-heading);
    opacity: 0.7;
}

/* --- HERO SECTION --- */

.hero-module {
    background: rgba(10, 25, 47, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 4rem 2rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 60vh;
}

.hero-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.5;
}

.hero-module:hover {
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 30px rgba(10, 25, 47, 0.8);
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 300;
}

.mission-statement {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    max-width: 600px;
    margin-bottom: 4rem;
    color: var(--color-text-main);
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
    text-align: left;
}

/* --- BUTTONS / LINKS --- */

.contact-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
    background: rgba(10, 25, 47, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-link:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    letter-spacing: 1px;
}

.link-bracket {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.contact-link:hover .link-bracket {
    color: var(--color-accent);
}

/* --- FOOTER --- */

.terminal-footer {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    opacity: 0.6;
    padding-bottom: 1rem;
}

/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .mission-statement {
        font-size: 1.2rem;
    }

    .hero-module {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .secure-badge {
        padding: 0.4rem 0.8rem;
    }

    .status-text {
        font-size: 0.7rem;
    }
}