@tailwind base;
@tailwind components;
@tailwind utilities;

/* Definition of the design system. All colors, gradients, fonts, etc should be defined here. 
All colors MUST be HSL.
*/

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;

    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem;

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }
}

/* HERO GREEN SECTION */
.hero-green {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #2ee879 0%, #1ecb6b 50%, #0ea463 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  margin: 0 !important;
  border-radius: 0 !important;
  left: 0;
  position: relative;
  background: linear-gradient(135deg, #2ee879 0%, #1ecb6b 50%, #0ea463 100%) !important;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.20);
  color: #fff;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4em 1.2em;
  margin-bottom: 2.2rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
  transition: background 0.2s;
  cursor: default;
  user-select: none;
}

.hero-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero-title-orange {
  color: #ff6d1b;
}
.hero-title-blue {
  color: #2e7cff;
}

.hero-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  opacity: 0.92;
  margin-bottom: 2.2rem;
  max-width: 600px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-btn {
  display: inline-block;
  background: #ff6d1b;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 0.95em 2.2em;
  border-radius: 0.7em;
  box-shadow: 0 4px 24px 0 rgba(255,109,27,0.18);
  margin-bottom: 2.8rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.hero-btn:hover {
  background: #ff8c42;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(255,109,27,0.22);
}

/* MOCKUP PHONE */
.hero-mockup {
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-phone {
  width: 320px;
  height: 480px;
  background: linear-gradient(180deg, #23272f 0%, #181a1f 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18);
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  transform: rotate(4deg);
  transition: transform 0.4s;
}
.mockup-phone:hover {
  transform: rotate(0deg) scale(1.03);
}
.mockup-phone-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06) inset;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-phone-content {
  text-align: center;
  width: 100%;
}
.mockup-phone-ball {
  width: 60px;
  height: 60px;
  background: #ff6d1b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem auto;
  animation: bounce-subtle 2.2s infinite;
  box-shadow: 0 2px 12px 0 rgba(255,109,27,0.12);
}
.mockup-phone-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #23272f;
  margin-bottom: 0.3rem;
}
.mockup-phone-sub {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: #666;
}
.mockup-badge {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  animation: bounce-subtle 2.2s infinite;
}
.mockup-badge-orange {
  background: #ff6d1b;
  left: -32px;
  top: -32px;
  animation-delay: 0s;
}
.mockup-badge-blue {
  background: #2e7cff;
  right: -32px;
  bottom: -32px;
  animation-delay: 1.1s;
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-desc {
    font-size: 1.05rem;
    max-width: 95vw;
  }
  .mockup-phone {
    width: 210px;
    height: 320px;
    padding: 0.7rem;
  }
  .mockup-badge, .mockup-badge-orange, .mockup-badge-blue {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    left: -18px;
    top: -18px;
    right: -18px;
    bottom: -18px;
  }
}

/* FEATURES SECTION (Funzionalità Complete) */
.features-section {
  background: #f7f9fb;
  padding: 70px 0 60px 0;
  text-align: center;
}
.features-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4em 1.3em;
  margin-bottom: 1.7rem;
  box-shadow: 0 2px 12px 0 rgba(34,197,94,0.10);
  letter-spacing: 0.01em;
}
.features-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #181c2a;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
}
.features-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  color: #5a6473;
  margin-bottom: 2.8rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px 0 rgba(30, 203, 107, 0.07);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
}
.feature-card:hover {
  box-shadow: 0 8px 40px 0 rgba(30, 203, 107, 0.13);
  transform: translateY(-6px) scale(1.03);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
}
.feature-icon-orange {
  background: #ff6d1b;
  color: #fff;
}
.feature-icon-blue {
  background: #2e7cff;
  color: #fff;
}
.feature-icon-green {
  background: #22c55e;
  color: #fff;
}
.feature-icon-purple {
  background: #a259e6;
  color: #fff;
}
.feature-icon-pink {
  background: #ec4899;
  color: #fff;
}
.feature-icon-indigo {
  background: #6366f1;
  color: #fff;
}
.feature-card-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #181c2a;
  margin-bottom: 0.7rem;
}
.feature-card-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  color: #5a6473;
  line-height: 1.5;
  font-weight: 400;
}
.features-more {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.features-more-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #181c2a;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7em 2.1em;
  box-shadow: 0 2px 16px 0 rgba(30,203,107,0.10);
  letter-spacing: 0.01em;
  border: none;
  transition: box-shadow 0.2s;
}
.features-more-badge:hover {
  box-shadow: 0 6px 32px 0 rgba(30,203,107,0.16);
}
@media (max-width: 700px) {
  .features-title {
    font-size: 1.5rem;
  }
  .features-desc {
    font-size: 0.98rem;
  }
  .features-section {
    padding: 40px 0 30px 0;
  }
  .feature-card {
    padding: 1.2rem 0.7rem 1.1rem 0.7rem;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
}

.appdesign-section {
  background: #fff;
  padding: 70px 0 60px 0;
  text-align: center;
}
.appdesign-badge {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4em 1.3em;
  margin-bottom: 1.7rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.10);
  letter-spacing: 0.01em;
}
.appdesign-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #181c2a;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
}
.appdesign-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  color: #5a6473;
  margin-bottom: 2.8rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.appdesign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.appdesign-card {
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 4px 32px 0 rgba(30, 203, 107, 0.07);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  min-height: 370px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
}
.appdesign-card:hover {
  box-shadow: 0 8px 40px 0 rgba(37,99,235,0.13);
  transform: translateY(-6px) scale(1.03);
}
.appdesign-card-bg {
  position: absolute;
  top: 0; left: 0; right: 0; height: 60%;
  z-index: 1;
}
.appdesign-card-green .appdesign-card-bg {
  background: linear-gradient(120deg, #2ee879 0%, #1ecb6b 100%);
}
.appdesign-card-blue .appdesign-card-bg {
  background: linear-gradient(120deg, #2e7cff 0%, #2563eb 100%);
}
.appdesign-card-orange .appdesign-card-bg {
  background: linear-gradient(120deg, #ff6d1b 0%, #ff8c42 100%);
}
.appdesign-card-purple .appdesign-card-bg {
  background: linear-gradient(120deg, #a259e6 0%, #7c3aed 100%);
}
.appdesign-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; height: 60%;
  background: rgba(255,255,255,0.18);
  z-index: 2;
}
.appdesign-card-icon {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
}
.appdesign-card-details {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  z-index: 3;
}
.appdesign-card-details::after {
  content: '';
  position: absolute;
  top: 0;
  right: -32px;
  width: 36px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.5);
  display: block;
}
.appdesign-card-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  border-top-left-radius: 1.3rem;
  border-top-right-radius: 1.3rem;
  padding: 2.2rem 1.2rem 1.3rem 1.2rem;
  z-index: 4;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.appdesign-card-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #181c2a;
  margin-bottom: 0.5rem;
}
.appdesign-card-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.01rem;
  color: #5a6473;
  line-height: 1.5;
  font-weight: 400;
}
@media (max-width: 700px) {
  .appdesign-title {
    font-size: 1.5rem;
  }
  .appdesign-desc {
    font-size: 0.98rem;
  }
  .appdesign-section {
    padding: 40px 0 30px 0;
  }
  .appdesign-card-content {
    padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    min-height: 100px;
  }
  .appdesign-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    top: 22px;
  }
}

