/* Import font LED digitali */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* Font LED digitali personalizzati */
@font-face {
    font-family: 'Digital-7 Mono';
    src: url('https://fonts.cdnfonts.com/css/digital-7-mono') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'DS-Digital';
    src: url('https://fonts.cdnfonts.com/css/ds-digital') format('woff2');
    font-display: swap;
}

/* Design System - Colors MUST be HSL */
:root {
  --background: 0 0% 100%;
  --foreground: 28.23deg 100% 50%;

  --card: 0 0% 100%;
  --card-foreground: 220 10% 20%;

  --popover: 0 0% 100%;
  --popover-foreground: 220 10% 20%;

  --primary: 15 100% 60%;
  --primary-foreground: 0 0% 100%;

  --secondary: 220 10% 95%;
  --secondary-foreground: 220 10% 20%;

  --muted: 220 10% 96%;
  --muted-foreground: 220 8% 50%;

  --accent: 15 100% 60%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 220 10% 90%;
  --input: 220 10% 90%;
  --ring: 15 100% 60%;
  --radius: 0.75rem;
}

.dark {
  --background: 220 10% 10%;
  --foreground: 0 0% 98%;
  --card: 220 10% 12%;
  --card-foreground: 0 0% 98%;
  --popover: 220 10% 12%;
  --popover-foreground: 0 0% 98%;
  --primary: 15 100% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 10% 20%;
  --secondary-foreground: 0 0% 98%;
  --muted: 220 10% 20%;
  --muted-foreground: 220 8% 60%;
  --accent: 15 100% 60%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 62.8% 50%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 10% 25%;
  --input: 220 10% 25%;
  --ring: 15 100% 60%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* Utility Classes */
.min-h-screen {
  min-height: 100vh;
}

.min-h-\[90vh\] {
  min-height: 90vh;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-7 {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-y-1\.5 > * + * {
  margin-top: 0.375rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-white {
  color: rgb(255 255 255);
}

.text-primary {
  color: hsl(var(--primary));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}

.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}

.bg-background {
  background-color: hsl(var(--background));
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-secondary\/20 {
  background-color: hsl(var(--secondary) / 0.2);
}

.bg-secondary\/30 {
  background-color: hsl(var(--secondary) / 0.3);
}

.bg-secondary\/50 {
  background-color: hsl(var(--secondary) / 0.5);
}

.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}

.bg-primary\/5 {
  background-color: hsl(var(--primary) / 0.05);
}

.bg-accent\/10 {
  background-color: hsl(var(--accent) / 0.1);
}

.bg-accent\/5 {
  background-color: hsl(var(--accent) / 0.05);
}

.bg-white {
  background-color: rgb(255 255 255);
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}

.bg-gray-50 {
  background-color: rgb(249 250 251);
}

.bg-blue-50 {
  background-color: rgb(239 246 255);
}

.bg-orange-50 {
  background-color: rgb(255 247 237);
}

.bg-green-50 {
  background-color: rgb(240 253 244);
}

.bg-purple-50 {
  background-color: rgb(250 245 255);
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-3 {
  border-width: 3px;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-l-3 {
  border-left-width: 3px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-primary {
  border-color: hsl(var(--primary));
}

.border-primary\/10 {
  border-color: hsl(var(--primary) / 0.1);
}

.border-primary\/20 {
  border-color: hsl(var(--primary) / 0.2);
}

.border-accent\/20 {
  border-color: hsl(var(--accent) / 0.2);
}

.border-primary\/30 {
  border-color: hsl(var(--primary) / 0.3);
}

.border-primary\/40 {
  border-color: hsl(var(--primary) / 0.4);
}

.border-white {
  border-color: rgb(255 255 255);
}

.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.rotate-180 {
  transform: rotate(180deg);
}

.scale-105 {
  transform: scale(1.05);
}

.hover\:text-primary:hover {
  color: hsl(var(--primary));
}

.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:bg-white\/90:hover {
  background-color: rgb(255 255 255 / 0.9);
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.underline {
  text-decoration: underline;
}

.italic {
  font-style: italic;
}

.w-full {
  width: 100%;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-auto {
  height: auto;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.-left-2 {
  left: -0.5rem;
}

.z-10 {
  z-index: 10;
}

.overflow-hidden {
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.hidden {
  display: none;
}

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

  .btn-primary:hover:not(:disabled) {
    opacity: 0.9;
  }

.btn-outline {
  border-color: hsl(var(--border));
  background-color: transparent;
}

  .btn-outline:hover:not(:disabled) {
    background-color: hsl(var(--secondary));
  }

.btn-ghost {
  background-color: transparent;
}

  .btn-ghost:hover:not(:disabled) {
    background-color: hsl(var(--secondary));
  }

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Form Controls */
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  font-size: 0.875rem;
}

  .form-control:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
  }

/* Hero Background */
.hero-bg {
  background-image: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary)) 50%, hsl(220 10% 20%) 100%);
}

.hero-bg-dark {
  background-image: url('images/bg-dark.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-primary\/10 {
  --tw-gradient-from: hsl(var(--primary) / 0.1);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-accent\/10 {
  --tw-gradient-from: hsl(var(--accent) / 0.1);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-primary {
  --tw-gradient-from: hsl(var(--primary));
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-background {
  --tw-gradient-from: hsl(var(--background));
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-orange-50 {
  --tw-gradient-from: rgb(255 247 237);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-accent\/10 {
  --tw-gradient-to: hsl(var(--accent) / 0.1);
}

.to-accent\/10 {
  --tw-gradient-to: hsl(var(--accent) / 0.1);
}

.to-accent {
  --tw-gradient-to: hsl(var(--accent));
}

.to-primary\/5 {
  --tw-gradient-to: hsl(var(--primary) / 0.05);
}

.to-gray-50 {
  --tw-gradient-to: rgb(249 250 251);
}

.to-yellow-50 {
  --tw-gradient-to: rgb(254 252 232);
}
/* Scroll Margin */
.scroll-mt-20 {
  scroll-margin-top: 5rem;
}

/* Validation */
.validation-message {
  color: hsl(var(--destructive));
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===========================================
   HOMEPAGE - Styles specifici per la landing page principale
   =========================================== */

/* ===========================================
   HERO SECTION
   =========================================== */
.hero-section {
  position: relative;
}

.hero-headline {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-subheadline {
  font-size: 1.35rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  margin-top: 2.5rem;
}

.cta-subtext {
  font-size: .95rem !important;
  color: rgba(255, 255, 255, .95) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3) !important;
}

  .cta-subtext i {
    color: #4ade80;
    margin: 0 0.75rem;
    font-size: 0.85rem;
  }

/* ===========================================
   SECTION TITLES
   =========================================== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* ===========================================
   PROBLEM SECTION
   =========================================== */
.problem-checklist {
  max-width: 850px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe9a3 100%);
  border-left: 5px solid #ff6b35;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
  transition: all 0.3s ease;
}

  .problem-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
  }

.problem-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: white;
  border-radius: 50%;
  margin-right: 1.25rem;
  font-size: 1.3rem;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.problem-text {
  flex: 1;
  line-height: 1.6;
}

  .problem-text strong {
    color: #c73500;
  }

/* ===========================================
   PILLAR CARDS (3 colonne soluzione)
   =========================================== */
.pillar-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  height: 100%;
  border: 2px solid #ffe4c4;
  box-shadow: 0 4px 20px rgba(247, 139, 30, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

  .pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9800 0%, #fb8c00 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
  }

  .pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(247, 139, 30, 0.25);
    border-color: #ff9800;
  }

    .pillar-card:hover::before {
      transform: scaleX(1);
    }

.pillar-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.75rem;
  box-shadow: 0 6px 20px rgba(247, 139, 30, 0.35);
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
}

.pillar-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1.5rem;
  text-align: center;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

  .pillar-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid #ffe4c4;
    line-height: 1.6;
    color: #4a5568 !important;
    position: relative;
    padding-left: 1.75rem;
  }

    .pillar-list li::before {
      content: "→";
      position: absolute;
      left: 0;
      color: #ff9800;
      font-weight: 700;
    }

    .pillar-list li:last-child {
      border-bottom: none;
    }

    .pillar-list li strong {
      color: #2d3748;
      font-weight: 600;
    }

/* ===========================================
   PROOF SECTION
   =========================================== */
.proof-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
  border-radius: 12px;
  height: 100%;
  border: 2px solid #ffe4c4;
  transition: all 0.3s ease;
}

  .proof-item:hover {
    transform: translateY(-5px);
    border-color: #ff9800;
    box-shadow: 0 8px 24px rgba(247, 139, 30, 0.2);
  }

.proof-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.proof-label {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.5;
}

/* Case Study Box */
.case-study-box {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-left: 5px solid #4caf50;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

  .case-study-box h4 {
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 1.25rem;
  }

    .case-study-box h4 i {
      font-size: 1.5rem;
      margin-right: 0.5rem;
      opacity: 0.7;
    }

.case-study-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2d3748;
}

  .case-study-content strong {
    color: #1a202c;
    font-weight: 600;
  }

  .case-study-content .text-danger {
    color: #e53e3e !important;
    font-weight: 700;
  }

  .case-study-content .text-success {
    color: #38a169 !important;
    font-weight: 700;
  }

/* Sectors Box */
.sectors-box {
  background: #f8f9fa;
  padding: 1.75rem;
  border-radius: 8px;
  border: 2px dashed #dee2e6;
}

  .sectors-box p {
    margin: 0;
    font-size: 1rem;
  }

  .sectors-box .text-muted {
    color: #6c757d !important;
    font-size: 0.95rem;
  }

/* ===========================================
   TIMELINE (Come Funziona)
   =========================================== */
.timeline {
  position: relative;
  padding: 2.5rem 0;
}

  .timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff9800 0%, #fb8c00 50%, #f57c00 100%);
    border-radius: 2px;
  }

.timeline-item {
  position: relative;
  padding-left: 90px;
  margin-bottom: 3.5rem;
}

  .timeline-item:last-child {
    margin-bottom: 0;
  }

.timeline-badge {
  position: absolute;
  left: 0;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(247, 139, 30, 0.5);
  border: 4px solid #fff;
  z-index: 2;
}

.timeline-content {
  background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
  padding: 1.75rem;
  border-radius: 12px;
  border: 2px solid #ffe4c4;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

  .timeline-content:hover {
    border-color: #ff9800;
    box-shadow: 0 6px 24px rgba(247, 139, 30, 0.2);
    transform: translateX(8px);
  }

  .timeline-content h4 {
    color: #ff9800;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

    .timeline-content ul li {
      padding: 0.6rem 0;
      padding-left: 2.5rem;
      position: relative;
      line-height: 1.6;
      color: #4a5568;
    }

      .timeline-content ul li::before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #8eed8e;
        color: #fff;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: checkPop .4s ease;
      }

@keyframes checkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===========================================
   PRICING CARDS
   =========================================== */
.pricing-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

  .pricing-card:hover {
    border-color: #ff9800;
    box-shadow: 0 12px 40px rgba(247, 139, 30, 0.2);
    transform: translateY(-8px);
  }

.pricing-card-featured {
  border-color: #ff9800;
  border-width: 3px;
  box-shadow: 0 8px 32px rgba(247, 139, 30, 0.25);
}

  .pricing-card-featured:hover {
    box-shadow: 0 16px 48px rgba(247, 139, 30, 0.35);
  }

.pricing-badge {
  position: absolute;
  top: 24px;
  right: -36px;
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  color: white;
  padding: 6px 45px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.4);
  z-index: 1;
}

.pricing-header {
  background: linear-gradient(135deg, #ff9800 0%, #fb8c00 100%);
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.pricing-card-featured .pricing-header {
  background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.pricing-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: white;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0;
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.pricing-body {
  padding: 2rem 1.75rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

  .pricing-features li {
    padding: .85rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    line-height: 1.5 !important;
    color: #000 !important;
  }

    .pricing-features li:last-child {
      border-bottom: none;
    }

    .pricing-features li i {
      color: #4caf50;
      margin-right: 0.85rem;
      font-size: 1.1rem;
      margin-top: 0.15rem;
      flex-shrink: 0;
    }

.pricing-ideal {
  background: linear-gradient(135deg, #fff9f0 0%, #ffe4c4 100%);
  padding: 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid #ffd6a5;
}

  .pricing-ideal strong {
    color: #ff9800;
    display: block;
    margin-bottom: 0.35rem;
  }

/* ===========================================
   OBJECTIONS SECTION
   =========================================== */
.objection-list {
  max-width: 950px;
  margin: 0 auto;
}

.objection-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  border-left: 5px solid #ff9800;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

  .objection-item:hover {
    border-left-width: 8px;
    box-shadow: 0 6px 24px rgba(247, 139, 30, 0.15);
    transform: translateX(4px);
  }

.objection-q {
  font-size: 1.2rem;
  color: #ff9800;
  margin-bottom: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
}

  .objection-q i {
    margin-right: 0.75rem;
    font-size: 1.4rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

.objection-a {
  font-size: 1.05rem;
  color: #2d3748;
  padding-left: 2.15rem;
  line-height: 1.7;
}

  .objection-a i {
    color: #4caf50;
    margin-right: 0.75rem;
    font-size: 1.2rem;
  }

  .objection-a strong {
    color: #1a202c;
    font-weight: 600;
  }

/* ===========================================
   CTA FINAL CARD
   =========================================== */
.cta-final-card {
  color: white;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

  .cta-final-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/bg-dark.webp') center/cover;
    z-index: 0;
  }

  .cta-final-card .card-body {
    position: relative;
    z-index: 1;
  }

  .cta-final-card h2 {
    color: white !important;
    font-size: 2.25rem;
    font-weight: 800;
  }

  .cta-final-card .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.2rem !important;
  }

.cta-benefits {
  margin: 2.5rem 0;
}

.cta-benefit-item {
  background: rgba(255, 152, 0, 0.15);
  padding: 1.75rem 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 152, 0, 0.3);
  transition: all 0.3s ease;
  height: 100%;
}

  .cta-benefit-item:hover {
    background: rgba(255, 152, 0, 0.25);
    border-color: rgba(255, 152, 0, 0.5);
    transform: translateY(-4px);
  }

  .cta-benefit-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    display: block;
  }

  .cta-benefit-item p {
    margin: 0;
    color: white !important;
    line-height: 1.5;
  }

  .cta-benefit-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: #ffd700;
  }

  .cta-benefit-item small {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
  }

.btn-cta-large {
  font-size: 1.4rem !important;
  padding: 1.35rem 3.5rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 6px 24px rgba(255, 152, 0, 0.5) !important;
}

  .btn-cta-large:hover {
    box-shadow: 0 8px 32px rgba(255, 152, 0, 0.7) !important;
  }

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-badge {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    left: -4px;
  }

  .timeline-item {
    padding-left: 70px;
  }

  .proof-number {
    font-size: 2.75rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .pillar-card {
    margin-bottom: 1.5rem;
  }

  .cta-final-card h2 {
    font-size: 1.85rem;
  }

  .btn-cta-large {
    font-size: 1.2rem !important;
    padding: 1.15rem 2.5rem !important;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .problem-item {
    padding: 1rem;
  }

  .problem-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    margin-right: 1rem;
  }

  .objection-item {
    padding: 1.5rem;
  }

  .objection-q {
    font-size: 1.05rem;
  }

  .objection-a {
    font-size: 0.98rem;
    padding-left: 1.5rem;
  }
}

/* Blazor Error UI */
.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjqnIGxpbmUtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2IDk2LjAxODMgMjYzLjU3NiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

  .blazor-error-boundary::after {
    content: "An error has occurred."
  }

#blazor-error-ui {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  animation: slideDown 0.3s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

  #blazor-error-ui .reload {
    color: #0066cc;
    text-decoration: underline;
    margin-left: 1rem;
  }

  #blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
    color: #666;
  }

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#blazor-error-ui div {
  margin: 0;
  padding: 0;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui .reload {
    text-decoration: underline;
    color: #0066cc;
}

/* ===========================================
   BLAZOR RECONNECT MODAL
   =========================================== */
.components-reconnect-first-attempt-visible,
.components-reconnect-repeated-attempt-visible,
.components-reconnect-failed-visible,
.components-pause-visible,
.components-resume-failed-visible,
.components-rejoining-animation {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible,
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-paused .components-pause-visible,
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible,
#components-reconnect-modal.components-reconnect-retrying,
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible,
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible {
    display: block;
}

#components-reconnect-modal {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity 0.5s both;
}

#components-reconnect-modal[open] {
    animation: components-reconnect-modal-slideUp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp {
    0% {
        transform: translateY(30px) scale(0.95);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.components-reconnect-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover {
    background-color: #3b6ea2;
}

#components-reconnect-modal button:active {
    background-color: #6b9ed2;
}

.components-rejoining-animation {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
