:root {
    --c-blue-dark: #1f3a78;
    --c-blue-mid: #2e6bb8;
    --c-blue: #3b9be6;
    --c-gray-dark: #4a4a4a;
    --c-gray: #8a8d94;
    --c-gray-soft: #e8e8ea;
    --c-ink: #14182a;
    --c-paper: #fafbfd;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--c-ink);
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    overflow-x: hidden;
}

/* Subtle floating orbs */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

body::before {
    width: 320px;
    height: 320px;
    top: 8%;
    left: 6%;
    background: radial-gradient(circle, rgba(59, 155, 230, 0.55), transparent 70%);
    animation: float 14s ease-in-out infinite;
}

body::after {
    width: 380px;
    height: 380px;
    bottom: 6%;
    right: 8%;
    background: radial-gradient(circle, rgba(31, 58, 120, 0.45), transparent 70%);
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -30px);
    }
}

.card {
    position: relative;
    z-index: 1;
    max-width: 760px;
    width: 100%;
    text-align: center;
    padding: 64px 40px;
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(31, 58, 120, 0.18));
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.brand {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-blue-mid);
    margin: 0 0 18px;
    opacity: 0;
    animation: fade 1s 0.2s ease-out forwards;
}

.years {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--c-gray);
    margin: 0 0 28px;
    letter-spacing: 0.18em;
    opacity: 0;
    animation: fade 1s 0.4s ease-out forwards;
}

.years .line {
    width: 36px;
    height: 1px;
    background: var(--c-gray-soft);
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    margin: 0 0 24px;
    opacity: 0;
    animation: fade 1s 0.6s ease-out forwards;
}

h1 em {
    font-style: italic;
    color: var(--c-blue-dark);
    font-weight: 500;
}

p.message {
    max-width: 560px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.75;
    color: #3a3f55;
    font-weight: 400;
    opacity: 0;
    animation: fade 1s 0.85s ease-out forwards;
}

p.message .dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-blue);
    margin: 0 10px 3px;
    vertical-align: middle;
}

.signature {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(31, 58, 120, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fade 1s 1.1s ease-out forwards;
}

.signature .name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-blue-dark);
}

.signature .place {
    font-size: 13px;
    color: var(--c-gray);
    letter-spacing: 0.04em;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer.foot {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: var(--c-gray);
    letter-spacing: 0.12em;
    z-index: 1;
    opacity: 0;
    animation: fade 1s 1.4s ease-out forwards;
}

@media (max-width: 520px) {
    .card {
        padding: 44px 22px;
        border-radius: 20px;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    p.message {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
}

.lang-switch {
    margin-top: 32px !important;
    font-size: 15px;
    color: var(--c-blue);
    font-weight: 500;
}

.lang-switch a {
    color: #1b1b42;
}