/* ============================================================
   CondoFAST — Corporate Light Design System (2026 Enterprise B2B)
   Color Palette: Navy, Slate, Clean White & Status Accents
   Target: Amministratori di Condominio Professionisti Italiani
   ============================================================ */

:root {
  /* Core brand colors */
  --primary-navy: #1E3A8A;
  --primary-blue: #2563EB;
  --primary-dark: #0F172A;
  --primary-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --accent-border: #BFDBFE;

  /* Surfaces & backgrounds */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;

  /* Typography colors */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-soft: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #3B82F6;

  /* Status & Compliance colors */
  --status-success: #059669;
  --status-success-bg: #ECFDF5;
  --status-success-border: #A7F3D0;
  --status-warning: #D97706;
  --status-warning-bg: #FFFBEB;
  --status-warning-border: #FDE68A;
  --status-info: #0284C7;
  --status-info-bg: #F0F9FF;
  --status-info-border: #BAE6FD;

  /* Layout & Geometry */
  --font-family: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --nav-height: 76px;

  /* Shadows (clean, soft enterprise shadows) */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  --shadow-modal: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
}

/* ============================================================
   Base Reset & Document Styles
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  margin: 0 0 1.2em;
  color: var(--text-muted);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary-navy);
  color: var(--text-white);
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   Component: Buttons & CTA
   ============================================================ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  line-height: 1.3;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--primary-navy);
  color: var(--text-white);
  border-color: var(--primary-navy);
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.15);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn--secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-soft);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn--ghost:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ============================================================
   Component: Eyebrow / Badges / Pills
   ============================================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-navy);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: 16px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.badge-tag--success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid var(--status-success-border);
}

.badge-tag--warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid var(--status-warning-border);
}

.badge-tag--info {
  background: var(--status-info-bg);
  color: var(--status-info);
  border: 1px solid var(--status-info-border);
}

/* ============================================================
   Header & Navbar (Clean Corporate White/Border)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo,
.condofast-logo-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-dark);
  user-select: none;
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
}

.nav__logo .logo-brand-blue,
.condofast-logo-container .logo-brand-blue {
  color: var(--primary-blue);
}

.condofast-logo-text {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.condofast-logo-text .text-prefix {
  color: var(--primary-dark);
}

.condofast-logo-text .text-suffix {
  color: var(--primary-blue);
  margin-left: 0.04em;
}

.condofast-icon {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: logo-breathe 3s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-1.5px); }
}

.condofast-logo-container .tower-left {
  animation: tower-float-left 3s ease-in-out infinite;
}
.condofast-logo-container .tower-center {
  animation: tower-float-center 3s ease-in-out infinite 0.15s;
}
.condofast-logo-container .tower-right {
  animation: tower-float-right 3s ease-in-out infinite 0.3s;
}

@keyframes tower-float-left {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-3px) translateX(-1px); }
}
@keyframes tower-float-center {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes tower-float-right {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-4px) translateX(1px); }
}

.condofast-logo-container.interactive .smart-flow-line {
  filter: drop-shadow(0 0 5px rgba(236, 72, 153, 0.8));
  stroke-width: 5.5px;
}

.condofast-logo-container.interactive .sheet-1 {
  animation: fly-sheet-1 2.4s infinite ease-in-out;
}
.condofast-logo-container.interactive .sheet-2 {
  animation: fly-sheet-2 2.4s infinite ease-in-out 0.4s;
}
.condofast-logo-container.interactive .sheet-3 {
  animation: fly-sheet-3 2.4s infinite ease-in-out 0.8s;
}

@keyframes fly-sheet-1 {
  0% { transform: translate(0, 0) rotate(0deg) scale(0); opacity: 0; }
  6% { transform: translate(0, 0) rotate(5deg) scale(1); opacity: 1; }
  25% { transform: translate(calc(var(--logo-size, 34px) * 0.2), calc(var(--logo-size, 34px) * -0.12)) rotate(20deg) scale(1.2); opacity: 1; }
  50% { transform: translate(calc(var(--logo-size, 34px) * 0.6), calc(var(--logo-size, 34px) * 0.05)) rotate(-15deg) scale(1.1); opacity: 1; }
  75% { transform: translate(calc(var(--logo-size, 34px) * 1.15), calc(var(--logo-size, 34px) * -0.1)) rotate(25deg) scale(0.95); opacity: 1; }
  90% { transform: translate(calc(var(--logo-size, 34px) * 1.04), calc(var(--logo-size, 34px) * -0.07)) rotate(0deg) scale(0.5); opacity: 0.8; }
  100% { transform: translate(calc(var(--logo-size, 34px) * 1.06), calc(var(--logo-size, 34px) * -0.07)) rotate(0deg) scale(0.2); opacity: 0; }
}

@keyframes fly-sheet-2 {
  0% { transform: translate(0, 0) rotate(0deg) scale(0); opacity: 0; }
  6% { transform: translate(0, 0) rotate(-5deg) scale(1); opacity: 1; }
  25% { transform: translate(calc(var(--logo-size, 34px) * 0.22), calc(var(--logo-size, 34px) * -0.16)) rotate(-25deg) scale(1.2); opacity: 1; }
  55% { transform: translate(calc(var(--logo-size, 34px) * 0.75), calc(var(--logo-size, 34px) * 0.02)) rotate(20deg) scale(1.1); opacity: 1; }
  80% { transform: translate(calc(var(--logo-size, 34px) * 1.25), calc(var(--logo-size, 34px) * -0.08)) rotate(-10deg) scale(0.95); opacity: 1; }
  92% { transform: translate(calc(var(--logo-size, 34px) * 1.59), calc(var(--logo-size, 34px) * -0.04)) rotate(90deg) scale(0.5); opacity: 0.8; }
  100% { transform: translate(calc(var(--logo-size, 34px) * 1.62), calc(var(--logo-size, 34px) * -0.04)) rotate(90deg) scale(0.2); opacity: 0; }
}

@keyframes fly-sheet-3 {
  0% { transform: translate(0, 0) rotate(0deg) scale(0); opacity: 0; }
  6% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  25% { transform: translate(calc(var(--logo-size, 34px) * 0.15), calc(var(--logo-size, 34px) * -0.08)) rotate(15deg) scale(1.2); opacity: 1; }
  50% { transform: translate(calc(var(--logo-size, 34px) * 0.5), calc(var(--logo-size, 34px) * 0.15)) rotate(-25deg) scale(1.1); opacity: 1; }
  75% { transform: translate(calc(var(--logo-size, 34px) * 1.1), calc(var(--logo-size, 34px) * 0.05)) rotate(20deg) scale(0.95); opacity: 1; }
  90% { transform: translate(calc(var(--logo-size, 34px) * 1.35), calc(var(--logo-size, 34px) * 0.02)) rotate(-5deg) scale(0.5); opacity: 0.8; }
  100% { transform: translate(calc(var(--logo-size, 34px) * 1.38), calc(var(--logo-size, 34px) * 0.02)) rotate(-5deg) scale(0.2); opacity: 0; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--primary-navy);
  font-weight: 600;
}

.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

.nav__cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   Section 1: Hero Section (Light Corporate Authority)
   ============================================================ */
