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

:root {
    --text-white: #ffffff;
    --text-gray: #f0f0f0;
    --shadow-subtle: rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
    font-size: 16px;
    background: #0a0a0a;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    will-change: transform;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 46, 0.4) 0%, rgba(74, 124, 89, 0.3) 100%);
    z-index: 1;
}

/* Minimal decorative elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0.4;
    animation: gentle-float 25s infinite ease-in-out;
}

.float-element:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-duration: 28s;
}

.float-element:nth-child(2) {
    top: 65%;
    left: 80%;
    animation-delay: -10s;
    animation-duration: 32s;
}

.float-element:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: -18s;
    animation-duration: 30s;
}

@keyframes gentle-float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(15px, -20px);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 1200px;
}

.title-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Word containers */
.word {
    display: inline-flex;
    justify-content: center;
    gap: 0.08em;
    position: relative;
    animation: word-entrance 1s ease-out backwards;
}

.word:nth-child(1) {
    animation-delay: 0.2s;
}

.word:nth-child(2) {
    animation-delay: 0.35s;
}

.word:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes word-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual letters */
.letter {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    display: inline-block;
    background: linear-gradient(135deg,
        var(--text-white) 0%,
        var(--text-gray) 50%,
        #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform-style: preserve-3d;
    transition: all 0.15s ease-out;
    filter: drop-shadow(0 10px 20px var(--shadow-subtle))
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    cursor: default;
    position: relative;
}

/* Subtle hover state */
.letter.attracted {
    filter: drop-shadow(0 15px 30px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.2))
            brightness(1.1);
}

/* Subtitle */
.subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.25em;
    text-transform: lowercase;
    opacity: 0;
    animation: subtitle-fade-in 1s ease-out 0.9s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes subtitle-fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }

    .title-container {
        gap: 1rem;
    }

    .letter {
        font-size: clamp(2.5rem, 9vw, 4.5rem);
    }

    .subtitle {
        font-size: clamp(0.75rem, 2vw, 1.1rem);
        letter-spacing: 0.2em;
    }

    .float-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .letter {
        font-size: clamp(2rem, 9vw, 3.5rem);
    }

    .title-container {
        gap: 0.5rem;
    }
}

/* Accessibility - Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .letter {
        transform: none !important;
        filter: drop-shadow(0 10px 20px var(--shadow-subtle)) !important;
    }

    .float-element {
        display: none;
    }
}
