/* Custom Styles for Lumora */

body {
    background-color: #0F0F1A;
    color: #F3F4F6;
    scroll-behavior: smooth;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.text-gradient {
    background: linear-gradient(135deg, #F3F4F6 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.purple-gradient {
    background: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
}

.card-blur {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.card-blur:hover {
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.3);
}

.hero-glow {
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

.benefit-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mockup Interactive Shadow */
.mockup-container {
    transition: transform 0.1s ease-out;
    perspective: 1000px;
}

/* Floating elements */
.floating-card {
    position: absolute;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 20;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: float-idle 8s ease-in-out infinite;
}

.floating-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #7C3AED;
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px #7C3AED;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    animation: float-idle 10s ease-in-out infinite;
}

.mockup-inner {
    animation: mockup-float 12s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float-idle {
    0%, 100% { transform: translate(var(--tx, 0), calc(var(--ty, 0) + 0px)) rotate(0deg); }
    33% { transform: translate(calc(var(--tx, 0) + 10px), calc(var(--ty, 0) - 20px)) rotate(2deg); }
    66% { transform: translate(calc(var(--tx, 0) - 10px), calc(var(--ty, 0) + 10px)) rotate(-1deg); }
}

@keyframes mockup-float {
    0%, 100% { transform: translateY(0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
    50% { transform: translateY(-15px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
}

/* Custom Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(192, 132, 252, 0.02) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0; /* Behind everything */
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    /* Slower, more subtle transitions to avoid "flicker" feel */
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
                height 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 0.8s ease;
    filter: blur(20px);
    opacity: 0.5;
}

.cursor-follower.active {
    width: 300px; /* Much smaller increase (from 250 to 300) */
    height: 300px;
    opacity: 0.7; /* Only slight opacity increase */
}

/* Subtle inner point */
.cursor-follower::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(167, 139, 250, 0.2);
    border-radius: 50%;
    filter: blur(3px);
    transition: all 0.8s ease;
}

.cursor-follower.active::after {
    background: rgba(167, 139, 250, 0.4);
}

/* Stagger animations for more natural feel */
.floating-card:nth-child(2) { animation-delay: -1s; }
.floating-card:nth-child(3) { animation-delay: -3s; }
.floating-dot:nth-child(4) { animation-delay: -2s; }
.floating-dot:nth-child(5) { animation-delay: -4s; }