.hero-corporate {
  padding-top: calc(var(--nav-height) + 54px);
  padding-bottom: 72px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.hero__lead-col {
  max-width: 610px;
}

.hero__mockup-col {
  padding-top: 10px;
}

.hero__title {
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.16;
}

.hero__title .highlight {
  color: var(--primary-blue);
  display: inline-block;
}

.hero__subtitle {
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__actions .btn--lg {
  padding: 13px 22px;
  font-size: 0.98rem;
  white-space: nowrap;
}

.hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item strong {
  color: var(--text-main);
}

.trust-icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--status-success-bg);
  color: var(--status-success);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--status-success-border);
}

/* ============================================================
   Component: Vector / CSS Application Mockup (Light Enterprise)
   ============================================================ */
.app-mockup-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: visible;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-mockup-frame__bar {
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.app-mockup-controls {
  display: flex;
  gap: 6px;
}

.app-mockup-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ctrl-red { background-color: #EF4444; }
.ctrl-yellow { background-color: #F59E0B; }
.ctrl-green { background-color: #10B981; }

.app-mockup-frame__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-mockup-frame__content {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 380px;
  background: #FFFFFF;
}

/* Mockup Sidebar */
.mockup-sidebar {
  background: #F8FAFC;
  border-right: 1px solid var(--border-light);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mockup-nav-item.is-active {
  background: var(--accent-light);
  color: var(--primary-blue);
  font-weight: 600;
}

/* Mockup Workspace */
.mockup-workspace {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FFFFFF;
}

.mockup-ws-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.mockup-condo-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.mockup-condo-sub {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.mockup-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-kpi-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.mockup-kpi-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.mockup-kpi-lbl {
  font-size: 0.7rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Mockup Accounting Table Preview */
.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.mockup-table th {
  text-align: left;
  padding: 6px 8px;
  color: var(--text-soft);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  background: #F8FAFC;
}

.mockup-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.mockup-badge-f24 {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 600;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #DBEAFE;
}

/* Badges floating on frame border */
.mockup-floating-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.mockup-floating-badge--left {
  bottom: -18px;
  left: -20px;
  right: auto;
}

.mockup-floating-badge--right {
  top: -16px;
  right: -20px;
  bottom: auto;
}

@media (max-width: 992px) {
  .mockup-floating-badge--right {
    top: 12px;
    right: 12px;
  }
  .mockup-floating-badge--left {
    bottom: 12px;
    left: 12px;
  }
}

@media (max-width: 640px) {
  .mockup-floating-badge--right {
    display: none;
  }
  .mockup-floating-badge--left {
    position: static;
    margin: 14px auto 0;
    width: calc(100% - 24px);
  }
}

.floating-badge-icon {
  width: 34px;
  height: 34px;
  background: var(--status-success-bg);
  color: var(--status-success);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-text strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.3;
}

.floating-badge-text span {
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.3;
}

/* App Mockup Screen & Image */
.app-mockup-frame__screen {
  position: relative;
  width: 100%;
  background: #F8FAFC;
  overflow: hidden;
  line-height: 0;
}

.hero-app-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-mockup-frame:hover .hero-app-screen-img {
  transform: scale(1.015);
}

/* ============================================================
   Section 2: Authority & Compliance Bar
   ============================================================ */
.section-authority {
  background: #FFFFFF;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}

.authority-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.authority-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.authority-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 1.2rem;
}

.authority-text h4 {
  font-size: 0.92rem;
  margin: 0;
  color: var(--text-main);
}

.authority-text p {
  font-size: 0.78rem;
  margin: 0;
  color: var(--text-soft);
}

/* ============================================================
   Section 3: The 4 Macro-Areas of Responsibility
   ============================================================ */
.section-macro-areas {
  padding: 96px 0;
  background: var(--bg-page);
}

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

.section-head h2 {
  color: var(--primary-dark);
}

.section-head p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.macro-area-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}

.macro-area-row:last-child {
  margin-bottom: 0;
}

.macro-area-row.is-reversed {
  grid-template-columns: 1fr 1fr;
}

.macro-area-row.is-reversed .macro-text-col {
  order: 2;
}

.macro-area-row.is-reversed .macro-mockup-col {
  order: 1;
}

.macro-text-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.macro-text-col h3 {
  font-size: 1.7rem;
  color: var(--text-main);
  line-height: 1.3;
}

.macro-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.macro-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-main);
}

.macro-features-list .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  color: var(--primary-blue);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Macro Area Visual Cards */
.macro-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.visual-card-header .title-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.visual-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-kpi-row {
  display: flex;
  gap: 12px;
}

.visual-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  flex: 1;
}

.visual-box-title {
  font-size: 0.72rem;
  color: var(--text-soft);
  text-transform: uppercase;
}

.visual-box-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

/* Smartphone Mockup for App Condomino */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  width: 280px;
  height: 480px;
  background: #FFFFFF;
  border: 10px solid #0F172A;
  border-radius: 36px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 18px;
  background: #0F172A;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto;
}

.phone-screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F8FAFC;
  flex: 1;
  overflow-y: auto;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-ticket-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-xs);
}

