:root {
    --accent-red: #ff3838;
    --text-primary: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', 'Gilmer', sans-serif;
    color: var(--text-primary);
    background-color: #050505;
}

.page {
    position: relative;
    min-height: 100vh;
    background-color: #050505;
}

.top-bar {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(90vw, 640px);
    padding: 12px 22px 12px 28px;
    background: rgba(226, 226, 226, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    gap: 24px;
    z-index: 10;
}

.top-bar__notice {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 13px;
    text-transform: uppercase;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 0 0 0 4px rgba(255, 56, 56, 0.25);
}

.top-bar__contact {
    padding: 8px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #050505;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.top-bar__contact:hover {
    background: var(--accent-red);
    color: #ffffff;
}

.content {
    display: flex;
    flex-direction: column;
}

.hero,
.tagline {
    position: relative;
    min-height: 100vh;
    padding: clamp(140px, 20vh, 220px) clamp(28px, 9vw, 180px);
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero {
    background-image: url('Motion_front_pc.png');
    justify-content: flex-start;
}

.hero__title {
    margin: 0;
    font-size: clamp(64px, 9vw, 132px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    font-weight: 800;
}

.tagline {
    background-image: url('Motion_back_pc.png');
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.tagline__title {
    margin: 0;
    font-size: clamp(52px, 7.5vw, 116px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-weight: 800;
}

.tagline__subtitle {
    margin-top: 24px;
    font-size: clamp(16px, 1.8vw, 28px);
    letter-spacing: 0.24em;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.85;
}

.accent {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-red);
    z-index: 2;
}

.accent--hero {
    top: 48%;
    right: clamp(30px, 9vw, 140px);
    transform: translateY(-50%);
}

.accent--tagline {
    bottom: clamp(60px, 11vh, 140px);
    right: clamp(30px, 9vw, 140px);
}

.footer {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 1160px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    z-index: 3;
}

.footer__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    transition: opacity 0.3s ease;
}

.footer__item:hover {
    opacity: 0.72;
}

.footer__icon {
    width: 22px;
    height: 22px;
}

@media (max-width: 900px) {
    .top-bar {
        width: min(94vw, 520px);
        padding: 10px 16px 10px 22px;
        top: 24px;
    }

    .hero,
    .tagline {
        padding: clamp(120px, 18vh, 200px) 32px;
    }

    .footer {
        position: static;
        transform: none;
        margin: 48px 32px 32px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .top-bar {
        width: calc(100% - 32px);
        left: 16px;
        transform: none;
        top: 18px;
    }

    .hero,
    .tagline {
        min-height: 85vh;
        padding: clamp(96px, 18vh, 160px) 24px clamp(120px, 20vh, 200px);
    }

    .hero {
        background-position: 58% center;
    }

    .hero__title {
        font-size: clamp(48px, 12vw, 96px);
        letter-spacing: -0.02em;
    }

    .accent--hero {
        top: auto;
        bottom: 120px;
        right: 24px;
        transform: none;
    }

    .tagline {
        background-position: center bottom;
    }

    .tagline__title {
        font-size: clamp(42px, 10vw, 84px);
    }

    .tagline__subtitle {
        font-size: clamp(14px, 4vw, 20px);
        letter-spacing: 0.16em;
    }

    .accent--tagline {
        right: 24px;
        bottom: 90px;
    }

    .footer {
        margin: 48px 24px 32px;
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 14px 18px;
    }

    .top-bar__contact {
        width: 100%;
        text-align: center;
    }

    .hero,
    .tagline {
        min-height: 82vh;
        padding: clamp(110px, 24vh, 160px) 20px clamp(120px, 26vh, 180px);
    }

    .footer {
        align-items: stretch;
    }

    .footer__item {
        letter-spacing: 0.04em;
        font-size: 15px;
    }
}
