/* ============================================================
   CORRIEREIN.CLOUD — LIGHT THEME + WIZARD MULTI-STEP
   Nova Post Inspired v3.0 — Complete Rewrite
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (VARIABILI) — TEMA LIGHT
   ============================================================ */
:root {
  /* --- Light Theme Palette --- */
  --bg-void: #F2F3F7;
  --bg-deep: #F2F3F7;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F8F9FC;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-light: rgba(0, 0, 0, 0.02);
  --bg-light: #F2F3F7;
  --bg-light-surface: #ffffff;

  /* --- Accent Colors (Green — Nova Post) --- */
  --accent-cyan: #2B8FFF;
  --accent-cyan-dim: rgba(43, 143, 255, 0.12);
  --accent-cyan-glow: rgba(43, 143, 255, 0.25);
  --accent-violet: #2B8FFF;
  --accent-violet-dim: rgba(43, 143, 255, 0.12);
  --accent-amber: #f59e0b;

  /* --- Text Colors --- */
  --text-primary: #1a1a2e;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --text-accent: #2B8FFF;

  /* --- Border Colors --- */
  --border-subtle: #E5E7EB;
  --border-glow: rgba(43, 143, 255, 0.3);

  /* --- Shadow System --- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-glow-cyan: 0 0 40px rgba(43, 143, 255,0.15);
  --shadow-glow-violet: 0 0 40px rgba(43, 143, 255,0.15);

  /* --- Radius System --- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* --- Legacy variable aliases (for backward compatibility) --- */
  --color-primary: var(--accent-cyan);
  --color-primary-light: #22C55E;
  --color-primary-dark: #1567DB;
  --color-secondary: var(--accent-cyan);
  --color-secondary-light: #22C55E;
  --color-secondary-dark: #1567DB;
  --color-dark: var(--text-primary);
  --color-gray-800: var(--bg-elevated);
  --color-gray-600: var(--text-secondary);
  --color-gray-400: var(--text-tertiary);
  --color-gray-200: var(--border-subtle);
  --color-gray-100: var(--bg-glass-light);
  --color-white: var(--text-primary);
  --color-success: #2B8FFF;
  --color-warning: var(--accent-amber);

  /* --- Typography --- */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* --- Spacing --- */
  --spacing-section: 80px;
  --spacing-section-sm: 60px;

  /* --- Legacy border/shadow aliases --- */
  --border-radius-sm: var(--radius-sm);
  --border-radius-md: var(--radius-md);
  --border-radius-lg: var(--radius-lg);
  --border-radius-xl: var(--radius-xl);

  /* --- Transitions --- */
  --transition-base: all 0.3s ease;
  --transition-transform: transform 0.3s ease;
  --transition-shadow: box-shadow 0.3s ease;
}

/* ============================================================
   2. RESET E STILI BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-secondary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
}

body.light-theme {
  background-color: #F2F3F7;
  color: #6B7280;
}

/* Selection */
::selection {
  background: rgba(43, 143, 255, 0.2);
  color: #1a1a2e;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #F2F3F7;
}
::-webkit-scrollbar-thumb {
  background: rgba(43, 143, 255, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(43, 143, 255, 0.5);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid #2B8FFF;
  outline-offset: 2px;
}

/* Links */
a {
  color: #1a1a2e;
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: #2B8FFF;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Form elements */
input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   3. TYPOGRAPHY SYSTEM
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-base);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Display Typography */
.display-1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
}

.display-2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #2B8FFF, #22C55E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   4. SECTION SYSTEM
   ============================================================ */
.section-dark {
  background: #F2F3F7;
}

.section-darker {
  background: #F8F9FC;
}

.section-light {
  background: #FFFFFF;
}

.section-pad {
  padding-top: clamp(80px, 10vh, 140px);
  padding-bottom: clamp(80px, 10vh, 140px);
}

.section-title {
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* ============================================================
   5. COMPONENTS
   ============================================================ */

/* --- Glass Card — Light Theme --- */
.glass-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(43, 143, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 20px rgba(43, 143, 255,0.08);
  transform: translateY(-6px);
}

/* --- Glow Button — Light Theme --- */
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 0.9375rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(43, 143, 255,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 143, 255,0.4);
  color: #FFFFFF;
}

