/* Modern Interactive Hero Background with Purple Focus - Murf.ai Inspired */

/* Enhanced color palette with better color combinations */
.jp-hero-bg {
    --jumppl-primary-dark: #2d1b69;
    --jumppl-primary-color: #6c5ce7;
    --jumppl-primary-light: #8c7ae6;
    --jumppl-primary-vibrant: #a29bfe;
    --jumppl-secondary-color: #00d2d3;
    --jumppl-secondary-light: #81ecec;
    --jumppl-accent-bright: #fd79a8;
    --jumppl-accent-mild: #fab1a0;
    --jumppl-background-dark: #050721;
    --jumppl-glass-bg: rgba(255, 255, 255, 0.04);
    --jumppl-glass-border: rgba(255, 255, 255, 0.08);
    --jumppl-glow-color: rgba(108, 92, 231, 0.6);
    --jumppl-glow-secondary: rgba(253, 121, 168, 0.3);
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Hero: full viewport height so it never cuts off on any screen */
.jp-hero-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--jumppl-background-dark, #050721), #0a0b2e);
    padding: 100px 0 80px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

/* Modern Hero Text Container - short fade, no movement to avoid layout shift */
.jp-modern-text-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    animation: jp-fade-up 0.35s ease-out;
}

/* Updated Hero Section Title Styles for better visibility */
.jp-hero-section-title {
    font-size: 5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(69, 80, 229, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.jp-hero-section-title.main-title {
    margin-bottom: 10px;
}

.jp-hero-section-title span {
    background: linear-gradient(to right, var(--jumppl-primary-vibrant), var(--jumppl-accent-bright));
    -webkit-background-clip: text;
    color: transparent; /* Fallback */
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
    display: inline-block; /* Added to ensure visibility */
}

/* Fix for browsers that don't fully support background-clip */
@supports not (background-clip: text) {
    .jp-hero-section-title span {
        color: var(--jumppl-primary-vibrant);
    }
}

/* Enhance taglines visibility and styling */
.jp-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.7rem;
    margin: 35px 0 25px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Badge styling like Murf.ai */
.jp-badge-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 40px;
}

.jp-tagline-with-bg {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    color: white;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.jp-tagline-with-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.12);
}

.jp-tagline-with-bg img {
    margin-left: 10px;
    width: 18px !important;
    height: auto;
    filter: brightness(1.2);
    animation: jp-pulse-mini 2s infinite;
}

.jp-ai-highlight {
    color: var(--jumppl-secondary-color);
    font-weight: 600;
}

/* Modern CTA Buttons - Murf.ai style */
.jp-cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.jp-primary-button, .jp-secondary-button {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.jp-primary-button {
    background: var(--jumppl-primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.jp-primary-button i {
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.jp-primary-button:hover {
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    transform: translateY(-3px);
    background: var(--jumppl-primary-light);
}

.jp-primary-button:hover i {
    transform: translateX(5px);
}

.jp-secondary-button {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.jp-secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Partners Section */
.jp-partners-section {
    position: relative;
    z-index: 10;
    text-align: center;
    /* margin-top: 80px; */
}

.jp-partners-section h1 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.jp-images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.jp-images-container img {
    height: 32px;
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.jp-images-container img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.2);
    transform: translateY(-3px);
}

/* Interactive Background Elements */
.jp-hero-bg .jp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation-fill-mode: forwards;
}

/* Primary purple blob with enhanced gradient and more visibility */
.jp-hero-bg .jp-blob-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle at 30% 40%, 
                #a29bfe, 
                #6c5ce7 45%, 
                #2d1b69 80%);
    top: -200px;
    right: -200px;
    opacity: 0;
    filter: blur(60px); /* Reduced blur for more visibility */
    animation: jp-float 24s ease-in-out infinite, jp-fade-in 2s ease forwards;
    transform-origin: center center;
}

/* Secondary purple blob */
.jp-hero-bg .jp-blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle at 70% 60%, 
                var(--jumppl-primary-light), 
                var(--jumppl-primary-dark) 60%, 
                #1a105e 90%);
    bottom: -220px;
    left: -150px;
    opacity: 0;
    animation: jp-float-alt 28s ease-in-out infinite alternate, jp-fade-in 2s ease 0.3s forwards;
    transform-origin: center center;
}

/* Accent blob with turquoise for better color combo */
.jp-hero-bg .jp-blob-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, 
                var(--jumppl-secondary-light) 0%, 
                var(--jumppl-secondary-color) 40%, 
                rgba(0, 196, 204, 0) 75%);
    top: 45%;
    right: 30%;
    opacity: 0;
    filter: blur(50px);
    mix-blend-mode: soft-light;
    animation: jp-float-slow 30s ease-in-out infinite alternate, jp-fade-in 3s ease 0.6s forwards;
}

