:root {
    --grow-ai-bg: #050814;
    --grow-ai-panel: rgba(9, 16, 34, .74);
    --grow-ai-panel-strong: rgba(11, 22, 48, .92);
    --grow-ai-blue: #2f80ff;
    --grow-ai-blue-soft: rgba(47, 128, 255, .24);
    --grow-ai-cyan: #73d7ff;
    --grow-ai-text: #f7fbff;
    --grow-ai-muted: rgba(236, 245, 255, .68);
    --grow-ai-border: rgba(137, 190, 255, .22);
}

.grow-ai-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 20%, rgba(47, 128, 255, .24), transparent 34%),
        radial-gradient(circle at 18% 68%, rgba(115, 215, 255, .10), transparent 30%),
        linear-gradient(180deg, #050814 0%, #07101f 48%, #04060d 100%);
    color: var(--grow-ai-text);
    overflow: hidden;
}

.grow-ai-hero {
    position: relative;
    min-height: calc(100vh - 84px);
    padding: clamp(64px, 8vw, 108px) 0 clamp(72px, 9vw, 128px);
    display: flex;
    align-items: center;
}

.grow-ai-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.grow-ai-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(44px);
    opacity: .55;
    pointer-events: none;
}

.grow-ai-bg-orb-one {
    width: 360px;
    height: 360px;
    left: 8%;
    top: 18%;
    background: rgba(47, 128, 255, .20);
    animation: growAiFloat 9s ease-in-out infinite;
}

.grow-ai-bg-orb-two {
    width: 280px;
    height: 280px;
    right: 10%;
    bottom: 14%;
    background: rgba(115, 215, 255, .14);
    animation: growAiFloat 11s ease-in-out infinite reverse;
}

.grow-ai-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid var(--grow-ai-border);
    border-radius: 999px;
    color: rgba(235, 246, 255, .82);
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(14px);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.grow-ai-kicker span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--grow-ai-cyan);
    box-shadow: 0 0 18px rgba(115, 215, 255, .9);
}

.grow-ai-title {
    margin: 0;
    color: #fff;
    font-family: "Glacial Indifference", Inter, system-ui, sans-serif;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .92;
    letter-spacing: -.055em;
}

.grow-ai-subtitle {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--grow-ai-muted);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.7;
}

.grow-ai-stage {
    width: min(920px, 100%);
    margin: clamp(42px, 6vw, 72px) auto 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--grow-ai-border);
    border-radius: 36px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
        var(--grow-ai-panel);
    box-shadow:
        0 30px 110px rgba(0, 0, 0, .45),
        inset 0 1px 0 rgba(255, 255, 255, .10);
    backdrop-filter: blur(20px);
}

.grow-ai-core-wrap {
    position: relative;
    width: clamp(230px, 34vw, 340px);
    height: clamp(230px, 34vw, 340px);
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.grow-ai-core {
    position: relative;
    z-index: 4;
    width: 58%;
    height: 58%;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.30), transparent 23%),
        radial-gradient(circle at 50% 50%, rgba(115,215,255,.24), transparent 50%),
        linear-gradient(145deg, rgba(47,128,255,.95), rgba(7,20,48,.96));
    box-shadow:
        0 0 44px rgba(47,128,255,.55),
        0 0 100px rgba(47,128,255,.24),
        inset 0 0 30px rgba(255,255,255,.16);
    display: grid;
    place-items: center;
    animation: growAiPulse 2.8s ease-in-out infinite;
}

.grow-ai-core.is-listening {
    animation: growAiPulseListening 1.4s ease-in-out infinite;
}

.grow-ai-core::before,
.grow-ai-core::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: inherit;
    border: 1px solid rgba(115,215,255,.22);
    animation: growAiWave 2.8s ease-out infinite;
}

.grow-ai-core::after {
    animation-delay: 1.2s;
}

.grow-ai-core-inner {
    text-align: center;
}

.grow-ai-core-label {
    font-family: "Glacial Indifference", Inter, system-ui, sans-serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
}