/* --- Ghost Button — Light Theme --- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  color: #6B7280;
  font-weight: 600;
  padding: 14px 32px;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: #2B8FFF;
  color: #2B8FFF;
  background: rgba(43, 143, 255, 0.06);
}

/* --- Gradient Border Card — Light Theme --- */
.card-gradient-border {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(43, 143, 255,0.4), rgba(22,163,74,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.card-gradient-border:hover::before {
  opacity: 1;
}

/* --- Primary Button (legacy compat) — Light Theme --- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(43, 143, 255,0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 143, 255,0.4);
  color: #FFFFFF;
}

.btn-primary-custom:active {
  transform: translateY(0);
}

.btn-lg-custom {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* --- Secondary Button (legacy compat) — Light Theme --- */
.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2B8FFF;
  color: #FFFFFF;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  border: 2px solid #2B8FFF;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-secondary-custom:hover {
  background: #1567DB;
  border-color: #1567DB;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 143, 255,0.3);
}

/* --- Card Hover Effect --- */
.card-hover {
  transition: var(--transition-transform), var(--transition-shadow);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* --- Badge — Light Theme --- */
.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(43, 143, 255, 0.1);
  color: #2B8FFF;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* --- Hover Lift --- */
.hover-lift {
  transition: var(--transition-transform);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ============================================================
   6. HEADER / NAVBAR — Light Theme
   ============================================================ */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  transition: all 0.4s ease;
  z-index: 1030;
  max-height: 70px;
  padding-top: 0;
  padding-bottom: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.site-header .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 70px;
  max-height: 70px;
}

.site-header .container {
  min-height: 70px;
  max-height: 70px;
}

/* --- Navbar Brand --- */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand i {
  font-size: 1.5rem;
  -webkit-text-fill-color: var(--accent-cyan);
}

.navbar-brand:hover {
  opacity: 0.85;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  -webkit-background-clip: text;
  background-clip: text;
}

/* --- Nav Links --- */
.nav-link {
  font-weight: 500;
  color: #6B7280 !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #2B8FFF !important;
  background-color: rgba(43, 143, 255, 0.08);
}

.nav-link.active {
  color: #2B8FFF !important;
  font-weight: 600;
}

/* --- Navbar Toggler (hamburger default) --- */
.navbar-toggler {
  border: 1px solid #E5E7EB;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(43, 143, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   7. HERO WIZARD SECTION — Nova Post Style
   ============================================================ */
.hero-wizard {
  background: linear-gradient(180deg, #F2F3F7 0%, #FFFFFF 100%);
  padding: 100px 0 40px;
  min-height: auto;
}

/* Legacy hero section styles (for other pages) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #F2F3F7;
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Aurora Background Orbs — Light theme */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-section::before {
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 143, 255,0.08) 0%, transparent 70%);
  filter: blur(80px);
  animation: aurora-1 8s ease-in-out infinite;
}

.hero-section::after {
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(43, 143, 255,0.06) 0%, transparent 70%);
  filter: blur(80px);
  animation: aurora-2 10s ease-in-out infinite;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: #1a1a2e;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: #6B7280;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6B7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-badge i {
  color: #2B8FFF;
  font-size: 1rem;
}

/* --- Hero Stats --- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-stat {
  text-align: center;
  color: #1a1a2e;
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
  color: #1a1a2e;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}

/* --- Glassmorphism Form (legacy) — Light Theme --- */
.comparison-form {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comparison-form .form-control,
.comparison-form .form-select {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: #1a1a2e;
  transition: var(--transition-base);
}

.comparison-form .form-control:focus,
.comparison-form .form-select:focus {
  background: #FFFFFF;
  border-color: #2B8FFF;
  box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.15);
  outline: none;
  color: #1a1a2e;
}

.comparison-form .form-control::placeholder {
  color: #9CA3AF;
}

/* ============================================================
   8. FORM BAR V2 — Minimal Bar — Light Theme
   ============================================================ */
.comparison-form-v2 {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 3;
}

.form-bar {
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  min-height: 68px;
}

.form-bar__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-bar__field:hover {
  background: rgba(0, 0, 0, 0.02);
}

.form-bar__field label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.125rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  pointer-events: none;
}

