/* ============================================================
   RevivaDent — style.css (Final)
   Font: Inter only
   Palette: clinical-white, soft-blue, cool-grey
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Primary blues — soft, medical, never aggressive */
  --blue-700:  #1A5CB8;
  --blue-600:  #2468C8;
  --blue-500:  #3B82E0;
  --blue-400:  #6AA3EC;
  --blue-200:  #BFDBF7;
  --blue-100:  #DEEDFB;
  --blue-75:   #EBF4FD;
  --blue-50:   #F3F8FD;
  --blue-25:   #F8FBFE;

  /* Teal accent — clinical freshness */
  --teal-700:  #0B7A6E;
  --teal-600:  #0D8F81;
  --teal-500:  #10A99A;
  --teal-200:  #99E2DA;
  --teal-100:  #CCF0EC;
  --teal-50:   #EBFAF8;

  /* Cool greys — very light, luminous */
  --grey-900:  #131820;
  --grey-800:  #1E2535;
  --grey-700:  #2E3748;
  --grey-600:  #4A5568;
  --grey-500:  #697585;
  --grey-400:  #8E9BAA;
  --grey-300:  #B8C2CC;
  --grey-200:  #D8DEE4;
  --grey-150:  #E5E9ED;
  --grey-100:  #EEF1F4;
  --grey-75:   #F4F6F8;
  --grey-50:   #F9FAFB;
  --white:     #FFFFFF;

  /* Amber — very subtle, status only */
  --amber-600: #B45309;
  --amber-100: #FEF0CC;
  --amber-50:  #FFFBF0;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   7px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Shadows — very soft, clinical */
  --sh-xs:    0 1px 2px rgba(15,30,60,.04);
  --sh-sm:    0 1px 4px rgba(15,30,60,.05), 0 1px 2px rgba(15,30,60,.03);
  --sh-md:    0 3px 10px rgba(15,30,60,.06), 0 1px 3px rgba(15,30,60,.03);
  --sh-lg:    0 6px 20px rgba(15,30,60,.08), 0 2px 6px rgba(15,30,60,.04);
  --sh-xl:    0 12px 40px rgba(15,30,60,.09), 0 3px 10px rgba(15,30,60,.04);
  --sh-2xl:   0 24px 64px rgba(15,30,60,.10), 0 6px 18px rgba(15,30,60,.05);
  --sh-blue:  0 3px 14px rgba(36,104,200,.22), 0 1px 4px rgba(36,104,200,.10);
  --sh-blue-lg: 0 7px 26px rgba(36,104,200,.28), 0 2px 8px rgba(36,104,200,.14);

  /* Easing */
  --ease:        cubic-bezier(0.22, 0.1, 0.36, 1);
  --ease-out:    cubic-bezier(0, 0, 0.28, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);

  /* Layout */
  --nav-h:    64px;
  --sec-y:    108px;
  --max-w:    1100px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, button, select { font-family: var(--font); }
