:root {
    --primary: #3b82f6;
    --primary-light: #93c5fd;
    --dark: #1e293b;
    --light: #f8fafc;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #8b5cf6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        margin: 1rem;
        max-width: 100%;
        border-radius: 12px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .project-svg {
        max-height: 120px;
        margin: 1rem 0;
    }

    .redirect-info {
        font-size: 0.9rem;
    }
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.project-svg {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    /* Reduced from 200px to 150px */
    margin: 1rem 0;
    /* Reduced margin for better spacing */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #475569;
}

.loader {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 2rem 0;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0;
    background: var(--primary);
    border-radius: 2px;
    animation: load 3s ease-in-out forwards;
}

@keyframes load {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.redirect-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #64748b;
}

.redirect-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.redirect-info a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Project specific colors */
.ai-agents .logo {
    color: var(--primary);
}

.ai-agents .loader-bar {
    background: var(--primary);
}

.stock-picker .logo {
    color: var(--success);
}

.stock-picker .loader-bar {
    background: var(--success);
}

.ai-coder .logo {
    color: var(--info);
}

.ai-coder .loader-bar {
    background: var(--info);
}

.career-conversation .logo {
    color: #ec4899;
}

.career-conversation .loader-bar {
    background: #ec4899;
}

.healthcare .logo {
    color: #3b82f6;
}

.healthcare .loader-bar {
    background: #3b82f6;
}

.cyber-security .logo {
    color: var(--dark);
}

.cyber-security .loader-bar {
    background: var(--dark);
}

.alex-agent .logo {
    color: #22c55e;
}

.alex-agent .loader-bar {
    background: #22c55e;
}