.form-bar__field label i {
  font-size: 0.625rem;
  color: #2B8FFF;
}

.form-bar__input,
.form-bar__select {
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  color: #1a1a2e;
  padding: 0;
  width: 100%;
  outline: none;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-bar__input::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}

.form-bar__select {
  background-image: none;
  cursor: pointer;
}

.form-bar__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 0.75rem;
  padding: 0 0.25rem;
}

.form-bar__divider--vline {
  width: 1px;
  background: #E5E7EB;
  align-self: center;
  height: 40px;
  padding: 0;
}

.form-bar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  color: #FFFFFF;
  border: none;
  padding: 0 2rem;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(43, 143, 255,0.3);
}

.form-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(43, 143, 255,0.4);
  color: #FFFFFF;
}

.form-bar__cta:active {
  transform: translateY(0);
}

.form-bar__cta i {
  font-size: 1rem;
}

/* --- Camera Button --- */
.form-bar__camera {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px dashed #E5E7EB;
  color: #9CA3AF;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  flex-shrink: 0;
}

.form-bar__camera:hover {
  border-color: #2B8FFF;
  color: #2B8FFF;
  background: rgba(43, 143, 255, 0.06);
}

.form-bar__camera:active {
  transform: scale(0.92);
}

.form-bar__camera i {
  font-size: 1rem;
}

.form-bar__camera-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #F9FAFB;
  color: #1a1a2e;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  border: 1px solid #E5E7EB;
}

.form-bar__camera:hover .form-bar__camera-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   9. HOW IT WORKS SECTION — Light Theme
   ============================================================ */
.section-how {
  background-color: #FFFFFF;
  padding: var(--spacing-section) 0;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  animation: float 6s ease-in-out infinite;
}

