/* Compact product proof for the first viewport.
   The detailed interaction stays in the product tour further down the page. */

.hero-image-legacy,
.brands-section[hidden] {
    display: none !important;
}

.hero-proof {
    --hp-surface: #0d0d17;
    --hp-surface-2: #141420;
    --hp-surface-3: #1b1a29;
    --hp-text: #f8f7fc;
    --hp-text-soft: #bbb7c8;
    --hp-muted: #817d91;
    --hp-border: rgba(255, 255, 255, 0.09);
    --hp-border-strong: rgba(255, 255, 255, 0.14);
    --hp-accent: #8962f6;
    --hp-accent-soft: rgba(137, 98, 246, 0.13);
    --hp-green: #29cf8c;
    position: relative;
    isolation: isolate;
    width: min(100%, 980px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--hp-border-strong);
    border-radius: 24px;
    color: var(--hp-text);
    background: var(--hp-surface);
    box-shadow:
        0 32px 78px rgba(3, 2, 13, 0.42),
        0 4px 16px rgba(3, 2, 13, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: left;
    animation: heroProofEnter 0.72s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-proof::before {
    position: absolute;
    z-index: -1;
    top: -220px;
    right: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(137, 98, 246, 0.1);
    filter: blur(75px);
    content: "";
    pointer-events: none;
}

html[data-landing-theme="light"] .hero-proof {
    --hp-surface: #ffffff;
    --hp-surface-2: #f7f6fb;
    --hp-surface-3: #efedf6;
    --hp-text: #181620;
    --hp-text-soft: #565163;
    --hp-muted: #7e788a;
    --hp-border: rgba(46, 38, 65, 0.09);
    --hp-border-strong: rgba(46, 38, 65, 0.14);
    --hp-accent: #7150dd;
    --hp-accent-soft: rgba(113, 80, 221, 0.1);
    --hp-green: #0a9b67;
    box-shadow:
        0 34px 76px rgba(49, 35, 84, 0.15),
        0 5px 18px rgba(49, 35, 84, 0.07),
        inset 0 1px 0 #fff;
}

.hero-proof *,
.hero-proof *::before,
.hero-proof *::after {
    box-sizing: border-box;
}

.hero-proof__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 50px;
    padding: 0 17px;
    border-bottom: 1px solid var(--hp-border);
    background: color-mix(in srgb, var(--hp-surface) 95%, transparent);
}

.hero-proof__traffic,
.hero-proof__brand,
.hero-proof__status {
    display: flex;
    align-items: center;
}

.hero-proof__traffic {
    gap: 7px;
}

.hero-proof__traffic span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-proof__traffic span:nth-child(1) { background: #ff5f57; }
.hero-proof__traffic span:nth-child(2) { background: #febc2e; }
.hero-proof__traffic span:nth-child(3) { background: #28c840; }

.hero-proof__brand {
    gap: 7px;
    color: var(--hp-text-soft);
    font-size: 0.72rem;
    font-weight: 760;
}

.hero-proof__brand img {
    object-fit: contain;
}

.hero-proof__brand em {
    padding: 3px 6px;
    border: 1px solid var(--hp-border);
    border-radius: 6px;
    color: var(--hp-accent);
    font-size: 0.52rem;
    font-style: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-proof__status {
    justify-self: end;
    gap: 7px;
    color: var(--hp-muted);
    font-size: 0.61rem;
    font-weight: 650;
}

.hero-proof__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hp-green);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--hp-green) 12%, transparent);
}

.hero-proof__body {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 376px;
}

.hero-proof__rail {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 14px 9px;
    border-right: 1px solid var(--hp-border);
    background: color-mix(in srgb, var(--hp-surface) 84%, transparent);
}

.hero-proof__rail > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--hp-muted);
    font-size: 1.02rem;
}

.hero-proof__rail > span.is-active {
    color: var(--hp-accent);
    background: var(--hp-accent-soft);
}

