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

:root {
    --color-blue-dark: #002C5A;
    --color-blue-light: #25678F;
    --color-accent: #FF4B33;
    --color-text: #ffffff;
    --font-primary: 'Artford', sans-serif;
}

body {
    background-color: var(--color-blue-dark);
    color: var(--color-text);
    font-family: var(--font-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Sophisticated gradient background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(125deg, var(--color-blue-dark), var(--color-blue-light), var(--color-blue-dark));
    background-size: 200% 200%;
    opacity: 1;
    animation: gradientMove 15s ease infinite;
    z-index: 0;
    will-change: background-position;
}

/* Animated background logo */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(120%, 1200px);
    height: min(120%, 1200px);
    background-image: url('images/LOGO/LOGO_TRANS.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;
    z-index: 0;
    animation: logoFloat 30s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: soft-light;
    filter: brightness(1.2) contrast(1.1);
    will-change: transform, opacity;
}

.container {
    text-align: center;
    padding: clamp(1rem, 5vw, 2rem);
    position: relative;
    z-index: 1;
    max-width: min(800px, 90vw);
    margin: 0 auto;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-family: var(--font-primary);
    font-weight: normal;
    letter-spacing: 0.12em;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.2;
    position: relative;
    animation: fadeInLetters 1s ease-out forwards;
    transform-origin: center center;
    text-shadow: 0 0 30px rgba(0,0,0,0.3);
    will-change: transform, opacity;
}

h1::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: var(--color-accent);
    bottom: -10px;
    left: 30%;
    transform: scaleX(0);
    animation: lineGrow 1s ease-out 0.5s forwards;
    box-shadow: 0 0 20px var(--color-accent);
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-family: var(--font-primary);
    font-weight: 300;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
    color: var(--color-text);
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.description {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-family: var(--font-primary);
    line-height: 1.7;
    font-weight: 300;
    max-width: min(720px, 95vw);
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
    color: var(--color-text);
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 0 clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.02em;
}

footer {
    font-family: var(--font-primary);
    position: fixed;
    bottom: clamp(1rem, 3vw, 2rem);
    width: 100%;
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    letter-spacing: 0.05em;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

@keyframes fadeInLetters {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

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

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.08;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(1deg);
        opacity: 0.1;
    }
}

/* Hover effects */
h1:hover {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
        letter-spacing: 0.08em;
    }
    .tagline {
        font-size: 1rem;
    }
    .description {
        font-size: 1rem;
        padding: 0 2rem;
        line-height: 1.6;
        max-width: 600px;
    }
    .background-logo {
        opacity: 0.06;
        width: 150%;
        height: 150%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    .container {
        padding: 1rem;
    }
    .description {
        font-size: 0.95rem;
        padding: 0 1rem;
        line-height: 1.5;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .background-logo,
    body::before {
        animation: none;
    }
    
    h1, .tagline, .description, footer {
        animation: fadeIn 0.5s ease-out forwards;
    }
}

/* Print styles */
@media print {
    .background-logo,
    body::before {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        transform: none;
    }
} 