/* intro v28 — Arc diagonal-split: clip split, floating rings, ransom-note words, grayscale hover, click burst */

/* Diagonal split zone */
.intro-arc2__split {
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
    opacity: 0.6;
}

/* Floating rings / donuts (fixed size — no BS w-N/h-N utility) */
.intro-arc2__ring { width: 10rem; height: 10rem; animation: intro-arc2-float 7s ease-in-out infinite; }
.intro-arc2__ring--2 { width: 6rem; height: 6rem; animation-duration: 9s; animation-delay: 1s; }
@keyframes intro-arc2-float {
    50% { transform: translateY(-1.2rem) rotate(20deg); }
}

/* Serif accent (paired with sans body) */
.intro-arc2__serif { font-family: ui-serif, Georgia, "Times New Roman", serif; }

/* Hero image grayscale → colour reveal on hover */
.intro-arc2__figure { aspect-ratio: 4 / 3; }
.intro-arc2__img {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 420ms ease;
}
.intro-arc2__figure:hover .intro-arc2__img { filter: grayscale(0); }

/* Ransom-note mixed letters: alternate rotation, weight, family (no colour) */
.intro-arc2__word {
    display: inline-block;
    margin-right: 0.25em;
}
.intro-arc2__word:nth-child(3n+1) { transform: rotate(-4deg); font-weight: 900; }
.intro-arc2__word:nth-child(3n+2) { transform: rotate(3deg);  font-family: ui-serif, Georgia, serif; font-style: italic; }
.intro-arc2__word:nth-child(3n+3) { transform: rotate(-1deg); font-weight: 700; text-transform: uppercase; }

/* Click burst spark (inherits the button's primary colour via currentColor) */
.intro-arc2__react { position: relative; overflow: visible; }
.intro-arc2__spark {
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    animation: intro-arc2-burst 640ms ease-out forwards;
}
@keyframes intro-arc2-burst {
    to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(160deg); }
}

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

.services__panel--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__panel--lift:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: translateY(-0.5rem);
}

.services__link--lift {
  transition: filter 0.2s ease;
}

.services__link--lift:hover {
  filter: brightness(1.1);
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Solid primary CTA (explicit tokens; readable vs explicit colors in BS) */
.integrations__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bs-accent, rgb(var(--tw-accent-600, 37 99 235) / 1));
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}
button.integrations__cta-primary {
    appearance: none;
}

/* Background decorative shapes */
.integrations__bg-shape--1 { animation-duration: 6s; }
.integrations__bg-shape--2 { animation-duration: 4s; }
.integrations__bg-shape--3 { animation-duration: 3s; }
.integrations__bg-shape--4 { animation-duration: 6s; animation-delay: 1s; }
.integrations__bg-orb--delayed { animation-delay: 2s; }
.integrations__cta-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* BS-fallback: feature dot needs explicit size since w-1.5 h-1.5 is TW-only */
.integrations-v2__feature-dot {
    width: 0.375rem;
    height: 0.375rem;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v2__fx-card .integrations-v2__icon-main,
.integrations-v2__fx-card .integrations-v2__icon-main i,
.integrations-v2__fx-card .integrations-v2__icon-glow { transition: transform 0.4s ease, opacity 0.4s ease; }
.integrations-v2__fx-card:hover .integrations-v2__icon-main { transform: rotate(6deg); }
.integrations-v2__fx-card:hover .integrations-v2__icon-main i { transform: scale(1.1); }
.integrations-v2__fx-card:hover .integrations-v2__icon-glow { opacity: 0.25; transform: scale(1.25); }
.integrations-v2__fx-card h3 { transition: color 0.3s ease; }
.integrations-v2__fx-card:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-v2__fx-card:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }
.integrations-v2__fx-card:hover .integrations-v2__card-body { width: 100%; }
@media (prefers-reduced-motion: reduce) {
    .integrations-v2__fx-card:hover .integrations-v2__icon-main,
    .integrations-v2__fx-card:hover .integrations-v2__icon-main i,
    .integrations-v2__fx-card:hover .integrations-v2__icon-glow { transform: none; }
}

/* benefits glyph — card micro-illustrations, layout/motion only (no colors) */
.benefits-glyph__seal { width: 3.5rem; height: 3.5rem; }
.benefits-glyph__chip { font-size: .75rem; line-height: 1rem; letter-spacing: .04em; }