/* Additional smaller purple accent blobs */
.jp-hero-bg .jp-blob-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
                var(--jumppl-primary-glow) 0%, 
                var(--jumppl-primary-vibrant) 40%, 
                rgba(138, 71, 255, 0) 80%);
    top: 25%;
    left: 20%;
    opacity: 0;
    filter: blur(40px);
    animation: jp-float-micro 22s ease-in-out infinite alternate, jp-fade-in 2.5s ease 0.9s forwards;
}

.jp-hero-bg .jp-blob-5 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, 
                var(--jumppl-secondary-light) 10%, 
                var(--jumppl-secondary-color) 50%, 
                rgba(0, 196, 204, 0) 80%);
    bottom: 30%;
    right: 15%;
    opacity: 0;
    filter: blur(40px);
    animation: jp-float-micro-alt 25s ease-in-out infinite alternate, jp-fade-in 2.5s ease 1.2s forwards;
}

/* Central glow enhancement */
.jp-hero-bg .jp-glow-circle {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
                var(--jumppl-glow-color) 0%, 
                var(--jumppl-glow-secondary) 30%, 
                rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    mix-blend-mode: screen;
    animation: jp-pulse 10s ease-in-out infinite, jp-fade-in 3s ease 0.5s forwards;
}

/* Grid overlay with more depth and visual interest */
.jp-hero-bg .jp-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--jumppl-glass-bg) 1px, transparent 1px),
        linear-gradient(90deg, var(--jumppl-glass-bg) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    animation: jp-fade-in 2s ease 0.2s forwards;
}

/* Enhanced diagonal grid for added visual texture */
.jp-hero-bg .jp-diagonal-grid {
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    background-image: 
        linear-gradient(45deg, var(--jumppl-glass-bg) 1px, transparent 1px),
        linear-gradient(135deg, var(--jumppl-glass-bg) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: rotate(45deg);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    animation: jp-fade-in 3s ease 0.8s forwards, jp-rotate 120s linear infinite;
}

/* Enhanced stars effect with interactive motion */
.jp-hero-bg .jp-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    perspective: 800px;
}

.jp-hero-bg .jp-star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.3);
    animation: jp-twinkle 5s ease-in-out infinite;
}

/* Staggered star animations with varying sizes */
.jp-hero-bg .jp-star:nth-child(1) { top: 10%; left: 20%; width: 3px; height: 3px; animation-delay: 0s; }
.jp-hero-bg .jp-star:nth-child(2) { top: 20%; left: 40%; animation-delay: 1s; }
.jp-hero-bg .jp-star:nth-child(3) { top: 30%; left: 60%; width: 1px; height: 1px; animation-delay: 2s; }
.jp-hero-bg .jp-star:nth-child(4) { top: 40%; left: 80%; width: 2px; height: 2px; animation-delay: 3s; }
.jp-hero-bg .jp-star:nth-child(5) { top: 50%; left: 10%; width: 3px; height: 3px; animation-delay: 2.5s; }
.jp-hero-bg .jp-star:nth-child(6) { top: 60%; left: 30%; animation-delay: 1.5s; }
.jp-hero-bg .jp-star:nth-child(7) { top: 70%; left: 50%; width: 1px; height: 1px; animation-delay: 0.5s; }
.jp-hero-bg .jp-star:nth-child(8) { top: 80%; left: 70%; width: 2px; height: 2px; animation-delay: 3.5s; }
.jp-hero-bg .jp-star:nth-child(9) { top: 90%; left: 90%; animation-delay: 2.2s; }
.jp-hero-bg .jp-star:nth-child(10) { top: 15%; left: 85%; width: 3px; height: 3px; animation-delay: 1.3s; }
.jp-hero-bg .jp-star:nth-child(11) { top: 25%; left: 15%; animation-delay: 4s; }
.jp-hero-bg .jp-star:nth-child(12) { top: 35%; left: 35%; width: 1px; height: 1px; animation-delay: 3.3s; }