.testimonials-section {
  background: #f7faf9;
  padding: 70px 0 60px 0;
  text-align: center;
}
.testimonials-badge {
  display: inline-block;
  background: #ff6d1b;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4em 1.3em;
  margin-bottom: 1.7rem;
  box-shadow: 0 2px 12px 0 rgba(255,109,27,0.10);
  letter-spacing: 0.01em;
}
.testimonials-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #181c2a;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
}
.testimonials-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  color: #5a6473;
  margin-bottom: 2.8rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px 0 rgba(30, 203, 107, 0.07);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(255,109,27,0.13);
  transform: translateY(-6px) scale(1.03);
}
.testimonial-emoji {
  font-size: 2.3rem;
  margin-bottom: 1.1rem;
}
.testimonial-quote {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  color: #222;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.testimonial-divider {
  border: none;
  border-top: 1.5px solid #e5e7eb;
  width: 80%;
  margin: 1.1rem auto 1.1rem auto;
}
.testimonial-author {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: #181c2a;
  margin-bottom: 0.2rem;
}
.testimonial-role {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.01rem;
  color: #22c55e;
  font-weight: 600;
}
@media (max-width: 700px) {
  .testimonials-title {
    font-size: 1.5rem;
  }
  .testimonials-desc {
    font-size: 0.98rem;
  }
  .testimonials-section {
    padding: 40px 0 30px 0;
  }
  .testimonial-card {
    padding: 1.2rem 0.7rem 1.1rem 0.7rem;
  }
  .testimonial-emoji {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }
}

