/* ----- Self-hosted Geist font ----- */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300; font-display: swap; src: url('/static/fonts/geist-300.ttf') format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/geist-400.ttf') format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/geist-500.ttf') format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/geist-600.ttf') format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/geist-700.ttf') format('truetype'); }

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

/* ----- Layout helpers ----- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%; }
.narrow { max-width: 880px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { opacity: .55; }

/* ----- Navigation ----- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(0,0,0,0.55);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background .4s;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px;
}
.logo {
    font-weight: 600; font-size: 21px; letter-spacing: -.02em;
}
.logo span { color: #0071e3; }
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
    background: #0071e3; color: #fff !important; opacity: 1 !important;
    padding: 8px 18px; border-radius: 999px; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #0077ed; transform: translateY(-1px); }

/* ----- HERO ----- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    padding: 120px 24px 80px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0,113,227,0.25), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(120,80,255,0.22), transparent 60%),
        url('/static/tlo.jpg') center/cover no-repeat,
        #000;
    z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 980px; will-change: transform, opacity; }
.hero-title {
    font-size: clamp(44px, 8vw, 104px);
    font-weight: 600; letter-spacing: -0.028em; line-height: 1.04;
    margin-bottom: 32px;
}
.hero-title .line { display: block; opacity: 0; transform: translateY(40px); animation: rise .9s forwards; }
.hero-title .line:nth-child(1) { animation-delay: .1s; }
.hero-title .line:nth-child(2) { animation-delay: .25s; }
.hero-title .line:nth-child(3) { animation-delay: .4s; }
.hero-sub {
    font-size: clamp(17px, 1.6vw, 22px);
    opacity: 0; transform: translateY(20px);
    animation: rise 1s .65s forwards;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.hero-belief {
    font-size: clamp(14px, 1.2vw, 17px);
    opacity: 0; transform: translateY(20px);
    animation: rise 1s .8s forwards;
    color: rgba(255,255,255,0.45);
    font-style: italic;
    margin-bottom: 40px;
}
.gradient {
    background: linear-gradient(135deg, #0071e3 0%, #8a5cf6 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text {
    background: linear-gradient(135deg, #0071e3 0%, #8a5cf6 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: #0071e3; color: #fff;
    padding: 16px 32px; border-radius: 999px;
    font-size: 16px; font-weight: 600;
    transition: background .25s, transform .25s, box-shadow .25s;
    opacity: 0; animation: rise 1s .85s forwards;
    box-shadow: 0 10px 40px rgba(0,113,227,0.35);
}
.cta:hover { background: #0077ed; transform: translateY(-2px); box-shadow: 0 14px 50px rgba(0,113,227,0.5); }
.cta .arrow { transition: transform .25s; }
.cta:hover .arrow { transform: translateX(4px); }
.cta-light {
    background: #fff; color: #000; box-shadow: 0 10px 40px rgba(255,255,255,0.15);
}
.cta-light:hover { background: #f2f2f2; box-shadow: 0 14px 50px rgba(255,255,255,0.25); }

.scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
    opacity: .4; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ----- Sections ----- */
.section {
    padding: 160px 24px;
    position: relative;
}
.section-light { background: #fff; color: #000; }
.section-dark { background: #000; color: #fff; }
.eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
    color: #0071e3; margin-bottom: 24px;
}
.big {
    font-size: clamp(36px, 5.2vw, 68px);
    font-weight: 500; letter-spacing: -0.025em; line-height: 1.08;
    margin-bottom: 32px;
}
.huge {
    font-size: clamp(42px, 6.5vw, 88px);
    font-weight: 500; letter-spacing: -0.028em; line-height: 1.05;
    margin-bottom: 40px;
}
.lead {
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.55;
    max-width: 720px;
    color: inherit; opacity: .75;
}
.center .lead { margin-left: auto; margin-right: auto; }

/* ----- Systemy split ----- */
.systemy-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.systemy-text { max-width: 560px; }
.systemy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.systemy-visual img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
    .systemy-split { grid-template-columns: 1fr; gap: 32px; }
    .systemy-visual img { max-width: 220px; margin: 0 auto; }
}