button { cursor: pointer; }
img    { max-width: 100%; display: block; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section base ───────────────────────────────────────────── */
.section { padding: var(--sec-y) 0; }
.section--off {
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}

/* ── Eyebrow ────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 16px; height: 1.5px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300, #93C5FD));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Headlines ──────────────────────────────────────────────── */
.section-h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--grey-900);
  letter-spacing: -.022em;
  margin-bottom: 18px;
}
.section-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
}
.section-h2.centered    { text-align: center; }
.section-h2--light      { color: var(--white); }
.section-h2--light em   { color: #A8CEFF; }

.section-lead {
  font-size: .94rem;
  font-weight: 400;
  color: var(--grey-500);
  line-height: 1.82;
  max-width: 510px;
  margin-bottom: 22px;
  letter-spacing: .003em;
}
.section-lead.centered {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 490px;
}

/* ── Chips ──────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  border: 1px solid;
}
.chip--sent     { background: var(--blue-75);  color: var(--blue-700);   border-color: var(--blue-200);  }
.chip--replied  { background: var(--amber-50); color: var(--amber-600);  border-color: var(--amber-100); }
.chip--booked   { background: var(--teal-50);  color: var(--teal-700);   border-color: var(--teal-100);  }
.chip--inactive { background: var(--grey-75);  color: var(--grey-500);   border-color: var(--grey-200);  }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.rd-1.visible { transition-delay: .08s; }
.rd-2.visible { transition-delay: .16s; }
.rd-3.visible { transition-delay: .24s; }
.rd-4.visible { transition-delay: .32s; }

/* ── Hero fade-in ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fdUp .75s var(--ease-out) forwards;
  animation-delay: var(--fd, 0ms);
}
@keyframes fdUp { to { opacity: 1; transform: none; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(15,30,60,.06);
  transition: box-shadow .3s var(--ease);
}
.navbar.scrolled { box-shadow: 0 2px 16px rgba(15,30,60,.07); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.logo-icon {
  width: 30px; height: 30px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(36,104,200,.28);
  flex-shrink: 0;
}
.logo-wordmark {
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--grey-900);
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav-link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--grey-500);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  letter-spacing: .005em;
}
.nav-link:hover { color: var(--grey-800); background: var(--grey-75); }
.nav-link.active-nav { color: var(--blue-600); font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-600);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--r-md);
  font-size: .81rem;
  font-weight: 600;
  letter-spacing: .005em;
  box-shadow: var(--sh-blue);
  transition: background .18s, transform .22s var(--ease-spring), box-shadow .18s;
  border: none;
  position: relative;
  overflow: hidden;
}
.nav-cta:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: var(--sh-blue-lg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--r-sm);
}
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--grey-600);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 88px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-backdrop { position: absolute; inset: 0; pointer-events: none; }

.hb-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 75% 10%, #E6F1FD 0%, transparent 62%),
    radial-gradient(ellipse 55% 50% at 4% 88%, #EDF6FB 0%, transparent 58%),
    var(--white);
}
.hb-grain {
  position: absolute; inset: 0;
  opacity: .016;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.hb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(36,104,200,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,104,200,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 6%, black 0%, transparent 70%);
}
.hb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hb-orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(59,130,224,.08) 0%, transparent 70%);
  top: -140px; right: -80px;
}
.hb-orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(16,169,154,.05) 0%, transparent 70%);
  bottom: -80px; left: 0;
}

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

/* Hero copy */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-75);
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}
.pill-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
  animation: blink 2.8s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(1.35); }
}

.hero-h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--grey-900);
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
}

.hero-p {
  font-size: .97rem;
  font-weight: 400;
  color: var(--grey-500);
  line-height: 1.82;
  max-width: 420px;
  margin-bottom: 36px;
  letter-spacing: .005em;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .005em;
  box-shadow: var(--sh-blue);
  transition: background .18s, transform .22s var(--ease-spring), box-shadow .18s;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--sh-blue-lg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--grey-700);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 500;
  border: 1.5px solid var(--grey-200);
  transition: border-color .18s, background .18s, color .18s, transform .2s;
}
.btn-outline:hover {
  border-color: var(--blue-300, #93C5FD);
  background: var(--blue-25);
  color: var(--blue-700);
  transform: translateY(-1px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ht-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--grey-500);
  letter-spacing: .005em;
}
.ht-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-75);
  border: 1.5px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-600);
}
.ht-sep {
  width: 1px; height: 13px;
  background: var(--grey-200);
}

/* ── Hero Mockup ────────────────────────────────────────────── */
.hero-mockup-wrap { position: relative; }

.hero-mockup {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2xl);
  overflow: hidden;
  transform: perspective(1500px) rotateY(-3deg) rotateX(1.2deg);
  transition: transform .5s var(--ease);
  will-change: transform;
}

/* Browser chrome */
.hm-chrome {
  background: var(--grey-75);
  border-bottom: 1px solid var(--grey-150);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hm-dots { display: flex; gap: 5px; }
.hmd-r { width: 10px; height: 10px; border-radius: 50%; background: #FF6057; display: block; }
.hmd-y { width: 10px; height: 10px; border-radius: 50%; background: #FEBC2D; display: block; }
.hmd-g { width: 10px; height: 10px; border-radius: 50%; background: #27C840; display: block; }
.hm-url {
  flex: 1;
  text-align: center;
  font-size: .64rem;
  color: var(--grey-400);
  font-weight: 500;
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-full);
  padding: 3px 11px;
  max-width: 230px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* App shell */
.hm-app { display: flex; min-height: 320px; }

/* Sidebar */
.hm-sb {
  width: 44px;
  background: #0D1520;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 0;
  flex-shrink: 0;
  gap: 0;
}
.hm-sb-mark {
  width: 26px; height: 26px;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-700));
  border-radius: 7px;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(36,104,200,.35);
  letter-spacing: -.02em;
}
.hm-sb-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  align-items: center;
  padding: 0 6px;
}
.hm-sn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #4A5878;
  transition: background .14s, color .14s;
}
.hm-sn:hover { background: rgba(255,255,255,.07); color: #7A8AAA; }
.hm-sn.active {
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(36,104,200,.3);
}
.hm-sb-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #1A2538;
  color: #5C6E8A;
  font-size: .58rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.02em;
}

