@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/manrope-400.ttf") format("truetype");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/manrope-500.ttf") format("truetype");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/manrope-600.ttf") format("truetype");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/manrope-700.ttf") format("truetype");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("fonts/manrope-800.ttf") format("truetype");
}

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/space-grotesk-500.ttf") format("truetype");
}

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/space-grotesk-600.ttf") format("truetype");
}

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/space-grotesk-700.ttf") format("truetype");
}

:root {
    --bg: #081321;
    --bg-2: #0c1b30;
    --panel: rgba(10, 25, 47, 0.78);
    --panel-light: rgba(239, 246, 255, 0.94);
    --line: rgba(136, 190, 255, 0.18);
    --text: #edf5ff;
    --text-soft: #a9bfdc;
    --accent: #2d85e8;
    --accent-strong: #0e59b4;
    --gold: #f0c977;
    --shadow: 0 32px 80px rgba(2, 10, 20, 0.32);
    --shadow-soft: 0 18px 42px rgba(8, 23, 40, 0.18);
    --radius-xl: 34px;
    --container: 1240px;
    --section-space: clamp(76px, 9vw, 124px);
    --section-space-tight: clamp(42px, 5vw, 68px);
    --block-gap: clamp(28px, 4vw, 44px);
    --visual-reveal-extra-delay: 120ms;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    overflow-x: clip;
    background:
        radial-gradient(circle at top left, rgba(45, 133, 232, 0.26), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(240, 201, 119, 0.12), transparent 16%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.03) calc(100% - 1px)),
        linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.03) calc(100% - 1px));
    background-size: 120px 120px;
    opacity: 0.3;
}

body::after {
    background:
        radial-gradient(circle at 15% 70%, rgba(45, 133, 232, 0.14), transparent 18%),
        radial-gradient(circle at 78% 38%, rgba(240, 201, 119, 0.09), transparent 14%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 3px solid rgba(240, 201, 119, 0.95);
    outline-offset: 4px;
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 22px 0 36px;
}

.topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 19, 33, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong,
.topnav a,
.button,
.signal-card strong,
.feature-card h3,
.showcase-copy h2,
.highlight-metric strong,
.cta-copy h2 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.brand strong {
    font-size: 1.06rem;
    letter-spacing: -0.03em;
}

.brand small {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.topnav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topnav a,
.topbar-actions a:not(.button) {
    color: var(--text-soft);
    font-weight: 600;
    transition: color 0.2s ease;
}

.topnav a:hover,
.topbar-actions a:not(.button):hover {
    color: #ffffff;
}

.topbar-actions,
.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 30px rgba(45, 133, 232, 0.22);
}

.button-secondary {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(38px, 5vw, 66px);
    align-items: center;
    padding: 56px 0 64px;
    min-width: 0;
}

.hero-copy {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: #d3e6ff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: -0.05em;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 0.97;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

.hero p,
.section-heading p,
.feature-card p,
.showcase-copy p,
.benefit-row p,
.highlight-metric span,
.cta-copy p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.hero-points,
.showcase-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-points li,
.showcase-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
}

.hero-points li::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-top: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff, var(--accent));
    box-shadow: 0 0 0 8px rgba(45, 133, 232, 0.12);
}

.showcase-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-top: 4px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--gold), #fff4c7);
    box-shadow: inset 0 0 0 4px rgba(8, 19, 33, 0.44);
}

.hero-stage {
    position: relative;
    min-width: 0;
}

.hero-stage.reveal.reveal-pending {
    transform: translate3d(40px, 0, 0);
    transition-delay: calc(var(--reveal-delay, 0ms) + var(--visual-reveal-extra-delay));
}

.hero-stage.reveal.reveal-pending.is-visible {
    transform: translate3d(0, 0, 0);
}

.hero-frame {
    transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
    transform-origin: center center;
}

.visual-frame {
    width: 100%;
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.visual-frame img {
    width: 100%;
    border-radius: 22px;
}

.badge-floating {
    position: absolute;
    z-index: 2;
    width: min(240px, 48%);
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(7, 18, 34, 0.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.badge-floating strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.badge-floating span {
    display: block;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.badge-top-right {
    top: -16px;
    right: -14px;
}

.badge-bottom-left {
    left: -18px;
    bottom: 14px;
}

.signal-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 6px 0 var(--section-space);
}

.signal-card,
.feature-card,
.highlight-panel,
.cta-block {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--panel);
    box-shadow: var(--shadow-soft);
}

.signal-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.signal-card span {
    color: var(--text-soft);
    line-height: 1.65;
}

.section-block,
.benefits-block {
    padding: var(--section-space) 0 0;
}

.section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: clamp(34px, 5vw, 52px);
    max-width: 860px;
    min-width: 0;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.1vw, 3.4rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    min-height: 238px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

.showcase-block {
    display: grid;
    gap: clamp(48px, 7vw, 82px);
    padding: var(--section-space-tight) 0 0;
}

.showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(34px, 5vw, 58px);
    align-items: center;
    padding: 0;
    min-width: 0;
}

.showcase-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.showcase-reverse .showcase-copy {
    order: 2;
}

.showcase-reverse .showcase-visual {
    order: 1;
}

.showcase-copy {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.showcase-visual {
    min-width: 0;
}

.showcase-visual.reveal.reveal-pending {
    opacity: 0;
    transform: translate3d(52px, 0, 0);
    transition: opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1), transform 1.08s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-delay, 0ms) + var(--visual-reveal-extra-delay));
}

