:root {
    --bg-darker: #080A0F;
    --bg-main: #0B0E14;
    --accent-neon: #00FF41;
    --text-white: #FFFFFF;
    --text-muted: #8B949E;
    --panel-border: #1F2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', 'Courier New', monospace;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px; 
    text-decoration: none;
}

.logo img {
    height: 40px; 
    width: auto;
    filter: drop-shadow(0 0 5px var(--accent-neon)); 
}

.logo span {
    color: var(--accent-neon);
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-neon);
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 6rem 2rem;
    width: 100%;
}

.hero-section {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-paragraph {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 800px;
}

.section-heading {
    color: var(--text-white);
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-align: center;
}

.authority-container {
    text-align: left;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.authority-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    margin: 0;
}

.cta-btn {
    display: inline-block;
    background: transparent;
    color: var(--accent-neon);
    border: 1px solid var(--accent-neon);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--accent-neon);
    color: var(--bg-darker);
    box-shadow: 0 0 15px var(--accent-neon);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    margin-top: 3rem;
}

.card {
    background-color: var(--bg-darker);
    border: 1px solid #1A1A1A;
    padding: 3rem 2.5rem;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.card:hover {
    border-color: var(--accent-neon);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.08);
}

.card h3 {
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    padding-bottom: 1rem;
}

.contact-form {
    background-color: var(--bg-darker);
    border: 1px solid var(--panel-border);
    padding: 3.5rem 3rem;
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    margin: 4rem auto 0 auto;
}

.contact-form label {
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent-neon);
    letter-spacing: 2px;
    margin-bottom: -0.5rem;
    text-transform: uppercase;
}

.contact-form input[type="email"],
.contact-form textarea {
    background-color: var(--bg-main);
    border: 1px solid var(--panel-border);
    color: var(--text-white);
    padding: 1.2rem;
    font-family: 'Consolas', monospace;
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-neon);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    background-color: #0d1117;
}

.contact-form textarea {
    min-height: 160px;
    resize: none;
}

.contact-form .submit-btn {
    background-color: transparent;
    color: var(--accent-neon);
    border: 1px solid var(--accent-neon);
    padding: 0.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .submit-btn:hover {
    background-color: var(--accent-neon);
    color: var(--bg-darker);
    box-shadow: 0 0 10px var(--accent-neon);
}


.cyber-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 14, 20, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.cyber-toast-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background-color: #1a1a1a;
    border: 1px solid #00FF41;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    padding: 24px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    text-align: center;
    transition: transform 0.5s ease;
    animation: centerFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-header {
    color: #00FF41;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(0, 255, 65, 0.3);
    padding-bottom: 6px;
}

.toast-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.matrix-blink {
    animation: blink 1s infinite;
}

@keyframes centerFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--panel-border);
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.animation-vault {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 200px;
    margin: 0.3rem auto 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#waveCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.brand-core-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 260px;
}

.brand-core-image {
    width: 130%;
    height: 130%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 255, 65, 0.6));
}

.brand-core-overlay {
    position: absolute;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 3px;
    text-shadow: 0 0 15px #00FF41, 0 0 40px #00FF41, 0 0 8px #000000;
    pointer-events: none;
    font-family: 'Consolas', monospace;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 2rem;
        text-align: center;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    .content-wrapper {
        padding: 3rem 1.2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-paragraph {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .section-heading {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .authority-container {
        gap: 1.2rem;
        padding: 0 0.5rem;
    }

    .authority-text {
        font-size: 1rem;
        text-align: left;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}