/* Main area */
.hm-main {
  flex: 1;
  padding: 12px 14px;
  overflow: hidden;
}

.hm-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 11px;
}
.hm-topbar-left {}
.hm-page-name {
  font-size: .77rem;
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.hm-page-ctx {
  font-size: .59rem;
  color: var(--grey-400);
  margin-top: 1px;
  font-weight: 500;
}
.hm-topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hm-period {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .59rem;
  color: var(--grey-500);
  font-weight: 600;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.hm-bell {
  position: relative;
  color: var(--grey-400);
  display: flex;
  align-items: center;
}
.bell-dot {
  position: absolute;
  top: -1px; right: -1px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #EF4444;
  border: 1px solid var(--white);
}

/* KPI cards */
.hm-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 9px;
}
.hm-kpi {
  background: var(--grey-50);
  border: 1px solid var(--grey-150);
  border-radius: var(--r-md);
  padding: 8px 9px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.hm-kpi--blue  { background: var(--blue-75); border-color: var(--blue-200); }
.hm-kpi--teal  { background: var(--teal-50); border-color: var(--teal-100); }
.hm-kpi-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hm-kpi-icon--slate { background: var(--grey-100); }
.hm-kpi-icon--blue  { background: var(--blue-100); }
.hm-kpi-icon--teal  { background: var(--teal-100); }
.hm-kpi-body { display: flex; flex-direction: column; }
.hm-kpi-lbl {
  font-size: .54rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--grey-400);
  display: block;
  margin-bottom: 2px;
}
.hm-kpi-val {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -.02em;
}
.hm-kpi-sub { font-size: .54rem; color: var(--grey-400); display: block; font-weight: 500; }
.hm-kpi-sub--up { color: var(--teal-600); font-weight: 700; }

/* Chart */
.hm-chart {
  background: var(--grey-50);
  border: 1px solid var(--grey-150);
  border-radius: var(--r-md);
  padding: 8px 10px;
  margin-bottom: 8px;
}
.hm-chart-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.hm-chart-title {
  font-size: .6rem;
  font-weight: 700;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.hm-chart-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .56rem;
  color: var(--grey-400);
  font-weight: 500;
}
.hm-leg-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.hm-leg-dot--blue { background: var(--blue-500); }
.hm-leg-dot--teal { background: var(--teal-500); }
.hm-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px;
}
.hm-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.hm-bar > span { font-size: .48rem; color: var(--grey-400); font-weight: 600; }
.hm-bar-fill-el {
  width: 100%;
  border-radius: 2px 2px 0 0;
  background: var(--blue-100);
  height: 0;
  transition: height .9s var(--ease-out);
}
.hm-bar--hi .hm-bar-fill-el {
  background: linear-gradient(to top, var(--blue-600), var(--blue-400));
  box-shadow: 0 -2px 6px rgba(36,104,200,.18);
}

/* Recent list */
.hm-list-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.hm-list-hd > span:first-child {
  font-size: .6rem;
  font-weight: 700;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.hm-view-all { font-size: .58rem; color: var(--blue-500); font-weight: 600; }

.hm-list { display: flex; flex-direction: column; gap: 2px; }
.hm-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--grey-150);
  transition: background .14s;
}
.hm-row:hover { background: var(--grey-50); }
.hm-av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ac);
  color: var(--at);
  font-size: .52rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.hm-rinfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hm-rinfo b {
  font-size: .64rem;
  font-weight: 600;
  color: var(--grey-800);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hm-rinfo span { font-size: .57rem; color: var(--grey-400); font-weight: 500; }
.hm-time { font-size: .56rem; color: var(--grey-400); flex-shrink: 0; font-weight: 500; }

/* Floating cards */
.float-notif, .float-stat {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
}
.float-notif {
  bottom: -14px; left: -22px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  max-width: 200px;
  animation: floatY 3.8s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.fn-check {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal-700);
}
.fn-body { display: flex; flex-direction: column; }
.fn-body strong { font-size: .68rem; color: var(--grey-800); line-height: 1.2; font-weight: 700; }
.fn-body span   { font-size: .6rem;  color: var(--grey-400); font-weight: 500; }

.float-stat {
  top: 22px; right: -20px;
  padding: 11px 16px;
  text-align: center;
  animation: floatY 4.2s ease-in-out infinite .4s;
}
.fs-num { font-size: 1.52rem; font-weight: 700; color: var(--blue-600); line-height: 1; margin-bottom: 3px; letter-spacing: -.03em; }
.fs-lbl { font-size: .6rem; color: var(--grey-500); line-height: 1.4; font-weight: 500; }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--grey-400);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hsc-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--grey-300), transparent);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{opacity:.6} 50%{opacity:.15} }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--grey-150);
  border-bottom: 1px solid var(--grey-150);
  padding: 14px 0;
  background: var(--grey-50);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.ts-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .12em;
  flex-shrink: 0;
}
.ts-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ts-items span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--grey-500);
}
.ts-dot { color: var(--grey-300); }

