@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./fonts/Inter.woff2') format('woff2');
}

:root {
  --background: 0 0% 100%;
  --foreground: 219 67% 24%;
  --card: 0 0% 100%;
  --card-foreground: 219 67% 24%;
  --primary: 219 67% 24%;
  --primary-foreground: 210 40% 98%;
  --secondary: 217 98% 48%;
  --secondary-foreground: 210 40% 98%;
  --accent: 84 100% 55%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --border: 214.3 31.8% 91.4%;
  --radius: 14px;
  --fleet-blue-dark: #00163f;
  --fleet-blue: #0041aa;
  --fleet-blue-light: #0064f6;
  --fleet-cream: #f4efd8;
  --fleet-green: #9cff19;
  --fleet-yellow: #ffc600;
  --fleet-orange: #ff4619;
  --tint-blue-soft: #ebf2ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--fleet-blue-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand-logo {
  height: 42px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-weight: 600;
  color: #ffffff;
}

.nav-links a:hover {
  color: hsl(var(--accent));
}

.nav-social {
  display: inline-flex;
  opacity: 1;
  transition: transform 0.2s ease;
}

.nav-social:hover {
  transform: scale(1.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  margin: 2px 0;
  border-radius: 1px;
}

.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
  background: var(--fleet-blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-sharp {
  filter: brightness(0.55);
}

.hero-bg-blur {
  filter: brightness(0.55) blur(22px);
  transform: scale(1.05);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 48%, transparent 54%);
  mask-image: linear-gradient(to right, black 0%, black 48%, transparent 54%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 22, 63, 0.92) 10%, rgba(0, 65, 170, 0.75) 60%, rgba(0, 100, 246, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  opacity: 0.7;
  margin-bottom: 16px;
}

.hero .eyebrow {
  color: #cfe0ff;
  opacity: 1;
  background: rgba(0, 100, 246, 0.16);
  border: 1px solid rgba(120, 170, 255, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero h1 .gradient-fade {
  background: linear-gradient(90deg, #ffffff, #b9cdf2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 0.95rem;
  max-width: 480px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-highlight-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(100, 170, 255, 0.12);
  border: 1px solid rgba(140, 190, 255, 0.4);
  box-shadow: 0 0 14px rgba(80, 150, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fleet-blue-light);
}

.hero-highlight-icon svg {
  width: 15px;
  height: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* ── Hero showcase — dashboard mockup ── */
.hero-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.75), rgba(56, 189, 248, 0.35) 45%, transparent 72%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero-dashboard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid hsl(var(--border));
  background: #f8fafc;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.hero-dashboard-title {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.hero-dashboard-image {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: hsl(var(--muted));
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.section-heading {
  max-width: 600px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

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

.highlight-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature {
  padding: 20px;
  border-left: 3px solid hsl(var(--secondary));
  background: #fff;
  border-radius: var(--radius);
}

/* ── Punti di forza — versão escura ── */
.section-dark {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #0a2454 0%, var(--fleet-blue-dark) 55%, #000c26 100%);
  overflow: hidden;
}

.eyebrow-dark {
  color: var(--fleet-blue-light);
  opacity: 1;
}

.heading-dark {
  color: #fff;
}

.heading-accent {
  background: linear-gradient(90deg, #4d8dff, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features-grid-dark {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  position: relative;
  z-index: 1;
}

.feature-dark {
  position: relative;
  border-left: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.feature-number {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 2.7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  user-select: none;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-icon-blue {
  background: rgba(0, 100, 246, 0.16);
  color: var(--fleet-blue-light);
}

.feature-icon-indigo {
  background: rgba(99, 102, 241, 0.16);
  color: #818cf8;
}

.feature-icon-teal {
  background: rgba(8, 145, 178, 0.16);
  color: #22d3ee;
}

.feature-icon-violet {
  background: rgba(139, 92, 246, 0.16);
  color: #a78bfa;
}

.feature-dark h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-dark p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  line-height: 1.55;
}

.feature-cta {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.feature-cta p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.feature-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline-dark {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.site-footer {
  background: var(--fleet-blue-dark);
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-content img {
  height: 36px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
}

.footer-privacy-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.footer-privacy-link:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links svg {
  flex-shrink: 0;
}

.footer-whatsapp {
  color: #128c7e;
}

.footer-whatsapp:hover {
  color: #17ad9a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn svg {
  flex-shrink: 0;
}

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

.btn-primary:hover {
  background: hsl(var(--secondary));
}

.site-header .btn-primary {
  background: #128c7e;
  color: #ffffff;
}

.site-header .btn-primary:hover {
  background: #0e6d63;
  color: #ffffff;
}

.nav-links a.btn:hover {
  color: hsl(var(--secondary-foreground));
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: hsl(var(--primary));
}

.hero .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(120, 180, 255, 0.35);
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--fleet-blue-light), var(--fleet-blue));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, var(--fleet-blue), var(--fleet-blue-light));
}

/* ── Moduli della piattaforma — carosello ── */
#moduli {
  --module-color: var(--fleet-blue-light);
  --module-soft: var(--tint-blue-soft);
}

.module-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}

.module-heading h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
}

.module-highlight {
  color: var(--module-color);
  transition: color 0.3s ease;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}

.module-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1.5px solid hsl(var(--border));
  background: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.2s ease;
}

.module-tab:hover:not(.active) {
  border-color: var(--module-color);
  color: hsl(var(--foreground));
}

.module-tab.active {
  background: var(--module-color);
  border-color: var(--module-color);
  color: #fff;
  box-shadow: 0 8px 20px -6px var(--module-color);
}

.module-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.module-arrow:hover {
  background: var(--module-color);
  color: #fff;
}

.module-card {
  position: relative;
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.module-visual {
  position: relative;
  background: var(--module-soft);
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px) 0 0 calc(var(--radius) + 6px);
  transition: background 0.3s ease;
}

.module-info {
  border-radius: 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0;
}

.module-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  line-height: 0;
  cursor: zoom-in;
}

.module-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--module-color) 0%, transparent 65%);
  opacity: 0.32;
  mix-blend-mode: multiply;
  transition: background 0.3s ease;
  pointer-events: none;
}

