/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* FAQ Animation */
.faq-content {
    transition: all 0.3s ease;
}

.faq-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5c578d;
}

/* Animation for steps */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-\[var\(--card-bg\)\] {
    animation: fadeIn 0.5s ease forwards;
}

.bg-\[var\(--card-bg\)\]:nth-child(1) { animation-delay: 0.1s; }
.bg-\[var\(--card-bg\)\]:nth-child(2) { animation-delay: 0.2s; }
.bg-\[var\(--card-bg\)\]:nth-child(3) { animation-delay: 0.3s; }
.bg-\[var\(--card-bg\)\]:nth-child(4) { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-4xl {
        font-size: 2rem;
    }
    .text-3xl {
        font-size: 1.75rem;
    }
}

/* Button hover effects */
.hover\:bg-opacity-90:hover {
    opacity: 0.9;
}

/* Theme transition */
[data-theme] {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom underline for links */
a {
    position: relative;
    text-decoration: none;
}

a:not(.no-underline):hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(1);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a:not(.no-underline)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}