/* ==========================================================================
   Homepage
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-h);
    overflow: visible; /* panel našepkávača môže presahovať do ďalšej sekcie */
    min-height: min(82vh, 820px);
    min-height: min(82svh, 820px);
    background:
        radial-gradient(ellipse 30% 42% at 66% 38%, rgba(20, 80, 255, 0.5), transparent 70%),
        radial-gradient(ellipse 34% 46% at 78% 58%, rgba(255, 30, 190, 0.38), transparent 72%),
        radial-gradient(ellipse 45% 60% at 73% 47%, rgba(120, 40, 255, 0.42), transparent 72%),
        var(--color-bg-hero);
}

.hero .backdrop__veil {
    background:
        linear-gradient(90deg, rgba(7, 6, 26, 0.92) 0%, rgba(7, 6, 26, 0.6) 42%, rgba(7, 6, 26, 0) 70%),
        linear-gradient(0deg, rgba(7, 6, 26, 0.9) 0%, rgba(7, 6, 26, 0) 30%);
}

.hero__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(20px, 2.5vw, 32px);
}

.hero__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 820px;
    margin: auto auto clamp(48px, 7vw, 96px);
    text-align: center;
}

.hero__title {
    font-size: var(--fs-h1-hero);
    line-height: 0.96;
    letter-spacing: var(--tracking-tight);
    scroll-margin-top: 24px;
}

.hero__main .search {
    margin-top: clamp(48px, 5vw, 72px);
}

.hero__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-top: auto;
}

.hero__stat {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
}

.hero__stat-value {
    color: #fff;
    font-size: clamp(40px, 4.4vw, 64px);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.count {
    display: inline-grid;
    white-space: nowrap;
}

.count > * {
    grid-area: 1 / 1;
}

.count__ghost {
    color: transparent;
    user-select: none;
}

.count__value {
    justify-self: start;
}

.hero__stat-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 3px;
    color: var(--color-text-on-dark-muted);
    font-size: 15px;
    line-height: 1.3;
}

.hero__stat-label-muted {
    color: var(--color-text-on-dark-muted-3);
}

.hero__dev-link {
    display: none;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.hero__dev-link:hover {
    color: var(--color-accent-soft);
}

.hero__dev-link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
    text-align: right;
}

.hero__dev-link-muted {
    color: var(--color-text-on-dark-muted-3);
    font-weight: 400;
}

.hero__dev-link-orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 17px;
}

@media (min-width: 720px) {
    .hero__dev-link {
        display: inline-flex;
    }
}

/* --------------------------------------------------------------------------
   Úvod sekcie (nadpis | lead) – spoločné pre viac sekcií
   -------------------------------------------------------------------------- */

.section-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    align-items: end;
    gap: 12px 96px;
}

/* --------------------------------------------------------------------------
   Jeden profil – zoznam údajov + ukážka profilu
   -------------------------------------------------------------------------- */

.profile {
    padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(80px, 10vw, 144px);
}

.profile__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    align-items: start;
    gap: 24px;
    margin-top: 56px;
}

.profile__fields {
    list-style: none;
}

@media (min-width: 720px) {
    .profile__fields {
        display: grid;
        gap: 8px;
        width: 88%;
        margin: 0;
        padding: 0;
    }
}

.profile-field {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    transition: background var(--duration-base);
}

.profile-field:focus-visible {
    outline-offset: 2px;
}

.profile-field.is-active {
    background: var(--color-highlight-active);
}

.profile-field .icon-badge {
    --badge-bg: #fff;
    box-shadow: 0 8px 20px -12px rgba(107, 77, 255, 0.8);
    color: var(--color-violet-strong);
    transition: background var(--duration-base), color var(--duration-base);
}

.profile-field.is-active .icon-badge {
    --badge-bg: var(--color-violet-strong);
    color: #fff;
}

.profile-field .icon {
    --icon-size: 22px;
}

.profile-field__title,
.profile-field__desc {
    display: block;
}

.profile-field__title {
    color: var(--color-ink);
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color var(--duration-base);
}

.profile-field.is-active .profile-field__title {
    color: var(--color-link-hover);
}

.profile-field__desc {
    margin-top: 4px;
    color: #55566e;
    font-size: var(--fs-small);
    line-height: 1.5;
}

.profile__cta {
    --btn-height: 56px;
    margin-top: 28px;
}

