/* orbit-bento — gradient board with phone tile + 2×2 service cards */
.orbit-bento__eyebrow {
    letter-spacing: 0.14em;
}

.orbit-bento__heading {
    letter-spacing: -0.03em;
}

.orbit-bento__board {
    padding: 1.25rem;
}

.orbit-bento__cloud {
    width: 16rem;
    height: 12rem;
    filter: blur(40px);
}

.orbit-bento__cloud--a {
    transform: translate(-18%, -30%);
}

.orbit-bento__cloud--b {
    width: 20rem;
    height: 14rem;
    transform: translate(55%, 75%);
}

.orbit-bento__phone {
    width: 100%;
    max-width: 16rem;
    aspect-ratio: 9 / 19;
    padding: 0.5rem;
    border-radius: 2.5rem;
    margin: 0 auto;
}

.orbit-bento__screen {
    border-radius: 2.05rem;
}

.orbit-bento__notch {
    width: 5rem;
    height: 1.2rem;
}

.orbit-bento__status {
    font-size: 0.7rem;
}

.orbit-bento__status i {
    margin-left: 0.15rem;
    font-size: 0.58rem;
}

.orbit-bento__coin {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.6rem;
}

.orbit-bento__micro {
    font-size: 0.62rem;
    line-height: 1.15;
}

.orbit-bento__chart {
    min-height: 5.5rem;
    overflow: visible;
}

.orbit-bento__chart-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 5.5rem;
    overflow: visible;
}

.orbit-bento__chart-fill {
    transform-origin: center bottom;
    animation: orbit-bento-chart-fill 4.2s ease-in-out infinite;
}

.orbit-bento__chart-line {
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    animation: orbit-bento-chart-draw 4.2s ease-in-out infinite;
}

.orbit-bento__chart-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: orbit-bento-chart-dot 4.2s ease-in-out infinite;
}

@keyframes orbit-bento-chart-fill {
    0%, 12% { opacity: 0; transform: scaleY(0.55); }
    40%, 72% { opacity: 1; transform: scaleY(1); }
    88%, 100% { opacity: 0; transform: scaleY(0.55); }
}

@keyframes orbit-bento-chart-draw {
    0% { stroke-dashoffset: 360; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 360; opacity: 0.35; }
}

@keyframes orbit-bento-chart-dot {
    0%, 28% { opacity: 0; transform: translateY(5px) scale(0.6); }
    42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    88%, 100% { opacity: 0; transform: translateY(5px) scale(0.6); }
}

.orbit-bento__tile {
    padding: 1.15rem;
    min-height: 100%;
}

@media (min-width: 1024px) {
    .orbit-bento__board {
        padding: 1.75rem;
    }

    .orbit-bento__phone {
        max-width: 17rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbit-bento__chart-fill,
    .orbit-bento__chart-line,
    .orbit-bento__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* time-range chips inside the phone mock: never spill out of the frame; extra chips scroll sideways */
ul:has(> li.orbit-bento__micro) { overflow-x: auto; scrollbar-width: none; }
ul:has(> li.orbit-bento__micro)::-webkit-scrollbar { display: none; }
li.orbit-bento__micro { flex-shrink: 0; white-space: nowrap; }

/* Layout / motion only — colors stay in Blade utilities (CLAUDE.md) */

.perks-fourcol-glow__blob--a {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 5rem;
    left: 2.5rem;
    filter: blur(64px);
}

.perks-fourcol-glow__blob--b {
    position: absolute;
    width: 10rem;
    height: 10rem;
    bottom: 5rem;
    right: 2.5rem;
    filter: blur(64px);
}

.perks-fourcol-glow__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
}

.perks-fourcol-glow__thumb {
    width: 5rem;
    height: 5rem;
}

.perks-fourcol-glow__card,
.perks-fourcol-glow__thumb {
    transition: transform 0.3s ease;
}

.perks-fourcol-glow__overlay {
    transition: opacity 0.5s ease;
}

.perks-fourcol-glow__accent {
    transition: opacity 0.5s ease;
}

@media (min-width: 640px) {
    .perks-fourcol-glow__group:hover .perks-fourcol-glow__card {
        transform: scale(1.05);
    }

    .perks-fourcol-glow__group:hover .perks-fourcol-glow__thumb {
        transform: scale(1.1);
    }
}

.perks-fourcol-glow__group:hover .perks-fourcol-glow__overlay {
    opacity: 1;
}

.perks-fourcol-glow__group:hover .perks-fourcol-glow__accent {
    opacity: 1;
}

/* awards — animated SVG mesh card backgrounds */
.awards-mesh__canvas {
  isolation: isolate;
}

/* BS-only canvas gradient (TW uses @sem gradient layer) */
.awards-mesh__canvas-bg {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--bs-primary) 55%, black),
    color-mix(in srgb, var(--bs-primary) 42%, black),
    var(--bs-primary)
  );
}

