/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(123, 97, 255, 0.4); }
    50% { box-shadow: 0 0 40px rgba(123, 97, 255, 0.8); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes typing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes notification-pop {
    0% { transform: translateX(100px) scale(0.8); opacity: 0; }
    70% { transform: translateX(-10px) scale(1.02); }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes progress-fill {
    from { width: 0%; }
}

@keyframes bubble-appear {
    0% { transform: scale(0) translateY(20px); opacity: 0; }
    70% { transform: scale(1.1) translateY(-5px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes counter-slide {
    0% { transform: translateX(50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.6s ease-out forwards; }
.animate-slide-in-left { animation: slide-in-left 0.6s ease-out forwards; }
.animate-slide-in-right { animation: slide-in-right 0.6s ease-out forwards; }
.animate-fade-in { animation: fade-in 0.5s ease-out forwards; }
.animate-typing { animation: typing 1s ease-in-out infinite; }
.animate-notification-pop { animation: notification-pop 0.5s ease-out forwards; }
.animate-bubble-appear { animation: bubble-appear 0.4s ease-out forwards; }
.animate-counter-slide { animation: counter-slide 0.4s ease-out forwards; }

/* Staggered delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }
.delay-1000 { animation-delay: 1000ms; }
.delay-1200 { animation-delay: 1200ms; }
.delay-1500 { animation-delay: 1500ms; }
.delay-2000 { animation-delay: 2000ms; }

/* Gradient backgrounds */
.bg-hero-gradient {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #7B61FF, #FF80AB);
}

.bg-cta-gradient {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
}

.text-gradient {
    background: linear-gradient(135deg, #7B61FF, #FF80AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1a2e; }
::-webkit-scrollbar-thumb { background: #7B61FF; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF80AB; }

/* Phone mockup styles */
.phone-mockup {
    background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
    border: 3px solid #3a3a5a;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    background: #0f0f1a;
    border-radius: 28px;
    overflow: hidden;
}

/* Chat bubbles */
.chat-bubble-sent {
    background: linear-gradient(135deg, #7B61FF, #9B7BFF);
    border-radius: 20px 20px 4px 20px;
}

.chat-bubble-received {
    background: #2a2a4a;
    border-radius: 20px 20px 20px 4px;
}

/* Progress bar */
.progress-bar {
    background: linear-gradient(90deg, #7B61FF, #FF80AB);
    transition: width 0.5s ease-out;
}

/* Card hover effects */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(123, 97, 255, 0.3);
    box-shadow: 0 20px 40px -15px rgba(123, 97, 255, 0.2);
}

/* Step indicator */
.step-dot {
    transition: all 0.3s ease;
}

.step-dot.active {
    background: linear-gradient(135deg, #7B61FF, #FF80AB);
    transform: scale(1.3);
}

.step-line {
    transition: background 0.5s ease;
}

/* Notification cards */
.notification-card {
    backdrop-filter: blur(10px);
    background: rgba(42, 42, 74, 0.9);
    border: 1px solid rgba(123, 97, 255, 0.2);
}

/* Testimonial card */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #e5e7eb;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #7B61FF, #9171FF);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(123, 97, 255, 0.5);
}

.btn-cta {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(233, 69, 96, 0.5);
}

/* Intersection observer initial states */
[x-intersect] {
    opacity: 0;
}

/* Offer card animation */
.offer-card {
    background: linear-gradient(145deg, #2a2a4a, #1f1f3a);
    border: 1px solid rgba(123, 97, 255, 0.2);
    border-radius: 16px;
}

/* Typing indicator */
.typing-dot {
    width: 8px;
    height: 8px;
    background: #7B61FF;
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