@media (max-width: 719px) {
    .profile-field {
        flex-direction: column;
        padding: 20px;
        border-radius: 16px;
    }

    .profile-field .icon-badge,
    .profile-field.is-active .icon-badge {
        --badge-size: 48px;
        --badge-radius: 13px;
        box-shadow: var(--shadow-badge);
        color: #fff;
    }

    .profile-field:nth-child(-n + 2) .icon-badge { --badge-bg: var(--gradient-step-1); }
    .profile-field:nth-child(n + 3):nth-child(-n + 4) .icon-badge { --badge-bg: var(--gradient-step-2); }
    .profile-field:nth-child(n + 5):nth-child(-n + 6) .icon-badge { --badge-bg: var(--gradient-step-3); }
    .profile-field:nth-child(n + 7) .icon-badge { --badge-bg: var(--gradient-step-4); }

    .profile-field .icon {
        --icon-size: 24px;
    }

    .profile-field__title {
        font-size: 18px;
        letter-spacing: -0.015em;
    }

    .profile-field.is-active .profile-field__title {
        color: var(--color-ink);
    }

    .profile-field__desc {
        margin-top: 6px;
        color: var(--color-text-muted);
        font-size: 15px;
    }

    .profile__cta {
        display: none;
    }
}

/* Ukážka profilu */
.profile-card {
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.profile-card__head {
    margin: -16px -16px 8px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--color-highlight);
    transition: background var(--duration-base);
}

.profile-card__head.is-active {
    background: var(--color-highlight-strong);
}

.profile-card__name {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.profile-card__name a {
    color: inherit;
}

.profile-card__name a:hover {
    color: var(--color-link);
}

.profile-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 10px;
    color: var(--color-text-muted);
    font-size: var(--fs-small);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-success-strong);
    font-weight: 500;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-success-on-light);
}

.profile-card__rows {
    display: flex;
    flex-direction: column;
}

.profile-card__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 24px;
    margin: 0 -16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--duration-base);
}

.profile-card__row.is-active {
    background: var(--color-highlight);
}

.profile-card__label {
    padding-top: 2px;
    color: var(--color-text-muted-3);
    font-size: var(--fs-caption);
    font-weight: 500;
    transition: color var(--duration-base);
}

.profile-card__row.is-active .profile-card__label {
    color: var(--color-link);
}

.profile-card__value {
    min-width: 0;
    font-size: 16px;
    line-height: 1.5;
}

.profile-card__sep {
    color: #8c8da3;
}

.profile-card__more {
    color: var(--color-link);
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 720px) {
    .profile-card__row {
        grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
    }
}

.people {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.person__avatar {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-avatar-a);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
}

.person:nth-child(even) .person__avatar {
    background: linear-gradient(135deg, #9a5cff, #e05bd8);
}

.person__name {
    font-weight: 500;
}

.person__role {
    color: var(--color-text-muted-2);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Pás pre vývojárov
   -------------------------------------------------------------------------- */

.dev-band {
    padding: clamp(88px, 11vw, 152px) var(--gutter);
    background:
        radial-gradient(ellipse 50% 70% at 84% 100%, rgba(107, 77, 255, 0.4), transparent 70%),
        var(--color-bg-dark);
}

.dev-band .backdrop__veil {
    background: linear-gradient(90deg, rgba(7, 6, 26, 0.94) 0%, rgba(7, 6, 26, 0.7) 45%, rgba(7, 6, 26, 0) 78%);
}

.dev-band__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    align-items: end;
    gap: 48px;
}

.dev-band__title {
    max-width: 720px;
    font-size: var(--fs-h2-dev);
    line-height: 1;
    letter-spacing: var(--tracking-tight);
}

.dev-band__text {
    max-width: 540px;
    margin-top: 26px;
    color: var(--color-text-on-dark-muted);
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.55;
}

.button-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 12px;
    max-width: 540px;
    margin-top: 40px;
}

.button-pair .btn {
    white-space: normal;
}

.dev-band__glass-icon {
    color: var(--color-accent-soft);
}

