/* Shared Growth Loop — industry pages only (ub-growth-*) */

.ub-growth {
    padding: 50px 0 80px;
    background: linear-gradient(135deg, #eceaff 0%, #f0eeff 50%, #f5f3ff 100%);
}

.ub-growth-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.ub-growth-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #7b61ff;
    margin-bottom: 8px;
}

.ub-growth-label::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #7b61ff;
}

.ub-growth-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.2;
    color: #05053e;
    margin: 0 0 16px;
}

.ub-growth-accent {
    color: #7b61ff;
}

.ub-growth-header p {
    color: #474650;
    font-size: 16px;
    line-height: 26px;
    margin: 0;
}

.ub-growth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    align-items: center;
}

.ub-growth-diagram {
    position: relative;
    min-height: 499px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ub-growth-diagram img,
.ub-growth-diagram__svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.ub-growth-diagram__svg [data-growth-stage] {
    cursor: pointer;
}

.ub-growth-diagram__svg .growth-stage-pulse {
    pointer-events: none;
}

.ub-growth-diagram__svg .growth-stage-pulse--hover {
    opacity: 0.95;
}

.ub-growth-diagram__svg .growth-stage-pulse-ring {
    fill: none;
    stroke: #a8c8ff;
    stroke-width: 1;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: ub-growth-stage-radar 2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.ub-growth-diagram__svg .growth-stage-pulse-ring--delay {
    animation-delay: 1s;
}

@keyframes ub-growth-stage-radar {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        opacity: 0.18;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ub-growth-diagram__svg .growth-stage-pulse-ring {
        animation: none;
        opacity: 0.35;
        transform: scale(1.35);
    }
}

.ub-growth-stages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
    width: 100%;
    justify-self: end;
}

.ub-growth-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    width: 100%;
}

.ub-growth-stage-nav {
    display: flex;
    flex: 1;
    gap: 6px;
    margin: 0;
    min-width: 0;
}

.ub-growth-stage-nav button {
    flex: 1;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: #e6e2ff;
    cursor: pointer;
    padding: 0;
}

.ub-growth-stage-nav button.active {
    background: #7b61ff;
}

.ub-growth-prev,
.ub-growth-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7b61ff;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.ub-growth-prev:hover,
.ub-growth-next:hover {
    color: #05053e;
}

.ub-growth-cards {
    display: grid;
    width: 100%;
}

.ub-growth-cards > .ub-growth-panel {
    grid-area: 1 / 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ub-growth-cards > .ub-growth-panel[hidden] {
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

.ub-growth-cards > .ub-growth-panel.active {
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.ub-growth-card {
    background: #fff;
    border: 1px solid #e6e2ff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 17px 16.5px rgba(11, 11, 46, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ub-growth-card.active {
    border-color: #a8c8ff;
    box-shadow:
        0 0 0 1px rgba(168, 200, 255, 0.55),
        0 0 18px rgba(168, 200, 255, 0.65),
        0 0 36px rgba(123, 97, 255, 0.22),
        0 17px 16.5px rgba(11, 11, 46, 0.04);
}

.ub-growth-card.dark {
    background: #05053e;
    border-color: #e6e2ff;
}

.ub-growth-card.dark.active {
    border-color: #a8c8ff;
    box-shadow:
        0 0 0 1px rgba(168, 200, 255, 0.45),
        0 0 20px rgba(168, 200, 255, 0.5),
        0 0 40px rgba(123, 97, 255, 0.28),
        0 17px 16.5px rgba(11, 11, 46, 0.04);
}

.ub-growth-card-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ub-growth-card-num {
    width: 28px;
    height: 28px;
    border-radius: 100px;
    background: #05053e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ub-growth-card.dark .ub-growth-card-num {
    background: #7b61ff;
}

.ub-growth-card-eyebrow > span:last-child {
    font-size: 16px;
    font-weight: 500;
    color: #05053e;
}

.ub-growth-card.dark .ub-growth-card-eyebrow > span:last-child {
    color: #fff;
}

.ub-growth-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #05053e;
    margin: 0 0 16px;
}

.ub-growth-card.dark h3 {
    color: #fff;
}

.ub-growth-card > p {
    font-size: 15px;
    line-height: 24px;
    color: #474650;
    margin: 0 0 16px;
}

.ub-growth-card.dark > p {
    color: #c5c3e0;
}

.ub-growth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ub-growth-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.ub-growth-feature:last-child {
    margin-bottom: 0;
}

.ub-growth-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e6e2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7b61ff;
    font-size: 18px;
}

.ub-growth-feature h4 {
    font-size: 16px;
    font-weight: 500;
    color: #05053e;
    margin: 0 0 2px;
}

.ub-growth-feature p {
    font-size: 14px;
    line-height: 20px;
    color: #5f5d68;
    margin: 0;
}

.ub-growth-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ub-growth-tag {
    background: #e6e2ff;
    color: #05053e;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 100px;
}

.ub-growth-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.ub-growth-ai-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #f5f6ff;
    font-size: 12px;
    font-weight: 600;
}

.ub-growth-ai-tile-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #7b61ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ub-growth-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(245, 246, 255, 0.85);
}

.ub-growth-flow-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.ub-growth-org-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ub-growth-org-box {
    border: 1px solid #bcafff;
    border-radius: 16px;
    padding: 12px 16px;
}

.ub-growth-org-box.alt {
    background: rgba(245, 246, 255, 0.5);
}

.ub-growth-org-box h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #05053e;
    margin: 0 0 8px;
}

.ub-growth-org-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ub-growth-org-box li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #5f5d68;
    margin-bottom: 6px;
}

.ub-growth-org-box li:last-child {
    margin-bottom: 0;
}

.ub-growth-org-box li i {
    color: #7b61ff;
    font-size: 12px;
}

.ub-growth-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ub-growth-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #d6d0ff;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.32);
    font-size: 14px;
    color: #05053e;
}

.ub-growth-chip i {
    color: #7b61ff;
}

.ub-growth-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ub-growth-metric {
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #d6d0ff;
    border-radius: 12px;
    background: rgba(245, 246, 255, 0.32);
}

.ub-growth-metric strong {
    display: block;
    color: #7b61ff;
    font-size: 14px;
    font-weight: 500;
}

.ub-growth-metric span {
    font-size: 12px;
    color: #5f5d68;
}

.ub-growth-footnote {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: #5f5d68;
}

@media (max-width: 1199px) {
    .ub-growth-layout {
        grid-template-columns: 1fr;
    }

    .ub-growth-stages {
        justify-self: center;
        max-width: 360px;
    }

    .ub-growth-diagram {
        min-height: 0;
    }

    .ub-growth-diagram img,
    .ub-growth-diagram__svg {
        max-width: min(100%, 420px);
    }
}

@media (max-width: 991px) {
    .ub-growth {
        padding: 40px 0 56px;
    }
}

@media (max-width: 575px) {
    .ub-growth-ai-grid,
    .ub-growth-chips,
    .ub-growth-metrics {
        grid-template-columns: 1fr;
    }

    .ub-growth-controls {
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 10px;
    }

    .ub-growth-stage-nav {
        order: -1;
        flex: 1 0 100%;
    }

    .ub-growth-prev,
    .ub-growth-next {
        font-size: 13px;
    }
}
