:root {
    --background-color: #121212;
    --text-color: #e0e0e0;
    --primary-color: #bb86fc;
    --secondary-text-color: #a0a0a0;

    /* New colors for the fluid shader */
    --shader-fluid-1: #bb86fc; /* Purple */
    --shader-fluid-2: #444444; /* Medium Gray */
    --shader-fluid-3: #121212; /* Dark Background */
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color); 
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    opacity: 0.6;
    z-index: 1;
}

header, main, footer {
    position: relative;
    z-index: 2;
}

header {
    width: 100%;
    padding: 1.5rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 0.5rem;
}

nav a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 60%;
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.content h1 span {
    color: var(--primary-color);
}

.content .subtitle {
    font-size: 1.25rem;
    /* Increased contrast by using the main text color */
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* Button styles (Re-added) */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #121212; /* Dark text for purple button */
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--secondary-text-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-text-color);
    border-color: var(--secondary-text-color);
    color: #121212; /* Dark text on gray hover */
}


footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
    color: var(--secondary-text-color);
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .content .subtitle {
        font-size: 1.1rem;
    }

    /* Styles for buttons on mobile */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 90%;
        max-width: 350px;
        margin: 0 auto;
    }
}