.hero-proof__rail .hero-proof__rail-logo {
    margin-bottom: 5px;
    color: #fff;
    background: linear-gradient(135deg, #ee3188, #865cf4);
    font-size: 1rem;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(152, 70, 207, 0.2);
}

.hero-proof__rail-spacer {
    flex: 1;
}

.hero-proof__workspace {
    min-width: 0;
    padding: 22px 24px 24px;
}

.hero-proof__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.hero-proof__heading small {
    display: block;
    margin-bottom: 3px;
    color: var(--hp-muted);
    font-size: 0.57rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-proof__heading h2 {
    margin: 0;
    color: var(--hp-text);
    font-size: 1.18rem;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.hero-proof__date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding: 0 11px;
    border: 1px solid var(--hp-border);
    border-radius: 11px;
    color: var(--hp-text-soft);
    background: var(--hp-surface-2);
    font-size: 0.6rem;
    font-weight: 650;
}

.hero-proof__date i {
    color: var(--hp-accent);
}

.hero-proof__metrics {
    display: grid;
    grid-template-columns: 1.28fr 1fr 0.9fr;
    gap: 9px;
    margin-bottom: 13px;
}

.hero-proof__metric {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 79px;
    padding: 12px 13px;
    border: 1px solid var(--hp-border);
    border-radius: 15px;
    background: var(--hp-surface-2);
}

.hero-proof__metric--total {
    border-color: color-mix(in srgb, var(--hp-accent) 28%, var(--hp-border));
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--hp-accent) 15%, transparent), transparent 56%),
        var(--hp-surface-2);
}

.hero-proof__metric-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: var(--hp-accent);
    background: var(--hp-accent-soft);
    font-size: 1.02rem;
}

.hero-proof__metric-icon--green {
    color: var(--hp-green);
    background: color-mix(in srgb, var(--hp-green) 11%, transparent);
}

.hero-proof__metric-icon--rose {
    color: #e64d96;
    background: rgba(230, 77, 150, 0.1);
}

.hero-proof__metric > div {
    min-width: 0;
}

.hero-proof__metric small,
.hero-proof__metric strong,
.hero-proof__metric em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-proof__metric small {
    color: var(--hp-muted);
    font-size: 0.54rem;
    font-weight: 650;
}

.hero-proof__metric strong {
    margin: 4px 0 3px;
    color: var(--hp-text);
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -0.035em;
}

.hero-proof__metric--total strong {
    font-size: 1.25rem;
}

.hero-proof__metric em {
    color: var(--hp-muted);
    font-size: 0.5rem;
    font-style: normal;
}

.hero-proof__metric em i {
    color: var(--hp-green);
}

.hero-proof__content {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(190px, 0.72fr);
    gap: 11px;
}

.hero-proof__payments,
.hero-proof__insight {
    min-width: 0;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-surface-2);
}

.hero-proof__payments {
    padding: 13px;
}

.hero-proof__payments > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.hero-proof__payments h3 {
    margin: 0;
    color: var(--hp-text);
    font-size: 0.7rem;
}

.hero-proof__payments header div > span {
    display: block;
    margin-top: 2px;
    color: var(--hp-muted);
    font-size: 0.49rem;
}

.hero-proof__count {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 8px;
    color: var(--hp-accent);
    background: var(--hp-accent-soft);
    font-size: 0.58rem;
    font-weight: 800;
}

.hero-proof__payment-list {
    display: grid;
    gap: 6px;
}

.hero-proof__payment {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(92px, 1fr) 58px 62px;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 7px 9px;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: var(--hp-surface);
}

.hero-proof__payment::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;
    width: 2px;
    border-radius: 0 4px 4px 0;
    background: var(--service-accent);
    content: "";
}