.benefits-glyph__card {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 600ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.benefits-glyph.is-visible .benefits-glyph__card { opacity: 1; transform: none; }
.benefits-glyph.is-visible .benefits-glyph__card:hover,
.benefits-glyph.is-visible .benefits-glyph__card:focus-within { transform: translateY(-.5rem); }

.benefits-glyph__stage { aspect-ratio: 4 / 3; overflow: hidden; }
.benefits-glyph__svg { width: 7.5rem; height: 7.5rem; overflow: visible; }

/* lock — shackle drops into the body, keyhole pulses */
.benefits-glyph__shackle { transform: translateY(-12px); transition: transform 600ms cubic-bezier(.5, 1.6, .5, 1); }
.benefits-glyph__keyhole { transform-box: fill-box; transform-origin: center; }
.benefits-glyph__halo { transform-box: fill-box; transform-origin: center; opacity: 0; }
.is-armed .benefits-glyph__shackle { transform: none; }
.is-armed .benefits-glyph__keyhole { animation: benefits-glyph-pulse 2.4s ease-in-out 800ms infinite; }
.is-armed .benefits-glyph__halo { animation: benefits-glyph-ripple 2.4s ease-out 700ms infinite; }

/* stroke drawing */
.benefits-glyph__draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms ease; }
.benefits-glyph__draw--2 { transition-delay: 150ms; }
.benefits-glyph__draw--3 { transition-delay: 300ms; }
.benefits-glyph__draw--4 { transition-delay: 450ms; }
.benefits-glyph__draw--5 { transition-delay: 600ms; }
.benefits-glyph__draw--check { transition-duration: 600ms; transition-delay: 1000ms; }
.is-armed .benefits-glyph__draw { stroke-dashoffset: 0; }

/* fingerprint scan line */
.benefits-glyph__scan { opacity: 0; }
.is-armed .benefits-glyph__scan { animation: benefits-glyph-scan 2.6s ease-in-out 900ms infinite; }

/* shield ping */
.benefits-glyph__ping { transform-box: fill-box; transform-origin: center; opacity: 0; }
.is-armed .benefits-glyph__ping { animation: benefits-glyph-ripple 2.8s ease-out 1600ms infinite; }

/* vault orbit + bobbing pin */
.benefits-glyph__orbit { transform-origin: 60px 70px; }
.benefits-glyph__pin { transform: translateY(-14px); opacity: 0; transition: transform 700ms cubic-bezier(.5, 1.6, .5, 1), opacity 400ms ease; }
.is-armed .benefits-glyph__orbit { animation: benefits-glyph-spin 9s linear infinite; }
.is-armed .benefits-glyph__pin { transform: none; opacity: 1; }

.benefits-glyph__more i { transition: transform 200ms ease; }
.benefits-glyph__more:hover i { transform: translateX(.25rem); }

@keyframes benefits-glyph-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes benefits-glyph-ripple { 0% { transform: scale(.7); opacity: .45; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes benefits-glyph-scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateY(70px); opacity: 0; } }
@keyframes benefits-glyph-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .benefits-glyph__card { opacity: 1; transform: none; transition: none; }
    .benefits-glyph__shackle, .benefits-glyph__pin { transform: none; opacity: 1; transition: none; }
    .benefits-glyph__draw { stroke-dashoffset: 0; transition: none; }
    .is-armed .benefits-glyph__keyhole, .is-armed .benefits-glyph__halo, .is-armed .benefits-glyph__scan,
    .is-armed .benefits-glyph__ping, .is-armed .benefits-glyph__orbit { animation: none; }
}


.boost-rally__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.boost-rally__inner {
    max-width: 64rem;
}

@keyframes boost-rally-highlight-throb-loop {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.boost-rally__highlight--throb {
    animation: boost-rally-highlight-throb-loop 2s cubic-bezier(.4,0,.6,1) infinite;
}

.boost-rally__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.boost-rally__panel--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Всегда на контейнере двух карточек: явный gap для grid (Tailwind) и дублирует зазор для flex (BS) */
.boost-rally__card-stack-gap {
    gap: 2rem;
}

/* Bootstrap only: класс задаётся в bs:, в Tailwind-режиме не выводится — не конфликтует с grid */
.boost-rally__card-row-bs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 768px) {
    .boost-rally__card-row-bs {
        flex-direction: row;
    }

    .boost-rally__card-row-bs > .boost-rally__panel--shift {
        flex: 1 1 0;
        min-width: 0;
    }
}

.boost-rally__card-row-bs > .boost-rally__panel--shift {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boost-rally__card-row-bs > .boost-rally__panel--shift > a:last-of-type {
    margin-top: auto;
}