.step-card:hover {
  border-color: rgba(43, 143, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 20px rgba(43, 143, 255,0.08);
  transform: translateY(-6px);
}

.step-card:nth-child(2) {
  animation-delay: 0.2s;
}

.step-card:nth-child(3) {
  animation-delay: 0.4s;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(43, 143, 255,0.3);
}

.step-number span {
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.step-image {
  max-width: 180px;
  margin: 0 auto 1.25rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.step-text {
  color: #6B7280;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   10. CARRIERS PARTNER SECTION — Light Theme
   ============================================================ */
.section-carriers {
  background-color: #F8F9FC;
  padding: var(--spacing-section) 0;
}

.carrier-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.carrier-card:hover {
  border-color: rgba(43, 143, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 0 20px rgba(43, 143, 255,0.08);
  transform: translateY(-6px);
}

.carrier-card:hover .carrier-icon {
  color: #2B8FFF;
}

.carrier-icon {
  color: #9CA3AF;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.carrier-name {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ============================================================
   11. STATISTICS COUNTER SECTION — Light Theme
   ============================================================ */
.section-stats {
  background: #FFFFFF;
  padding: var(--spacing-section-sm) 0;
  position: relative;
  overflow: hidden;
}

.section-stats::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(43, 143, 255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item {
  text-align: center;
  color: #1a1a2e;
}

.stat-label {
  font-size: 1rem;
  color: #6B7280;
  font-weight: 500;
  margin-bottom: 0;
}

/* ============================================================
   12. TESTIMONIALS SECTION — Light Theme
   ============================================================ */
.section-testimonials {
  background-color: #F8F9FC;
  padding: var(--spacing-section) 0;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(43, 143, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 0 20px rgba(43, 143, 255,0.08);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  color: #2B8FFF;
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-top: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
}

.testimonial-avatar-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.testimonial-avatar-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2B8FFF, #22C55E);
  z-index: 0;
}

.testimonial-avatar-wrapper .testimonial-avatar {
  position: relative;
  z-index: 1;
  border: 2px solid #F8F9FC;
}

.testimonial-name {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.testimonial-role {
  color: #9CA3AF;
  font-size: 0.8125rem;
  margin-bottom: 0;
}

/* ============================================================
   13. FAQ SECTION — jQuery UI ACCORDION OVERRIDES — Light Theme
   ============================================================ */
.section-faq {
  background-color: #FFFFFF;
  padding: var(--spacing-section) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* jQuery UI Accordion Customization — Light */
.ui-accordion {
  border: none !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}

.ui-accordion .ui-accordion-header {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 0 !important;
  color: #1a1a2e !important;
  font-family: var(--font-family-base) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 1.125rem 1.5rem !important;
  margin: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ui-accordion .ui-accordion-header:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.ui-accordion .ui-accordion-header.ui-state-active {
  background: #EFF6FF !important;
  color: #2B8FFF !important;
  border-color: #2B8FFF !important;
  border-left: 3px solid #2B8FFF !important;
}

.ui-accordion .ui-accordion-header:hover:not(.ui-state-active) {
  background: #EFF6FF !important;
  color: #2B8FFF !important;
}

.ui-accordion .ui-accordion-content {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-top: none !important;
  border-radius: 0 !important;
  padding: 1.25rem 1.5rem !important;
  font-family: var(--font-family-base) !important;
  font-size: 0.9375rem !important;
  line-height: 1.7 !important;
  color: #6B7280 !important;
}

.ui-accordion .ui-accordion-header .ui-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.ui-accordion-header-icon {
  display: none;
}

.ui-accordion .ui-accordion-header::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  color: #9CA3AF;
}

.ui-accordion .ui-accordion-header.ui-state-active::after {
  transform: translateY(-50%) rotate(180deg);
  color: #2B8FFF;
}

/* ============================================================
   14. CTA BANNER SECTION — Light Theme
   ============================================================ */
.section-cta {
  position: relative;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  padding: var(--spacing-section-sm) 0;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.section-cta .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Floating particles in CTA */
.section-cta .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   15. FOOTER — Light Theme
   ============================================================ */
.site-footer {
  background-color: #FFFFFF;
  padding: var(--spacing-section-sm) 0 1.875rem;
  color: #6B7280;
  border-top: 1px solid #E5E7EB;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-logo i {
  -webkit-text-fill-color: #2B8FFF;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: #6B7280;
}

.footer-heading {
  color: #1a1a2e;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: #6B7280;
  font-size: 0.9375rem;
  transition: var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: #2B8FFF;
  transform: translateX(3px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer-contact i {
  color: #2B8FFF;
  margin-top: 0.25rem;
  width: 1rem;
  flex-shrink: 0;
}

/* --- Social Icons --- */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #F9FAFB;
  color: #6B7280;
  font-size: 0.875rem;
  transition: var(--transition-base);
  border: 1px solid #E5E7EB;
}

.footer-social a:hover {
  background-color: rgba(43, 143, 255, 0.1);
  color: #2B8FFF;
  border-color: #2B8FFF;
  transform: translateY(-2px);
}

/* --- Footer Bottom --- */
.footer-bottom {
  border-top: 1px solid #E5E7EB;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.8125rem;
  color: #9CA3AF;
}

.footer-bottom a:hover {
  color: #2B8FFF;
}

/* ============================================================
   16. PAGINA RISULTATI — Offer Cards
   ============================================================ */
.offer-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.offer-card:hover {
  border-color: rgba(43, 143, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 0 20px rgba(43, 143, 255,0.06);
  transform: translateY(-4px);
}

.offer-card--best {
  border: 2px solid #2B8FFF;
  background: linear-gradient(135deg, rgba(43, 143, 255,0.05), rgba(22,163,74,0.05));
}

.offer-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.offer-card__price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.offer-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2B8FFF;
}

.offer-card__price-old {
  font-size: 1rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.offer-card__savings {
  display: inline-block;
  background: rgba(43, 143, 255, 0.1);
  color: #2B8FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.offer-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.offer-card__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: #6B7280;
}

.offer-card__info i {
  color: #2B8FFF;
  margin-right: 4px;
}

.offer-card__stars {
  color: #f59e0b;
}

.offer-card__stars .fa-star {
  font-size: 0.875rem;
}

.offer-card__stars .fa-regular.fa-star {
  color: #9CA3AF;
}

.offer-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.offer-card__service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #6B7280;
  background: #F9FAFB;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
}

.offer-card__service-tag i {
  font-size: 0.625rem;
  color: #2B8FFF;
}

.offer-card__actions {
  display: flex;
  gap: 8px;
}

.offer-card__actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ============================================================
   17. SIDEBAR FILTRI — Light Theme
   ============================================================ */
.filter-sidebar {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #2B8FFF;
}

.filter-checkbox__label {
  font-size: 0.875rem;
  color: #6B7280;
  flex: 1;
}

.filter-checkbox__count {
  font-size: 0.75rem;
  color: #9CA3AF;
  background: #F9FAFB;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Price Slider jQuery UI Override — Light Theme */
#price-slider {
  margin: 12px 0;
}

#price-slider .ui-slider-range {
  background: linear-gradient(90deg, #2B8FFF, #1567DB);
}

#price-slider .ui-slider-handle {
  background: #2B8FFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  top: -7px;
  box-shadow: 0 0 12px rgba(43, 143, 255,0.4);
}

#price-slider .ui-slider-handle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.2);
}

.price-range-display {
  font-size: 0.875rem;
  color: #6B7280;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   18. BREADCRUMB — Light Theme
   ============================================================ */
.breadcrumb-section {
  background: #FFFFFF;
  padding: 16px 0;
  border-bottom: 1px solid #E5E7EB;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: #2B8FFF;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .active {
  color: #6B7280;
}

/* ============================================================
   19. RESULTS TOOLBAR — Light Theme
   ============================================================ */
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 0.875rem;
  color: #6B7280;
}

.results-count i {
  color: #2B8FFF;
  margin-right: 4px;
}

/* Sort Select jQuery UI Override — Light Theme */
.ui-selectmenu-button.ui-button {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.875rem;
  color: #1a1a2e;
}

.ui-selectmenu-button.ui-button:hover {
  border-color: #2B8FFF;
}

.ui-selectmenu-button.ui-button.ui-selectmenu-button-open {
  border-color: #2B8FFF;
  box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.12);
}

/* ============================================================
   20. HAMBURGER V2 — 2 Linee
   ============================================================ */
.navbar-toggler-v2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  gap: 6px;
}

.navbar-toggler-v2:focus {
  outline: none;
}

.navbar-toggler-v2:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
  border-radius: 8px;
}

.toggler-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.navbar-toggler-v2.is-open .toggler-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.navbar-toggler-v2.is-open .toggler-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.navbar-toggler {
  display: none;
}

@media (min-width: 992px) {
  .navbar-toggler-v2 {
    display: none;
  }
}

/* ============================================================
   21. MOBILE MENU — Off-canvas Slide-in
   ============================================================ */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  border-right: 1px solid #E5E7EB;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-menu__brand i {
  -webkit-text-fill-color: #2B8FFF;
}

.mobile-menu__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9FAFB;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #6B7280;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu__close:hover {
  background: rgba(43, 143, 255, 0.1);
  color: #2B8FFF;
}

.mobile-menu__close:focus-visible {
  outline: 2px solid #2B8FFF;
  outline-offset: 2px;
}

.mobile-menu__nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #6B7280;
  font-weight: 500;
  font-size: 1rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-menu__link:hover {
  background: rgba(43, 143, 255, 0.06);
  color: #2B8FFF;
  border-left-color: #2B8FFF;
  padding-left: 1.75rem;
}

.mobile-menu__link:focus-visible {
  outline: none;
  background: rgba(43, 143, 255, 0.06);
  border-left-color: #2B8FFF;
}

.mobile-menu__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #E5E7EB;
}

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #2B8FFF, #1567DB);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9375rem;
  box-shadow: 0 4px 16px rgba(43, 143, 255,0.3);
}

.mobile-menu__cta:hover {
  box-shadow: 0 8px 24px rgba(43, 143, 255,0.4);
  color: #FFFFFF;
  transform: translateY(-1px);
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  .mobile-overlay,
  .mobile-menu {
    display: none !important;
  }
  body.menu-open {
    overflow: auto;
  }
}

/* ============================================================
   22. FOTOCAMERA AI — Riconoscimento Pacco
   ============================================================ */

/* Modal Fotocamera */
.camera-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.camera-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.camera-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.camera-modal__panel {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.camera-modal.is-open .camera-modal__panel {
  transform: scale(1) translateY(0);
}

.camera-modal__header {
  display: flex;
  align-items: center;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  padding: 1rem 1.25rem;
}

.camera-modal__title {
  color: #1a1a2e;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.camera-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #6B7280;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.camera-modal__close:hover {
  background: rgba(43, 143, 255, 0.1);
  color: #2B8FFF;
}

/* Camera modal title - light theme */
.camera-modal__title i {
  color: #2B8FFF;
}

/* Old camera modal close - overridden above */
/* Steps */
.camera-step {
  padding: 1rem;
}

.camera-step--hidden {
  display: none;
}

/* Viewport fotocamera */
.camera-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.camera-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camera-frame {
  position: absolute;
  top: 12%;
  left: 12%;
  right: 12%;
  bottom: 12%;
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent-cyan);
  border-style: solid;
  opacity: 0.7;
}

.frame-corner--tl { top: 0; left: 0; border-width: 3px 0 0 3px; }
.frame-corner--tr { top: 0; right: 0; border-width: 3px 3px 0 0; }
.frame-corner--bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.frame-corner--br { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.camera-hint {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(240, 242, 247, 0.8);
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0;
}

/* Controlli */
.camera-controls {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.camera-shutter {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 4px solid var(--text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 0 20px rgba(0,229,255,0.3);
}

.camera-shutter:hover {
  border-color: var(--accent-cyan);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0,229,255,0.5);
}

.camera-shutter:active {
  transform: scale(0.92);
}

.shutter-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent-cyan);
  display: block;
  transition: all 0.15s ease;
}

.camera-shutter:active .shutter-inner {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Analisi AI */
.ai-scanning__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
}

.ai-scanning__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: scanMove 2s ease-in-out infinite;
}

@keyframes scanMove {
  0%, 100% { top: 0; }
  50% { top: 100%; }
}

.scan-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.ai-scanning__status {
  text-align: center;
  padding: 0 1rem;
}

.ai-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  animation: aiPulse 1.5s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.ai-scanning__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.ai-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
}

