/* ========================================================
   RYLSE - VISION DEDICATED STYLES
   ======================================================== */

/* --- 1. GŁÓWNY KONTENER I TŁO --- */
.vision-wrapper {
    background-color: transparent !important; /* Pozwala tłu z headera oraz poświatom błyszczeć */
    min-height: calc(100vh - 5rem);
}

/* --- 2. INTERAKTYWNY SPOTLIGHT MYSZY --- */
.vision-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    --mouse-x: 50vw;
    --mouse-y: 50vh;
    background: radial-gradient(
        750px circle at var(--mouse-x) var(--mouse-y), 
        rgba(129, 43, 44, 0.22) 0%,       /* Brand red */
        rgba(90, 24, 154, 0.12) 35%,     /* Purple */
        rgba(30, 58, 138, 0.05) 60%,     /* Deep Blue */
        transparent 80%
    );
    will-change: background;
}

/* --- 3. AMBIENT AURORA BLOBS (Pływające światła w tle) --- */
.vision-aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    animation: auroraFloat 18s infinite alternate ease-in-out;
}

.blob-red {
    top: 5%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(129, 43, 44, 0.6) 0%, transparent 70%);
}

.blob-purple {
    top: 40%;
    right: 5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(90, 24, 154, 0.5) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-blue {
    top: 75%;
    left: 15%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.4) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.08); }
    100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* --- 4. HERO SECTION HEIGHT FIX (Koniec problemu z uciętym Scrollem) --- */
.vision-hero-section {
    /* Odejmujemy 5rem (wysokość Twojego paska nawigacji) */
    height: calc(100vh - 5rem);
    min-height: 580px;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

/* --- 5. NOWOCZESNY WSKAŹNIK SCROLLA --- */
.vision-mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.vision-wheel {
    width: 3px;
    height: 6px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 2s infinite ease-out;
}

@keyframes mouseScroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* --- 6. TEKST GRADIENTOWY SHINE --- */
.vision-gradient-text {
    background-size: 200% auto;
    color: #fff;
    background-image: linear-gradient(
        to right, 
        #ffffff 0%, 
        #e2e8f0 20%, 
        #c084fc 40%, 
        #812B2C 65%, 
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 7s linear infinite;
    display: inline-block;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

/* --- 7. APPLE SCROLL-TELLING TEXT --- */
.apple-scroll-text {
    color: rgba(255, 255, 255, 0.18);
    transition: color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: color;
}

.apple-scroll-text .highlight-target {
    color: rgba(255, 255, 255, 0.18);
    transition: color 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-scroll-text.highlighted {
    color: #9ca3af; /* text-gray-400 */
}

.apple-scroll-text.highlighted .highlight-target {
    color: #ffffff;
}

/* --- 8. FIX NA KAFELEK KODU I IKONY SVG --- */
.copy-cmd-btn svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0;
}

.vision-long-text p {
    margin-bottom: 2rem;
    transition: color 0.25s ease;
}

.vision-long-text p:hover {
    color: #f3f4f6;
}