.grow-ai-core-status {
    margin-top: 8px;
    color: rgba(255,255,255,.74);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.grow-ai-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(115, 215, 255, .20);
}

.grow-ai-orbit-one {
    inset: 4%;
    animation: growAiRotate 18s linear infinite;
}

.grow-ai-orbit-two {
    inset: 15%;
    border-style: dashed;
    animation: growAiRotate 13s linear infinite reverse;
}

.grow-ai-orbit-three {
    inset: 27%;
    opacity: .65;
    animation: growAiRotate 9s linear infinite;
}

.grow-ai-orbit::before {
    content: "";
    position: absolute;
    top: 13%;
    left: 15%;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--grow-ai-cyan);
    box-shadow: 0 0 20px rgba(115, 215, 255, .9);
}

.grow-ai-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.grow-ai-particles span {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(204, 239, 255, .85);
    box-shadow: 0 0 16px rgba(115, 215, 255, .75);
    animation: growAiParticle 3.4s ease-in-out infinite;
    animation-delay: var(--d);
}

.grow-ai-signal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: rgba(238, 248, 255, .78);
    font-size: 14px;
}

.grow-ai-signal-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--grow-ai-cyan);
    box-shadow: 0 0 18px rgba(115, 215, 255, .85);
}

.grow-ai-concepts {
    position: relative;
    min-height: 68px;
    margin: 28px auto 0;
    display: grid;
    place-items: center;
}

.grow-ai-concept {
    display: inline-block;
    max-width: 760px;
    color: rgba(239, 248, 255, .72);
    font-size: clamp(20px, 2.4vw, 32px);
    line-height: 1.25;
    letter-spacing: -.03em;
    text-wrap: balance;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px);
    transition: opacity .7s ease, filter .7s ease, transform .7s ease;
}

.grow-ai-concept.is-active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.grow-ai-tags-area {
    margin: 24px auto 0;
    padding: 20px;
    border: 1px solid rgba(137,190,255,.18);
    border-radius: 24px;
    background: rgba(3, 8, 20, .36);
}

.grow-ai-tags-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.grow-ai-tags-head small {
    color: rgba(236,245,255,.48);
}

.grow-ai-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 42px;
}

.grow-ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid rgba(115, 215, 255, .24);
    border-radius: 999px;
    color: rgba(240, 250, 255, .88);
    background: rgba(47, 128, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    font-size: 13px;
    animation: growAiTagIn .42s ease both;
}

.grow-ai-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--grow-ai-cyan);
    box-shadow: 0 0 12px rgba(115, 215, 255, .7);
}

.grow-ai-empty-tag {
    color: rgba(236,245,255,.42);
    font-size: 14px;
}

.grow-ai-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.grow-ai-mic-btn,
.grow-ai-secondary-btn {
    border: 0;
    cursor: pointer;
    font-family: Inter, system-ui, sans-serif;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.grow-ai-mic-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #2f80ff, #73d7ff);
    box-shadow: 0 18px 42px rgba(47,128,255,.35);
    font-weight: 800;
}

.grow-ai-mic-btn:hover,
.grow-ai-secondary-btn:hover {
    transform: translateY(-2px);
}

.grow-ai-mic-btn.is-recording {
    box-shadow: 0 0 0 9px rgba(47,128,255,.13), 0 20px 48px rgba(47,128,255,.42);
}

.grow-ai-mic-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.grow-ai-mic-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.grow-ai-secondary-btn {
    min-height: 58px;
    padding: 0 22px;
    border: 1px solid rgba(137,190,255,.24);
    border-radius: 999px;
    color: rgba(244,250,255,.86);
    background: rgba(255,255,255,.055);
    font-weight: 700;
}

.grow-ai-note {
    max-width: 620px;
    margin: 18px auto 0;
    color: rgba(236,245,255,.42);
    font-size: 13px;
    line-height: 1.6;
}