.ai-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

/* Risultato AI */
.ai-result {
  padding: 0.5rem;
}

.ai-result__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.ai-result__badge i {
  font-size: 0.625rem;
}

.ai-result__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.ai-result__item:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.ai-result__label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.ai-result__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Confidence bar */
.confidence-bar {
  position: relative;
  width: 120px;
  height: 24px;
  background: var(--bg-elevated);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.confidence-bar__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 12px;
  transition: width 0.6s ease;
}

.confidence-bar__text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1;
}

.ai-result__apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--accent-cyan), #0099ff);
  color: var(--bg-void);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.5rem;
  box-shadow: 0 0 20px rgba(0,229,255,0.3);
}

.ai-result__apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,229,255,0.5);
}

.ai-result__retry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-result__retry:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

/* Errore fotocamera */
.camera-error {
  text-align: center;
  padding: 2rem 1rem;
}

.camera-error > i {
  font-size: 2.5rem;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  display: block;
}

.camera-error p {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.camera-error small {
  display: block;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

/* ============================================================
   23. jQUERY UI OVERRIDES
   ============================================================ */

/* Autocomplete */
.ui-autocomplete {
  font-family: var(--font-family-base) !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-subtle) !important;
  background: var(--bg-surface) !important;
  box-shadow: var(--shadow-lg) !important;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1050 !important;
}

.ui-menu-item {
  padding: 0.5rem 1rem !important;
  font-size: 0.9375rem !important;
  color: var(--text-primary) !important;
  cursor: pointer;
  background: var(--bg-surface) !important;
}

.ui-menu-item:hover,
.ui-state-active,
.ui-widget-content .ui-state-active {
  background: var(--bg-elevated) !important;
  color: var(--accent-cyan) !important;
  border: none !important;
  margin: 0 !important;
}

/* ============================================================
   24. EFFECTS & ANIMATIONS
   ============================================================ */

/* --- Floating --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Aurora Movement --- */
@keyframes aurora-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes aurora-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
}

