@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
    --bg-0: #0a0b0f;
    --bg-1: #0f131b;
    --ink-0: #f4f7ff;
    --ink-1: #c0c9da;
    --accent: #7de3ff;
    --accent-strong: #aeefff;
    --panel: rgba(13, 18, 26, 0.75);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

html{
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

::-webkit-scrollbar{ /* Chrome, Safari and Opera */
    display: none;
}

body{
    font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    background:
        radial-gradient(1100px 520px at 8% -10%, #13273d 0%, rgba(19, 39, 61, 0) 60%),
        radial-gradient(900px 520px at 92% -20%, #1a2030 0%, rgba(26, 32, 48, 0) 58%),
        linear-gradient(160deg, var(--bg-0), var(--bg-1));
    color: var(--ink-0);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-strong);
}

.site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 32px;
    box-sizing: border-box;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(125, 227, 255, 0.35));
}

.nav-center {
    justify-self: center;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--ink-0);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-center:hover {
    color: var(--accent);
}

.nav-lang {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.nav-lang a {
    text-decoration: none;
    color: var(--ink-0);
}

.nav-lang a:hover {
    color: var(--accent);
}

.nav-sep {
    opacity: 0.5;
}

header{
    display: flex;
    color: #0b0f14;
    background-color: #f4f7ff;
    padding: 16px 20px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav{
    display: inline-flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 8px;
}

.nav > a{
    text-decoration: none;
    color: #0b0f14;
    padding: 0.65rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav > a:hover{
    border-color: rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.04);
}

.nav > a.active{
    border-color: rgba(0, 0, 0, 0.35);
}

main{
    padding: 6vw 8vw;
    font-size: 1.05rem;
    line-height: 1.6;
}

main a{
    color: var(--accent);
    font-weight: 600;
}

main a:hover{
    text-decoration: underline;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6vw;
    height: calc(100vh - 72px);
    padding: 8vw !important;
    font-size: 1rem;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-media img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(125, 227, 255, 0.15));
}

.hero-bio {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-bio h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0;
    font-weight: 700;
}

.hero-bio p {
    margin: 0;
    color: var(--ink-1);
    line-height: 1.7;
}

.site-footer {
    margin-top: auto;
    padding: 64px 8vw 36px;
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.9), rgba(6, 8, 12, 0.98));
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.footer-brand h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--ink-0);
}

.footer-brand p {
    margin: 0 0 20px;
    color: var(--ink-1);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: var(--accent);
    color: #0b0f14;
    font-weight: 700;
}

.footer-cta:hover {
    background-color: var(--accent-strong);
    color: #0b0f14;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-title {
    margin: 0 0 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--ink-1);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-social img {
    width: 28px;
    height: 28px;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-note {
    margin: 0;
    color: var(--ink-1);
    font-size: 0.95rem;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--ink-1);
}

.footer-bottom a {
    color: var(--ink-1);
}

footer{
    background-color: #f4f7ff;
    color: #0b0f14;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

footer a{
    text-decoration: none;
    color: #0b0f14;
}

footer div{
    padding: 10px;
    overflow-x: auto;
}

footer div:first-child{
    padding-top: 20px;
}

footer img{
    width: 46px;
    height: 46px;
}

footer hr{
    margin: 0 7.3vw;
}

.page-404 {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle at 20% 20%, #0b1a24, #000 55%);
    color: white;
}

.page-404 .error-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 7vw 8vw 9vw;
}

.page-404 .error-badge {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.2rem;
    padding: 10px 18px;
    border: 2px solid #89e7ff;
    color: #89e7ff;
    border-radius: 999px;
}

.page-404 .error-title {
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    margin: 8px 0 4px;
}

.page-404 .error-text {
    max-width: 720px;
    margin: 0;
    opacity: 0.85;
}

.page-404 .error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

.page-404 .error-button {
    background-color: #89e7ff;
    color: #000;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.page-404 .error-button:hover {
    background-color: #b3f1ff;
}

.page-404 .error-link {
    color: #89e7ff;
    text-decoration: none;
    padding: 10px 4px;
    font-weight: 700;
}

.page-404 .error-link:hover {
    text-decoration: underline;
}

.page-404 .error-hint {
    margin-top: 8px;
    font-size: 0.95rem;
    opacity: 0.65;
}

@media (max-width: 720px) {
    .site-nav {
        grid-template-columns: auto 1fr auto;
        padding: 16px 20px;
    }

    .nav-center {
        letter-spacing: 0.1em;
        font-size: 0.95rem;
    }

    main{
        padding: 12vw 8vw;
    }

    .hero {
        grid-template-columns: 1fr;
        height: auto;
        gap: 4vw;
        padding: 10vw 6vw !important;
    }

    .hero-media {
        order: -1;
    }

    .hero-bio h1 {
        font-size: clamp(1.4rem, 3vw, 2.2rem);
    }

    .site-footer {
        padding: 48px 6vw 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}