/* Add flowing light streaks for dynamic effect */
.jp-hero-bg .jp-light-streak {
    position: absolute;
    background: linear-gradient(90deg, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(255, 255, 255, 0.1) 40%, 
                rgba(255, 255, 255, 0.3) 50%, 
                rgba(255, 255, 255, 0.1) 60%, 
                rgba(255, 255, 255, 0) 100%);
    height: 1px;
    width: 30%;
    opacity: 0;
    transform: rotate(-30deg);
    z-index: 2;
    filter: blur(1px);
}

.jp-hero-bg .jp-light-streak:nth-child(1) {
    top: 20%;
    left: -30%;
    animation: jp-light-sweep 12s linear infinite;
    animation-delay: 0s;
}

.jp-hero-bg .jp-light-streak:nth-child(2) {
    top: 45%;
    left: -30%;
    animation: jp-light-sweep 14s linear infinite;
    animation-delay: 4s;
}

.jp-hero-bg .jp-light-streak:nth-child(3) {
    top: 70%;
    left: -30%;
    animation: jp-light-sweep 16s linear infinite;
    animation-delay: 8s;
}

/* Enhanced interactive hover effects */
.jp-hero-bg.jp-interactive .jp-blob-1 {
    transition: transform 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.jp-hero-bg.jp-interactive .jp-blob-2 {
    transition: transform 2.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.jp-hero-container:hover .jp-hero-bg.jp-interactive .jp-blob-1 {
    transform: translateY(-20px) scale(1.05);
}

.jp-hero-container:hover .jp-hero-bg.jp-interactive .jp-blob-2 {
    transform: translateY(15px) scale(1.03);
}

.jp-hero-container:hover .jp-hero-section-title {
    text-shadow: 0 0 30px rgba(106, 116, 255, 0.5);
}

/* Mouse follow effect for additional interactivity */
.jp-hero-container.jp-mouse-active .jp-hero-bg .jp-glow-circle {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Respect reduced motion - no decorative motion */
@media (prefers-reduced-motion: reduce) {
    .jp-hero-bg .jp-blob,
    .jp-hero-bg .jp-glow-circle,
    .jp-hero-bg .jp-diagonal-grid,
    .jp-hero-bg .jp-star,
    .jp-hero-bg .jp-light-streak {
        animation: none !important;
    }
}

/* Modernized Animation Keyframes with enhanced easing */

/* Fade in animation for all elements */
@keyframes jp-fade-in {
    0% { opacity: 0; }
    100% { opacity: 0.6; }
}

/* Fade up: opacity only to avoid layout shift */
@keyframes jp-fade-up {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Mini pulse animation */
@keyframes jp-pulse-mini {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Primary float animation */
@keyframes jp-float {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotate(3deg) scale(1.03);
    }
    50% {
        transform: translateY(-15px) rotate(5deg) scale(1);
    }
    75% {
        transform: translateY(-40px) rotate(2deg) scale(1.02);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Alternate float animation */
@keyframes jp-float-alt {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(40px) rotate(-3deg) scale(1.04);
    }
    50% {
        transform: translateY(20px) rotate(-7deg) scale(1);
    }
    75% {
        transform: translateY(30px) rotate(-4deg) scale(1.02);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Slow float animation */
@keyframes jp-float-slow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(-25px, 15px) scale(1.1);
        opacity: 0.4;
    }
    66% {
        transform: translate(15px, 20px) scale(0.95);
        opacity: 0.35;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* Micro float animations for smaller blobs */
@keyframes jp-float-micro {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-15px, 10px) scale(1.15);
    }
    50% {
        transform: translate(10px, -15px) scale(0.9);
    }
    75% {
        transform: translate(15px, 5px) scale(1.1);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes jp-float-micro-alt {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -15px) scale(1.1);
    }
    66% {
        transform: translate(-10px, -20px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Enhanced pulse animation */
@keyframes jp-pulse {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* Improved twinkle animation */
@keyframes jp-twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    25% { opacity: 0.9; transform: scale(1.2); }
    50% { opacity: 0.3; transform: scale(0.8); }
    75% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Rotation animation */
@keyframes jp-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Light sweep animation */
@keyframes jp-light-sweep {
    0% { 
        left: -30%;
        opacity: 0; 
    }
    10% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% { 
        left: 130%;
        opacity: 0; 
    }
}

/* Responsive design with enhancements */
@media (max-width: 1200px) {
    .jp-hero-section-title {
        font-size: 3.5rem;
    }
    
    .jp-hero-bg .jp-blob-1 {
        width: 500px;
        height: 500px;
    }
    
    .jp-hero-bg .jp-blob-2 {
        width: 400px;
        height: 400px;
    }
    
    .jp-hero-bg .jp-glow-circle {
        width: 700px;
        height: 700px;
    }
}

@media (max-width: 992px) {
    .jp-hero-section-title {
        font-size: 3rem;
    }
    
    .jp-tagline {
        font-size: 1.3rem;
    }
    
    .jp-hero-bg .jp-blob-1 {
        width: 400px;
        height: 400px;
        right: -150px;
    }
    
    .jp-hero-bg .jp-blob-2 {
        width: 350px;
        height: 350px;
        left: -120px;
    }
    
    .jp-hero-bg .jp-blob-3 {
        width: 250px;
        height: 250px;
    }
    
    .jp-hero-bg .jp-glow-circle {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .jp-hero-container {
        padding: 100px 0 50px;
    }
    
    .jp-hero-section-title {
        font-size: 2.5rem;
    }
    
    .jp-tagline {
        font-size: 1.1rem;
    }
    
    .jp-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .jp-primary-button, .jp-secondary-button {
        width: 100%;
        max-width: 300px;
    }
    
    .jp-hero-bg .jp-blob-1 {
        width: 300px;
        height: 300px;
        right: -100px;
    }
    
    .jp-hero-bg .jp-blob-2 {
        width: 250px;
        height: 250px;
        left: -100px;
    }
    
    .jp-hero-bg .jp-blob-3,
    .jp-hero-bg .jp-blob-4,
    .jp-hero-bg .jp-blob-5 {
        width: 180px;
        height: 180px;
    }
    
    .jp-hero-bg .jp-glow-circle {
        width: 500px;
        height: 500px;
    }
    
    .jp-hero-bg .jp-diagonal-grid {
        background-size: 60px 60px;
    }
    
    .jp-images-container {
        gap: 20px;
    }
    
    .jp-images-container img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .jp-hero-section-title {
        font-size: 2rem;
    }
    
    .jp-tagline {
        font-size: 1rem;
    }
    
    .jp-tagline-with-bg {
        padding: 6px 15px;
    }
    
    .jp-hero-bg .jp-blob-1,
    .jp-hero-bg .jp-blob-2 {
        width: 200px;
        height: 200px;
    }
    
    .jp-hero-bg .jp-blob-3,
    .jp-hero-bg .jp-blob-4,
    .jp-hero-bg .jp-blob-5 {
        width: 150px;
        height: 150px;
    }
} 