@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display'), local('-apple-system');
    font-weight: 700;
}

@font-face {
    font-family: 'SF Pro Text';
    src: local('SF Pro Text'), local('-apple-system');
    font-weight: 400;
}

:root {
    --primary: #123555;
    --bg-start: #E0EAF0;
    --bg-end: #E9FFC7;
    --container-max-width: 1200px;
    --accent-stroke: #2D83D2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Text', sans-serif;
    color: var(--primary);
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, p, span, div, a {
    color: var(--primary);
}

h1, h2, h3, .logo {
    font-family: 'SF Pro Display', sans-serif;
}

.text-center {
    text-align: center;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.header-container {
    padding: 24px;
    display: flex;
    justify-content: center;
}

.navbar {
    background: #000000;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    color: #FFFFFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
}

.btn-journal {
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
}

/* ─── HERO ───────────────────────────────────────── */
.hero-text-block {
    padding: 80px 20px 40px;
}

.hero-text-block h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.subtitle {
    font-size: 20px;
    margin-bottom: 40px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 20px;
    transition: 0.2s;
    background: transparent;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* ─── CONTENT ROWS ───────────────────────────────── */
.full-width-content-row {
    display: flex;
    width: 100%;
    align-items: flex-start;
    padding: 80px 0;
}

.image-col-full {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.mockup-img-edge {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left top;
    mix-blend-mode: multiply;
}

.text-col-contained {
    flex: 0 0 50%;
    width: 50%;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.text-content-wrapper {
    max-width: 520px;
    width: 100%;
}

.text-content-wrapper h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.dropcap-text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 28px;
    color: var(--primary);
}

.dropcap {
    display: inline;
    font-size: 30px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 300;
    line-height: inherit;
    color: var(--primary);
}

.feature-text {
    font-size: 22px;
    line-height: 1.6;
    color: var(--primary);
}

.feature-text strong {
    font-weight: 700;
    color: var(--primary);
}

/* ─── TITLE BLOCKS ───────────────────────────────── */
.title-block {
    text-align: center;
    padding: 160px 20px;
    clear: both;
    position: relative;
    overflow: hidden;
}

.title-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
    z-index: 1;
}

.title-bear::before {
    background-image: url('dots_bear_fhd.png');
    opacity: 0.39;
}

.title-horses::before {
    background-image: url('dots_horses.png');
}

.title-block h2 {
    font-size: 80px;
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
}

/* ─── CTA ────────────────────────────────────────── */
.cta-block {
    position: relative;
    padding: 260px 20px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    clear: both;
}

.cta-bg-wings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.cta-content h2 {
    font-size: 64px;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--primary);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 48px;
}

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
    background-color: #000000;
    padding: 60px 80px;
    text-align: right;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.site-footer p, .site-footer span, .site-footer div {
    color: #FFFFFF;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.footer-content p {
    font-size: 14px;
    font-weight: 300;
    color: #FFFFFF !important;
    opacity: 1;
    margin-bottom: 4px;
}

.footer-sub {
    font-weight: 300 !important;
    color: #FFFFFF !important;
    opacity: 0.6 !important;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
    .text-col-contained {
        padding-left: 40px;
        padding-right: 40px;
    }
    .full-width-content-row {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 14px; /* Посунуто calculate ближче до journal */
    }
    .hero-text-block h1 {
        font-size: 42px;
    }
    .title-block h2 {
        font-size: 50px;
    }
    .full-width-content-row {
        flex-direction: column;
        padding: 0;
    }
    .image-col-full, .text-col-contained {
        width: 100%;
        flex: 0 0 100%;
    }
    .image-col-full {
        justify-content: center;
        padding: 20px;
    }
    .mockup-img-edge {
        object-position: center;
        max-width: 100%;
        width: auto;
    }
    .text-col-contained {
        padding: 30px 20px;
        justify-content: center;
        text-align: left;
        align-items: flex-start;
        padding-top: 0;
    }
    .text-content-wrapper {
        max-width: 100%;
    }
    .text-content-wrapper h2 {
        font-size: 28px;
    }
    .dropcap-text, .feature-text {
        font-size: 18px;
    }
    .dropcap {
        font-size: 52px;
    }
    .site-footer {
        padding: 40px 20px;
        text-align: center;
    }
    .cta-block {
        padding-top: 140px;
    }
}

/* ─── FIRST CONTENT ROW — text pushed down ───────── */
.first-content-row .text-col-contained {
    padding-top: 220px;
}

@media (max-width: 768px) {
    .first-content-row .text-col-contained {
        padding-top: 0;
    }
}