:root {
    --color-white: #ffffff;
    --color-soft-white: rgba(255, 255, 255, 0.82);
    --color-muted-white: rgba(255, 255, 255, 0.62);
    --color-glass: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.22);
    --color-primary: #6ea8ff;
    --color-primary-light: #a8cfff;
    --shadow-soft: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-white);
    background-color: #050816;
    overflow: hidden;
}

.home-screen {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    padding: 32px;
    isolation: isolate;
    background:
            linear-gradient(120deg, rgba(3, 8, 23, 0.92) 0%, rgba(8, 20, 48, 0.7) 42%, rgba(3, 8, 23, 0.28) 100%),
            url("../assets/senior-home.jpg") center / cover no-repeat;
}

.home-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
            radial-gradient(circle at 20% 25%, rgba(110, 168, 255, 0.34), transparent 32%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.14), transparent 30%);
}

.home-overlay {
    position: absolute;
    inset: 18px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    pointer-events: none;
}

.home-content {
    width: min(100%, 70%);
    padding: clamp(32px, 6vw, 72px);
    text-align: center;
    border: 1px solid var(--color-glass-border);
    border-radius: 36px;
    background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    animation: contentReveal 900ms ease-out both;
}

.home-logo {
    width: min(210px, 58vw);
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    padding: 10px 18px;
    color: var(--color-primary-light);
    font-size: 1.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(168, 207, 255, 0.38);
    border-radius: 999px;
    background-color: rgba(110, 168, 255, 0.12);
}

h1 {
    max-width: 70%;
    margin: 0 auto;
    font-size: clamp(3rem, 8vw, 7.4rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.08em;
    text-wrap: balance;
}

.home-slogan {
    max-width: 680px;
    margin: 30px auto 0;
    color: var(--color-soft-white);
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    font-weight: 400;
    line-height: 1.55;
    text-wrap: balance;
}

.home-actions {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.privacy-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    color: #07111f;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #dcecff 100%);
    box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition:
            transform 220ms ease,
            box-shadow 220ms ease,
            background 220ms ease;
}

.privacy-button:hover {
    color: #07111f;
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #cbe2ff 100%);
    box-shadow:
            0 24px 56px rgba(0, 0, 0, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.privacy-button:focus-visible {
    outline: 3px solid rgba(168, 207, 255, 0.95);
    outline-offset: 5px;
}

.home-signature {
    position: absolute;
    right: 34px;
    bottom: 28px;
    color: var(--color-muted-white);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

@keyframes contentReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    html,
    body {
        min-height: 100%;
        overflow-x: hidden;
    }

    body {
        overflow: auto;
    }

    .home-screen {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
        justify-content: center;
        padding: 16px;
        background:
                linear-gradient(180deg, rgba(3, 8, 23, 0.12) 0%, rgba(3, 8, 23, 0.52) 38%, rgba(3, 8, 23, 0.96) 100%),
                url("../assets/senior-home.jpg") 58% center / cover no-repeat;
    }

    .home-screen::before {
        background:
                radial-gradient(circle at 50% 78%, rgba(110, 168, 255, 0.22), transparent 34%),
                radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.10), transparent 28%);
    }

    .home-overlay {
        inset: 10px;
        border-radius: 24px;
        border-color: rgba(255, 255, 255, 0.10);
    }

    .home-content {
        width: 100%;
        max-width: 520px;
        padding: 28px 22px 24px;
        border-radius: 28px;
        background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.075));
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .home-logo {
        width: clamp(86px, 26vw, 118px);
        margin-bottom: 18px;
    }

    .home-kicker {
        margin-bottom: 18px;
        padding: 9px 14px;
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.45rem, 13vw, 4.25rem);
        line-height: 0.95;
        letter-spacing: -0.065em;
    }

    .home-slogan {
        max-width: 100%;
        margin-top: 20px;
        font-size: clamp(1rem, 4.4vw, 1.18rem);
        line-height: 1.48;
    }

    .home-actions {
        margin-top: 28px;
    }

    .privacy-button {
        width: 100%;
        min-height: 54px;
        padding: 0 22px;
        font-size: 0.96rem;
    }

    .privacy-button:hover {
        transform: none;
    }

    .home-signature {
        display: none;
    }
}

@media (max-width: 380px) {
    .home-screen {
        padding: 12px;
    }

    .home-overlay {
        inset: 7px;
        border-radius: 20px;
    }

    .home-content {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .home-logo {
        width: 82px;
        margin-bottom: 16px;
    }

    .home-kicker {
        margin-bottom: 16px;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    h1 {
        font-size: clamp(2.15rem, 12.5vw, 3.2rem);
    }

    .home-slogan {
        margin-top: 18px;
        font-size: 0.98rem;
    }

    .home-actions {
        margin-top: 24px;
    }

    .privacy-button {
        min-height: 52px;
        font-size: 0.92rem;
    }
}