.dark .awards-mesh__canvas-bg,
[data-bs-theme="dark"] .awards-mesh__canvas-bg {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--bs-primary) 10%, black),
    color-mix(in srgb, var(--bs-primary) 22%, black),
    color-mix(in srgb, var(--bs-primary) 38%, black)
  );
}

.awards-mesh__svg {
  display: block;
}

.awards-mesh__orb {
  transform-origin: center;
  transform-box: fill-box;
}

.awards-mesh__orb--a {
  animation: awards-mesh-orb-drift-a 9s ease-in-out infinite;
}

.awards-mesh__orb--b {
  animation: awards-mesh-orb-drift-b 11s ease-in-out infinite;
  animation-delay: 1.5s;
}

.awards-mesh__orb--c {
  animation: awards-mesh-orb-pulse 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

.awards-mesh__wave {
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
}

.awards-mesh__wave--a {
  animation: awards-mesh-wave-slide 14s linear infinite;
}

.awards-mesh__wave--b {
  animation: awards-mesh-wave-slide 18s linear infinite reverse;
  animation-delay: 2s;
}

.awards-mesh__svg--1 .awards-mesh__orb--a {
  animation-delay: 0.5s;
}

.awards-mesh__svg--1 .awards-mesh__wave--a {
  animation-duration: 16s;
}

.awards-mesh__svg--2 .awards-mesh__orb--b {
  animation-delay: 2.5s;
}

.awards-mesh__svg--2 .awards-mesh__wave--b {
  animation-duration: 12s;
}

.awards-mesh__svg--3 .awards-mesh__orb--c {
  animation-delay: 1.2s;
}

@keyframes awards-mesh-orb-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -10px) scale(1.08);
  }
}

@keyframes awards-mesh-orb-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-14px, 8px) scale(1.06);
  }
}

@keyframes awards-mesh-orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

@keyframes awards-mesh-wave-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}

/* 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;
    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);
}

/* Orbit hub: same tokens as .integrations__icon-tile */
.integrations__orbit-hub {
    color: #fff;
    --_oh-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_oh-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(--_oh-from), var(--_oh-to));
}

.integrations__orbit-hub svg {
    width: 3.25rem;
    height: 3.25rem;
    max-width: 85%;
    max-height: 85%;
    flex-shrink: 0;
}

.integrations__orbit-hub svg path {
    fill: currentColor !important;
}

/* Orbit layout */
.integrations__orbit-container {
    width: 480px;
    height: 480px;
}

.integrations__orbit-ring {
    width: 380px;
    height: 380px;
    top: 50px;
    left: 50px;
}

.integrations__orbit-hub--centered {
    width: 96px;
    height: 96px;
    top: calc(50% - 48px);
    left: calc(50% - 48px);
}

.integrations__orbit-tooltip {
    z-index: 20;
}

/* v9: widths/heights (no colors) so BS mode has real dimensions without TW w-*/h-* */
.integrations-v9__mobile-card {
    width: 6rem;
}
.integrations-v9__mobile-icon {
    width: 2.5rem;
    height: 2.5rem;
}
.integrations-v9__orbit-tile {
    width: 4rem;
    height: 4rem;
}
.integrations-v9__pill-icon {
    width: 1.75rem;
    height: 1.75rem;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v9__orbit-item .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-v9__orbit-item:hover .integrations__icon-tile { transform: scale(1.1); }
.integrations-v9__orbit-item .integrations__orbit-tooltip { transition: opacity 0.2s ease; }
.integrations-v9__orbit-item:hover .integrations__orbit-tooltip { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .integrations-v9__orbit-item:hover .integrations__icon-tile { transform: none; }
}