/* ============================================================
   PROBLEMA
   ============================================================ */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.prob-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-xl);
  padding: 26px 20px;
  transition: border-color .22s, transform .26s var(--ease-spring), box-shadow .22s;
}
.prob-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.prob-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--blue-75);
  border: 1px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-600);
}
.prob-card h3 {
  font-size: .87rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 8px;
  line-height: 1.34;
  letter-spacing: -.01em;
}
.prob-card p {
  font-size: .83rem;
  color: var(--grey-500);
  line-height: 1.75;
  font-weight: 400;
}

/* ============================================================
   SOLUZIONE
   ============================================================ */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sol-copy .section-lead { max-width: 100%; }

.sol-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--grey-600);
  line-height: 1.64;
  font-weight: 400;
}
.sol-ck {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-700));
  flex-shrink: 0;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(36,104,200,.2);
}
.sol-ck::after {
  content: '';
  display: block;
  width: 7px; height: 3.5px;
  border-left: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(-45deg) translateY(-1px);
}

.sol-stack { position: relative; height: 310px; }
.sol-card-shadow-2,
.sol-card-shadow-1 {
  position: absolute;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--grey-200);
}
.sol-card-shadow-2 {
  inset: 0;
  transform: rotate(5deg) translateY(14px);
  background: var(--blue-25);
  border-color: var(--blue-100);
  opacity: .5;
}
.sol-card-shadow-1 {
  inset: 0;
  transform: rotate(2deg) translateY(7px);
  opacity: .72;
}
.sol-card-main {
  position: absolute; inset: 0;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-xl);
  z-index: 2;
}
.scm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.scm-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-md);
  background: var(--blue-75);
  border: 1px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.scm-header > span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--grey-800);
  flex: 1;
  letter-spacing: -.01em;
}
.scm-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .62rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 2px 9px;
  border-radius: var(--r-full);
}
.live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
  animation: blink 2.2s infinite;
  flex-shrink: 0;
}

.scm-metrics {
  display: flex;
  align-items: center;
  background: var(--grey-50);
  border: 1px solid var(--grey-150);
  border-radius: var(--r-md);
  padding: 13px;
  margin-bottom: 14px;
  gap: 10px;
}
.scm-m { flex: 1; text-align: center; }
.scm-n {
  font-size: 1.52rem;
  font-weight: 700;
  color: var(--grey-900);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.025em;
}
.scm-n--blue { color: var(--blue-600); }
.scm-n--teal { color: var(--teal-600); }
.scm-l {
  font-size: .6rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.scm-sep {
  width: 1px; height: 30px;
  background: var(--grey-200);
  flex-shrink: 0;
}
.scm-divider { height: 1px; background: var(--grey-150); margin-bottom: 12px; }
.scm-section-title {
  font-size: .62rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.scm-progs { display: flex; flex-direction: column; gap: 11px; }
.scm-prow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scm-plbl {
  font-size: .72rem;
  color: var(--grey-600);
  width: 115px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.scm-ptrack {
  flex: 1;
  height: 4px;
  background: var(--grey-200);
  border-radius: var(--r-full);
  overflow: hidden;
}
.scm-pfill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  border-radius: var(--r-full);
  transition: width 1.6s var(--ease-out);
}
.scm-pval {
  font-size: .69rem;
  color: var(--grey-500);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
  font-weight: 600;
}

/* ============================================================
   COME FUNZIONA
   ============================================================ */
.steps-wrap {
  position: relative;
  margin-top: 60px;
}
.steps-line-track {
  position: absolute;
  top: 40px;
  left: calc(12.5% + 2px);
  right: calc(12.5% + 2px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-200) 20%, var(--blue-200) 80%, transparent);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.step { text-align: center; padding: 0 8px; }
.step-num {
  font-size: .68rem;
  font-weight: 700;
  font-style: italic;
  color: var(--blue-400);
  margin-bottom: 9px;
  letter-spacing: .05em;
}
.step-bubble {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(36,104,200,.06);
  transition: border-color .22s, box-shadow .22s, transform .26s var(--ease-spring);
}
.step:hover .step-bubble {
  border-color: var(--blue-500);
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(36,104,200,.14);
}
.step h3 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 9px;
  line-height: 1.34;
  letter-spacing: -.012em;
}
.step p {
  font-size: .83rem;
  color: var(--grey-500);
  line-height: 1.74;
  font-weight: 400;
}

/* ============================================================
   BENEFICI
   ============================================================ */
.ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.ben-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .22s, transform .26s var(--ease-spring), box-shadow .22s;
}
.ben-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  opacity: 0;
  transition: opacity .22s;
}
.ben-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.ben-card:hover::before { opacity: 1; }

