/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #0f1517;
    color: #fff;
    overflow: hidden;
}

/* ===== Language Switcher ===== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 10;
}

.lang-btn {
    background: rgba(33, 40, 43, 0.7);
    border: 1px solid rgba(154, 163, 170, 0.3);
    border-radius: 4px;
    color: #9AA3AA;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0.3rem 0.55rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-family: 'Albert Sans', system-ui, sans-serif;
}

.lang-btn:hover {
    color: #F4F6F8;
    border-color: rgba(244, 246, 248, 0.5);
}

.lang-btn.active {
    color: #F4F6F8;
    border-color: #F4F6F8;
    background: rgba(33, 40, 43, 0.9);
}

.separator {
    color: rgba(154, 163, 170, 0.3);
    user-select: none;
}

/* ===== Hero Section ===== */
.hero {
    display: flex;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

/* Left side - image */
.hero-image {
    width: 53%;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right side - content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    position: relative;
    background-color: #0f1517;
}

/* Badge pill */
.badge {
    display: inline-flex;
    align-items: center;
    background-color: #21282B;
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.badge span {
    font-family: 'Albert Sans', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9AA3AA;
    letter-spacing: 0.05em;
}

/* Bottom badge */
.badge-bottom {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    margin-bottom: 0;
}

/* Title */
.hero-title {
    font-family: 'Michroma', system-ui, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    color: #F4F6F8;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    max-width: 520px;
    border: none;
}

/* Subtitle */
.hero-subtitle {
    font-family: 'Albert Sans', system-ui, sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #9AA3AA;
    line-height: 1.5;
    max-width: 520px;
}

/* ===== Coming Soon Banner ===== */
.coming-soon-banner {
    margin-top: 2.5rem;
    max-width: 520px;
}

.coming-soon-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #9AA3AA, transparent);
    margin-bottom: 1rem;
}

.coming-soon-label {
    font-family: 'Michroma', system-ui, sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 400;
    color: #F4F6F8;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.coming-soon-text {
    font-family: 'Albert Sans', system-ui, sans-serif;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: #9AA3AA;
    line-height: 1.5;
    font-style: italic;
}

/* ===== Responsive ===== */

/* Tablets landscape */
@media (max-width: 1024px) {
    .hero-content {
        padding: 2.5rem 2rem;
    }

    .hero-title {
        font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    }
}

/* Tablets portrait & large phones */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
        height: 45dvh;
    }

    .hero-content {
        flex: 1;
        padding: 2rem 1.5rem;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .badge-bottom {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: auto;
    }

    .language-switcher {
        top: 0.75rem;
        right: 1rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .coming-soon-banner {
        margin-top: 1.25rem;
    }

    .coming-soon-label {
        font-size: 0.85rem;
    }

    .coming-soon-text {
        font-size: 0.75rem;
    }
    .hero-image {
        height: 35dvh;
    }

    .hero-content {
        padding: 1.5rem 1.25rem;
    }

    .badge {
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .badge span {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .lang-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ===== Blazor Error UI ===== */
#blazor-error-ui {
    background: #b32121;
    color: white;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

#blazor-error-ui[style] {
    display: block;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}
