/* KeClaw Website Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations */
.feature-card {
    animation: slide-up 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.scenario-card {
    animation: slide-up 0.6s ease-out;
    animation-fill-mode: both;
}

.scenario-card:nth-child(1) { animation-delay: 0.1s; }
.scenario-card:nth-child(2) { animation-delay: 0.2s; }
.scenario-card:nth-child(3) { animation-delay: 0.3s; }
.scenario-card:nth-child(4) { animation-delay: 0.4s; }
.scenario-card:nth-child(5) { animation-delay: 0.5s; }
.scenario-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects */
.feature-card:hover {
    transform: translateY(-5px);
}

.scenario-card:hover {
    transform: translateY(-5px);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FF6B35 0%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a2b;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .feature-card:nth-child(n) {
        animation-delay: 0s;
    }
    
    .scenario-card:nth-child(n) {
        animation-delay: 0s;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    border-top-color: #FF6B35;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .cta-section {
        display: none;
    }
}