.ben-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid;
}
.ben-icon--b { background: var(--blue-75);  color: var(--blue-600);  border-color: var(--blue-200); }
.ben-icon--t { background: var(--teal-50);  color: var(--teal-700);  border-color: var(--teal-100); }
.ben-icon--i { background: #EEF2FF;          color: #4338CA;           border-color: #C7D2FE; }

.ben-card h3 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 8px;
  letter-spacing: -.012em;
  line-height: 1.34;
}
.ben-card p {
  font-size: .83rem;
  color: var(--grey-500);
  line-height: 1.74;
  font-weight: 400;
}

/* ============================================================
   SOFTWARE MOCKUPS
   ============================================================ */
.sw-tabs {
  display: flex;
  justify-content: center;
  gap: 2px;
  background: var(--grey-150);
  width: fit-content;
  margin: 0 auto 32px;
  padding: 4px;
  border-radius: var(--r-md);
}
.sw-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 500;
  color: var(--grey-500);
  background: none;
  border: none;
  transition: color .16s, background .16s, box-shadow .16s;
  letter-spacing: .005em;
}
.sw-tab.active {
  background: var(--white);
  color: var(--grey-900);
  box-shadow: var(--sh-sm);
  font-weight: 700;
}
.sw-panel { display: none; }
.sw-panel.active {
  display: block;
  animation: swIn .3s var(--ease-out);
}
@keyframes swIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

