/* Articles Design System */
:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --dark: #050507;
}

body {
    background-color: var(--dark);
    color: #cbd5e1;
    /* slate-300 */
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.1);
}

.read-progress-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    z-index: 45;
}

#read-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #6366f1, #a855f7);
    width: 0%;
    transition: width 0.1s;
}

.search-glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.search-glow:focus-within {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInScale 0.6s forwards;
}

/* FAQ Accordion */
.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #64748b;
}

.faq-answer {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}