.rate {
    display: flex;
    justify-self: end;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.rate__headline {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.rate__value {
    padding-right: 6px;
    background: linear-gradient(120deg, #4f7bff 0%, #9a5cff 45%, #ff4fc0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(96px, 11vw, 168px);
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: -0.07em;
}

.rate__unit {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.rate__unit-accent {
    color: var(--color-accent-soft);
}

.rate__meter {
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 1.75%;
    width: min(100%, 340px);
    aspect-ratio: 258 / 40;
}

.rate__bar {
    border-radius: 3px;
    opacity: 0.16;
    animation: rate-bar 4s linear infinite both;
}

.rate__bar:nth-child(1) { background: #4f7bff; animation-delay: 0s; }
.rate__bar:nth-child(2) { background: #5778ff; animation-delay: 0.14s; }
.rate__bar:nth-child(3) { background: #5f74ff; animation-delay: 0.28s; }
.rate__bar:nth-child(4) { background: #6771ff; animation-delay: 0.42s; }
.rate__bar:nth-child(5) { background: #6f6eff; animation-delay: 0.56s; }
.rate__bar:nth-child(6) { background: #766bff; animation-delay: 0.7s; }
.rate__bar:nth-child(7) { background: #7e67ff; animation-delay: 0.84s; }
.rate__bar:nth-child(8) { background: #8664ff; animation-delay: 0.98s; }
.rate__bar:nth-child(9) { background: #8e61ff; animation-delay: 1.12s; }
.rate__bar:nth-child(10) { background: #965eff; animation-delay: 1.26s; }
.rate__bar:nth-child(11) { background: #9f5bfc; animation-delay: 1.4s; }
.rate__bar:nth-child(12) { background: #aa5af5; animation-delay: 1.54s; }
.rate__bar:nth-child(13) { background: #b559ee; animation-delay: 1.68s; }
.rate__bar:nth-child(14) { background: #bf57e8; animation-delay: 1.82s; }
.rate__bar:nth-child(15) { background: #ca56e1; animation-delay: 1.96s; }
.rate__bar:nth-child(16) { background: #d454db; animation-delay: 2.1s; }
.rate__bar:nth-child(17) { background: #df53d4; animation-delay: 2.24s; }
.rate__bar:nth-child(18) { background: #ea52cd; animation-delay: 2.38s; }
.rate__bar:nth-child(19) { background: #f450c7; animation-delay: 2.52s; }
.rate__bar:nth-child(20) { background: #ff4fc0; animation-delay: 2.66s; }

.rate__note {
    max-width: 340px;
    color: var(--color-text-on-dark-muted);
    font-size: 15px;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .rate__bar {
        opacity: 1;
        animation: none;
    }
}

@keyframes rate-bar {
    0% { opacity: 0.16; }
    6% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0.16; }
}

/* --------------------------------------------------------------------------
   Ako začať + kódový playground
   -------------------------------------------------------------------------- */

.start__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    align-items: start;
    gap: clamp(40px, 5vw, 72px);
}

.start__intro {
    max-width: 480px;
}

.steps {
    position: relative;
    margin-top: 40px;
}

.steps__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    list-style: none;
}

/* Spojnica so svetelným bodom (animuje sa len transform) */
.steps__rail {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 24px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(61, 107, 255, 0.28), rgba(107, 77, 255, 0.28), rgba(224, 91, 216, 0.28));
}

.steps__light {
    position: absolute;
    inset: 0;
    animation: travel-y 3.4s linear infinite;
}

.steps__light::before {
    content: '';
    position: absolute;
    top: -22px;
    left: -1px;
    width: 6px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(143, 123, 255, 0), #8f7bff, #fff);
    box-shadow: 0 0 18px 3px rgba(143, 123, 255, 0.75);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step__badge {
    --badge-size: 52px;
    --badge-radius: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 14px 30px -14px rgba(107, 77, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.step__badge .icon {
    --icon-size: 25px;
}

.step:nth-child(1) .step__badge { --badge-bg: linear-gradient(135deg, #3d6bff, #6b4dff); }
.step:nth-child(2) .step__badge { --badge-bg: linear-gradient(135deg, #6b4dff, #a24ff0); }
.step:nth-child(3) .step__badge { --badge-bg: linear-gradient(135deg, #a24ff0, #e05bd8); }

.step__card {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: #fff;
}

.step__title {
    font-size: 18.5px;
    letter-spacing: -0.01em;
}

.step__text {
    margin-top: 6px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.55;
}

.step__demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-surface-alt);
    color: #3a3b52;
    font-size: 13px;
    font-weight: 500;
}

.step__demo-field {
    flex: 1;
    padding: 11px 14px;
}

.step__demo-button {
    padding: 11px 14px;
    background: var(--color-ink);
    color: #fff;
}

.step__demo-status {
    padding: 11px 14px;
}

.start__note {
    margin: 18px 4px 0;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Endpointy
   -------------------------------------------------------------------------- */

.endpoints {
    padding-block: clamp(80px, 10vw, 128px);
}

.endpoints__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
}

.endpoints__base {
    margin-top: 14px;
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.55;
}

.endpoints__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    align-items: start;
    gap: 24px;
    margin-top: 48px;
}

.endpoint-group {
    padding: 10px;
    border-radius: var(--radius-xl);
    background: var(--color-bg-light-4);
}

.endpoint-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 14px;
}

.endpoint-group__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.endpoint-group__icon {
    --badge-size: 36px;
    --badge-radius: var(--radius-sm);
    --badge-bg: var(--color-ink);
    box-shadow: none;
}

.endpoint-group__icon .icon {
    --icon-size: 18px;
}

.endpoint-group__note {
    padding: 5px 9px;
    border-radius: var(--radius-xs);
    background: #fff;
    color: var(--color-text-muted);
    font-size: 12.5px;
    font-weight: 500;
}

.endpoint-group__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.endpoint {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: #fff;
    transition: background var(--duration-fast);
}

.endpoint:hover {
    background: var(--color-highlight-hover);
}

.endpoint__line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.endpoint__method {
    flex: none;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--color-success-strong);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.endpoint__path {
    color: var(--color-ink);
    font-size: 15.5px;
    font-weight: 500;
    word-break: break-all;
}

.endpoint__param {
    color: var(--color-violet-strong);
}

.endpoint__desc {
    color: #3f4058;
    font-size: 15px;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Ako sa dáta udržiavajú
   -------------------------------------------------------------------------- */

.flow__title {
    max-width: 720px;
}

.flow__body {
    position: relative;
    margin-top: 56px;
}

.flow__line {
    display: none;
}

.flow__stages {
    --slider-item: 84%;
    --slider-gap: 12px;
    list-style: none;
}

.flow__dots .slider__dot {
    background: #cfcedf;
}

.flow__dots .slider__dot[aria-current='true'] {
    background: var(--gradient-dot);
}

@media (min-width: 720px) {
    .flow__stages {
        display: grid;
        margin: 0;
        padding: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1000px) {
    .flow__stages {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .flow__line {
        position: absolute;
        top: 29px;
        right: 30px;
        left: 30px;
        display: block;
        height: 2px;
        overflow-x: clip; /* putujúce svetlá nesmú rozšíriť stránku */
        border-radius: 2px;
        background: linear-gradient(90deg, rgba(61, 107, 255, 0.3), rgba(107, 77, 255, 0.3), rgba(224, 91, 216, 0.3));
    }
}

.flow__light {
    position: absolute;
    inset: 0;
    animation: travel-x 6s linear infinite;
}

.flow__light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -36px;
    width: 72px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(143, 123, 255, 0), #8f7bff, #fff);
    box-shadow: 0 0 22px 4px rgba(143, 123, 255, 0.8);
}

.flow__light--pink {
    animation-delay: -3s;
}

.flow__light--pink::before {
    left: -28px;
    width: 56px;
    background: linear-gradient(90deg, rgba(224, 91, 216, 0), #e05bd8, #ffd6f6);
    box-shadow: 0 0 22px 4px rgba(224, 91, 216, 0.7);
}

.stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stage__badge {
    --badge-size: 60px;
    --badge-radius: 17px;
    position: relative;
    z-index: 1;
}

.stage__badge .icon {
    --icon-size: 28px;
}

.stage:nth-child(1) .stage__badge { --badge-bg: linear-gradient(135deg, #2f5cff, #5a5cff); box-shadow: 0 16px 32px -14px #3d6bff, inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.stage:nth-child(2) .stage__badge { --badge-bg: linear-gradient(135deg, #5a5cff, #7c4dff); box-shadow: 0 16px 32px -14px #5a5cff, inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.stage:nth-child(3) .stage__badge { --badge-bg: linear-gradient(135deg, #7c4dff, #b04ef0); box-shadow: 0 16px 32px -14px #8a4cf6, inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.stage:nth-child(4) .stage__badge { --badge-bg: linear-gradient(135deg, #b04ef0, #e05bd8); box-shadow: 0 16px 32px -14px #e05bd8, inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.stage__card {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
}

.stage__title {
    font-size: 21px;
    letter-spacing: -0.02em;
}

.stage__text {
    flex: 1;
    margin-top: 10px;
    color: #3f4058;
    font-size: 15px;
    line-height: 1.55;
}

.stage__code {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-code);
    color: #dcd6ff;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Putujúce svetlá – animuje sa iba transform (GPU, bez reflow)
   -------------------------------------------------------------------------- */

@keyframes travel-y {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes travel-x {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .steps__light,
    .flow__light {
        display: none;
    }
}
