.guest-effects-active .site-header,
.guest-effects-active .app-main--public,
.guest-effects-active .site-footer {
    position: relative;
    z-index: 1;
}

.guest-effects-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.guest-effects-layer__canvas,
.guest-effects-layer__cursor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.guest-hero-animation {
    position: relative;
    overflow: hidden;
    padding: clamp(1.2rem, 2vw, 2rem) 0 1rem;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.11), transparent 32%),
        radial-gradient(circle at top right, rgba(29, 78, 216, 0.09), transparent 28%),
        linear-gradient(180deg, #ffffff, #f8fafc 72%);
}

.guest-hero-animation__shell {
    position: relative;
    display: grid;
    gap: 1.2rem;
    align-items: stretch;
    min-height: 420px;
    padding: clamp(1.2rem, 2vw, 1.8rem);
    border-radius: 30px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    isolation: isolate;
}

.guest-hero-animation__canvas,
.guest-hero-animation__cursor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
}

.guest-hero-animation__cursor {
    z-index: 1;
}

.guest-hero-animation__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
    gap: 1.2rem;
    align-items: center;
    min-height: 380px;
}

.guest-hero-animation__copy {
    display: grid;
    gap: 1rem;
    max-width: 680px;
}

.guest-hero-animation__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.11);
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.guest-hero-animation__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1;
    color: #091226;
    letter-spacing: -0.04em;
}

.guest-hero-animation__title-accent {
    color: #f97316;
}

.guest-hero-animation__description {
    margin: 0;
    max-width: 56ch;
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.75;
}

.guest-hero-animation__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.guest-hero-animation__meta {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    color: #475569;
    font-size: 0.92rem;
}

.guest-hero-animation__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.92);
}

.guest-hero-animation__panel {
    display: grid;
    gap: 1rem;
    position: relative;
}

.guest-hero-animation__slide-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 1.35rem;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.94)),
        linear-gradient(135deg, rgba(249, 115, 22, 0.06), rgba(124, 58, 237, 0.03));
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.guest-hero-animation__slide-card::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.16), transparent 68%);
}

.guest-hero-animation__slide-track {
    position: relative;
    min-height: 168px;
}

.guest-hero-animation__slide {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 0.75rem;
    align-content: start;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.guest-hero-animation__slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.guest-hero-animation__slide-label {
    width: fit-content;
    padding: 0.38rem 0.66rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.guest-hero-animation__slide h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
    line-height: 1.15;
}

.guest-hero-animation__slide p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.guest-hero-animation__dots {
    display: inline-flex;
    gap: 0.55rem;
}

.guest-hero-animation__dot {
    width: 11px;
    height: 11px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.guest-hero-animation__dot.is-active {
    transform: scale(1.15);
    background: #f97316;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.14);
}

.guest-hero-animation__progress {
    position: relative;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(226, 232, 240, 0.85);
}

.guest-hero-animation__progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #1d4ed8, #7c3aed);
    transition: width 0.22s linear;
}

.guest-hero-animation__note {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.35rem;
}

.guest-hero-animation__note strong {
    color: #0f172a;
}

.guest-hero-animation__note span {
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .guest-hero-animation__content {
        grid-template-columns: 1fr;
    }

    .guest-hero-animation__shell {
        min-height: auto;
    }

    .guest-hero-animation__slide-card {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .guest-hero-animation {
        padding-top: 0.75rem;
    }

    .guest-hero-animation__shell {
        padding: 1rem;
        border-radius: 24px;
    }

    .guest-hero-animation__content {
        min-height: auto;
    }

    .guest-hero-animation__description {
        font-size: 0.96rem;
    }

    .guest-hero-animation__slide-card {
        min-height: 220px;
        padding: 1.05rem;
    }

    .guest-hero-animation__actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guest-effects-layer {
        display: none;
    }

    .guest-hero-animation *,
    .guest-hero-animation *::before,
    .guest-hero-animation *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .guest-hero-animation__slide {
        position: static;
        opacity: 1;
        transform: none;
        display: none;
    }

    .guest-hero-animation__slide.is-active {
        display: grid;
    }

    .guest-hero-animation__progress {
        display: none;
    }
}
