/* Lederhosen Stylesheet
   Controls how your site looks. Plain CSS, no build tools needed.
   Customize any value to change your site's appearance.
   CSS controls where things appear on screen — the HTML source order
   does not determine visual layout. */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0f1b2d;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== FULL-PAGE CENTERED LAYOUT ===== */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-wrapper::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 38%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(43, 94, 153, 0.25) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 40px;
    max-width: 880px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ===== APP ICON ===== */
.app-icon-wrapper {
    flex-shrink: 0;
    position: relative;
}

.app-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(
        circle,
        rgba(43, 94, 153, 0.35) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.app-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== TEXT CONTENT ===== */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-title {
    font-size: 76px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -2.5px;
    line-height: 1.05;
}

.app-tagline {
    font-size: 19px;
    font-weight: 400;
    color: rgba(180, 200, 220, 0.75);
    line-height: 1.55;
    max-width: 380px;
}

/* ===== MAIN ===== */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Content pages (no .page-wrapper) get constrained width */
main:not(:has(.page-wrapper)) {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 40px 40px;
}

main:not(:has(.page-wrapper)) h1 {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

main:not(:has(.page-wrapper)) h2 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 12px;
}

main:not(:has(.page-wrapper)) p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(180, 200, 220, 0.85);
    margin-bottom: 16px;
}

main:not(:has(.page-wrapper)) ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

main:not(:has(.page-wrapper)) li {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(180, 200, 220, 0.85);
    margin-bottom: 4px;
}

main:not(:has(.page-wrapper)) a {
    color: #6ba3d6;
    text-decoration: none;
}

main:not(:has(.page-wrapper)) a:hover {
    text-decoration: underline;
}

/* ===== HEADER NAV ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    padding: 20px 32px;
    z-index: 10;
}

header nav ul {
    display: flex;
    gap: 24px;
}

header nav li {
    list-style: none;
}

header nav a {
    color: rgba(180, 200, 220, 0.4);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: rgba(180, 200, 220, 0.8);
}

/* ===== FOOTER ===== */
footer {
    padding: 28px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    position: relative;
    z-index: 1;
}

footer nav ul {
    display: flex;
    gap: 24px;
}

footer nav li {
    list-style: none;
}

footer span,
footer a {
    color: rgba(180, 200, 220, 0.4);
    font-size: 14px;
    font-weight: 400;
}

footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: rgba(180, 200, 220, 0.8);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-icon-wrapper {
    animation: fadeUp 0.8s ease-out both;
}

.app-title {
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.app-tagline {
    animation: fadeUp 0.8s ease-out 0.3s both;
}

header {
    animation: fadeUp 0.6s ease-out 0.5s both;
}

footer {
    animation: fadeUp 0.6s ease-out 0.5s both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 40px 24px;
    }

    .page-wrapper::before {
        top: 35%;
        left: 50%;
    }

    .app-title {
        font-size: 52px;
    }

    .app-tagline {
        margin: 0 auto;
    }

    .app-icon {
        width: 160px;
        height: 160px;
    }

    main {
        padding: 60px 24px 40px;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 40px;
    }

    .app-tagline {
        font-size: 17px;
    }

    .app-icon {
        width: 130px;
        height: 130px;
    }

    main:not(:has(.page-wrapper)) h1 {
        font-size: 28px;
    }
}