.showcase-reverse .showcase-visual.reveal.reveal-pending {
    transform: translate3d(-52px, 0, 0);
}

.showcase-visual.reveal.reveal-pending.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.showcase-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 2.7vw, 3rem);
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.benefits-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
    min-width: 0;
}

.benefits-copy {
    display: grid;
    gap: 22px;
}

.benefit-row {
    padding: 26px 28px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--panel);
}

.benefit-row strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.08rem;
}

.highlight-panel {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 20px;
}

.highlight-metric {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-metric:last-child {
    border-bottom: 0;
}

.highlight-metric span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.highlight-metric strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.45;
}

.cta-block {
    margin-top: var(--section-space-tight);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-width: 0;
}

.cta-copy {
    max-width: 700px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.cta-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    letter-spacing: -0.05em;
}

.footer {
    padding: 44px 0 16px;
    text-align: center;
}

.footer p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-top: 12px;
}

.footer-links a {
    color: var(--text-soft);
    font-size: 0.92rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: none;
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 22px;
    border: 1px solid rgba(136, 190, 255, 0.24);
    border-radius: 24px;
    background: rgba(7, 18, 34, 0.94);
    box-shadow: 0 24px 56px rgba(2, 10, 20, 0.34);
    backdrop-filter: blur(18px);
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner__text {
    margin: 0 0 14px;
    color: var(--text-soft);
    line-height: 1.65;
}

.cookie-banner__text a {
    color: #dceeff;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-btn {
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.cookie-btn--accept {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 30px rgba(45, 133, 232, 0.22);
}

.cookie-btn--decline {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.reveal-pending {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1), transform 1.02s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.reveal-pending.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .reveal.reveal-pending,
    .reveal.reveal-pending.is-visible {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .topbar {
        grid-template-columns: 1fr;
        justify-items: start;
        border-radius: 30px;
    }

    .topnav,
    .topbar-actions {
        justify-content: flex-start;
    }

    .hero,
    .showcase,
    .showcase-reverse,
    .benefits-layout,
    .cta-block {
        grid-template-columns: 1fr;
    }

    .showcase-reverse .showcase-copy,
    .showcase-reverse .showcase-visual {
        order: initial;
    }

    .feature-grid,
    .signal-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight-panel {
        position: relative;
        top: 0;
    }

    .hero-frame {
        transform: none;
    }

    .hero-stage.reveal.reveal-pending {
        transform: translate3d(28px, 0, 0);
    }

    .showcase-visual.reveal.reveal-pending,
    .showcase-reverse .showcase-visual.reveal.reveal-pending {
        transform: translate3d(28px, 0, 0);
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(calc(100% - 28px), var(--container));
        padding-top: 14px;
    }

    .topbar {
        position: static;
        padding: 16px;
    }

    .brand img {
        width: 68px;
        height: 68px;
    }

    .feature-grid,
    .signal-band {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 28px 0 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.02;
    }

    .section-block,
    .benefits-block {
        padding-top: 72px;
    }

    .showcase-block {
        gap: 46px;
        padding-top: 34px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .feature-card {
        min-height: auto;
    }

    .section-heading h2,
    .showcase-copy h2,
    .cta-copy h2 {
        font-size: 1.8rem;
        line-height: 1.08;
    }

    .badge-floating {
        position: relative;
        inset: auto;
        width: 100%;
        margin-bottom: 12px;
    }

    .topnav {
        gap: 12px;
    }

    .topnav a,
    .topbar-actions a:not(.button),
    .hero p,
    .section-heading p,
    .showcase-copy p,
    .benefit-row p,
    .highlight-metric strong,
    .highlight-metric span {
        overflow-wrap: anywhere;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 18px;
        border-radius: 20px;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-block {
        margin-top: 56px;
    }

    .hero-stage.reveal.reveal-pending {
        transform: translate3d(18px, 0, 0);
    }

    .showcase-visual.reveal.reveal-pending,
    .showcase-reverse .showcase-visual.reveal.reveal-pending {
        transform: translate3d(18px, 0, 0);
    }
}