.cta-section {
  background: #f7f9fb;
  padding: 0 0 0 0;
  text-align: center;
}
.cta-badge-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 32px 0 rgba(30,203,107,0.10);
  padding: 0.5em 2em 0.5em 1.2em;
  font-size: 1.08rem;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto 2.2rem auto;
  position: relative;
  top: 38px;
  z-index: 3;
}
.cta-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: -2px;
}
.cta-dot-blue { background: #2e7cff; }
.cta-dot-green { background: #22c55e; }
.cta-dot-orange { background: #ff6d1b; }
.cta-badge-text {
  margin-left: 0.7em;
  color: #222;
}
.cta-badge-trophy {
  margin-left: 0.3em;
}

.cta-green-bg {
  background: linear-gradient(135deg, #2ee879 0%, #1ecb6b 50%, #0ea463 100%);
  position: relative;
  border-radius: 0 0 2.5rem 2.5rem;
  padding: 90px 0 60px 0;
  margin-top: -30px;
  overflow: hidden;
}
.cta-green-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.20);
  color: #fff;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4em 1.2em;
  margin-bottom: 2.2rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
  transition: background 0.2s;
  cursor: default;
  user-select: none;
  z-index: 2;
  position: relative;
}
.cta-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  z-index: 2;
  position: relative;
}
.cta-title-orange {
  color: #ff6d1b;
}
.cta-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  color: #fff;
  margin-bottom: 2.8rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  z-index: 2;
  position: relative;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  z-index: 2;
  position: relative;
}
.cta-btn {
  display: inline-block;
  background: #ff6d1b;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 0.95em 2.2em;
  border-radius: 0.7em;
  box-shadow: 0 4px 24px 0 rgba(255,109,27,0.18);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover {
  background: #ff8c42;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(255,109,27,0.22);
}
.cta-info {
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  margin-left: 0.5em;
}
.cta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: center;
  margin-top: 2.8rem;
  z-index: 2;
  position: relative;
}
.cta-stat {
  text-align: center;
  margin-top: 2rem;
}
.cta-stat-value {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}
.cta-stat-label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  color: #fff;
  opacity: 0.92;
}
@media (max-width: 700px) {
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-desc {
    font-size: 0.98rem;
  }
  .cta-green-bg {
    padding: 50px 0 30px 0;
    border-radius: 0 0 1.2rem 1.2rem;
  }
  .cta-badge-top {
    font-size: 0.95rem;
    padding: 0.4em 1em 0.4em 0.7em;
    top: 18px;
  }
  .cta-dot {
    width: 12px;
    height: 12px;
  }
  .cta-stat-value {
    font-size: 1.2rem;
  }
  .cta-stats {
    gap: 1.2em;
  }
}