@keyframes growAiPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@keyframes growAiPulseListening {
    0%, 100% { transform: scale(1); box-shadow: 0 0 44px rgba(47,128,255,.55), 0 0 100px rgba(47,128,255,.24), inset 0 0 30px rgba(255,255,255,.16); }
    50% { transform: scale(1.075); box-shadow: 0 0 64px rgba(115,215,255,.70), 0 0 140px rgba(47,128,255,.34), inset 0 0 34px rgba(255,255,255,.22); }
}

@keyframes growAiWave {
    0% { transform: scale(.84); opacity: .65; }
    100% { transform: scale(1.32); opacity: 0; }
}

@keyframes growAiRotate {
    to { transform: rotate(360deg); }
}

@keyframes growAiParticle {
    0%, 100% { transform: translate3d(0, 0, 0) scale(.75); opacity: .38; }
    50% { transform: translate3d(8px, -12px, 0) scale(1.15); opacity: 1; }
}

@keyframes growAiTagIn {
    from { opacity: 0; transform: translateY(8px) scale(.94); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes growAiFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(20px, -24px, 0); }
}

@media (max-width: 768px) {
    .grow-ai-hero {
        min-height: auto;
        padding: 48px 0 72px;
    }

    .grow-ai-stage {
        border-radius: 28px;
        padding: 22px 16px;
    }

    .grow-ai-title {
        font-size: clamp(42px, 15vw, 62px);
    }

    .grow-ai-subtitle {
        font-size: 15px;
    }

    .grow-ai-core-wrap {
        width: 250px;
        height: 250px;
    }

    .grow-ai-tags-head {
        align-items: center;
    }

    .grow-ai-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .grow-ai-mic-btn,
    .grow-ai-secondary-btn {
        justify-content: center;
        width: 100%;
    }
}

/* Grow AI - voice transcript/concept refinement */
.grow-ai-concepts {
    overflow: hidden;
}

.grow-ai-concept {
    font-weight: 850;
    color: rgba(255, 255, 255, .92);
    white-space: nowrap;
    max-width: min(820px, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
}

.grow-ai-concept::before,
.grow-ai-concept::after {
    content: none !important;
}

.grow-ai-question {
    max-width: 760px;
    margin: 10px auto 0;
    min-height: 34px;
    color: rgba(115, 215, 255, .88);
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: -.01em;
    opacity: .88;
    transition: opacity .45s ease, transform .45s ease, filter .45s ease;
}

.grow-ai-question.is-changing {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(6px);
}

.grow-ai-question::before {
    content: "Domanda AI · ";
    color: rgba(236, 245, 255, .46);
    font-weight: 700;
}

@media (max-width: 768px) {
    .grow-ai-concept {
        max-width: 100%;
        font-size: clamp(19px, 6vw, 28px);
    }

    .grow-ai-question {
        font-size: 14px;
    }
}

/* Grow AI - smoother voice fade, no bounce */
.grow-ai-concept {
    transform: none !important;
    transition: opacity .55s ease, filter .55s ease !important;
    will-change: opacity, filter;
}

.grow-ai-concept.is-active {
    transform: none !important;
}

.grow-ai-concept.is-fading {
    opacity: 0 !important;
    filter: blur(7px) !important;
}

.grow-ai-question {
    transform: none !important;
    transition: opacity .45s ease, filter .45s ease !important;
}

.grow-ai-question.is-changing {
    transform: none !important;
}

/* Grow AI - question label + voice UX refinement */
.grow-ai-question::before {
    content: "Grow AI · " !important;
    color: rgba(236, 245, 255, .50);
    font-weight: 800;
}

.grow-ai-concept {
    transform: none !important;
    transition: opacity .55s ease, filter .55s ease !important;
    will-change: opacity, filter;
}

.grow-ai-concept.is-active {
    transform: none !important;
}

.grow-ai-concept.is-fading {
    opacity: 0 !important;
    filter: blur(7px) !important;
}

.grow-ai-question {
    transform: none !important;
    transition: opacity .45s ease, filter .45s ease !important;
}

.grow-ai-question.is-changing {
    transform: none !important;
}

/* Grow AI - core as main interaction */
.grow-ai-core {
    cursor: pointer;
    user-select: none;
}

.grow-ai-core:hover {
    transform: scale(1.045);
}

.grow-ai-core.is-listening {
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.28), transparent 24%),
        radial-gradient(circle at 50% 50%, rgba(255,80,80,.26), transparent 54%),
        linear-gradient(145deg, rgba(255,65,65,.95), rgba(72,8,18,.98)) !important;
    box-shadow:
        0 0 46px rgba(255,65,65,.70),
        0 0 120px rgba(255,65,65,.34),
        inset 0 0 32px rgba(255,255,255,.16) !important;
}