.hero-proof__payment--spotify { --service-accent: #1ed760; }
.hero-proof__payment--netflix { --service-accent: #e50914; }
.hero-proof__payment--vodafone { --service-accent: #e60000; }

.hero-proof__service {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--service-accent);
    font-size: 0.84rem;
    font-weight: 850;
}

.hero-proof__payment div,
.hero-proof__payment time,
.hero-proof__price {
    min-width: 0;
}

.hero-proof__payment strong,
.hero-proof__payment small {
    display: block;
}

.hero-proof__payment div strong,
.hero-proof__price strong {
    overflow: hidden;
    color: var(--hp-text);
    font-size: 0.61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-proof__payment small {
    margin-top: 2px;
    color: var(--hp-muted);
    font-size: 0.46rem;
}

.hero-proof__payment time {
    color: var(--hp-text-soft);
    font-size: 0.54rem;
    font-style: normal;
}

.hero-proof__price {
    text-align: right;
}

.hero-proof__insight {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-color: color-mix(in srgb, var(--hp-accent) 27%, var(--hp-border));
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--hp-accent) 16%, transparent), transparent 60%),
        var(--hp-surface-2);
}

.hero-proof__insight-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-proof__insight-top > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    color: var(--hp-accent);
    background: var(--hp-accent-soft);
}

.hero-proof__insight-top em {
    color: var(--hp-muted);
    font-size: 0.51rem;
    font-style: normal;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-proof__insight > strong {
    margin-top: 13px;
    color: var(--hp-text);
    font-size: 0.84rem;
    line-height: 1.23;
    letter-spacing: -0.025em;
}

.hero-proof__insight > p {
    margin: 7px 0 0;
    color: var(--hp-text-soft);
    font-size: 0.55rem;
    line-height: 1.48;
}

.hero-proof__timeline {
    position: relative;
    height: 4px;
    margin-top: auto;
    overflow: visible;
    border-radius: 999px;
    background: var(--hp-surface-3);
}

.hero-proof__timeline span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hp-accent), #c74ebf);
}

.hero-proof__timeline i {
    position: absolute;
    top: 50%;
    left: 70%;
    width: 10px;
    height: 10px;
    border: 2px solid var(--hp-surface-2);
    border-radius: 50%;
    background: var(--hp-accent);
    box-shadow: 0 0 0 3px var(--hp-accent-soft);
    transform: translate(-50%, -50%);
}

.hero-proof__insight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 13px;
}

.hero-proof__insight-footer > span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--hp-muted);
    font-size: 0.48rem;
}

.hero-proof__insight-footer > span i {
    color: var(--hp-green);
}

.hero-proof__insight-footer b {
    color: var(--hp-text);
    font-size: 0.54rem;
}

.hero-categories {
    width: min(1040px, calc(100% - 36px));
    margin: 0 auto;
    padding: 23px 0 52px;
    text-align: center;
}

.hero-categories > p {
    margin: 0 0 14px;
    color: var(--text-muted, #9993aa);
    font-size: 0.66rem;
    font-weight: 760;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-categories__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-categories__list > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: rgba(228, 224, 238, 0.76);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.68rem;
    font-weight: 650;
}

.hero-categories__list i {
    color: #a88cf8;
    font-size: 0.92rem;
}

html[data-landing-theme="light"] .hero-categories__list > span {
    border-color: rgba(48, 38, 72, 0.1);
    color: #625c6f;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 7px 18px rgba(47, 36, 74, 0.045);
}

html[data-landing-theme="light"] .hero-categories__list i {
    color: #7255d6;
}

#hero.hero {
    padding-bottom: 12px;
}

#hero .hero-cta {
    margin-bottom: 36px;
}