.why-section {
  background: linear-gradient(135deg, #2ee879 0%, #1ecb6b 50%, #0ea463 100%);
  padding: 60px 0 40px 0;
  text-align: center;
  border-radius: 2.2rem;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}
.why-container {
  max-width: 1100px;
  margin: 0 auto;
}
.why-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
}
.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5em;
  margin-bottom: 2.5rem;
}
.why-card {
  background: transparent;
  border-radius: 1.2rem;
  padding: 1.2rem 1.5rem 1.2rem 1.5rem;
  min-width: 200px;
  /*max-width: 260px;*/
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}
.why-card-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.why-card-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.01rem;
  color: #fff;
  opacity: 0.92;
  font-weight: 400;
}
.why-btn {
  display: inline-block;
  background: #fff;
  color: #22c55e;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 0.7em 2.1em;
  border-radius: 0.5em;
  box-shadow: 0 2px 16px 0 rgba(30,203,107,0.10);
  text-decoration: none;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  border: none;
  margin-top: 1.7rem;
}
.why-btn:hover {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(30,203,107,0.16);
}

.footer {
  background: #10182a;
  color: #fff;
  padding: 60px 0 0 0;
  font-family: 'Inter', Arial, sans-serif;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5em;
  margin-bottom: 2.5rem;
}
.footer-brand {
  flex: 1 1 320px;
  min-width: 260px;
}
.footer-logo {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-logo-orange { color: #ff6d1b; }
.footer-logo-blue { color: #2e7cff; }
.footer-desc {
  color: #bdbdbd;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  max-width: 400px;
}
.footer-socials {
  display: flex;
  gap: 0.7em;
  margin-bottom: 1.2rem;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: #222b3a;
  transition: background 0.2s;
  text-decoration: none;
}
.footer-social-blue { background: #2e7cff; }
.footer-social-green { background: #22c55e; }
.footer-social-orange { background: #ff6d1b; }
.footer-social:hover { background: #fff; color: #222b3a; }
.footer-links {
  display: flex;
  gap: 3em;
  flex: 2 1 400px;
  min-width: 260px;
  justify-content: flex-end;
}
.footer-col {
  min-width: 120px;
}
.footer-col-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}
.footer-link {
  color: #bdbdbd;
  font-size: 1.01rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1.5px solid #232b3a;
  padding: 1.5rem 0 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2em;
}
.footer-copyright {
  color: #bdbdbd;
  font-size: 0.98rem;
}
.footer-legal {
  display: flex;
  gap: 1.2em;
}
.footer-legal-link {
  color: #bdbdbd;
  font-size: 0.98rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-link:hover { color: #fff; }
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2em;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .why-section {
    border-radius: 1.2rem;
    padding: 30px 0 20px 0;
  }
}
@media (max-width: 700px) {
  .why-title {
    font-size: 1.2rem;
  }
  .why-section {
    padding: 20px 0 10px 0;
    border-radius: 0.7rem;
  }
  .why-grid {
    flex-direction: column;
    gap: 1.2em;
  }
  .footer-container {
    padding: 0 0.5rem;
  }
  .footer-main {
    gap: 1.2em;
  }
  .why-container {
    text-align: center;
  }
  .why-card {
    text-align: center;
    align-items: center;
  }
}

.footer-spacer {
  height: 48px;
}
@media (max-width: 700px) {
  .footer-spacer {
    height: 24px;
  }
}

.jobs-section {
  background: #f7f9fb;
  padding: 70px 0 60px 0;
  text-align: center;
}
.jobs-badge {
  display: inline-block;
  background: #fffbe6;
  color: #bfa100;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 999px;
  padding: 0.4em 1.4em;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  text-align: center;
}
.jobs-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222b3a;
  margin-bottom: 0.7rem;
  text-align: center;
}
.jobs-desc {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2.2rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.jobs-contact-cta {
  text-align: center;
  margin-top: 2.2rem;
}
.jobs-contact-note {
  color: #bfa100;
  font-size: 1rem;
  margin-top: 0.7rem;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.job-card {
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 4px 32px 0 rgba(30, 203, 107, 0.07);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 4px solid #e5e7eb;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  border-right: none;
  border-top: none;
  border-bottom: none;
}
.job-card-green { border-left: 4px solid #22c55e; }
.job-card-orange { border-left: 4px solid #ff6d1b; }
.job-card-blue { border-left: 4px solid #2e7cff; }
.job-card-icon {
  font-size: 2.1rem;
  background: #f7f9fb;
  border-radius: 0.7rem;
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.job-card-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #181c2a;
  margin-bottom: 0.2rem;
}
.job-card-sub {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.98rem;
  color: #5a6473;
  margin-bottom: 0.7rem;
}
.job-card-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  color: #5a6473;
  margin-bottom: 1.1rem;
  line-height: 1.5;
}
.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.job-tag {
  background: #f3f4f6;
  color: #222;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 0.5em;
  padding: 0.3em 1em;
  margin-top: 0.2em;
  display: inline-block;
}
@media (max-width: 700px) {
  .jobs-title {
    font-size: 1.5rem;
  }
  .jobs-desc {
    font-size: 0.98rem;
  }
  .jobs-section {
    padding: 40px 0 30px 0;
  }
  .job-card {
    padding: 1.2rem 0.7rem 1.1rem 0.7rem;
  }
  .job-card-icon {
    font-size: 1.3rem;
    width: 1.7rem;
    height: 1.7rem;
    margin-bottom: 0.7rem;
  }
}

/* Immagini reali integrate */
.hero-app-screenshot {
  width: 320px;
  max-width: 90vw;
  border-radius: 2.2rem;
  box-shadow: 0 8px 32px 0 rgba(30, 203, 107, 0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  border: 4px solid #fff;
  background: #fff;
  margin: 0 auto 1.2rem auto;
  display: block;
  z-index: 2;
  position: relative;
}
@media (max-width: 700px) {
  .hero-app-screenshot {
    width: 95vw;
    max-width: 95vw;
    border-radius: 1.2rem;
  }
}

.feature-thumb {
  width: 100%;
  max-width: 220px;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px 0 rgba(46, 124, 255, 0.10), 0 1.5px 8px 0 rgba(0,0,0,0.08);
  border: 3px solid #fff;
  background: #fff;
  margin: 1.1rem auto 0.5rem auto;
  display: block;
}
@media (max-width: 700px) {
  .feature-thumb {
    max-width: 90vw;
    border-radius: 0.8rem;
  }
}

.appdesign-thumb {
  width: 100%;
  max-width: 260px;
  /* 👇 riserva spazio prima del load */
  aspect-ratio: 9 / 19.5;      /* usa il rapporto reale dei tuoi screenshot */
  height: auto;
  object-fit: contain;

  border-radius: 1.5rem;
  box-shadow: 0 6px 24px 0 rgba(46, 124, 255, 0.10), 0 1.5px 8px 0 rgba(0,0,0,0.08);
  border: 3px solid #fff;
  background: #fff;
  margin: 1.1rem auto 0.5rem auto;
  display: block;
  z-index: 2;
  position: relative;
}

@media (max-width: 700px) {
  .appdesign-thumb {
    max-width: 90vw;
    border-radius: 1rem;
    /* mantieni il ratio anche su mobile */
    aspect-ratio: 9 / 19.5;
  }
}

/*
.appdesign-thumb {
  width: 100%;
  max-width: 260px;
  border-radius: 1.5rem;
  box-shadow: 0 6px 24px 0 rgba(46, 124, 255, 0.10), 0 1.5px 8px 0 rgba(0,0,0,0.08);
  border: 3px solid #fff;
  background: #fff;
  margin: 1.1rem auto 0.5rem auto;
  display: block;
  z-index: 2;
  position: relative;
}
@media (max-width: 700px) {
  .appdesign-thumb {
    max-width: 90vw;
    border-radius: 1rem;
  }
}*/

.future-goal-section {
  position: relative;
  margin: 0 auto 3.5rem auto;
  padding: 0 0 2.5rem 0;
  z-index: 1;
}
.future-goal-badge {
  display: inline-block;
  background: #fffbe6;
  color: #bfa100;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 999px;
  padding: 0.4em 1.4em;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  text-align: center;
}
.features-future-overlay {
  filter: grayscale(0.7) brightness(0.95);
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}
.future-goal-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.92);
  color: #bfa100;
  font-size: 2.2rem;
  font-weight: 800;
  padding: 1.2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
  z-index: 10;
  text-align: center;
  letter-spacing: 1px;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) {
  .future-goal-overlay {
    font-size: 1.2rem;
    padding: 0.7rem 1.2rem;
    border-radius: 1rem;
  }
}
.future-goal-stats-overlay {
  position: relative;
  filter: grayscale(0.7) brightness(0.95);
  opacity: 0.7;
  pointer-events: none;
}
.future-goal-badge-inline {
  display: inline-block;
  background: #fffbe6;
  color: #bfa100;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.25em 1em;
  margin: 0 auto 0.7rem auto;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  text-align: center;
  position: absolute;
  left: 50%;
  top: -1.7rem;
  transform: translateX(-50%);
  z-index: 12;
}
.future-goal-overlay-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.92);
  color: #bfa100;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.6rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
  z-index: 10;
  text-align: center;
  letter-spacing: 1px;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) {
  .future-goal-overlay-small {
    font-size: 0.9rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.7rem;
  }
}

.contact-section {
  background: #f9fafb;
  border-radius: 1.5rem;
  margin: 3.5rem auto 2.5rem auto;
  padding: 2.5rem 1.5rem;
  max-width: 600px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  text-align: center;
}
.contact-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 999px;
  padding: 0.4em 1.4em;
  margin-bottom: 1.2rem;
}
.contact-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #222b3a;
  margin-bottom: 0.7rem;
  letter-spacing: -1px;
  line-height: 1.1;
}
.contact-title-orange {
  color: #ff6d1b;
}
.contact-intro {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.25rem;
  color: #222b3a;
  margin-bottom: 1.5rem;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.5;
}
.contact-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}
.contact-mail {
  color: #2563eb;
  text-decoration: underline;
}
.contact-btn, .contact-btn-orange {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 0.7em;
  padding: 0.95em 2.2em;
  background: #ff6d1b;
  color: #fff;
  transition: background 0.2s;
  margin-top: 1.2rem;
  text-decoration: none;
  display: inline-block;
}
.contact-btn:hover, .contact-btn-orange:hover {
  background: #e65c00;
}
.contact-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(37,99,235,0.07);
  padding: 2rem 1.5rem 2.2rem 1.5rem;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.contact-icon {
  font-size: 2.7rem;
  margin-bottom: 0.2rem;
  animation: wave-hand 1.2s infinite alternate;
}
@keyframes wave-hand {
  0% { transform: rotate(-10deg); }
  100% { transform: rotate(18deg); }
}
.contact-note {
  display: block;
  color: #bfa100;
  font-size: 1rem;
  margin-top: 0.7rem;
  font-style: italic;
}
.contact-badge-orange {
  background: #fffae6;
  color: #ff6d1b;
}
.contact-title-orange {
  color: #ff6d1b;
}
.contact-card-accent {
  border: 2.5px solid #ff6d1b;
  box-shadow: 0 2px 16px 0 rgba(255,109,27,0.07);
}
.contact-btn-orange {
  background: #ff6d1b;
  color: #fff;
  transition: background 0.2s;
}
.contact-btn-orange:hover {
  background: #e65c00;
}

.privacy-main {
  min-height: 100vh;
  background: var(--background, #fff);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 3rem 0;
}
.privacy-container {
  max-width: 700px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 2.5rem 2rem 2.5rem 2rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 24px 0 rgba(34, 43, 58, 0.08);
  animation: fadeIn 0.8s;
}
.privacy-badge {
  display: inline-block;
  background: #fffae6;
  color: #ff6d1b;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 999px;
  padding: 0.4em 1.4em;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  text-align: center;
}
.privacy-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #222b3a;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
  text-align: center;
}
.privacy-section {
  margin-bottom: 2.2rem;
}
.privacy-section-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ff6d1b;
  margin-bottom: 0.7rem;
  margin-top: 0.7rem;
}
.privacy-update {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 0.7rem;
}
.privacy-section p, .privacy-section ul {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 1.1rem 0;
}
.privacy-section ul {
  padding-left: 1.2rem;
}
.privacy-section li {
  margin-bottom: 0.5rem;
}
.privacy-link {
  color: #ff6d1b;
  text-decoration: underline;
  font-weight: 600;
}
.privacy-link:hover {
  color: #222b3a;
}
@media (max-width: 700px) {
  .privacy-container {
    margin: 2.2rem 0.5rem 1.5rem 0.5rem;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
  .privacy-title {
    font-size: 1.5rem;
  }
  .privacy-section-title {
    font-size: 1.1rem;
  }
  .privacy-section p, .privacy-section ul {
    font-size: 0.98rem;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.version-badge {
  background: #e0f2fe;
  color: #2563eb;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  display: inline-block;
}
.version-badge-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.update-main {
  min-height: 100vh;
  background: var(--background, #f7f9fb);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 3rem 0;
}
.update-card {
  position: relative;
  max-width: 540px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 2.7rem 2.2rem 2.7rem 2.2rem;
  background: #fff;
  border-radius: 2.2rem;
  box-shadow: 0 8px 40px 0 rgba(46, 124, 255, 0.10), 0 2px 12px 0 rgba(0,0,0,0.06);
  animation: fadeIn 0.8s;
  overflow: visible;
}
.update-badge.version-badge {
  background: linear-gradient(90deg, #e0f2fe 0%, #b6e0fe 100%);
  color: #2563eb;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 0 16px 0 #b6e0fe44;
  border: none;
  margin-bottom: 1.2rem;
  margin-top: 0.2rem;
  display: block;
  text-align: center;
  letter-spacing: 0.03em;
}
.update-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #222b3a;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
  text-align: center;
}
.update-title-accent {
  color: #ff6d1b;
}
.update-desc {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 2.2rem;
  text-align: center;
  opacity: 0.92;
}
.update-date-badge {
  position: absolute;
  top: -1.3rem;
  right: 2.2rem;
  background: #e0f2fe;
  color: #2563eb;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3em 1.1em;
  box-shadow: 0 2px 12px 0 #b6e0fe33;
  z-index: 2;
}
.update-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}
.update-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #f7f9fb;
  border-radius: 1.1rem;
  margin-bottom: 1.1rem;
  padding: 1.1rem 1.2rem;
  font-size: 1.13rem;
  box-shadow: 0 1px 8px 0 rgba(46,124,255,0.04);
  transition: background 0.2s;
}
.update-list-item:nth-child(even) {
  background: #f1f5fa;
}
.update-icon {
  font-size: 2.1rem;
  flex-shrink: 0;
  margin-top: -0.1rem;
}
.update-list-text {
  font-family: 'Inter', Arial, sans-serif;
  color: #222b3a;
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .update-card {
    margin: 1.2rem 0.2rem 1.2rem 0.2rem;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1.1rem;
  }
  .update-title {
    font-size: 1.3rem;
  }
  .update-date-badge {
    right: 0.7rem;
    font-size: 0.85rem;
    padding: 0.2em 0.7em;
  }
  .update-list-item {
    font-size: 0.98rem;
    padding: 0.7rem 0.6rem;
    border-radius: 0.7rem;
  }
  .update-icon {
    font-size: 1.3rem;
  }
}

/* === UPDATE HERO & TIMELINE === */
.update-hero {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 2.5rem auto 0 auto;
  border-radius: 2.2rem;
  overflow: hidden;
  box-shadow: 0 8px 40px 0 rgba(46, 124, 255, 0.10), 0 2px 12px 0 rgba(0,0,0,0.06);
  background: #fff;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.update-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #e0f2fe 0%, #b6e0fe 100%);
  opacity: 0.25;
  z-index: 1;
}
.update-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.update-hero-icon {
  font-size: 3.2rem;
  margin: 0.7rem 0 0.7rem 0;
  color: #2563eb;
  filter: drop-shadow(0 2px 12px #b6e0fe66);
  animation: bounce-subtle 2.2s infinite;
}
.update-hero-badges {
  display: flex;
  gap: 1.1em;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.update-card-fancy {
  margin-top: -2.2rem;
  z-index: 3;
  position: relative;
}
.update-list-timeline {
  position: relative;
  padding-left: 0.5rem;
}
.update-list-timeline .update-list-item {
  border-left: 4px solid #e0f2fe;
  position: relative;
  background: #f7f9fb;
  margin-left: 1.1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 8px 0 rgba(46,124,255,0.04);
  transition: background 0.2s, box-shadow 0.2s;
}
.update-list-timeline .update-list-item:last-child {
  margin-bottom: 0;
}
.update-list-timeline .update-list-item::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 1.2rem;
  width: 1.1rem;
  height: 1.1rem;
  background: #fff;
  border: 3px solid #2563eb;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px 0 #b6e0fe33;
}
.update-icon-orange { color: #ff6d1b; }
.update-icon-blue { color: #2563eb; }
.update-icon-green { color: #22c55e; }
.update-icon-purple { color: #a259e6; }

/* Fade-in animation for update list */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.25s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.55s; }
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sezione "Altre novità in arrivo" */
.update-next-section {
  max-width: 540px;
  margin: 2.5rem auto 0 auto;
  text-align: center;
  position: relative;
}

/* Responsive improvements for update page */
@media (max-width: 700px) {
  .update-hero {
    min-height: 160px;
    border-radius: 1.1rem;
    margin: 1.2rem 0.2rem 0 0.2rem;
  }
  .update-hero-content {
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
  }
  .update-hero-icon {
    font-size: 2rem;
  }
  .update-hero-badges {
    gap: 0.5em;
    margin-bottom: 0.7rem;
  }
  .update-card-fancy {
    margin-top: -1.1rem;
  }
  .update-next-section {
    margin: 1.2rem 0.2rem 0 0.2rem;
  }
}

/* === UPDATE COLLAPSIBLE CARD === */
.update-main-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--background, #f7f9fb);
  padding: 0;
}
.update-card-collapsible {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px 0 rgba(46, 124, 255, 0.10), 0 2px 12px 0 rgba(0,0,0,0.06);
  background: #fff;
  padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.update-card-header {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.update-expand-btn {
  margin-top: 1.2rem;
  background: #ff6d1b;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 0.7em;
  padding: 0.85em 2em;
  box-shadow: 0 2px 12px 0 rgba(255,109,27,0.10);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  max-width: 320px;
}
.update-expand-btn:hover {
  background: #ff8c42;
  transform: scale(1.03);
}
.update-details-collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  will-change: max-height, opacity;
}
.update-details-collapsible.expanded {
  max-height: 900px;
  opacity: 1;
  margin-top: 1.2rem;
}
.update-card-collapsible.expanded {
  box-shadow: 0 12px 48px 0 rgba(46, 124, 255, 0.16), 0 4px 16px 0 rgba(0,0,0,0.10);
}
/* Mobile first */
@media (max-width: 700px) {
  .update-card-collapsible {
    max-width: 98vw;
    padding: 1.2rem 0.3rem 0.7rem 0.3rem;
    border-radius: 1rem;
  }
  .update-expand-btn {
    font-size: 1rem;
    padding: 0.7em 1.2em;
    max-width: 100%;
  }
}

:root {
  --header-offset: 80px; /* = altezza del tuo header/sticky */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset); /* offset per gli anchor jump */
}

/* Offset quando l’elemento viene portato in vista (ancore, scrollIntoView, ecc.) */
#download { 
  scroll-margin-top: var(--header-offset);
}

.anchor-offset::before {
  content: "";
  display: block;
  height: var(--header-offset);
  margin-top: calc(-1 * var(--header-offset));
  visibility: hidden;
  pointer-events: none;
}

/*
:root {
  --header-offset: 70px;       
  scroll-behavior: smooth;    
  scroll-padding-top: var(--header-offset);
}

#download {
  scroll-margin-top: var(--header-offset);
}*/