/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #6366f1;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(ellipse at top, #0f0f23 0%, #050505 50%, #000000 100%);
    color: var(--text-primary);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   CANVAS BACKGROUND
   =================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    animation: fadeInCanvas 2.5s ease-out 0.5s forwards;
}

@keyframes fadeInCanvas {
    to {
        opacity: 0.4;
    }
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    opacity: 0;
    animation: fadeIn 1.8s ease-out 0.4s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===================================
   TYPOGRAPHY
   =================================== */
.brand-name {
    font-size: clamp(3.5rem, 15vw, 11rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    line-height: 1;
    position: relative;
    background: linear-gradient(to bottom, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1.6s ease-out 0.8s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1.4s ease-out 1.6s forwards;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: expandWidth 1.6s ease-out 2.4s forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.tagline {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.4s ease-out 3.2s forwards;
    color: var(--text-secondary);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .brand-name {
        letter-spacing: 0.1em;
    }
    
    .subtitle {
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
    }
    
    .divider {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .brand-name {
        letter-spacing: 0.08em;
    }
    
    .subtitle {
        letter-spacing: 0.15em;
    }
    
    .tagline {
        letter-spacing: 0.2em;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
