/* ========================================
   BackVision Landing Page Styles
   Deep Blue Scientific Theme
   ======================================== */

/* CSS Variables */
:root {
    --bg-dark: #0a0a1a;
    --bg-medium: #0d1b2a;
    --particle-color: rgba(100, 180, 255, 0.6);
    --glow-color: rgba(100, 180, 255, 0.8);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 50%, var(--bg-dark) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Main Container */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 800px;
}

/* Logo Styles */
.logo-wrapper {
    margin-bottom: 3rem;
    opacity: 0;
    transform: scale(0.9);
    animation: logoFadeIn 1.5s ease-out 0.5s forwards;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--glow-color));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px var(--glow-color))
                drop-shadow(0 0 60px rgba(100, 180, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 50px var(--glow-color))
                drop-shadow(0 0 100px rgba(100, 180, 255, 0.6));
    }
}

/* Tagline Styles */
.tagline {
    font-size: clamp(0.75rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: sloganFadeIn 1s ease-out 1.2s forwards;
}

/* Company Name Styles */
.company-name {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: sloganFadeIn 1s ease-out 1.5s forwards;
}

/* Slogan Styles */
.slogan {
    font-size: clamp(0.75rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 2;
    color: var(--text-secondary);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: sloganFadeIn 1s ease-out 1.8s forwards;
}

@keyframes sloganFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.5s forwards;
}

.footer p {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 120px;
    }
    
    .logo-wrapper {
        margin-bottom: 1.5rem;
    }

    .tagline {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
        margin-bottom: 1rem;
    }

    .company-name {
        font-size: 1.5rem;
        letter-spacing: 0.35em;
    }
    
    .slogan {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100px;
    }

    .tagline {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.8rem;
    }

    .company-name {
        font-size: 1.3rem;
        letter-spacing: 0.3em;
    }
    
    .slogan {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
}

/* Subtle background gradient animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(20, 60, 100, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}
