:root {
    --void: #0A0A12;
    --throne: #5E2BFF;
    --cortex: #00F0FF;
    --synapse: #FF00F5;
    --text: #E0E0FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Courier New', monospace;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;700&display=swap');
}

body {
    background-color: var(--void);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;
    font-weight: 400;
}

.terminal-bar {
    background: linear-gradient(90deg, var(--throne) 0%, var(--synapse) 100%);
    height: 4px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.matrix-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(94, 43, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94, 43, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.3;
}

.neuro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.neuro-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.crown-icon {
    font-size: 2.2rem;
    color: var(--throne);
    animation: throne-pulse 3s infinite;
}

@keyframes throne-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--throne), var(--cortex));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

.neuro-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-items {
    display: flex;
    gap: 30px;
}

.nav-items a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    letter-spacing: 1px;
}

.nav-items a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--synapse);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-items a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--synapse);
    transform: scale(1.2);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--cortex);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.cognition-chamber {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
}

.chamber-content {
    max-width: 800px;
    position: relative;
}

.neuro-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--throne), var(--cortex), var(--synapse));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-flicker 5s infinite alternate;
}

@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow:
            0 0 5px var(--throne),
            0 0 10px var(--cortex),
            0 0 20px rgba(0, 240, 255, 0.5);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.neuro-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.neuro-cta {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--cortex);
    border: 2px solid var(--cortex);
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
}

.neuro-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cortex), transparent);
    transition: all 0.7s ease;
    z-index: -1;
}

.neuro-cta:hover {
    color: var(--void);
    box-shadow: 0 0 20px var(--cortex);
}

.neuro-cta:hover::before {
    left: 100%;
}

.cognition-chamber {
    min-height: 90vh;
    padding: 100px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.chamber-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.chamber-content {
    max-width: 600px;
    position: relative;
    flex: 1;
}

.chamber-image {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(94, 43, 255, 0.3);
    border: 2px solid var(--cortex);
}

.neuro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.chamber-image:hover .neuro-image {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .chamber-container {
        flex-direction: column;
        text-align: center;
    }
    
    .chamber-content {
        max-width: 100%;
    }
    
    .chamber-image {
        width: 100%;
        height: 400px;
        margin-top: 50px;
    }
    
    .neuro-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .chamber-image {
        height: 300px;
    }
}

.dominion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 100px 0;
}

.dominion-card {
    background: rgba(10, 10, 18, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 40px 30px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.dominion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 43, 255, 0.1), rgba(0, 240, 255, 0.05));
    z-index: -1;
}

.dominion-card:hover {
    transform: translateY(-10px);
    border-color: var(--synapse);
    box-shadow: 0 10px 30px rgba(255, 0, 245, 0.2);
}

.dominion-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--throne);
}

.dominion-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--cortex);
}

.reality-fracture {
    background: linear-gradient(90deg, var(--void) 0%, rgba(94, 43, 255, 0.2) 50%, var(--void) 100%);
    padding: 100px 0;
    margin: 100px 0;
    position: relative;
}

.fracture-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.fracture-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--synapse);
}

.fracture-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.neuro-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--synapse);
    box-shadow: 0 0 10px rgba(255, 0, 245, 0.3);
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--throne);
    color: var(--text);
    border: none;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--synapse);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 245, 0.3);
}

footer {
    background: linear-gradient(180deg, var(--void) 0%, #000000 100%);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.neuro-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-crown {
    font-size: 1.8rem;
    color: var(--throne);
}

.footer-text {
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--synapse);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--cortex);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--cortex);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.footer-contact i {
    color: var(--throne);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    opacity: 0.5;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--void);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.5s ease;
        z-index: 1000;
        border-left: 1px solid rgba(0, 240, 255, 0.2);
    }

    .nav-items.active {
        right: 0;
    }

    .social-links {
        margin-top: 30px;
    }

    .hamburger {
        display: block;
    }

    .cognition-chamber {
        padding: 80px 0;
        text-align: center;
    }

    .neuro-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .dominion-grid {
        grid-template-columns: 1fr;
    }

    .neuro-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        padding: 0;
    }

    .footer-contact p {
        justify-content: center;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--void);
}

::-webkit-scrollbar-thumb {
    background: var(--throne);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--synapse);
}
