/* Critical CSS for LCP optimization - Above-the-fold content */

/* Base styles for immediate rendering */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    font-weight: 400;
}

/* Hero Container */
.hero-container {
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero Title */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #ee2f2f 30%, #ffffff 70%, #ee2f2f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.15;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        align-items: flex-start;
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.25;
        margin-bottom: 1.5rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        max-width: 600px;
        margin-bottom: 4rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 500px;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.35;
        margin-bottom: 1rem;
        padding: 0 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 450px;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        max-width: 400px;
        margin-bottom: 2rem;
    }
}

/* Performance optimizations */
.hero-container,
.hero-title,
.hero-subtitle {
    will-change: auto;
}

/* Font display optimization */
.hero-title,
.hero-subtitle {
    font-display: swap;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-title {
        background: linear-gradient(135deg, #ffffff 0%, #ee2f2f 50%, #ffffff 100%);
    }

    html {
        scroll-behavior: auto;
    }
}

/* Loading state optimization */
body.app-loading header,
body.app-loading footer {
    display: none !important;
}