:root {
    --color-black: #0a0a0a;
    --color-black-deep: #050505;
    --color-blue: #00f3ff;
    --color-violet: #9d00ff;
    --color-white: #ffffff;
    --color-text-muted: #a0a0a0;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --gradient-hero: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(10, 10, 10, 1) 50%, rgba(157, 0, 255, 0.1) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 243, 255, 0.15) 0%, transparent 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, var(--color-white), var(--color-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-blue);
    text-shadow: 0 0 10px var(--color-blue);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-black);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.9) 100%), url('images/hero_background.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    animation: fadeIn 1.5s ease-out;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

.btn-explore {
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease-out 1s forwards;
    opacity: 0;
}

.btn-explore:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(90deg, var(--color-white), var(--color-text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards / Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.card h3 {
    color: var(--color-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.card:hover .card-image {
    opacity: 1;
}

/* Text Content Styling */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-block p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.highlight {
    color: var(--color-blue);
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--color-blue);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.btn-submit {
    background: var(--color-blue);
    color: var(--color-black);
    padding: 1rem;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--color-white);
    box-shadow: 0 0 15px var(--color-blue);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 4rem;
}

.footer-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-motto {
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-white);
}

/* Utilities */
.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Specific Page Headers */
.page-header {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at bottom, rgba(0, 243, 255, 0.1), transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for readability */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    z-index: 1;
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.header-manifesto {
    background-image: url('images/manifesto.png');
}

.header-consciousness {
    background-image: url('images/consciousness.png');
}

.header-physics {
    background-image: url('images/physics.png');
}

.header-ai {
    background-image: url('images/ai.png');
}

.header-simulation {
    background-image: url('images/simulation.png');
}

.header-explorations {
    background-image: url('images/explorations.png');
}

.header-about {
    background-image: url('images/hero_background.png');
}

.header-contact {
    background-image: url('images/hero_background.png');
}

.header-legal {
    background-image: url('images/hero_background.png');
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}