/* Hero Section Styles */

/* Rotating text animation - vertical slide */
.rotating-text-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    height: 1.5em;
    line-height: 1.5em;
    vertical-align: baseline;
    margin-left: 0;
    clip-path: inset(0 0 0 0);
}

.rotating-text {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.5em;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
}

.rotating-text .text-prefix {
    color: #64748b;
}

.rotating-text .text-infrastructure { color: #00baff; }
.rotating-text .text-store { color: #00baff; }
.rotating-text .text-processor { color: #00baff; }
.rotating-text .text-data { color: #00baff; }
.rotating-text .text-way { color: #ff9500; }

/* Unicorn Studio Container */
.unicorn-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

/* Hero Section with Radial Gradient Glow */
.hero-section {
    background:
        radial-gradient(
            ellipse 800px 600px at 50% 45%,
            rgba(0, 186, 255, 0.08) 0%,
            rgba(0, 186, 255, 0.04) 35%,
            rgba(255, 255, 255, 0) 70%
        ),
        white;
}

/* Section Glow Transition - extends hero glow into sections */
.section-glow-transition {
    background:
        radial-gradient(
            ellipse 800px 400px at 50% 0%,
            rgba(0, 186, 255, 0.04) 0%,
            rgba(0, 186, 255, 0.02) 25%,
            rgba(255, 255, 255, 0) 50%
        ),
        white;
}

/* Organic Retro Blue/Purple Gradient Cloud - Top Left Artistic Accent */
.headline-gradient-backdrop {
    position: fixed;
    top: 100px;
    left: 0;
    width: 800px;
    height: 700px;
    z-index: 5;
    pointer-events: none;

    /* Bold radial gradient cloud */
    background: radial-gradient(
        ellipse at 30% 30%,
        rgba(0, 186, 255, 0.8) 0%,
        rgba(59, 130, 246, 0.75) 15%,
        rgba(99, 102, 241, 0.7) 30%,
        rgba(139, 92, 246, 0.65) 45%,
        rgba(124, 58, 237, 0.5) 60%,
        transparent 80%
    );

    /* Heavy grain + blur */
    filter: url(#grain-filter-v1) blur(80px);
}

/* Mobile */
@media (max-width: 768px) {
    .headline-gradient-backdrop {
        width: 100%;
        height: 500px;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 0;

        /* Subtle gradient for mobile */
        background: radial-gradient(
            ellipse at 50% 30%,
            rgba(0, 186, 255, 0.25) 0%,
            rgba(59, 130, 246, 0.2) 20%,
            rgba(99, 102, 241, 0.15) 40%,
            transparent 70%
        );

        /* Lighter blur for mobile performance */
        filter: blur(50px);
    }
}