.sw-win {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  max-width: 860px;
  margin: 0 auto;
}
.sw-chrome {
  background: var(--grey-75);
  border-bottom: 1px solid var(--grey-150);
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sw-dots { display: flex; gap: 5px; }
.sw-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.sw-dots span:nth-child(1){background:#FF6057}
.sw-dots span:nth-child(2){background:#FEBC2D}
.sw-dots span:nth-child(3){background:#27C840}
.sw-urlbar {
  font-size: .63rem;
  color: var(--grey-400);
  flex: 1;
  text-align: center;
  background: var(--grey-150);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-full);
  padding: 2px 10px;
  max-width: 225px;
  margin: 0 auto;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.sw-body { display: flex; min-height: 360px; }

/* Sidebar */
.sw-side {
  width: 42px;
  background: #0D1520;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}
.sw-s-mark {
  width: 24px; height: 24px;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-700));
  border-radius: 6px;
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 2px 7px rgba(36,104,200,.32);
  letter-spacing: -.02em;
}
.sw-s-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  align-items: center;
  padding: 0 5px;
}
.sw-s-i {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #4A5878;
  transition: background .14s, color .14s;
}
.sw-s-i:hover { background: rgba(255,255,255,.07); color: #7A8AAA; }
.sw-s-i--on {
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 2px 7px rgba(36,104,200,.28);
}
.sw-s-av {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #1A2538;
  color: #5C6E8A;
  font-size: .58rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.02em;
}

/* Main */
.sw-main { flex: 1; padding: 14px 17px; overflow: hidden; min-width: 0; }
.sw-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.sw-pname {
  font-size: .82rem;
  font-weight: 700;
  color: var(--grey-900);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -.015em;
}
.sw-pctx {
  font-size: .6rem;
  color: var(--grey-400);
  margin-top: 2px;
  font-weight: 500;
}
.sw-hd-right { display: flex; align-items: center; gap: 7px; }
.sw-period-tag {
  font-size: .61rem;
  color: var(--grey-500);
  font-weight: 600;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  padding: 2px 9px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sw-acts { display: flex; gap: 6px; }
.sw-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-sm);
  font-size: .7rem;
  font-weight: 600;
  color: var(--grey-600);
  background: var(--white);
  transition: .15s;
  letter-spacing: .005em;
}
.sw-act-btn:hover {
  border-color: var(--blue-300, #93C5FD);
  color: var(--blue-600);
  background: var(--blue-75);
}
.sw-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.sw-k {
  background: var(--grey-50);
  border: 1px solid var(--grey-150);
  border-radius: var(--r-md);
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.sw-k--bl { background: var(--blue-75);  border-color: var(--blue-200); }
.sw-k--teal{ background: var(--teal-50); border-color: var(--teal-100); }
.sw-k-icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sw-k-icon--slate { background: var(--grey-100); }
.sw-k-icon--blue  { background: var(--blue-100); }
.sw-k-icon--teal  { background: var(--teal-100); }
.sw-k-lbl {
  font-size: .54rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--grey-400);
  display: block;
  margin-bottom: 1px;
}
.sw-k-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1;
  display: block;
  margin-bottom: 1px;
  letter-spacing: -.02em;
}
.sw-k-note { font-size: .54rem; color: var(--grey-400); display: block; font-weight: 500; }
.sw-k-note.up { color: var(--teal-600); font-weight: 700; }

.sw-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sw-chart-box, .sw-recent-box {
  background: var(--grey-50);
  border: 1px solid var(--grey-150);
  border-radius: var(--r-md);
  padding: 9px 11px;
}
.sw-box-hd {
  font-size: .61rem;
  font-weight: 700;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sw-box-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .55rem;
  color: var(--grey-400);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.swl-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.swl-dot--blue { background: var(--blue-500); }
.swl-dot--teal { background: var(--teal-500); }
.sw-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px;
  margin-bottom: 4px;
}
.sw-b {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--blue-100);
  height: var(--bh, 0%);
}
.sw-b--hi {
  background: linear-gradient(to top, var(--blue-600), var(--blue-400));
  box-shadow: 0 -2px 5px rgba(36,104,200,.16);
}
.sw-blbls {
  display: flex;
  gap: 3px;
}
.sw-blbls span {
  flex: 1;
  text-align: center;
  font-size: .5rem;
  color: var(--grey-400);
  font-weight: 600;
}
.sw-rlist { display: flex; flex-direction: column; gap: 2px; }
.sw-rrow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--grey-150);
  transition: background .13s;
}
.sw-rrow:hover { background: var(--grey-50); }
.sw-rav {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--rc);
  color: var(--rt);
  font-size: .52rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sw-rinfo { flex: 1; display: flex; flex-direction: column; }
.sw-rinfo b { font-size: .63rem; font-weight: 700; color: var(--grey-800); line-height: 1.15; }
.sw-rinfo span { font-size: .56rem; color: var(--grey-400); font-weight: 500; }

.cnt-badge {
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .6rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-full);
}

/* Table */
.sw-tbl-wrap {
  overflow: auto;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-md);
}
.sw-tbl { width: 100%; border-collapse: collapse; font-size: .72rem; }
.sw-tbl thead tr {
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}
.sw-tbl th {
  padding: 7px 12px;
  text-align: left;
  font-size: .6rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}
.sw-tbl td {
  padding: 8px 12px;
  color: var(--grey-600);
  border-bottom: 1px solid var(--grey-100);
  font-weight: 400;
}
.sw-tbl tbody tr:last-child td { border-bottom: none; }
.sw-tbl tbody tr:hover td { background: var(--grey-50); }
.sw-tbl input[type=checkbox] { accent-color: var(--blue-500); width: 12px; height: 12px; }
.row-sel td { background: var(--blue-75) !important; }
.tn { display: flex; align-items: center; gap: 7px; }
.tav {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tc);
  color: var(--tt);
  font-size: .52rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.td-m { color: var(--grey-400) !important; font-size: .69rem !important; }
.td-act {
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue-600);
  white-space: nowrap;
}
.td-act--done { color: var(--teal-600) !important; }