.phone-ticket-photo {
  height: 80px;
  background: #E2E8F0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.75rem;
  margin: 8px 0;
}

/* ============================================================
   Section 4: Cloud Integrato Model (Economics & Zero Surprises)
   ============================================================ */
.section-economics {
  background: #FFFFFF;
  padding: 96px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.economics-box {
  background: linear-gradient(135deg, #1E3A8A 0%, #172554 100%);
  border-radius: var(--radius-xl);
  color: #FFFFFF;
  padding: 56px 48px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.economics-box h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.economics-box p {
  color: #CBD5E1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.economics-card-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.economics-card-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1;
}

.economics-card-sub {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.5;
}

/* ============================================================
   Section 5: Migration & 48h Transition
   ============================================================ */
.section-migration {
  padding: 88px 0;
  background: var(--bg-page);
}

.migration-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.migration-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.migration-step {
  display: flex;
  gap: 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--primary-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--accent-border);
}

.step-content h4 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.step-content p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   Section 6: FAQ Istituzionali
   ============================================================ */
.section-faq {
  padding: 96px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.faq-card h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   Section 7: Final CTA Strip
   ============================================================ */
.section-final-cta {
  padding: 88px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.final-cta-box {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.final-cta-box p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ============================================================
   Footer (Institutional Corporate Light)
   ============================================================ */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

.footer-legal-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

/* ============================================================
   Official App Store & Google Play Download Badges
   ============================================================ */
.store-badges-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.store-badges-block--hero {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.store-badges-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.store-badges-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-success);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
  flex-shrink: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  line-height: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.store-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-badge-link:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 3px;
}

.store-badge-link img {
  display: block;
  height: 44px;
  width: auto;
}

.store-badges--hero .store-badge-link img {
  height: 40px;
}

.store-badges--footer {
  margin-top: 16px;
}

.store-badges--footer .store-badge-link img {
  height: 36px;
}

.footer-app-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
  margin: 16px 0 8px;
}

/* ============================================================
   Modal Overlay: "Prenota Dimostrazione" (Light Corporate)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.55rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input,
.form-select {
  font-family: var(--font-family);
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
  font-family: var(--font-family);
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ============================================================
   Internal Pages Suite (Corporate Light 2026):
   Pricing, Features, Sicurezza, Chi Siamo
   ============================================================ */

/* Page Hero */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 0 48px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #EFF6FF 0%, transparent 65%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--text-main);
  max-width: 920px;
  margin: 0 auto 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.page-hero .lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.page-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.grad-text {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quote-block {
  background: var(--bg-surface);
  border-left: 4px solid var(--primary-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 22px;
  font-style: italic;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}

/* Sections & Generic Layouts */
.section {
  padding: 72px 0;
}

.section--tight {
  padding: 40px 0;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Badges & Trust Chips */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.badge-chip svg {
  color: var(--primary-blue);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.checklist .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--status-success-bg);
  color: var(--status-success);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   1. Pricing Page Components
   ============================================================ */

/* Zero Frizione Banner (Migrazione Inclusa) */
.zero-frizione-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 1px solid var(--status-success-border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}

.zero-frizione-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.badge-zero-frizione {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--status-success);
  background: var(--status-success-bg);
  border: 1px solid var(--status-success-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.zero-frizione-header h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin: 4px 0 8px;
  font-weight: 800;
}

.zero-frizione-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: 740px;
  line-height: 1.55;
}

/* Segmented Billing Toggle */
.toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.toggle button {
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toggle button.active {
  background: var(--primary-navy);
  color: var(--text-white);
  box-shadow: var(--shadow-xs);
}

.toggle .badge {
  background: #FEF08A;
  color: #854D0E;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto 60px;
  align-items: stretch;
}

.p-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.p-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.p-badge-base {
  background: #10B981;
  color: #FFFFFF;
}

.p-badge-studio {
  background: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.p-badge-pro {
  background: #F59E0B;
  color: #FFFFFF;
}

/* Hover su BASE (Verde Smeraldo) */
.pricing-grid .p-card-base:hover {
  border-color: #10B981;
  box-shadow: 0 14px 34px -4px rgba(16, 185, 129, 0.22);
}

.pricing-grid .p-card-base:hover .p-badge-base {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.pricing-grid .p-card-base .price-box-trad a.btn:hover {
  border-color: #10B981 !important;
  background: #F0FDF4 !important;
  color: #059669 !important;
}

.pricing-grid .p-card-base .price-box-cloud a.btn {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #FFFFFF !important;
}

.pricing-grid .p-card-base .price-box-cloud a.btn:hover {
  background: #047857 !important;
  border-color: #047857 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

/* Evidenza Card STUDIO (Piano Principale Più Scelto - Default State) */
.p-card-studio {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.16);
}

.p-card-studio .p-badge-studio {
  opacity: 1;
}

/* Quando il cursore passa sopra un'altra card (Base o Professional), 
   disattiva l'evidenza di default di Studio: resta evidenziata SOLO la card con il cursore sopra */
.pricing-grid:has(.p-card:not(.p-card-studio):hover) .p-card-studio {
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.pricing-grid:has(.p-card:not(.p-card-studio):hover) .p-card-studio .p-badge-studio {
  opacity: 0;
  box-shadow: none;
}

.pricing-grid .p-card-studio:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 14px 34px -4px rgba(37, 99, 235, 0.26);
}

.pricing-grid .p-card-studio:hover .p-badge-studio {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.pricing-grid .p-card-studio .price-box-trad a.btn:hover {
  border-color: var(--primary-blue) !important;
  background: #EFF6FF !important;
  color: var(--primary-blue) !important;
}

.pricing-grid .p-card-studio .price-box-cloud a.btn {
  background: var(--primary-navy) !important;
  border-color: var(--primary-navy) !important;
  color: #FFFFFF !important;
}

.pricing-grid .p-card-studio .price-box-cloud a.btn:hover {
  background: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Hover su PRO (Ambra / Oro) */
.pricing-grid .p-card-pro:hover {
  border-color: #F59E0B;
  box-shadow: 0 12px 32px -4px rgba(245, 158, 11, 0.22);
}

.pricing-grid .p-card-pro:hover .p-badge-pro {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.pricing-grid .p-card-pro .price-box-trad a.btn:hover {
  border-color: #D97706 !important;
  background: #FFFBEB !important;
  color: #B45309 !important;
}

.pricing-grid .p-card-pro .price-box-cloud a.btn {
  background: #D97706 !important;
  border-color: #D97706 !important;
  color: #FFFFFF !important;
}

.pricing-grid .p-card-pro .price-box-cloud a.btn:hover {
  background: #B45309 !important;
  border-color: #B45309 !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.p-card h3 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 0 0 6px;
  font-weight: 800;
}

.p-card .p-subtitle {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
  min-height: 24px;
}

.price-box-trad {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.price-box-trad .lbl {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.price-box-trad .val {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.price-box-cloud {
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.p-card-base .price-box-cloud {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.p-card-studio .price-box-cloud {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
}

.p-card-pro .price-box-cloud {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}

.discount-pill {
  position: absolute;
  top: -10px;
  right: 12px;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.p-card-base .discount-pill { background: #059669; }
.p-card-studio .discount-pill { background: var(--primary-blue); }
.p-card-pro .discount-pill { background: #D97706; }

.price-box-cloud .lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  margin-bottom: 6px;
}

.p-card-base .price-box-cloud .lbl { color: #059669; }
.p-card-studio .price-box-cloud .lbl { color: var(--primary-blue); }
.p-card-pro .price-box-cloud .lbl { color: #D97706; }

.price-box-cloud .val {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.p-card-base .price-box-cloud .val { color: #059669; }
.p-card-studio .price-box-cloud .val { color: var(--primary-navy); }
.p-card-pro .price-box-cloud .val { color: #B45309; }

.price-box-cloud .desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 18px;
  min-height: 44px;
  flex-grow: 1;
}

/* Cloud Integrato Explainer */
.cloud-integrato-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin-bottom: 60px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}

.bundle-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}

.bundle-card--highlight {
  border: 2px solid var(--primary-blue);
  position: relative;
  box-shadow: var(--shadow-md);
}

.bundle-card h4 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin: 4px 0 6px;
}

.bundle-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.bundle-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bundle-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.bundle-features .check {
  color: var(--status-success);
  font-weight: 700;
}

/* Calcolatore ROI */
.calcolatore-roi-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  max-width: 1140px;
  margin: 60px auto;
}

.roi-slider-container {
  max-width: 680px;
  margin: 32px auto 36px;
  text-align: center;
}

.roi-slider-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.roi-slider-val {
  color: var(--primary-blue);
  font-size: 1.6rem;
  font-weight: 800;
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-navy);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.roi-hero-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
}

.roi-hero-card--time {
  border-top: 4px solid var(--primary-blue);
}

.roi-hero-card--money {
  border-top: 4px solid var(--status-success);
}

.roi-hero-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.roi-hero-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 8px;
}

.roi-hero-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}

.roi-hero-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.roi-hero-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.roi-benchmark-box {
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.roi-benchmark-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.roi-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.roi-kpi-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.roi-kpi-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.roi-kpi-lbl {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.roi-disclaimer {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.4;
  text-align: center;
}

/* ============================================================
   2. Features Page Components
   ============================================================ */

/* Features Filter Tabs */
.features-filter-wrapper {
  display: flex;
  justify-content: center;
  margin: 24px 0 48px;
}

.features-filter {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  flex-wrap: wrap;
}

.feature-tab {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.feature-tab.active {
  background: var(--primary-navy);
  color: var(--text-white);
  box-shadow: var(--shadow-xs);
}

/* Migration Banner */
.migration-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #EFF6FF;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-xs);
}

.migration-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.migration-banner__text {
  flex-grow: 1;
}

.migration-banner__badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.migration-banner h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin: 4px 0 6px;
}

.migration-banner p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 720px;
}

/* Features Layout (Sidebar + Rows) */
.features-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.features-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.features-sidebar__group {
  margin-bottom: 24px;
}

.features-sidebar__group:last-child {
  margin-bottom: 0;
}

.features-sidebar__heading {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.features-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features-sidebar a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.features-sidebar a:hover,
.features-sidebar a.active {
  background: var(--accent-light);
  color: var(--primary-navy);
  font-weight: 600;
}

/* Feature Row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-row.feature-row--flip {
  direction: rtl;
}

.feature-row.feature-row--flip > * {
  direction: ltr;
}

.feature-row.is-hidden {
  display: none !important;
}

.feature-pill-badge {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.feature-row h3 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin: 0 0 12px;
}

.feature-row p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.feature-list-short li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.feature-list-short li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--status-success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-module-demo {
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--primary-navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-module-demo:hover {
  background: var(--accent-light);
  border-color: var(--primary-blue);
}

/* Visual Workflow Mockup */
.workflow {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
}

.workflow__msg {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.workflow__msg--ai {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: var(--primary-navy);
}

.workflow__msg--ai b {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.workflow__confirm {
  display: flex;
  gap: 10px;
  align-items: center;
}

.workflow__confirm .ok {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.workflow__confirm .ok:hover {
  background: var(--primary-hover);
}

.workflow__confirm .edit {
  background: transparent;
  color: var(--text-soft);
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}

.workflow-feedback {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   3. FAQ Accordion & Modals
   ============================================================ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================================
   4. Chi Siamo Values Grid & Corporate Card
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin: 0 0 8px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.corporate-data-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.corporate-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.corporate-data-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.corporate-data-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.corporate-data-list .lbl {
  color: var(--text-soft);
}

.corporate-data-list .val {
  color: var(--text-main);
  font-weight: 600;
}

/* ============================================================
   5. Demo AI Reader Modal (Light Theme)
   ============================================================ */
.demo-dropzone-wrapper {
  margin: 20px 0;
}

.demo-dropzone {
  border: 2px dashed var(--accent-border);
  border-radius: var(--radius-lg);
  background: #F8FAFC;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.demo-dropzone:hover,
.demo-dropzone.is-dragover {
  border-color: var(--primary-blue);
  background: #EFF6FF;
}

.demo-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.demo-dropzone .dropzone-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.console-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

.console-doc-box,
.console-ai-box {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.console-doc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-navy);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.console-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.console-ai-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.extracted-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.extracted-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.extracted-card-title {
  font-size: 0.72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.extracted-card-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ============================================================
   Mobile & Responsive Queries
   ============================================================ */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .macro-area-row,
  .macro-area-row.is-reversed {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .macro-area-row.is-reversed .macro-text-col {
    order: 1;
  }

  .macro-area-row.is-reversed .macro-mockup-col {
    order: 2;
  }

  .economics-box {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

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

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

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

  /* Internal Pages Overrides (Tablet) */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

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

  .features-sidebar {
    display: none;
  }

  .feature-row,
  .feature-row.feature-row--flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .roi-hero-grid {
    grid-template-columns: 1fr;
  }

  .roi-benchmark-grid {
    grid-template-columns: 1fr;
  }

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

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

  .console-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .nav__cta-group #nav-trial {
    display: none;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .authority-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Internal Pages Overrides (Mobile) */
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .zero-frizione-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .migration-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero__actions .btn,
  .hero__actions .btn--lg {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: normal;
  }

  .final-cta-box .btn,
  .final-cta-box .btn--lg {
    max-width: 100%;
    white-space: normal;
  }

  .badge-pill {
    white-space: normal;
    text-align: left;
    line-height: 1.4;
  }

  .economics-box {
    padding: 28px 18px;
    box-sizing: border-box;
  }

  .economics-card-pill {
    padding: 20px 16px;
    box-sizing: border-box;
  }

  .economics-box .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .app-mockup-frame {
    overflow: hidden;
  }

  .app-mockup-frame__bar {
    padding: 8px 12px;
    gap: 8px;
  }

  .app-mockup-frame__title span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
