/* ===== Base Styles ===== */
:root {
    --primary: #5f05ff;
    --primary-light: #8a4bff;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    position: relative;
}

/* ===== Space.js Canvas ===== */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* ===== Content Container ===== */
.container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-top: 15vh;
    backdrop-filter: blur(4px);
}

/* ===== Logo & Headline ===== */
.brand-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 8px rgba(95, 5, 255, 0.4));
}

.cd-headline {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.highlight {
    color: var(--dark);
}

.home-h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: var(--dark);
}

footer a:hover {
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(95, 5, 255, 0.3);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        margin: 2rem;
        margin-top: 10vh;
    }
    
    .cd-headline {
        font-size: 2.2rem;
    }
    
    .home-h2 {
        font-size: 1rem;
    }
    
    footer a {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container > * {
    animation: fadeIn 0.6s ease-out forwards;
}

.brand-logo { animation-delay: 0.1s; }
.cd-headline { animation-delay: 0.2s; }
.home-h2 { animation-delay: 0.3s; }
footer { animation-delay: 0.4s; }