/* Composer */
.sw-composer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sw-comp-lbl {
  font-size: .62rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sw-pts {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 10px;
}
.sw-pt {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-bottom: 1px solid var(--grey-100);
  background: var(--white);
  transition: background .13s;
}
.sw-pt:last-child { border-bottom: none; }
.sw-pt:hover { background: var(--grey-50); }
.sw-ptav {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pa);
  color: var(--pt);
  font-size: .52rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sw-ptinfo { flex: 1; display: flex; flex-direction: column; }
.sw-ptinfo strong { font-size: .69rem; font-weight: 700; color: var(--grey-800); line-height: 1.2; }
.sw-ptinfo span   { font-size: .58rem; color: var(--grey-400); font-weight: 500; }
.sw-ptck {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  font-size: .58rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sw-chs { display: flex; gap: 5px; }
.sw-ch {
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-size: .69rem;
  font-weight: 600;
  border: 1px solid var(--grey-200);
  color: var(--grey-500);
  transition: .15s;
}
.sw-ch-on {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: var(--sh-blue);
}
.sw-preview {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-md);
  padding: 10px;
  margin-bottom: 9px;
}
.sw-bubble {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px 12px 12px 3px;
  padding: 10px 12px;
  font-size: .71rem;
  line-height: 1.76;
  color: var(--grey-700);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 400;
}
.sw-link { color: var(--blue-600); font-weight: 600; }
.sw-msg-ft {
  font-size: .6rem;
  color: var(--grey-400);
  border-top: 1px solid var(--grey-100);
  padding-top: 5px;
  margin-top: 3px;
  font-weight: 500;
}
.sw-sendbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sw-sendinfo { font-size: .66rem; color: var(--grey-400); font-weight: 500; }
.sw-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-600);
  color: var(--white);
  padding: 7px 13px;
  border-radius: var(--r-md);
  font-size: .72rem;
  font-weight: 700;
  box-shadow: var(--sh-blue);
  transition: background .15s, transform .2s;
  letter-spacing: .005em;
}
.sw-send-btn:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

/* ============================================================
   FIDUCIA
   ============================================================ */
