/* ================================
   Yawning Algorithm - Holding Company
   Minimalist Dark Theme
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-gradient-start: #0a0a0f;
    --bg-gradient-mid: #0f0f18;
    --bg-gradient-end: #0a0a0f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --paper-light: #e8eaed;
    --paper-mid: #c4c7cc;
    --paper-shadow: #9ca0a8;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background: radial-gradient(ellipse at 50% 30%, var(--bg-gradient-mid) 0%, var(--bg-gradient-start) 50%, var(--bg-gradient-end) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Main Container */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

/* Logo Wrapper */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.logo {
    width: 550px;
    max-width: 85vw;
    height: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
}

/* Logo Glow Effect */
.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(40px);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

/* Tagline */
.tagline {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    animation: fadeIn 1.5s ease-out 0.9s both;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-company {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-email {
    font-size: 0.75rem;
    font-weight: 400;
    color: #8FB3C6;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #ffffff;
}

.footer-email:focus {
    color: #ffffff;
    outline: 2px solid #8FB3C6;
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.2;
    }
}

@keyframes subtleMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(2px, -1px);
    }
    50% {
        transform: translate(0, -2px);
    }
    75% {
        transform: translate(-1px, -1px);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .logo {
        width: 350px;
    }

    .logo-wrapper {
        margin-bottom: 1.25rem;
    }

    .logo-glow {
        width: 160px;
        height: 160px;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-divider {
        display: none;
    }
}

@media (min-width: 768px) {
    .logo {
        width: 600px;
    }

    .logo-glow {
        width: 480px;
        height: 480px;
    }

    .logo-wrapper {
        margin-bottom: 1.75rem;
    }
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--accent);
    color: white;
}