.module-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease-in-out;
  transform-origin: center;
}

.module-image-wrap:hover .module-image {
  transform: scale(1.06);
}

.module-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.module-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--module-color);
  opacity: 0.85;
  transition: color 0.3s ease;
}

.module-info {
  background: var(--fleet-blue-dark);
  color: #fff;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-info-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--module-color);
  transition: color 0.3s ease;
}

.module-info-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.module-feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.module-feature-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.module-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--module-color);
  opacity: 0.18;
  transition: background 0.3s ease;
}

.module-feature-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--module-color);
  border-bottom: 2px solid var(--module-color);
  transform: rotate(-45deg);
  transition: border-color 0.3s ease;
}

.module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--module-color);
  width: fit-content;
  transition: color 0.3s ease, gap 0.2s ease;
}

.module-link:hover {
  gap: 10px;
}

.module-card.is-fading .module-visual,
.module-card.is-fading .module-info {
  opacity: 0;
  transform: translateY(10px);
}

.module-visual,
.module-info {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.45s ease;
}

.module-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.module-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: hsl(var(--border));
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.module-dot.active {
  width: 28px;
  background: var(--module-color);
}

@media (min-width: 720px) {
  .module-arrow {
    display: flex;
  }
}

@media (max-width: 719px) {
  .module-card {
    grid-template-columns: 1fr;
  }

  .module-visual {
    aspect-ratio: 8 / 5;
    border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0;
  }

  .module-info {
    padding: 30px 22px;
    border-radius: 0 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px);
  }
}

@media (max-width: 480px) {
  .module-tabs {
    gap: 8px;
  }

  .module-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .module-info-title {
    font-size: 1.35rem;
  }
}

/* ── App del Conducente ── */
.text-highlight {
  color: hsl(217, 88%, 62%);
}

#app-conducente .eyebrow {
  color: var(--fleet-blue-light);
  opacity: 1;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.app-content h2 {
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: 15px;
}

.app-content > p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.app-features {
  list-style: none;
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.app-features li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.app-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--tint-blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fleet-blue-light);
  border: 1px solid hsl(217, 80%, 90%);
}

.app-icon svg {
  width: 19px;
  height: 19px;
}

.app-features strong {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--fleet-blue);
  margin-bottom: 4px;
}

.app-features p {
  font-size: 0.87rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

.app-store-badges {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--fleet-blue-dark);
  border-radius: 12px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.store-badge:hover {
  background: var(--fleet-blue);
  transform: translateY(-2px);
}

.store-badge small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
}

.store-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.app-mockup {
  display: flex;
  justify-content: center;
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone-frame {
  width: 258px;
  height: 528px;
  background: #0c1627;
  border-radius: 32px;
  padding: 7px 6px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.11),
    0 50px 100px rgba(0, 0, 0, 0.45),
    0 20px 40px rgba(0, 22, 63, 0.3),
    0 6px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Power button */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 114px;
  width: 3px;
  height: 49px;
  background: #0c1627;
  border-radius: 0 3px 3px 0;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

/* Volume buttons */
.phone-frame::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 96px;
  width: 3px;
  height: 26px;
  background: #0c1627;
  border-radius: 3px 0 0 3px;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    0 39px 0 0 #0c1627;
}

/* No notch — thin uniform bezels like the reference */
.phone-notch {
  display: none;
}

