*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #060410;
  color: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:root {
  color-scheme: dark;
  --home-fixed-stack-height: 0px;
  --bg: #060410;
  --bg-2: #0c0820;
  --bg-3: #140d2b;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(124, 58, 237, 0.32);
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-deep: #5b21b6;
  --gold: #f59e0b;
  --gold-soft: #fbbf24;
  --green: #10b981;
  --green-soft: #34d399;
  --text: #f8fafc;
  --text-2: #d3daeb;
  --muted: #94a3b8;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  --glow: 0 0 48px rgba(124, 58, 237, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

body.lavori24-premium-home {
  background:
    radial-gradient(circle at top center, rgba(124, 58, 237, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(180deg, #060410 0%, #090514 28%, #060410 100%);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

section,
.stats-band,
footer {
  position: relative;
}

.section {
  padding: 100px 0;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.photo-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.photo-fade-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

p {
  color: var(--text-2);
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.72;
  color: var(--text-2);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--border-strong);
  background: rgba(124, 58, 237, 0.1);
}

.btn-tg {
  background: linear-gradient(135deg, #2481cc 0%, #1a6aa8 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(36, 129, 204, 0.3);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 34px;
  font-size: 16px;
  border-radius: 18px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid;
}

.tag-purple {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.34);
  color: var(--accent-light);
}

.tag-green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--green-soft);
}

.tag-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--gold-soft);
}

.tag-white {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  min-height: 72px;
  display: flex;
  align-items: center;
  background: rgba(6, 4, 16, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(6, 4, 16, 0.96);
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/site-assets/hero-team.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.22) saturate(0.72);
  transform: scale(1.04);
  transition: transform 12s ease;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 104px 40px 108px;
  display: flex;
  gap: 92px;
  align-items: center;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
}

.hero-brand {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  flex-shrink: 0;
}

.hero-pcard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(6, 4, 16, 0.88);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.3s;
  animation: float 4s ease-in-out infinite;
}

.hero-pcard:nth-child(2) {
  animation-delay: 1.4s;
}

.hero-pcard:hover,
.hero-pcard:focus-visible {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.hp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hp-icon svg,
.suite-connect-icon svg,
.suite-connect-item-icon svg,
.vs-item .icon svg {
  width: 20px;
  height: 20px;
}

.hp-icon-purple {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.28);
}

.hp-icon-green {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.hp-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
}

.hp-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.hp-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-pcard:hover .hp-arrow {
  color: var(--accent-light);
}

.brand-strip {
  background: linear-gradient(180deg, rgba(8, 6, 18, 0.38) 0%, rgba(12, 8, 32, 0.78) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 18px 0 20px;
}

.bs-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bs-inner::-webkit-scrollbar { display: none; }

.bs-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.74);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.bs-items {
  display: flex;
  align-items: center;
  gap: 12px 22px;
  flex-wrap: wrap;
}

.bs-item {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.68);
}

.suite-bridge-band {
  padding: 22px 0 0;
  background: var(--bg);
}

.suite-bridge-panel {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%),
    rgba(11, 8, 24, 0.9);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.suite-bridge-panel h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
}

.suite-bridge-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(226, 232, 240, 0.78);
}

.suite-bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.suite-bridge-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.suite-bridge-card__eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.suite-bridge-card strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.26;
}

.suite-bridge-card span:last-child {
  color: rgba(226, 232, 240, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

.suite-bridge-card--lexferie {
  border-color: rgba(124, 58, 237, 0.24);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12) 0%, rgba(14, 9, 30, 0.92) 100%);
}

.suite-bridge-card--lexferie .suite-bridge-card__eyebrow {
  border: 1px solid rgba(124, 58, 237, 0.26);
  background: rgba(124, 58, 237, 0.16);
  color: #ddd6fe;
}

.suite-bridge-card--nodo {
  border-color: rgba(16, 185, 129, 0.22);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(8, 18, 19, 0.92) 100%);
}