/* ----- AI split ----- */
.ai-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ai-text { max-width: 560px; }
.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-visual img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
    .ai-split { grid-template-columns: 1fr; gap: 32px; }
    .ai-visual img { max-width: 220px; margin: 0 auto; }
}

/* ----- Split section ----- */
.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    max-width: 1300px; margin: 0 auto;
}
.split-text { padding-left: 32px; }
.split-visual { padding-right: 32px; }
.auto-img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.dashboard {
    background: linear-gradient(160deg, #0a0a0f 0%, #14141c 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0,113,227,0.15), 0 0 0 1px rgba(255,255,255,0.04);
}

/* Dashboard header */
.dash-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-header-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-header-dot.green { background: #28c840; box-shadow: 0 0 6px rgba(40,200,64,0.5); }
.dash-header-title {
    font-size: 12px; font-weight: 500; letter-spacing: .02em;
    color: rgba(255,255,255,0.5); flex: 1;
}
.dash-header-dots { display: flex; gap: 4px; }
.dash-header-dots span {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

/* Metric cards */
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.dash-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.dash-row-2 { grid-template-columns: 1fr 1fr; }
.dash-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 14px;
}
.dash-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .45; }
.dash-num { font-size: 28px; font-weight: 700; margin: 6px 0; }
.dash-unit { font-size: 16px; font-weight: 500; opacity: .6; }
.dash-bar { background: rgba(255,255,255,0.08); height: 3px; border-radius: 3px; overflow: hidden; }
.dash-bar span {
    display: block; height: 100%;
    background: linear-gradient(90deg, #0071e3, #8a5cf6);
    border-radius: 3px;
}
.dash-bar.bar-green span {
    background: linear-gradient(90deg, #28c840, #5de07a);
}

/* Chart */
.dash-chart {
    background: rgba(255,255,255,0.02); border-radius: 12px;
    padding: 14px; margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.dash-chart-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px;
}
.dash-chart-title { font-size: 11px; opacity: .45; letter-spacing: .05em; text-transform: uppercase; }
.dash-chart-badge {
    font-size: 11px; font-weight: 600; color: #28c840;
    background: rgba(40,200,64,0.12); padding: 2px 8px;
    border-radius: 999px;
}
.dash-chart svg { width: 100%; height: 80px; }
.dash-chart-legend {
    display: flex; gap: 16px; margin-top: 8px;
}
.dash-chart-legend span {
    font-size: 10px; opacity: .45; display: flex; align-items: center; gap: 5px;
}
.legend-dot {
    width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.legend-dot.blue { background: #0071e3; }
.legend-dot.purple { background: #8a5cf6; }

/* Task list */
.dash-tasks {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 16px;
}
.dash-task {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
}
.task-status {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.task-status.done { background: #28c840; }
.task-status.running { background: #0071e3; animation: pulse-dot 1.5s infinite; }
.task-status.pending { background: rgba(255,255,255,0.2); }
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.task-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.task-name {
    display: block; width: 65%; height: 5px;
    background: rgba(255,255,255,0.12); border-radius: 3px;
}
.task-meta {
    display: block; width: 40%; height: 4px;
    background: rgba(255,255,255,0.06); border-radius: 2px;
}
.task-badge {
    font-size: 9px; font-weight: 700; letter-spacing: .05em;
    padding: 2px 8px; border-radius: 999px; flex-shrink: 0;
}
.task-badge.ok { background: rgba(40,200,64,0.15); color: #28c840; }
.task-badge.run { background: rgba(0,113,227,0.15); color: #0071e3; }
.task-badge.wait { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); }

/* Mini stats */
.dash-mini {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 12px 14px;
}
.dash-mini-icon { font-size: 20px; }
.dash-mini-val { font-size: 20px; font-weight: 700; line-height: 1.2; }
.dash-mini-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .4; }

/* ----- Portfolio tiles ----- */
.portfolio-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}
.tile {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 40px -12px rgba(0,0,0,0.08);
    transition: transform .35s ease, box-shadow .35s ease;
}
.tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 24px 60px -12px rgba(0,113,227,0.18);
}
.tile-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f5f5f7;
}
.tile-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s ease;
}
.tile:hover .tile-img img { transform: scale(1.05); }
.tile-body {
    padding: 20px 22px 24px;
}
.tile-body h3 {
    font-size: 18px; font-weight: 500; letter-spacing: -.015em;
    margin-bottom: 8px; color: #000;
}
.tile-body p {
    font-size: 14px; line-height: 1.5; color: rgba(0,0,0,0.55); margin: 0;
}
.tile-body .case-tags { margin-bottom: 12px; }
.tile-body .case-tag { font-size: 10px; padding: 3px 10px; }
@media (max-width: 700px) {
    .portfolio-tiles { grid-template-columns: 1fr; gap: 16px; }
}

/* ----- Portfolio pagination ----- */
.portfolio-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}
.portfolio-pagination[hidden] { display: none; }
.portfolio-pagination .pp-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    color: rgba(0,0,0,0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.portfolio-pagination .pp-btn:hover:not(:disabled) {
    background: #0071e3;
    border-color: #0071e3;
    color: #fff;
}
.portfolio-pagination .pp-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.portfolio-pagination .pp-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.portfolio-pagination .pp-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
}
.portfolio-pagination .pp-dot:hover { background: rgba(0,0,0,0.4); }
.portfolio-pagination .pp-dot.active {
    background: #0071e3;
    transform: scale(1.3);
}
.portfolio-tiles .tile[hidden] { display: none; }

/* ----- Case modal ----- */
.case-modal {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.case-modal.active { opacity: 1; visibility: visible; }
.case-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
}
.case-modal-content {
    position: relative; z-index: 1;
    background: #fff;
    border-radius: 20px;
    max-width: 720px; width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.35);
    transform: translateY(20px) scale(0.97);
    transition: transform .35s ease;
}
.case-modal.active .case-modal-content {
    transform: translateY(0) scale(1);
}
.case-modal-x {
    position: absolute; top: 16px; right: 20px; z-index: 5;
    background: rgba(0,0,0,0.5); border: none;
    width: 36px; height: 36px; border-radius: 50%;
    color: #fff; font-size: 22px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.case-modal-x:hover { background: rgba(0,0,0,0.7); }

/* Modal gallery */
.case-modal-gallery {
    position: relative;
    background: #f5f5f7;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}
.case-modal-gallery .gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    aspect-ratio: 4/3;
}
.case-modal-gallery .gallery-track::-webkit-scrollbar { display: none; }
.case-modal-gallery .gallery-track img {
    flex: 0 0 100%;
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    scroll-snap-align: center;
    cursor: pointer;
    padding: 20px;
}
.case-modal-gallery .gallery-controls {
    position: absolute;
    bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 12px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    padding: 6px 14px; border-radius: 999px; z-index: 2;
}
.gallery-btn {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: none; color: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s; padding: 0;
}
.gallery-btn:hover { background: rgba(255,255,255,0.25); }
.gallery-dots { display: flex; gap: 6px; align-items: center; }
.gallery-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none; cursor: pointer; padding: 0;
    transition: background .25s, width .25s;
}
.gallery-dot.active { background: #fff; width: 18px; border-radius: 999px; }

/* Modal body */
.case-modal-body {
    padding: 32px 32px 36px;
}
.case-modal-body h3 {
    font-size: 24px; font-weight: 500; letter-spacing: -.02em;
    margin-bottom: 20px; color: #000;
}
.case-modal-body .case-tags {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.case-modal-body .case-tag {
    font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(0,113,227,0.08); color: #0071e3;
}
.case-section { margin-bottom: 24px; }
.case-section:last-child { margin-bottom: 0; }
.case-section-label {
    font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: #0071e3; margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.case-section-label::before {
    content: ''; width: 20px; height: 2px;
    background: #0071e3; border-radius: 2px;
}
.case-section p {
    font-size: 15px; line-height: 1.65; color: rgba(0,0,0,0.65); margin: 0;
}

@media (max-width: 600px) {
    .case-modal-content { width: 100vw; max-height: 100vh; border-radius: 0; }
    .case-modal-gallery { border-radius: 0; }
    .case-modal-body { padding: 24px 20px 28px; }
}

/* Problem block — always visible */
.case-problem {
    background: rgba(0,0,0,0.03);
    border-left: 3px solid #0071e3;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 28px;
}
.case-problem p {
    font-size: 15px; line-height: 1.65; color: rgba(0,0,0,0.7); margin: 0;
}

/* Toggle button */
.case-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 600;
    color: #0071e3; padding: 0;
    transition: gap .3s;
}
.case-toggle:hover { gap: 12px; }
.case-toggle-icon {
    transition: transform .4s ease;
}
.case-toggle[aria-expanded="true"] .case-toggle-icon {
    transform: rotate(180deg);
}
.case-toggle[aria-expanded="true"] .case-toggle-text::after {
    content: none;
}

/* Expandable details */
.case-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s ease, margin .5s ease;
    margin-top: 0;
}
.case-details.open {
    grid-template-rows: 1fr;
    margin-top: 32px;
}
.case-details-inner {
    overflow: hidden;
}
.case-detail-item {
    padding-bottom: 24px;
}
.case-detail-item:last-child { padding-bottom: 0; }
.case-detail-label {
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: #0071e3; margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.case-detail-label::before {
    content: '';
    width: 24px; height: 2px;
    background: #0071e3; border-radius: 2px;
}
.case-detail-item p {
    font-size: 15px; line-height: 1.65; color: rgba(0,0,0,0.65);
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.active {
    opacity: 1; visibility: visible;
}
.lightbox-img {
    max-width: 90vw; max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    transform: scale(0.92); transition: transform .4s ease;
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 24px; right: 32px;
    background: none; border: none;
    color: #fff; font-size: 36px; cursor: pointer;
    opacity: .7; transition: opacity .2s;
    line-height: 1;
}
.lightbox-close:hover { opacity: 1; }

/* ----- Process flow animation ----- */
.process-flow {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
}
.process-flow svg {
    width: 100%;
    height: auto;
}
@media (max-width: 900px) {
    .process-flow { margin: 32px -20px 0; width: calc(100% + 40px); }
}

/* ----- Process ----- */
.process {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.process-step {
    padding: 40px 28px 8px 0;
    border-top: 1px solid transparent;
    margin-top: -1px;
    position: relative;
}
.process-step::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; width: 40px; height: 1px;
    background: #0071e3;
}
.process-num {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    color: #0071e3;
    margin-bottom: 28px;
    font-variant-numeric: tabular-nums;
}
.process-step h3 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.015em;
    margin-bottom: 14px;
}
.process-step p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}
@media (max-width: 900px) {
    .process { grid-template-columns: 1fr; gap: 0; }
    .process-step { padding: 36px 0 8px; border-top: 1px solid rgba(255,255,255,0.10); }
    .process-step:first-child { border-top: none; }
    .process-step::before { display: none; }
}

/* ----- CTA section ----- */
.section-cta {
    background: #000;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 40px;
}

/* CTA graphic */
.cta-graphic {
    margin-top: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.cta-graphic svg {
    width: 100%;
    height: auto;
}
.cta-graphic a { cursor: pointer; }
.cta-svg-btn {
    transition: fill .25s ease, filter .25s ease;
}
.cta-graphic a:hover .cta-svg-btn {
    fill: #0071e3;
}
.cta-graphic a:hover text {
    fill: #ffffff;
}
@media (max-width: 900px) {
    .section-cta { padding-bottom: 60px; overflow: hidden; }
    .cta-graphic {
        margin-top: 24px;
        max-width: none;
        width: 160%;
        margin-left: -30%;
    }
}
@media (max-width: 600px) {
    .section-cta { padding-bottom: 40px; }
    .cta-graphic {
        margin-top: 16px;
        width: 200%;
        margin-left: -50%;
    }
}

/* ----- Footer ----- */
.footer {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 80px 24px 40px;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    padding-bottom: 60px;
}
.footer-grid-form { gap: 64px; align-items: start; }
.footer-left .contact-info { margin-top: 32px; text-align: left; }
.big-logo { font-size: 32px; margin-bottom: 14px; }
.contact-info p { margin-bottom: 8px; opacity: .8; }
.contact-info a:hover { color: #0071e3; }

/* Contact form */
.form-heading {
    font-size: 22px; font-weight: 500; margin-bottom: 24px;
    letter-spacing: -.015em;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; }
.contact-form input,
.contact-form textarea {
    font-family: inherit; font-size: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    transition: border-color .2s, background .2s;
    outline: none;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0071e3;
    background: rgba(0,113,227,0.06);
}
.contact-form input.error,
.contact-form textarea.error {
    border-color: #ff4d4f;
}
.form-consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.5);
    cursor: pointer;
}
.form-consent input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0;
    margin-top: 1px; accent-color: #0071e3;
}
.form-consent a { color: #0071e3; text-decoration: underline; }
.form-submit {
    align-self: flex-start;
    opacity: 1; animation: none;
    margin-top: 4px;
}
.form-submit:disabled {
    opacity: .5; cursor: wait;
}
.form-status {
    font-size: 14px; line-height: 1.5; min-height: 20px;
}
.form-status.success { color: #28c840; }
.form-status.error { color: #ff4d4f; }

/* Delete data */
.delete-data { margin-top: 24px; }
.delete-toggle {
    background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-decoration: underline;
    padding: 0; transition: color .2s;
}
.delete-toggle:hover { color: rgba(255,255,255,0.6); }
.delete-form { margin-top: 14px; }
.delete-form p { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.delete-row { display: flex; gap: 10px; }
.delete-row input {
    flex: 1; font-family: inherit; font-size: 13px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px; padding: 10px 14px;
    color: #fff; outline: none;
}
.delete-row input:focus { border-color: #0071e3; }
.delete-btn {
    font-family: inherit; font-size: 13px; font-weight: 600;
    background: rgba(255,77,79,0.15); color: #ff4d4f;
    border: 1px solid rgba(255,77,79,0.3);
    border-radius: 8px; padding: 10px 18px;
    cursor: pointer; white-space: nowrap;
    transition: background .2s;
}
.delete-btn:hover { background: rgba(255,77,79,0.25); }
@media (max-width: 700px) {
    .form-row { grid-template-columns: 1fr; }
}
.footer-bottom {
    display: flex; justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px; opacity: .5;
}

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal .reveal { transition-delay: .15s; }

/* ----- Parallax ----- */
.parallax { will-change: transform; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .section { padding: 100px 20px; }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .split-text, .split-visual { padding: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-info { text-align: left; }
    .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .hero { padding: 100px 20px 60px; }
}

/* ----- Popup notification ----- */
.popup-overlay {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: popupFadeIn .3s ease;
}
@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.popup-card {
    background: #12141a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
    animation: popupSlideUp .35s ease;
}
@keyframes popupSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.popup-close {
    position: absolute; top: 14px; right: 18px;
    background: none; border: none; color: rgba(255,255,255,0.3);
    font-size: 24px; cursor: pointer; line-height: 1;
    transition: color .2s;
}
.popup-close:hover { color: rgba(255,255,255,0.7); }
.popup-icon { margin-bottom: 16px; }
.popup-title {
    font-size: 20px; font-weight: 600; color: #fff;
    margin-bottom: 12px; letter-spacing: -.02em;
}
.popup-msg {
    font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
}
.popup-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #0071e3; color: #fff;
    font-family: inherit; font-size: 15px; font-weight: 600;
    border: none; border-radius: 999px;
    cursor: pointer; transition: background .2s, transform .2s;
}
.popup-btn:hover { background: #0077ed; transform: translateY(-1px); }
@media (max-width: 500px) {
    .popup-card { padding: 32px 24px 24px; }
}

/* ----- Captcha slider ----- */
.captcha-slider {
    margin: 8px 0 16px;
    user-select: none;
}
.captcha-track {
    position: relative;
    height: 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;
    overflow: hidden;
}
.captcha-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0,113,227,0.15), rgba(0,113,227,0.3));
    border-radius: 22px;
    transition: background .2s;
}
.captcha-thumb {
    position: absolute;
    left: 2px; top: 2px;
    width: 40px; height: 40px;
    background: #0071e3;
    border-radius: 50%;
    cursor: grab;
    display: flex; align-items: center; justify-content: center;
    transition: box-shadow .2s;
    z-index: 2;
}
.captcha-thumb:active { cursor: grabbing; box-shadow: 0 0 12px rgba(0,113,227,0.5); }
.captcha-thumb svg { width: 18px; height: 18px; fill: #fff; }
.captcha-label {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
    transition: opacity .3s;
}
.captcha-slider.verified .captcha-track { border-color: rgba(40,200,64,0.3); }
.captcha-slider.verified .captcha-fill { background: linear-gradient(90deg, rgba(40,200,64,0.15), rgba(40,200,64,0.3)); width: 100% !important; }
.captcha-slider.verified .captcha-thumb { background: #28c840; left: calc(100% - 42px) !important; }
.captcha-slider.verified .captcha-label { color: rgba(40,200,64,0.6); }

/* ----- Contact popup ----- */
.contact-popup-overlay {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.contact-popup-overlay.active { opacity: 1; visibility: visible; }
.contact-popup {
    background: #0a0a0f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 540px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform .3s;
}
.contact-popup-overlay.active .contact-popup { transform: translateY(0); }
.contact-popup-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    color: rgba(255,255,255,0.4); font-size: 28px;
    cursor: pointer; line-height: 1;
    transition: color .2s;
}
.contact-popup-close:hover { color: #fff; }
.contact-popup-title {
    font-size: 22px; font-weight: 600; color: #fff;
    margin-bottom: 24px; letter-spacing: -.02em;
}
.contact-popup .form-consent { color: rgba(255,255,255,0.5); }
.contact-popup .form-consent a { color: #0071e3; }
@media (max-width: 600px) {
    .contact-popup { padding: 28px 20px; border-radius: 12px; }
}

/* ----- Cookie banner ----- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
    background: rgba(10,10,16,0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    transform: translateY(100%);
    animation: cookieSlideUp .5s .5s forwards;
}
.cookie-banner.hidden {
    animation: cookieSlideDown .35s forwards;
    pointer-events: none;
}
@keyframes cookieSlideUp {
    to { transform: translateY(0); }
}
@keyframes cookieSlideDown {
    to { transform: translateY(100%); opacity: 0; }
}
.cookie-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 24px;
}
.cookie-text {
    flex: 1;
}
.cookie-text p {
    font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0 0 4px;
}
.cookie-link {
    font-size: 12px; color: #0071e3; text-decoration: underline;
    opacity: .8; transition: opacity .2s;
}
.cookie-link:hover { opacity: 1; }
.cookie-actions {
    display: flex; gap: 10px; flex-shrink: 0;
}
.cookie-btn {
    font-family: inherit; font-size: 13px; font-weight: 600;
    padding: 10px 20px; border-radius: 999px;
    border: none; cursor: pointer;
    transition: background .2s, transform .2s;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-accept {
    background: #0071e3; color: #fff;
}
.cookie-btn-accept:hover { background: #0077ed; }
.cookie-btn-reject {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
}
.cookie-btn-reject:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 700px) {
    .cookie-inner { flex-direction: column; gap: 16px; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }
}