.fid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fid-copy .section-lead { max-width: 100%; }
.fid-badges { display: flex; flex-direction: column; gap: 10px; }
.fid-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: 16px;
  transition: border-color .22s, box-shadow .22s, transform .24s var(--ease-spring);
}
.fid-badge:hover {
  border-color: var(--blue-200);
  box-shadow: var(--sh-md);
  transform: translateX(5px);
}
.fid-badge__ic {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--blue-75);
  border: 1px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fid-badge__tx strong {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 3px;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.fid-badge__tx span {
  font-size: .8rem;
  color: var(--grey-500);
  line-height: 1.64;
  font-weight: 400;
}

/* ============================================================
   ACCESSO PILOTA
   ============================================================ */
.pilota {
  position: relative;
  overflow: hidden;
  padding: var(--sec-y) 0;
}
.pilota-bg { position: absolute; inset: 0; pointer-events: none; }
.pb-grad {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, #071831 0%, #0C2550 50%, #091D43 100%);
}
.pb-grain {
  position: absolute; inset: 0;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.pb-orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.pb-orb--1 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(59,130,224,.10) 0%, transparent 70%);
  top: -180px; right: -100px;
}
.pb-orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(16,169,154,.06) 0%, transparent 70%);
  bottom: -80px; left: -50px;
}
.pilota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pilota-ey { color: #8BBFFF; }
.pilota-ey::before { background: linear-gradient(90deg, #8BBFFF, rgba(139,191,255,.3)); }
.pilota-lead {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.82;
  margin-bottom: 26px;
  font-weight: 400;
}
.pilota-checklist { display: flex; flex-direction: column; gap: 10px; }
.pilota-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.58);
  line-height: 1.6;
  font-weight: 400;
}
.pcl-check {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(139,191,255,.3);
  background: rgba(139,191,255,.06);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.pcl-check::after {
  content: '';
  display: block;
  width: 7px; height: 3.5px;
  border-left: 1.5px solid #8BBFFF;
  border-bottom: 1.5px solid #8BBFFF;
  transform: rotate(-45deg) translateY(-1px);
}

.pilota-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 36px;
  box-shadow: 0 28px 72px rgba(0,0,0,.24), 0 6px 18px rgba(0,0,0,.10);
}
.pc-header { margin-bottom: 22px; }
.pc-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 5px;
  letter-spacing: -.022em;
  line-height: 1.2;
}
.pc-header p {
  font-size: .84rem;
  color: var(--grey-500);
  font-weight: 400;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 13px;
}
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--grey-700);
  letter-spacing: .005em;
}
.fg input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .85rem;
  color: var(--grey-800);
  background: var(--grey-50);
  outline: none;
  transition: border-color .17s, background .17s, box-shadow .17s;
  font-weight: 400;
}
.fg input::placeholder { color: var(--grey-300); }
.fg input:focus {
  border-color: var(--blue-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(36,104,200,.08);
}
.fg input.err { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.07); }
.fe { font-size: .69rem; color: #DC2626; min-height: 15px; font-weight: 500; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-600);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .005em;
  border: none;
  box-shadow: var(--sh-blue);
  transition: background .18s, transform .22s var(--ease-spring), box-shadow .18s;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  background: var(--blue-700);
  transform: translateY(-1.5px);
  box-shadow: var(--sh-blue-lg);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 0;
  gap: 9px;
}
.form-success.visible { display: flex; }
.fs-ic {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-75);
  border: 1px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
}
.form-success h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--grey-800);
  letter-spacing: -.018em;
}
.form-success p { font-size: .84rem; color: var(--grey-500); font-weight: 400; }
.form-gdpr {
  font-size: .68rem;
  color: var(--grey-400);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--grey-900);
  padding: 60px 0 28px;
}
.footer-top {
  display: flex;
  gap: 72px;
  align-items: flex-start;
  margin-bottom: 44px;
}
.footer-brand { max-width: 230px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.footer-logo .logo-wordmark { color: var(--white); }
.footer-tagline {
  font-size: .84rem;
  color: var(--grey-500);
  line-height: 1.7;
  margin-bottom: 12px;
  font-weight: 400;
}
.footer-mail {
  font-size: .82rem;
  color: var(--blue-400);
  font-weight: 500;
  transition: color .15s;
}
.footer-mail:hover { color: var(--blue-300, #93C5FD); }
.footer-nav {
  display: flex;
  gap: 52px;
  flex: 1;
  justify-content: flex-end;
}
.fn-col { display: flex; flex-direction: column; gap: 8px; }
.fn-col h4 {
  font-size: .67rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 5px;
}
.fn-col a {
  font-size: .84rem;
  color: var(--grey-500);
  font-weight: 400;
  transition: color .15s;
}
.fn-col a:hover { color: var(--grey-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  color: var(--grey-600);
  font-weight: 400;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  :root { --sec-y: 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-mockup-wrap { max-width: 540px; margin: 0 auto; }
  .hero-mockup { transform: none !important; }
  .float-stat  { display: none; }
  .prob-grid   { grid-template-columns: 1fr 1fr; }
  .sol-grid    { grid-template-columns: 1fr; gap: 48px; }
  .sol-stack   { height: 265px; max-width: 430px; }
  .steps-line-track { display: none; }
  .steps-row   { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ben-grid    { grid-template-columns: 1fr 1fr; }
  .fid-grid    { grid-template-columns: 1fr; gap: 44px; }
  .pilota-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top  { flex-direction: column; gap: 36px; }
  .sw-row2     { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; --sec-y: 68px; }
  .container { padding: 0 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--sh-xl);
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: .9rem; padding: 10px 14px; }
  .hamburger { display: flex; }
  .nav-cta   { display: none; }
  .hero-h1   { font-size: 2rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .float-notif { display: none; }
  .hm-kpis { grid-template-columns: 1fr 1fr; }
  .prob-grid  { grid-template-columns: 1fr; }
  .steps-row  { grid-template-columns: 1fr; }
  .ben-grid   { grid-template-columns: 1fr; }
  .sw-kpi-row { grid-template-columns: 1fr 1fr; }
  .sw-composer{ grid-template-columns: 1fr; }
  .sw-side    { display: none; }
  .frow       { grid-template-columns: 1fr; }
  .pilota-card{ padding: 24px; }
  .footer-nav { flex-direction: column; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .sw-tbl th:nth-child(3), .sw-tbl td:nth-child(3),
  .sw-tbl th:nth-child(5), .sw-tbl td:nth-child(5) { display: none; }
}

@media (max-width: 480px) {
  .hero-h1   { font-size: 1.8rem; }
  .section-h2{ font-size: 1.65rem; }
  .hero-trust{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .ht-sep    { display: none; }
  .hm-chart  { display: none; }
  .pc-header h3 { font-size: 1.1rem; }
}