/* --- Glow Pulse --- */
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* --- Gradient Shift --- */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Fade In Up --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Fade In Up (CSS auto-play) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* --- Counter animation --- */
.counter-animate {
  display: inline-block;
}

/* --- Glow ring for accent elements --- */
.glow-ring {
  position: relative;
}
.glow-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--accent-cyan), var(--accent-violet), var(--accent-cyan));
  opacity: 0.3;
  filter: blur(12px);
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ============================================================
   25. ACCESSIBILITA E UTILITA
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-cyan);
  color: var(--bg-void);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   26. RESPONSIVE / MEDIA QUERIES
   ============================================================ */

/* Large devices (lg, <=991px) */
@media (max-width: 991.98px) {
  :root {
    --spacing-section: 60px;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  /* Reduce aurora effects */
  .hero-section::before,
  .hero-section::after {
    width: 300px;
    height: 300px;
    filter: blur(60px);
  }
}

/* Medium devices (md, <=767px) */
@media (max-width: 767.98px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .comparison-form {
    padding: 1.25rem;
  }

  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 0.5rem;
  }

  .footer-bottom .text-md-start {
    text-align: center !important;
  }

  /* Form bar mobile */
  .form-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .form-bar__field {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .form-bar__divider {
    display: none;
  }

  .form-bar__divider--vline {
    display: none;
  }

  .form-bar__cta {
    padding: 1rem 1.5rem;
    width: 100%;
    border-radius: 0;
  }

  .form-bar__cta-text {
    display: inline;
  }

  /* Camera button mobile */
  .form-bar__camera {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-md);
    border-style: solid;
    border-color: var(--border-subtle);
    margin-top: 0.5rem;
  }

  .form-bar__camera-tooltip {
    display: none;
  }

  .form-bar__camera::after {
    content: attr(title);
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .step-card {
    animation: none;
  }

  .testimonial-card::before {
    font-size: 2rem;
  }
}

/* Small devices (sm, <=575px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .btn-lg-custom {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .trust-badge {
    font-size: 0.8125rem;
  }

  .hero-section {
    padding: 100px 0 60px;
  }
}

/* Extra large (xl, >=1200px) */
@media (min-width: 1200px) {
  .comparison-form {
    padding: 2rem;
  }

  .form-grid {
    gap: 1.25rem;
  }
}

/* Desktop: hero height */
@media (min-width: 768px) {
  .hero-section {
    min-height: 85vh;
    padding: 140px 0 100px;
  }
}

/* Camera modal mobile */
@media (max-width: 480px) {
  .camera-modal {
    padding: 0;
    align-items: flex-end;
  }

  .camera-modal__panel {
    max-width: 100%;
    max-height: 95vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }

  .camera-modal.is-open .camera-modal__panel {
    transform: translateY(0);
  }
}

/* ============================================================
   27. PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .section-cta,
  .comparison-form,
  .trust-badges,
  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: var(--bg-deep) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* ============================================================
   23. WIZARD MULTI-STEP — Nova Post Style
   ============================================================ */

/* Hero Wizard */
.hero-wizard {
    background: linear-gradient(180deg, #F2F3F7 0%, #FFFFFF 100%);
    padding: 100px 0 40px;
}

.wizard-header {
    margin-bottom: 32px;
}

.wizard-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.wizard-subtitle {
    font-size: 1.0625rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* Wizard Card */
.wizard-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    padding: 32px;
    margin-bottom: 20px;
}

/* Progress Step Indicator */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    gap: 0;
}

.wizard-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #9CA3AF;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wizard-step-dot.active {
    background: #2B8FFF;
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(43, 143, 255, 0.2);
}

