/* Veridiano AI — Design System 3.0 — Roma Edition */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #0A0F1E;
  --primary-light: #111827;
  --accent: #00D18C;
  --accent-hover: #00b87a;
  --accent-glow: rgba(0, 209, 140, 0.25);
  --blue-glow: rgba(59, 130, 246, 0.2);
  --slate: #64748B;
  --light-gray: #F0F4FF;
  --white: #FFFFFF;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgba(0, 209, 140, 0.15);
}

* {
  font-family: 'Inter', sans-serif;
}

/* ───── Animations ───── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 209, 140, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(0, 209, 140, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes aurora {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-in-up    { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in       { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-in-right{ animation: slideInRight 0.5s ease-out forwards; }
.animate-float         { animation: float 4s ease-in-out infinite; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───── Glass Effects ───── */
.glass {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.glass-dark {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ───── Cards ───── */
.card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), var(--shadow-glow);
  border-color: rgba(0, 209, 140, 0.15);
}

/* ───── Nav ───── */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background: linear-gradient(90deg, var(--accent), #3B82F6);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after  { width: 100%; }
.nav-link-active::after { width: 100%; }

/* ───── Burger / Mobile ───── */
.burger-menu {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}
.burger-menu.active { opacity: 1 !important; pointer-events: auto !important; }
.burger-menu.active .translate-x-full { transform: translateX(0) !important; }

.burger-button.active .burger-icon:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.burger-button.active .burger-icon:nth-child(2) { opacity: 0; }
.burger-button.active .burger-icon:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ───── Cookie Banner ───── */
.cookie-banner { animation: slideInUp 0.5s ease-out; }

/* ───── Forms ───── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  outline: none;
  color: #0f172a;
  background: #fff;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 209, 140, 0.15);
}

/* ───── Buttons ───── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #059669);
  color: #ffffff !important;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 209, 140, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #047857);
  box-shadow: 0 8px 30px rgba(0, 209, 140, 0.45);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: #fff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(0, 209, 140, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.btn-secondary:active { transform: scale(0.97); }

/* ───── Aurora gradient accent ───── */
.aurora-text {
  background: linear-gradient(135deg, #00D18C, #3B82F6, #8B5CF6, #00D18C);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aurora 6s ease infinite;
}

/* ───── Neon border ───── */
.neon-border {
  box-shadow: 0 0 0 1px rgba(0, 209, 140, 0.2), inset 0 0 40px rgba(0, 209, 140, 0.02);
}

/* ───── Section accent line ───── */
.accent-bar {
  width: 3px;
  background: linear-gradient(180deg, var(--accent), #3B82F6);
  border-radius: 4px;
}

/* ───── Stat tiles ───── */
.stat-tile {
  position: relative;
  overflow: hidden;
}
.stat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 209, 140, 0.08), transparent 60%);
  pointer-events: none;
}

/* ───── Team card image overlay ───── */
.team-card-img { transition: transform 0.5s ease; }
.team-card:hover .team-card-img { transform: scale(1.06); }