:root {
    --bg-page: #0b0f19;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;

    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    height: 100%;
}

body.page {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ─── Ambient Glow & Code Backdrop ─── */
.page__bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 50% 35%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

.page__code-backdrop {
    position: absolute;
    inset: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.03);
    user-select: none;
}

/* ─── Minimal Centered Landing ─── */
.landing {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    padding: 48px 24px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 1. Logo */
.landing__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: transform var(--transition);
}

.landing__logo-wrap:hover {
    transform: scale(1.03);
}

.landing__logo {
    width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 2. Heading */
.landing__title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.16;
    color: #ffffff;
    margin-bottom: 18px;
    text-wrap: balance;
}

/* 3. Description */
.landing__desc {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 36px;
    text-wrap: balance;
}

/* 4. Contacts */
.landing__contacts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
}

.landing__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.landing__cta--tg {
    background: var(--accent-blue);
    color: #ffffff;
    border: 1.5px solid var(--accent-blue);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.landing__cta--tg:hover {
    background: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.5);
}

.landing__cta--mail {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.landing__cta--mail:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.landing__cta-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .landing {
        padding: 36px 20px;
    }

    .landing__logo {
        width: 150px;
    }

    .landing__contacts {
        flex-direction: column;
        gap: 12px;
    }

    .landing__cta {
        width: 100%;
    }
}
