/* ============ REACTIVE LUMINESCENCE (2026) ============ */

/* 1. Aurora Backgrounds */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: auroraFloat 20s infinite alternate;
}

.aurora-blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    animation-delay: 0s;
}

.aurora-blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes auroraFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }

    100% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* 2. Glassmorphism 2.0 Card */
.glass-card-2026 {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Primary Border */
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        /* Inner dark ring for contrast */
        0 20px 50px -10px rgba(0, 0, 0, 0.7),
        /* Deep Shadow */
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    /* Inner lighting */
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

/* Internal Glow Follower */
.glass-card-2026::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.glass-card-2026:hover::after {
    opacity: 1;
}

/* 3. Energy Inputs */
.input-energy-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1px;
    /* Space for border */
    overflow: hidden;
}

.input-energy-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(124, 58, 237, 0.8),
            transparent 30%);
    animation: rotateEnergy 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-energy-wrapper:focus-within::before {
    opacity: 1;
}

@keyframes rotateEnergy {
    100% {
        transform: rotate(360deg);
    }
}

.input-energy {
    position: relative;
    width: 100%;
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    /* Slightly less than wrapper */
    color: white;
    padding: 16px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.input-energy:focus {
    background: rgba(10, 10, 15, 0.9);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: inset 0 0 20px rgba(124, 58, 237, 0.1);
}

/* 4. Button Ripple & Pulse */
.btn-pulse {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Breathing Glow */
.btn-pulse::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #7C3AED, #3B82F6, #7C3AED);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes animate-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animate-shine {
    animation: animate-shine 2s infinite;
}

/* ============ NEW ANIMATIONS & COMPONENTS (2026) ============ */

/* Animated Checkmark */
.checkmark-draw path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawCheck 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Animated Cross */
.cross-draw path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawCross 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes drawCross {
    to {
        stroke-dashoffset: 0;
    }
}

/* Glass Card Variations */
.glass-card-success {
    background: rgba(10, 20, 10, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: all 0.3s ease;
}

.glass-card-success:hover {
    background: rgba(10, 30, 10, 0.5);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.15);
    transform: translateY(-5px);
}

.glass-card-error {
    background: rgba(20, 10, 10, 0.3);
    border: 1px solid rgba(248, 113, 113, 0.1);
    transition: all 0.3s ease;
}

.glass-card-error:hover {
    background: rgba(30, 10, 10, 0.5);
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 0 0 30px rgba(248, 113, 113, 0.15);
    transform: translateY(-5px);
}

/* Floating Badge */
.floating-badge {
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Gradient Text 2026 */
.text-gradient-2026 {
    background: linear-gradient(135deg, #fff 0%, #A78BFA 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}


/* ============ PREMIUM PRICING (SaaS 2026) ============ */

.btn-gradient-border {
    position: relative;
    background: #000;
    border-radius: 9999px;
    /* Pill shape */
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.btn-gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    /* Border width */
    z-index: -1;
    background: conic-gradient(from 90deg at 50% 50%, #0000 0%, #a855f7 50%, #0000 100%);
    animation: spinBorder 3s linear infinite;
    border-radius: inherit;
}

.btn-gradient-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    /* Inner spacing to show border */
    background: #09090b;
    /* Button bg */
    border-radius: inherit;
    z-index: -1;
    transition: background 0.3s ease;
}

.btn-gradient-border:hover::after {
    background: #18181b;
}

.btn-gradient-border:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    transform: scale(1.02);
}

@keyframes spinBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.text-stroke-sm {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}


/* ============ TARGET SECTION ANIMATIONS ============ */
.flashlight-container {
    /* Container for relative positioning of the light */
}

#flashlight-gradient {
    background: radial-gradient(600px circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    /* Ensure it doesn't block clicks */
    pointer-events: none;
    z-index: 0;
}

/* Hover scales for regular items implemented via Tailwind classes in HTML *// *   F l o a t i n g   A n i m a t i o n   f o r   H e r o   D e c o r a t i o n s   * /  
 @ k e y f r a m e s   f l o a t - s l o w   {  
  
         0 % ,  
         1 0 0 %   {  
                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ;  
         }  
  
         5 0 %   {  
                 t r a n s f o r m :   t r a n s l a t e Y ( - 1 0 p x ) ;  
         }  
 }  
  
 @ k e y f r a m e s   f l o a t - d e l a y e d   {  
  
         0 % ,  
         1 0 0 %   {  
                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ;  
         }  
  
         5 0 %   {  
                 t r a n s f o r m :   t r a n s l a t e Y ( - 8 p x ) ;  
         }  
 }  
  
 . a n i m a t e - f l o a t - s l o w   {  
         a n i m a t i o n :   f l o a t - s l o w   4 s   e a s e - i n - o u t   i n f i n i t e ;  
 }  
  
 . a n i m a t e - f l o a t - d e l a y e d   {  
         a n i m a t i o n :   f l o a t - d e l a y e d   5 s   e a s e - i n - o u t   i n f i n i t e ;  
         a n i m a t i o n - d e l a y :   1 s ;  
 }  
 