.suite-bridge-card--nodo .suite-bridge-card__eyebrow {
  border: 1px solid rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
}

.suite-bridge-card--suite .suite-bridge-card__eyebrow {
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
}

.suite-overview {
  background: var(--bg);
}

.suite-connect-band {
  background:
    radial-gradient(circle at top center, rgba(124, 58, 237, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(12, 8, 32, 0.92) 0%, rgba(6, 4, 16, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-heading .lead {
  margin-top: 16px;
}

.suite-grid,
.why-grid,
.vs-grid,
.testi-grid,
.stats-inner {
  margin-top: 56px;
}

.suite-connect-shell {
  display: grid;
  gap: 28px;
  margin-top: 56px;
}

.suite-connect-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.suite-connect-box {
  min-width: 210px;
  max-width: 250px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.suite-connect-box--lexferie {
  border-color: rgba(124, 58, 237, 0.34);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.14) 0%, rgba(14, 9, 30, 0.92) 100%);
}

.suite-connect-box--core {
  min-width: 230px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(10, 8, 22, 0.94) 100%);
}

.suite-connect-box--nodo {
  border-color: rgba(16, 185, 129, 0.32);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(7, 16, 16, 0.92) 100%);
}

.suite-connect-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.suite-connect-icon svg {
  width: 24px;
  height: 24px;
}

.suite-connect-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.suite-connect-sub {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.suite-connect-arrow {
  font-size: 24px;
  color: rgba(226, 232, 240, 0.5);
  padding: 0 6px;
}

.suite-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.suite-connect-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.suite-connect-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(124, 58, 237, 0.24);
  font-size: 18px;
}

.suite-connect-item-copy {
  display: grid;
  gap: 6px;
}

.suite-connect-item-copy strong {
  font-size: 14px;
  color: var(--text);
}

.suite-connect-item-copy span {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.suite-card,
.why-card,
.testi-card,
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.suite-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(20, 14, 42, 0.94) 0%, rgba(11, 8, 24, 0.98) 100%);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.suite-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 22px 48px rgba(0, 0, 0, 0.22);
}

.suite-card.main-product {
  border-color: rgba(124, 58, 237, 0.3);
}

.suite-card.main-product::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.suite-card-photo {
  position: relative;
  height: 188px;
  background-size: cover;
  background-position: center;
}

.suite-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(6, 4, 16, 0.86) 100%);
}

.suite-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.suite-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 28px 22px;
}

.suite-card-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.suite-card-tagline {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(226, 232, 240, 0.8);
}

.suite-card-support-links {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.76);
}

.suite-card-support-links a {
  color: var(--accent-light);
  text-decoration: none;
}

.suite-card-support-links a:hover,
.suite-card-support-links a:focus-visible {
  text-decoration: underline;
}

