/*
 * TenderPro360 home hero — pronounced, continuously flowing blue light blooms.
 * Decorative only. No JavaScript, video, or external dependencies.
 * Shared by the guest landing page and signed-in home page.
 */
.tp-animated-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(120deg, #285fdf 0%, #2555ce 53%, #293faa 100%);
}

.tp-hero-lights {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.tp-hero-light {
    position: absolute;
    width: 70%;
    height: 135%;
    border-radius: 50%;
    /* Less blur and more contrast make the motion visibly perceptible. */
    filter: blur(46px);
    transform-origin: center;
    will-change: transform;
}

.tp-hero-light--blue {
    top: -50%;
    left: -22%;
    background: radial-gradient(ellipse at center,
        rgba(119, 191, 255, .95) 0%,
        rgba(75, 145, 252, .76) 36%,
        rgba(75, 145, 252, 0) 74%);
    animation: tp-drift-one 10s ease-in-out infinite;
}

/* Class name retained to avoid changing either Blade view; glow is now entirely blue. */
.tp-hero-light--violet {
    top: -44%;
    right: -21%;
    background: radial-gradient(ellipse at center,
        rgba(40, 116, 255, .96) 0%,
        rgba(24, 91, 229, .82) 39%,
        rgba(24, 91, 229, 0) 75%);
    animation: tp-drift-two 12s ease-in-out infinite;
}

.tp-hero-light--cyan {
    bottom: -84%;
    left: 16%;
    width: 67%;
    background: radial-gradient(ellipse at center,
        rgba(32, 216, 255, .86) 0%,
        rgba(20, 169, 245, .52) 43%,
        rgba(20, 169, 245, 0) 76%);
    animation: tp-drift-three 13s ease-in-out infinite;
}

.tp-hero-content {
    position: relative;
    z-index: 1;
}

/* Large, staggered paths create unmistakable fluid motion instead of a static fade. */
@keyframes tp-drift-one {
    0%, 100% { transform: translate(-16%, -10%) scale(.93); }
    25% { transform: translate(9%, 14%) scale(1.12); }
    50% { transform: translate(31%, 22%) scale(1.33); }
    75% { transform: translate(9%, -1%) scale(1.09); }
}

@keyframes tp-drift-two {
    0%, 100% { transform: translate(14%, -10%) scale(1.09); }
    33% { transform: translate(-9%, 20%) scale(.91); }
    67% { transform: translate(-29%, -3%) scale(1.26); }
}

@keyframes tp-drift-three {
    0%, 100% { transform: translate(-14%, 7%) scale(.90); }
    43% { transform: translate(14%, -29%) scale(1.25); }
    76% { transform: translate(26%, 1%) scale(1.10); }
}

@media (max-width: 640px) {
    .tp-hero-light {
        width: 115%;
        filter: blur(35px);
    }
    .tp-hero-light--cyan { width: 105%; }
}

@media (prefers-reduced-motion: reduce) {
    .tp-hero-light { animation: none; will-change: auto; }
}


/*
 * Public welcome page only — brand-first entrance sequence.
 * The blue background keeps drifting continuously behind all stages.
 * Markers exist ONLY in welcome.blade.php, leaving signed-in home untouched.
 */
.tp-hero-intro .tp-intro-brand {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: .065em;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    animation: tp-intro-brand 1.65s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes tp-intro-brand {
    0%   { opacity: 0; transform: translateY(12px) scale(.97); }
    22%  { opacity: 1; transform: translateY(0) scale(1); }
    68%  { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(1.035); }
}

/* Visibility also prevents offscreen/hidden hero controls from receiving focus. */
.tp-hero-intro .tp-intro-reveal,
.tp-intro-follow {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 24px, 0);
    animation: tp-intro-rise .88s cubic-bezier(.22, 1, .36, 1) both;
}

/* Brand finishes fading out before the actual headline starts arriving. */
.tp-hero-intro .tp-intro-headline    { animation-delay: 1.70s; }
.tp-hero-intro .tp-intro-description { animation-delay: 1.94s; }
.tp-hero-intro .tp-intro-actions     { animation-delay: 2.18s; }
.tp-hero-intro .tp-intro-search      { animation-delay: 2.43s; }
.tp-intro-follow                     { animation-delay: 2.72s; }

@keyframes tp-intro-rise {
    0%   { opacity: 0; visibility: hidden; transform: translate3d(0, 24px, 0); }
    1%   { visibility: visible; }
    100% { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
}

/* Visitors who reduce motion see the entire page immediately. */
@media (prefers-reduced-motion: reduce), print {
    .tp-hero-intro .tp-intro-brand { display: none; animation: none; }
    .tp-hero-intro .tp-intro-reveal,
    .tp-intro-follow {
        animation: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}