.wizard-step-dot.completed {
    background: #2B8FFF;
    color: #FFFFFF;
}

.wizard-step-line {
    width: 40px;
    height: 3px;
    background: #E5E7EB;
    margin: 0 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.wizard-step-line.active {
    background: #2B8FFF;
}

/* Step Content */
.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.wizard-step-sub {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 24px;
}

/* Form Fields */
.wizard-field-group {
    margin-bottom: 16px;
}

.wizard-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.wizard-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 0 16px;
    transition: all 0.2s ease;
}

.wizard-input-wrap:focus-within {
    border-color: #2B8FFF;
    box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.1);
    background: #FFFFFF;
}

.wizard-input-icon {
    color: #9CA3AF;
    font-size: 1rem;
    margin-right: 12px;
}

.wizard-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 1rem;
    color: #1a1a2e;
    outline: none;
    font-weight: 500;
}

.wizard-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.wizard-divider {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.wizard-divider-arrow {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 0.75rem;
}

/* Type Selection Grid */
.wizard-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.wizard-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.wizard-type-card:hover {
    border-color: #2B8FFF;
    background: #EFF6FF;
}

.wizard-type-card.active {
    border-color: #2B8FFF;
    background: #EFF6FF;
    box-shadow: 0 0 0 3px rgba(43, 143, 255, 0.1);
}

.wizard-type-icon {
    width: 56px;
    height: 56px;
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: #6B7280;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wizard-type-card.active .wizard-type-icon {
    color: #2B8FFF;
}

.wizard-type-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.wizard-type-desc {
    font-size: 0.75rem;
    color: #6B7280;
}

/* Category Chips */
.wizard-categories {
    margin-top: 8px;
}

.wizard-cat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 12px;
}

