/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Import del nuovo sistema di design tokens */
@import '_theme-vars.css';

@layer base {
  :root {
    /*=============================================================*/
    /* PROJECT-SPECIFIC OVERRIDES */
    /*=============================================================*/

    /* 🎨 Aggiungi qui solo variabili SPECIFICHE del progetto 
       o override necessari che differiscono da theme.json */

    /*=============================================================*/
    /* ✅ TUTTE LE ALTRE VARIABILI SONO CARICATE DA _theme-vars.css */
    /* ✅ Per modificarle: npm run theme:build dopo aver editato theme.json */
    /*=============================================================*/
  }
}

/* Reset e stili globali possono rimanere qui sotto se necessari */

/* Global font family */
body {
  font-family: var(--font-family-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all elements inherit the font family */
* {
  font-family: inherit;
}

/* Custom styles for Welcome Page */
.bg-grid-white\/\[0\.02\] {
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px
  );
}

html {
  scroll-behavior: smooth;
}

/* Custom animations for floating elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

/* Enhanced hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Initial state for sections */
#stats,
#features,
#testimonials {
  opacity: 0;
  transform: translateY(30px);
}

/* Custom scrollbar for modern look */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom grid breakpoint for dashboard cards */
.grid-dashboard-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 1465px) {
  .grid-dashboard-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
