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

:root {
    --primary: 262 83% 58%;
}

/* Typography */
.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

/* Gradients & Backgrounds */
.bg-gradient-hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #1f2937 100%);
}

.bg-gradient-card {
    background: linear-gradient(145deg, #18181b, #27272a);
}

/* ── Text gradients ── */
.text-gradient-primary {
    background: linear-gradient(90deg, #a5b4fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;           
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(90deg, #fbbf24, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;           
    -webkit-text-fill-color: transparent;
}

/* Glow Effects */
.glow-primary {
    box-shadow: 0 0 20px -5px rgb(139 92 246);
}

.hover\:glow-primary:hover {
    box-shadow: 0 0 30px -5px rgb(139 92 246);
}

.border-glow {
    border-color: rgb(139 92 246 / 0.35) !important;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entrance */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-animate.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Charts */
.chart-card {
    min-width: 0;
    width: 100%;
}

.chart-card canvas {
    max-width: 100% !important;
    width: 100% !important;
}

/* Layout helper */
.tail-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

main, section, .tail-container {
    overflow-x: hidden;
}

@media (max-width: 640px) {
    .h-80 {
        height: 260px;
    }
    .h-96 {
        height: 300px;
    }
}

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

@layer utilities {
  .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;   
  }
  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }
}