.grow-ai-core.is-listening::before,
.grow-ai-core.is-listening::after {
    border-color: rgba(255, 110, 110, .34) !important;
}

.grow-ai-mic-btn {
    display: none !important;
}

.grow-ai-signal {
    margin-top: 10px;
}

.grow-ai-concept {
    transform: none !important;
    transition: opacity .55s ease, filter .55s ease !important;
}

.grow-ai-concept.is-active {
    transform: none !important;
}

.grow-ai-concept.is-fading {
    opacity: 0 !important;
    filter: blur(7px) !important;
}

.grow-ai-question::before {
    content: "Grow AI · " !important;
}

.grow-ai-tag.is-sector {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.075);
}

.grow-ai-tag.is-priority {
    border-color: rgba(255,95,95,.36);
    background: rgba(255,70,70,.13);
}

.grow-ai-tag.is-opportunity {
    border-color: rgba(115,215,255,.34);
    background: rgba(47,128,255,.15);
}


/* Grow AI - safe vertical concept reel */
.grow-ai-concepts.is-reel-ready {
    position: relative;
    min-height: 138px !important;
    height: 138px;
    margin: 30px auto 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    perspective: 900px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept,
.grow-ai-concepts.is-reel-ready .grow-ai-reel-ghost {
    position: absolute;
    left: 50%;
    width: min(860px, 100%);
    max-width: min(860px, 100%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    letter-spacing: -.035em;
    transform-origin: center center;
    transition:
        opacity .58s ease,
        filter .58s ease,
        transform .58s cubic-bezier(.22, .9, .22, 1),
        font-size .58s ease;
    will-change: opacity, filter, transform;
}

.grow-ai-concepts.is-reel-ready .grow-ai-reel-prev {
    transform: translate(-50%, -46px) scale(.84) rotateX(-14deg);
    opacity: .22;
    filter: blur(4px);
    color: rgba(236, 245, 255, .44);
    font-size: clamp(15px, 1.75vw, 22px);
    font-weight: 650;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept {
    display: block !important;
    transform: translate(-50%, 0) scale(1) rotateX(0deg) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(23px, 3vw, 40px);
    font-weight: 900;
    text-shadow: 0 0 28px rgba(115, 215, 255, .25);
}

.grow-ai-concepts.is-reel-ready .grow-ai-reel-next {
    transform: translate(-50%, 46px) scale(.84) rotateX(14deg);
    opacity: .20;
    filter: blur(4px);
    color: rgba(236, 245, 255, .38);
    font-size: clamp(15px, 1.75vw, 22px);
    font-weight: 650;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept.is-reel-changing {
    opacity: 0 !important;
    filter: blur(8px) !important;
    transform: translate(-50%, -18px) scale(.94) rotateX(-10deg) !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-reel-next.is-reel-preview {
    opacity: .34;
    filter: blur(3px);
    transform: translate(-50%, 44px) scale(.88) rotateX(14deg);
}

@media (max-width: 768px) {
    .grow-ai-concepts.is-reel-ready {
        min-height: 122px !important;
        height: 122px;
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-concept {
        font-size: clamp(21px, 6vw, 31px);
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-reel-prev,
    .grow-ai-concepts.is-reel-ready .grow-ai-reel-next {
        font-size: clamp(14px, 4vw, 18px);
    }
}

/* Grow AI - reel visual refinement: softer, readable, less oversized */
.grow-ai-concepts.is-reel-ready {
    min-height: 118px !important;
    height: 118px !important;
    margin: 26px auto 0 !important;
    perspective: 760px;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    ) !important;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    ) !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept,
.grow-ai-concepts.is-reel-ready .grow-ai-reel-ghost {
    width: min(820px, 100%) !important;
    max-width: min(820px, 100%) !important;
    letter-spacing: -.025em !important;
}

/* Riga sopra: visibile, non troppo sfocata */
.grow-ai-concepts.is-reel-ready .grow-ai-reel-prev {
    transform: translate(-50%, -36px) scale(.92) rotateX(-7deg) !important;
    opacity: .42 !important;
    filter: blur(1.2px) !important;
    color: rgba(236, 245, 255, .62) !important;
    font-size: clamp(16px, 1.55vw, 21px) !important;
    font-weight: 650 !important;
}

/* Riga centrale: più premium, meno enorme, leggermente semi-trasparente */
.grow-ai-concepts.is-reel-ready .grow-ai-concept {
    transform: translate(-50%, 0) scale(1) rotateX(0deg) !important;
    opacity: .86 !important;
    filter: blur(0) !important;
    color: rgba(255, 255, 255, .86) !important;
    font-size: clamp(22px, 2.35vw, 32px) !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    text-shadow:
        0 0 18px rgba(115, 215, 255, .16),
        0 0 34px rgba(47, 128, 255, .10) !important;
}

/* Riga sotto: visibile, leggibile, pronta a salire */
.grow-ai-concepts.is-reel-ready .grow-ai-reel-next {
    transform: translate(-50%, 36px) scale(.92) rotateX(7deg) !important;
    opacity: .38 !important;
    filter: blur(1.2px) !important;
    color: rgba(236, 245, 255, .58) !important;
    font-size: clamp(16px, 1.55vw, 21px) !important;
    font-weight: 650 !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept.is-reel-changing {
    opacity: .18 !important;
    filter: blur(2.4px) !important;
    transform: translate(-50%, -18px) scale(.96) rotateX(-6deg) !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-reel-next.is-reel-preview {
    opacity: .48 !important;
    filter: blur(.8px) !important;
    transform: translate(-50%, 34px) scale(.94) rotateX(7deg) !important;
}

/* Rende l'effetto più raffinato e meno "scrittona" */
.grow-ai-concepts.is-reel-ready::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(720px, 92%);
    height: 42px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(115, 215, 255, .08), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    .grow-ai-concepts.is-reel-ready {
        min-height: 110px !important;
        height: 110px !important;
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-concept {
        font-size: clamp(20px, 5.2vw, 27px) !important;
        max-width: 100% !important;
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-reel-prev,
    .grow-ai-concepts.is-reel-ready .grow-ai-reel-next {
        font-size: clamp(14px, 3.8vw, 17px) !important;
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-reel-prev {
        transform: translate(-50%, -32px) scale(.92) rotateX(-6deg) !important;
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-reel-next {
        transform: translate(-50%, 32px) scale(.92) rotateX(6deg) !important;
    }
}


/* Grow AI - dynamic keyword reel preview */
.grow-ai-keyword-reel {
    width: min(820px, 100%);
    margin: 22px auto 0;
    padding: 14px 18px 12px;
    border: 1px solid rgba(137, 190, 255, .14);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 50%, rgba(47, 128, 255, .08), transparent 68%),
        rgba(3, 8, 20, .24);
    overflow: hidden;
}

.grow-ai-keyword-reel-label {
    margin-bottom: 4px;
    color: rgba(236, 245, 255, .42);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.grow-ai-keyword-reel-stage {
    position: relative;
    height: 82px;
    display: grid;
    place-items: center;
    overflow: hidden;
    perspective: 720px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.grow-ai-keyword-line {
    position: absolute;
    left: 50%;
    width: min(720px, 100%);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -.02em;
    transition:
        opacity .52s ease,
        filter .52s ease,
        transform .52s cubic-bezier(.22, .9, .22, 1),
        color .52s ease;
    will-change: opacity, filter, transform;
}

.grow-ai-keyword-line.is-prev {
    transform: translate(-50%, -27px) scale(.91) rotateX(-7deg);
    opacity: .34;
    filter: blur(.8px);
    font-size: clamp(14px, 1.35vw, 18px);
    font-weight: 750;
}

.grow-ai-keyword-line.is-current {
    transform: translate(-50%, 0) scale(1) rotateX(0deg);
    opacity: .82;
    filter: blur(0);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 900;
    text-shadow: 0 0 18px rgba(115, 215, 255, .16);
}

.grow-ai-keyword-line.is-next {
    transform: translate(-50%, 27px) scale(.91) rotateX(7deg);
    opacity: .30;
    filter: blur(.8px);
    font-size: clamp(14px, 1.35vw, 18px);
    font-weight: 750;
}

.grow-ai-keyword-line.is-changing {
    opacity: .18;
    filter: blur(2px);
    transform: translate(-50%, -16px) scale(.96) rotateX(-7deg);
}

.grow-ai-keyword-line.is-preview {
    opacity: .42;
    filter: blur(.5px);
}

/* Stesse logiche colore dei tag esistenti, ma più trasparenti */
.grow-ai-keyword-line.is-opportunity {
    color: rgba(115, 215, 255, .86);
}

.grow-ai-keyword-line.is-priority {
    color: rgba(255, 112, 132, .86);
}

.grow-ai-keyword-line.is-sector {
    color: rgba(236, 245, 255, .72);
}

@media (max-width: 768px) {
    .grow-ai-keyword-reel {
        margin-top: 18px;
        padding: 12px 14px 10px;
    }

    .grow-ai-keyword-reel-stage {
        height: 74px;
    }

    .grow-ai-keyword-line.is-current {
        font-size: clamp(17px, 5vw, 23px);
    }

    .grow-ai-keyword-line.is-prev,
    .grow-ai-keyword-line.is-next {
        font-size: clamp(13px, 3.8vw, 16px);
    }
}


/* Grow AI - smoother reel motion + less duplicated visual feeling */
.grow-ai-concepts.is-reel-ready {
    min-height: 126px !important;
    height: 126px !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept,
.grow-ai-concepts.is-reel-ready .grow-ai-reel-ghost {
    transition:
        opacity .92s ease,
        filter .92s ease,
        transform .92s cubic-bezier(.16, .84, .28, 1),
        font-size .92s ease,
        color .92s ease !important;
}

/* Sopra e sotto più leggibili ma meno invadenti */
.grow-ai-concepts.is-reel-ready .grow-ai-reel-prev {
    transform: translate(-50%, -34px) scale(.94) rotateX(-5deg) !important;
    opacity: .34 !important;
    filter: blur(.6px) !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept {
    font-size: clamp(21px, 2.15vw, 30px) !important;
    opacity: .84 !important;
    letter-spacing: -.025em !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-reel-next {
    transform: translate(-50%, 34px) scale(.94) rotateX(5deg) !important;
    opacity: .30 !important;
    filter: blur(.6px) !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-concept.is-reel-changing {
    opacity: .10 !important;
    filter: blur(2px) !important;
    transform: translate(-50%, -28px) scale(.96) rotateX(-5deg) !important;
}

.grow-ai-concepts.is-reel-ready .grow-ai-reel-next.is-reel-preview {
    opacity: .44 !important;
    filter: blur(.3px) !important;
    transform: translate(-50%, 30px) scale(.96) rotateX(4deg) !important;
}

/* Anche keyword reel più morbido */
.grow-ai-keyword-line {
    transition:
        opacity .78s ease,
        filter .78s ease,
        transform .78s cubic-bezier(.16, .84, .28, 1),
        color .78s ease !important;
}

.grow-ai-keyword-line.is-current {
    opacity: .76 !important;
}

.grow-ai-keyword-line.is-prev,
.grow-ai-keyword-line.is-next {
    opacity: .30 !important;
    filter: blur(.45px) !important;
}

@media (max-width: 768px) {
    .grow-ai-concepts.is-reel-ready {
        min-height: 116px !important;
        height: 116px !important;
    }

    .grow-ai-concepts.is-reel-ready .grow-ai-concept {
        font-size: clamp(19px, 5vw, 26px) !important;
    }
}


/* Grow AI - OpenAI keyword color mapping */
.grow-ai-tag.is-ai,
.grow-ai-keyword-line.is-ai {
    border-color: rgba(162, 120, 255, .34);
    background: rgba(118, 78, 255, .13);
    color: rgba(219, 206, 255, .90);
}

.grow-ai-tag.is-marketing,
.grow-ai-keyword-line.is-marketing {
    border-color: rgba(115, 215, 255, .34);
    background: rgba(47, 128, 255, .15);
    color: rgba(144, 226, 255, .90);
}

.grow-ai-tag.is-sales,
.grow-ai-keyword-line.is-sales {
    border-color: rgba(72, 255, 176, .30);
    background: rgba(48, 210, 140, .12);
    color: rgba(166, 255, 218, .88);
}

.grow-ai-tag.is-crm,
.grow-ai-keyword-line.is-crm {
    border-color: rgba(80, 180, 255, .32);
    background: rgba(30, 110, 255, .12);
    color: rgba(177, 221, 255, .90);
}

.grow-ai-tag.is-automation,
.grow-ai-keyword-line.is-automation {
    border-color: rgba(255, 184, 92, .34);
    background: rgba(255, 150, 55, .13);
    color: rgba(255, 219, 170, .90);
}

.grow-ai-tag.is-data,
.grow-ai-keyword-line.is-data {
    border-color: rgba(170, 225, 255, .28);
    background: rgba(110, 180, 255, .10);
    color: rgba(210, 239, 255, .88);
}

.grow-ai-tag.is-branding,
.grow-ai-keyword-line.is-branding {
    border-color: rgba(255, 120, 190, .32);
    background: rgba(255, 80, 160, .12);
    color: rgba(255, 199, 229, .88);
}

.grow-ai-tag.is-customer-care,
.grow-ai-keyword-line.is-customer-care {
    border-color: rgba(120, 255, 220, .30);
    background: rgba(60, 210, 190, .12);
    color: rgba(190, 255, 242, .88);
}

/* Grow AI - keyword reel neutral style */
.grow-ai-keyword-line,
.grow-ai-keyword-line.is-current,
.grow-ai-keyword-line.is-prev,
.grow-ai-keyword-line.is-next,
.grow-ai-keyword-line.is-ai,
.grow-ai-keyword-line.is-marketing,
.grow-ai-keyword-line.is-sales,
.grow-ai-keyword-line.is-crm,
.grow-ai-keyword-line.is-automation,
.grow-ai-keyword-line.is-data,
.grow-ai-keyword-line.is-branding,
.grow-ai-keyword-line.is-customer-care,
.grow-ai-keyword-line.is-opportunity,
.grow-ai-keyword-line.is-priority,
.grow-ai-keyword-line.is-sector {
    color: rgba(245, 250, 255, .78) !important;
    text-shadow: 0 0 18px rgba(115, 215, 255, .12) !important;
}

.grow-ai-keyword-line.is-current {
    color: rgba(255, 255, 255, .86) !important;
}

.grow-ai-keyword-line.is-prev,
.grow-ai-keyword-line.is-next {
    color: rgba(236, 245, 255, .46) !important;
}

.grow-ai-keyword-reel {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .045), transparent 68%),
        rgba(3, 8, 20, .24) !important;
}

