/* enginetree AI - Main Stylesheet */

body {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
    color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

.bg-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.iconify { stroke-width: 1.5px !important; }

@keyframes shine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.animate-text-shine {
    background-size: 200% auto;
    animation: shine 8s linear infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-enter {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes feedSlide {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-feed-item {
    opacity: 0;
    animation: feedSlide 0.5s ease-out forwards;
}

.delay-1 { animation-delay: 1.2s; }
.delay-2 { animation-delay: 1.4s; }
.delay-3 { animation-delay: 1.6s; }

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse-slow {
    animation: pulse-subtle 3s infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

.custom-input {
    appearance: none;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s;
}

.custom-input:focus {
    outline: none;
    border-color: #6366f1;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 1px #6366f1;
}

select.custom-input option {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 10px;
}

select.custom-input option:disabled {
    color: #64748b;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.checkbox-wrapper input:checked + div {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.checkbox-wrapper input:checked + div svg {
    opacity: 1;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

/* 404 Page Specific Animations */
@keyframes fadeInUp-404 {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp-404 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}