.phone-screen {
  flex: 1;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

iframe.phone-slide {
  border: none;
  display: block;
  background: #fff;
}

.phone-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.phone-tabs {
  display: flex;
  gap: 4px;
  background: #fff;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

.phone-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
  white-space: nowrap;
}

.phone-tab.active {
  background: var(--fleet-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 65, 170, 0.35);
}

.phone-tab:hover:not(.active) {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

/* ── Modal Simulatore ── */
.sim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 63, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sim-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sim-modal {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 22, 63, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
}

.sim-overlay.open .sim-modal {
  transform: translateY(0) scale(1);
}

.sim-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: hsl(var(--muted));
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: background 0.15s;
}

.sim-modal-close:hover {
  background: hsl(var(--border));
  color: hsl(var(--foreground));
}

.sim-modal-icon {
  width: 48px;
  height: 48px;
  background: var(--fleet-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.sim-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fleet-blue-dark);
  margin-bottom: 8px;
}

.sim-modal-desc {
  font-size: 0.88rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin-bottom: 24px;
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-field-consent {
  margin: -4px 0 4px;
}

.sim-field-captcha {
  display: flex;
  justify-content: center;
  transform: scale(0.92);
  transform-origin: center;
  margin: -4px 0;
}

.sim-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.sim-consent-label input[type="checkbox"] {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--fleet-blue);
  cursor: pointer;
}

.sim-consent-label a {
  color: var(--fleet-blue-light);
  text-decoration: underline;
}

.sim-field-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.sim-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.sim-input {
  padding: 11px 14px;
  border: 1.5px solid hsl(var(--border));
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: hsl(var(--foreground));
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sim-input:focus {
  border-color: var(--fleet-blue);
  box-shadow: 0 0 0 3px rgba(0, 65, 170, 0.12);
}

.sim-input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.6;
}

.sim-error {
  font-size: 0.8rem;
  color: #dc2626;
  min-height: 1.2em;
}

.sim-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 0.97rem;
  margin-top: 4px;
}

/* ── Simulatore di Risparmio ── */
.simulator-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.calc-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-card {
  padding: 28px;
}

.calc-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--fleet-blue-dark);
  margin-bottom: 22px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-bottom: 22px;
}

.calc-field-full {
  grid-column: 1 / -1;
}

.calc-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 14px;
}

.calc-slider {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: hsl(var(--border));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.calc-slider:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 65, 170, 0.25);
  border-radius: 999px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fleet-blue);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px var(--fleet-blue), 0 2px 8px rgba(0, 65, 170, 0.3);
  transition: transform 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.calc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fleet-blue);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px var(--fleet-blue), 0 2px 8px rgba(0, 65, 170, 0.3);
  transition: transform 0.15s;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.18);
}

.calc-slider::-moz-range-track {
  background: transparent;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 0.76rem;
  color: hsl(var(--muted-foreground));
}

.slider-val {
  font-weight: 700;
  color: var(--fleet-blue);
  font-size: 0.88rem;
}

.calc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 1rem;
}

/* Results */
.calc-results {
  display: none;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.calc-results.visible {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.calc-result-main {
  background: var(--fleet-blue-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
}

.result-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.result-value {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: #22c55e;
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.result-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  line-height: 1.5;
}

.result-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.result-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-name {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.stat-pct {
  font-size: 1rem;
  font-weight: 700;
  color: #22c55e;
}

.result-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.result-disclaimer {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
  margin-top: 16px;
}

.calc-result-cta {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--fleet-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.cta-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fleet-blue-dark);
}

.cta-desc {
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  padding: 10px 18px;
  margin-top: auto;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    background: var(--fleet-blue-dark);
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 80px 0 56px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-dashboard {
    max-width: 440px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-mockup {
    order: -1;
  }

  .calc-inputs {
    grid-template-columns: 1fr;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-card {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero {
    padding: 64px 0 40px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.88rem;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .feature-cta-actions {
    justify-content: center;
  }

}

/* ── Grandi aziende che utilizzano il nostro sistema ── */
.section-clients {
  background: #fff;
}

.clients-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.clients-heading .eyebrow {
  display: block;
}

.clients-highlight {
  color: var(--fleet-blue-light);
}

.clients-marquee {
  width: 100%;
  overflow: hidden;
  background: hsl(var(--muted));
  padding: 26px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: clientsMarquee 42s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clientsMarquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

.client-logo {
  flex: 0 0 auto;
  width: 140px;
  height: 100px;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 719px) {
  .client-logo {
    width: 116px;
    height: 84px;
    padding: 10px;
  }

  .footer-links {
    gap: 14px;
  }

  .footer-bottom {
    font-size: 0.7rem;
    line-height: 1.6;
  }

  .phone-frame {
    width: 225px;
    height: 460px;
    border-radius: 27px;
    padding: 6px 5px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-tab {
    padding: 7px 11px;
    font-size: 0.7rem;
  }
}