.wizard-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wizard-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.wizard-chip:hover {
    border-color: #2B8FFF;
    color: #2B8FFF;
}

.wizard-chip.active {
    background: #2B8FFF;
    border-color: #2B8FFF;
    color: #FFFFFF;
}

/* Size Selection List */
.wizard-size-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wizard-size-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wizard-size-item:hover {
    border-color: #2B8FFF;
    background: #EFF6FF;
}

.wizard-size-item.active {
    border-color: #2B8FFF;
    background: #EFF6FF;
}

.wizard-size-icon {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.125rem;
    color: #6B7280;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.wizard-size-item.active .wizard-size-icon {
    color: #2B8FFF;
}

.wizard-size-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wizard-size-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #1a1a2e;
}

.wizard-size-detail {
    font-size: 0.8125rem;
    color: #6B7280;
}

.wizard-size-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.wizard-size-item.active .wizard-size-check {
    background: #2B8FFF;
    border-color: #2B8FFF;
    color: #FFFFFF;
}

/* Summary */
.wizard-summary {
    background: #F9FAFB;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.wizard-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
}

.wizard-summary-row:last-child {
    border-bottom: none;
}

.wizard-summary-label {
    font-size: 0.875rem;
    color: #6B7280;
}

.wizard-summary-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
}

.wizard-estimate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 14px;
    font-size: 0.9375rem;
    color: #166534;
}

.wizard-estimate i {
    color: #2B8FFF;
    font-size: 1.125rem;
}

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.wizard-btn-next,
.wizard-btn-cta {
    flex: 1;
    padding: 16px 24px;
    background: #2B8FFF;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wizard-btn-next:hover,
.wizard-btn-cta:hover {
    background: #1567DB;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(43, 143, 255, 0.3);
}

.wizard-btn-prev {
    padding: 16px 24px;
    background: #F3F4F6;
    color: #4B5563;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wizard-btn-prev:hover {
    background: #E5E7EB;
}

/* Trust badges */
.wizard-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 0 16px;
}

.wizard-trust span {
    font-size: 0.8125rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wizard-trust i {
    color: #2B8FFF;
    font-size: 0.875rem;
}

/* ============================================================
   24. COME FUNZIONA — Card sotto wizard (light)
   ============================================================ */
.section-how-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F2F3F7 100%);
    padding: 40px 0 60px;
}

.how-card-light {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    height: 100%;
}

.how-card-light:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: rgba(43, 143, 255, 0.2);
}

.how-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #2B8FFF;
}

.how-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.how-card-text {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Wizard */
@media (max-width: 575.98px) {
    .hero-wizard { padding: 80px 0 30px; }
    .wizard-card { padding: 24px 20px; border-radius: 20px; }
    .wizard-title { font-size: 1.5rem; }
    .wizard-step-line { width: 24px; }
    .wizard-type-grid { gap: 8px; }
    .wizard-type-card { padding: 16px 12px; }
    .wizard-type-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .wizard-size-item { padding: 12px 14px; }
    .wizard-size-icon { width: 38px; height: 38px; margin-right: 12px; }
    .section-how-light { padding: 30px 0 40px; }
    .how-card-light { padding: 24px 16px; }
}