@keyframes heroProofEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 820px) {
    .hero-proof {
        width: min(100%, 650px);
        border-radius: 21px;
    }

    .hero-proof__body {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .hero-proof__rail {
        padding-inline: 7px;
    }

    .hero-proof__rail > span {
        width: 36px;
        height: 36px;
    }

    .hero-proof__workspace {
        padding: 18px;
    }

    .hero-proof__metrics {
        grid-template-columns: 1.15fr 1fr;
    }

    .hero-proof__metric:nth-child(3) {
        display: none;
    }

    .hero-proof__content {
        grid-template-columns: minmax(0, 1.55fr) minmax(175px, 0.7fr);
    }

    .hero-proof__payment {
        grid-template-columns: 34px minmax(75px, 1fr) 58px;
    }

    .hero-proof__payment time {
        display: none;
    }
}

@media (max-width: 620px) {
    #hero.hero {
        padding-bottom: 4px;
    }

    #hero .hero-cta {
        margin-bottom: 28px;
    }

    .hero-proof {
        width: 100%;
        border-radius: 18px;
    }

    .hero-proof__bar {
        grid-template-columns: auto 1fr auto;
        min-height: 46px;
        padding-inline: 12px;
    }

    .hero-proof__traffic {
        display: none;
    }

    .hero-proof__brand {
        justify-self: start;
    }

    .hero-proof__body {
        display: block;
        min-height: 0;
    }

    .hero-proof__rail {
        display: none;
    }

    .hero-proof__workspace {
        padding: 15px 13px 14px;
    }

    .hero-proof__heading {
        margin-bottom: 12px;
    }

    .hero-proof__heading h2 {
        font-size: 1.03rem;
    }

    .hero-proof__date {
        min-height: 34px;
        padding-inline: 9px;
    }

    .hero-proof__metrics {
        gap: 7px;
        margin-bottom: 9px;
    }

    .hero-proof__metric {
        min-height: 72px;
        padding: 10px;
    }

    .hero-proof__metric-icon {
        width: 35px;
        height: 35px;
    }

    .hero-proof__metric strong {
        font-size: 0.87rem;
    }

    .hero-proof__metric--total strong {
        font-size: 1.08rem;
    }

    .hero-proof__content {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-proof__payments {
        padding: 10px;
    }

    .hero-proof__payment {
        grid-template-columns: 32px minmax(78px, 1fr) 58px;
        min-height: 46px;
        padding: 6px 8px;
    }

    .hero-proof__service {
        width: 32px;
        height: 32px;
    }

    .hero-proof__payment:nth-child(3) {
        display: none;
    }

    .hero-proof__insight {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 9px;
        padding: 10px 11px;
    }

    .hero-proof__insight-top {
        display: contents;
    }

    .hero-proof__insight-top > span {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 36px;
        height: 36px;
    }

    .hero-proof__insight-top em {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-proof__insight > strong {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 0.66rem;
    }

    .hero-proof__insight > p,
    .hero-proof__timeline {
        display: none;
    }

    .hero-proof__insight-footer {
        grid-column: 3;
        grid-row: 1 / 3;
        display: block;
        margin: 0;
        text-align: right;
    }

    .hero-proof__insight-footer > span {
        display: none;
    }

    .hero-proof__insight-footer b {
        font-size: 0.58rem;
    }

    .hero-categories {
        width: min(100% - 24px, 520px);
        padding: 18px 0 24px;
    }

    .hero-categories__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .hero-categories__list > span {
        justify-content: center;
        min-width: 0;
        min-height: 42px;
        padding-inline: 8px;
        font-size: 0.62rem;
    }
}

@media (max-width: 390px) {
    .hero-proof__date {
        display: none;
    }

    .hero-proof__metrics {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .hero-proof__metric {
        gap: 7px;
    }

    .hero-proof__metric-icon {
        display: none;
    }

    .hero-categories__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 340px) {
    #nav-register-btn {
        width: 40px;
        min-width: 40px;
        padding-inline: 0;
        overflow: hidden;
        font-size: 0;
        line-height: 1;
    }

    #nav-register-btn::before {
        content: "+";
        display: block;
        font-size: 1.45rem;
        font-weight: 500;
        line-height: 1;
    }

    .hero-proof__brand em,
    .hero-proof__status span {
        display: none;
    }

    .hero-proof__payment {
        grid-template-columns: 31px minmax(70px, 1fr) 54px;
        gap: 7px;
    }

    .hero-proof__metric em {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-proof {
        animation: none;
    }

    .hero-proof::before {
        filter: none;
        opacity: 0.28;
    }
}