.suite-card-subhead {
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.suite-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.scf {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  line-height: 1.52;
  color: rgba(226, 232, 240, 0.78);
}

.scf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.scf-dot-purple { background: var(--accent-light); }
.scf-dot-green { background: var(--green-soft); }

.suite-card-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.suite-card-footer {
  display: flex;
  gap: 12px;
  padding: 0 28px 28px;
  flex-wrap: wrap;
  margin-top: auto;
}

.why-band {
  background: var(--bg-2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.why-num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(124, 58, 237, 0.16);
  line-height: 1;
  margin-bottom: 12px;
}

.why-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.vs-band {
  background: var(--bg);
}

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

.vs-col {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.vs-col.us {
  border-color: rgba(124, 58, 237, 0.42);
}

.vs-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.vs-header.them {
  background: rgba(239, 68, 68, 0.05);
}

.vs-header.us {
  background: rgba(124, 58, 237, 0.1);
}

.vs-header-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.vs-header.them .vs-header-label { color: #f87171; }
.vs-header.us .vs-header-label { color: var(--accent-light); }

.vs-header-name {
  font-size: 18px;
  font-weight: 800;
}

.vs-items {
  display: flex;
  flex-direction: column;
}

.vs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
}

.vs-item:last-child {
  border-bottom: none;
}

.vs-item .icon {
  width: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-align: center;
}

.testimonials-band {
  background: var(--bg-2);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.testi-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}

.testi-quote {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background-size: cover;
  background-position: center top;
  border: 2px solid rgba(124, 58, 237, 0.3);
  flex-shrink: 0;
}

.testi-name {
  font-size: 14px;
  font-weight: 800;
}

.testi-role {
  font-size: 12px;
  color: var(--muted);
}

.sectors-band {
  background: var(--bg);
}

.sectors-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.sector-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.sector-pill:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--glow);
}

.sector-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.sector-name {
  font-size: 13px;
  font-weight: 700;
}

.stats-band {
  padding: 80px 0;
  background: var(--bg-2);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-light), var(--gold-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.cta-final {
  overflow: hidden;
  text-align: center;
  padding: 110px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("/site-assets/mosaic-1-large.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.14) saturate(0.5);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 65%);
}

.cta-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.footer-col h5 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-2);
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: inherit;
}

.footer__copyright {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.82);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease var(--reveal-delay, 0ms),
    transform 0.7s ease var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-suite-dock {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: min(520px, 100%);
  max-width: 100%;
  margin: 28px auto 0;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 30px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background:
    radial-gradient(circle at top right, rgba(147, 51, 234, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(29, 4, 46, 0.96) 0%, rgba(13, 0, 21, 0.94) 100%);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

.home-suite-dock::-webkit-scrollbar { display: none; }

.home-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 243, 252, 0.82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.home-nav-pill:hover,
.home-nav-pill:focus-visible,
.home-nav-pill.is-active {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
}

.home-nav-pill__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.home-nav-pill__icon svg {
  width: 100%;
  height: 100%;
}

.home-cookie-notice {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 24px));
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background:
    radial-gradient(circle at top right, rgba(109, 40, 217, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(36, 21, 51, 0.98) 0%, rgba(8, 20, 31, 0.98) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  z-index: 121;
}

.home-cookie-notice p {
  color: var(--text-2);
  font-size: 14px;
}

.home-cookie-notice__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

@media (max-width: 1060px) {
  .hero-inner {
    gap: 48px;
  }

  .hero-cards {
    width: 290px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 76px 0;
  }

  .topbar {
    min-height: 64px;
  }

  .topbar .container {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta .btn-sm {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    padding: 112px 24px 72px;
  }

  .suite-bridge-panel {
    padding: 22px 24px;
  }

  .hero-cards {
    width: 100%;
  }

  .suite-connect-grid,
  .suite-grid,
  .why-grid,
  .vs-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .suite-connect-diagram {
    gap: 10px;
  }

  .suite-connect-box {
    max-width: 100%;
  }

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

  .sectors-row,
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .suite-bridge-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  h2 {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .hero-inner {
    padding: 108px 20px 68px;
  }

  .suite-bridge-band {
    padding-top: 16px;
  }

  .suite-bridge-panel {
    padding: 20px;
  }

  .suite-connect-shell {
    margin-top: 40px;
  }

  .suite-connect-diagram {
    flex-direction: column;
  }

  .suite-connect-arrow {
    transform: rotate(90deg);
    padding: 2px 0;
  }

  .suite-connect-box,
  .suite-connect-box--core {
    width: 100%;
    min-width: 0;
  }

  .hero-actions,
  .suite-card-footer,
  .cta-wrap .hero-actions,
  .home-cookie-notice__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .suite-card-footer .btn,
  .cta-wrap .btn,
  .nav-cta .btn {
    width: 100%;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .sectors-row,
  .stats-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-suite-dock {
    width: 100%;
    margin-top: 22px;
  }
}

:root {
  --purple-500: #7c5cfc;
  --purple-400: #9b7fff;
  --purple-300: #bba8ff;
  --purple-800: #2d1b69;
  --gold-500: #d4a017;
  --gold-400: #e8bc3f;
  --gold-300: #f5d06b;
  --bg-base: #080612;
  --bg-surface: #110e24;
  --bg-elevated: #1c1838;
  --glass-bg: rgba(28, 24, 56, 0.7);
  --glass-border: rgba(124, 92, 252, 0.2);
  --glass-shadow: 0 8px 32px rgba(124, 92, 252, 0.15);
  --gradient-brand: linear-gradient(135deg, #7c5cfc 0%, #d4a017 100%);
  --gradient-glow: radial-gradient(ellipse at top, rgba(124, 92, 252, 0.3) 0%, transparent 70%);
  --text-primary: #f0edff;
  --text-secondary: #9b7fff;
  --text-muted: #6b6490;
  --motion-glow: 3s;
  --motion-shimmer: 3s;
  --motion-float: 3s;
  --motion-fade: 0.35s;
  --motion-ambient: 8s;
  --motion-shift: 4s;
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(124, 92, 252, 0.4), 0 0 60px rgba(124, 92, 252, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(124, 92, 252, 0.7), 0 0 80px rgba(124, 92, 252, 0.2);
  }
}

@keyframes gold-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambient-glow {
  0%,
  100% {
    background: radial-gradient(ellipse at 20% 50%, rgba(124, 92, 252, 0.15) 0%, transparent 60%);
  }
  50% {
    background: radial-gradient(ellipse at 80% 50%, rgba(212, 160, 23, 0.1) 0%, transparent 60%);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes border-glow {
  0%,
  100% {
    border-color: rgba(124, 92, 252, 0.2);
  }
  50% {
    border-color: rgba(124, 92, 252, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  :root {
    --motion-glow: 2.4s;
    --motion-shimmer: 2.4s;
    --motion-float: 2.4s;
    --motion-fade: 0.28s;
    --motion-ambient: 6.4s;
    --motion-shift: 3.2s;
  }
}

body.lavori24-premium-home {
  background: var(--bg-base) !important;
  background-image: var(--gradient-glow), linear-gradient(180deg, #080612 0%, #110e24 100%) !important;
  animation: ambient-glow var(--motion-ambient) ease-in-out infinite;
}

.hero-pcard,
.suite-bridge-card,
.suite-card,
.why-card,
.testi-card,
.stat-card,
.home-cookie-notice,
.home-suite-dock,
.suite-connect-shell,
.cta-wrap {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-pcard:hover,
.suite-bridge-card:hover,
.suite-card:hover,
.why-card:hover,
.testi-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  animation: border-glow 2s infinite;
}

.btn,
.home-nav-pill,
.nav-links a,
.suite-card,
.hero-pcard {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions .btn-primary,
.cta-wrap .btn-primary {
  background: var(--gradient-brand) !important;
  border-radius: 10px;
  color: #ffffff;
  animation: glow-pulse var(--motion-glow) ease-in-out infinite;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible,
.cta-wrap .btn-primary:hover,
.cta-wrap .btn-primary:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.btn-outline {
  border: 1px solid var(--purple-500) !important;
  color: var(--purple-400) !important;
  background: transparent !important;
}

.hero h1 .gradient-text,
.gradient-text {
  background: linear-gradient(135deg, #7c5cfc, #d4a017, #7c5cfc);
  background-size: 200% auto;
  animation: gradient-shift var(--motion-shift) ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tag-gold,
.suite-card-badge,
.bs-label {
  background: linear-gradient(90deg, #d4a017 0%, #f5d06b 40%, #d4a017 100%);
  background-size: 200% auto;
  color: #201704 !important;
  animation: gold-shimmer var(--motion-shimmer) linear infinite;
}

input,
textarea,
select {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.2);
  outline: none;
}

.home-nav-pill.is-active .home-nav-pill__icon,
.hero-pcard:hover .hp-icon {
  color: var(--gold-400);
  animation: float var(--motion-float) ease-in-out infinite;
}
