@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

.dark ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(30, 64, 175, 0.5);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 64, 175, 0.7);
}

/* Hero mockup animations */
@keyframes fadeInSlideRight {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-verify-item {
    animation: fadeInSlideRight 0.5s ease forwards;
    opacity: 0;
}

.hero-decision-item {
    animation: fadeInSlideRight 0.5s ease forwards;
    opacity: 0;
}

/* Glow effect for tech elements */
.glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.dark .glow {
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.5);
}

/* Grid background pattern */
.grid-bg {
    background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dark .grid-bg {
    background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.7s ease forwards;
}

/* Step hover effect */
[id="how-it-works"] .grid > div {
    transition: transform 0.3s ease;
}

[id="how-it-works"] .grid > div:hover {
    transform: translateY(-4px);
}