/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    /* Requested for logo fade blending */
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    height: 100vh;
    overflow: hidden;
    /* Prevent scrolling for a hero-style preview */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Background Canvas */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    /* Subtle background */
}

/* Main Layout */
.container {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    /* Use full height */
    padding: 40px 0;
    /* Add vertical padding to clear edges */
    width: 90%;
    max-width: 1200px;
}

/* Typography & Header */
.top-content {
    position: relative;
    z-index: 100;
    /* Ensure header stays on top of logo */
    flex-shrink: 0;
    /* Prevent header from shrinking */
}

.brand-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e0e0e0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.brand-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 8px;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Logo Section */
.logo-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 0;
    /* Important for flex containers to allow shrinking */
}

.main-logo {
    max-width: 750px;
    width: 85%;
    max-height: 60vh;
    /* Limit height so it doesn't push footer off screen */
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.main-logo:hover {
    transform: scale(1.02);
}

/* Subtle Glow behind logo to make it pop */
.logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(64, 100, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 8s infinite alternate;
}

/* Footer Section */
.bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 100;
    /* Ensure footer stays on top */
    flex-shrink: 0;
    /* Prevent footer from shrinking */
}

.slogan {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #a5b4fc, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
    letter-spacing: 1px;
}

.divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4f46e5, transparent);
    opacity: 0.8;
}

.about-us {
    font-size: 1rem;
    color: #aaa;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 300;
}

.about-us strong {
    color: #fff;
    font-weight: 500;
}

/* Animations using Keyframes */
@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.fade-in-down {
    animation: fade-in-down 1s ease-out forwards;
}

.fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
    animation-delay: 0.5s;
    /* Stagger */
    opacity: 0;
}

.fade-in {
    animation: fade-in 1.5s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand-title {
        font-size: 1rem;
    }

    .slogan {
        font-size: 1.1rem;
    }

    .main-logo {
        width: 90%;
    }
}