:root {
  --bg-blue-dark: #0d3975;
  --bg-blue: #0e52b4;
  --bg-blue-deep: #0b2b61;
  --bg-light: #f1f2f5;
  --text-white: #ffffff;
  --text-dark: #143d82;
  --text-body: #36527d;
  --line-light: rgba(20, 61, 130, 0.14);
  --line-white: rgba(255, 255, 255, 0.35);
  --card-shadow: 0 10px 24px rgba(12, 38, 85, 0.10);
  --green-top: #24b98a;
  --green-bottom: #0f6f49;
  --header-height: 78px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: #fff;
}

body::before {
  content: '';
  display: block;
  height: var(--header-height);
}

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

a {
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: linear-gradient(90deg, #0d3975 0%, #1262c8 58%, #0e57bf 100%);
  box-shadow: 0 2px 10px rgba(8, 28, 62, 0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 28px;
  height: 35px;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.brand-mark::after {
  inset: auto;
  width: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 999px;
  left: 9px;
  top: 13px;
}

.brand-text {
  font-family: 'Manrope', sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-white { color: #fff; }
.brand-green { color: #65c03a; }

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

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a.active {
  color: #ffffff;
  font-weight: 700;
}

.site-nav a.active:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-top), #65c03a);
  box-shadow: 0 0 14px rgba(36, 185, 138, 0.46);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-nav,
.btn-hero,
.btn-cta {
  color: #fff;
  background: linear-gradient(180deg, var(--green-top) 0%, var(--green-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px rgba(7, 47, 31, 0.18);
}

.btn-nav {
  min-height: 56px;
  padding-inline: 29px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: 0.25s ease;
}

.hero-band,
.benefits-band,
.cta-band,
.site-footer {
  background: linear-gradient(90deg, var(--bg-blue-dark) 0%, var(--bg-blue) 52%, var(--bg-blue-deep) 100%);
}

.hero-band {
  position: relative;
  width: 100%;
  height: 446px;
  min-height: 446px;
  overflow: hidden;
  background-color: #093164;
  background-image: url('IMG/sfondo_hero_home.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1280px 446px;
}

.hero-band::before {  }

.hero-grid {
  height: 446px;
  min-height: 446px;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-copy {
  max-width: 560px;
  color: var(--text-white);
}

.hero-copy h1,
.reasons-block h2,
.cta-inner h2 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: 46px;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-copy p {
  max-width: 690px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.btn-hero {
  min-width: 172px;
  margin-bottom: 34px;
}

.hero-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-list li,
.check-list li {
  position: relative;
  padding-left: 38px;
}

.hero-list li {
  margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    padding-top: 4px;
}

.hero-list li::before,
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 9px;
  border-left: 3px solid #28c18c;
  border-bottom: 3px solid #28c18c;
  transform: rotate(-45deg);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-placeholder {
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.04), inset 0 0 0 34px rgba(255, 255, 255, 0.02);
  position: relative;
}

.hero-visual-placeholder::before {
  content: '';
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.10);
}

.hero-visual-placeholder::after {
  content: '';
  position: absolute;
  width: 36%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  right: -5%;
  bottom: 20%;
  transform: rotate(38deg);
}

.section {
  position: relative;
  padding: 72px 0 76px;
}

.section-light {
  background: var(--bg-light);
}

.section-border {
  border-top: 1px solid rgba(20, 61, 130, 0.12);
}

.section-title-lined {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  margin-bottom: 56px;
}

.section-title-lined span {
  height: 1px;
  background: var(--line-light);
}

.section-title-lined h2,
.reasons-block h2,
.cta-inner h2 {
  color: var(--text-dark);
  font-size: 34px;
  line-height: 1.1;
}

.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.benefit-card,
.contatti-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}

.info-card:hover,
.benefit-card:hover,
.contatti-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(12, 38, 85, 0.16);
}

.info-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
}

.icon-slot,
.benefit-icon-slot {
  
  
}

.icon-slot {
  width: 58px;
  height: 58px;
  
}

.info-card h3,
.benefit-card h3 {
  margin: 0 0 6px;
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.2;
}

.info-card p,
.benefit-card p {
  margin: 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.4;
}

.reasons-block {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reasons-block h2 {
  margin-bottom: 36px;
  font-size: 46px;
}

.check-list li {
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--text-body);
}

.benefits-band {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 66px;
  background-image: linear-gradient(90deg, var(--bg-blue-dark) 0%, var(--bg-blue) 52%, var(--bg-blue-deep) 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.benefits-band::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(224,234,245,0.85) 100%);
  pointer-events: none;
}

.section-title-lined--light {
  position: relative;
  z-index: 1;
  margin-bottom: 54px;
}

.section-title-lined--light span {
  background: var(--line-white);
}

.section-title-lined--light h2 {
  color: #fff;
}

.benefit-card {
  position: relative;
  z-index: 1;
  min-height: 248px;
  text-align: center;
  padding: 24px 24px 22px;
}

.benefit-icon-slot {
  width: 96px;
  height: 76px;
  border-radius: 20px;
  margin: 0 auto 18px;
}

.benefit-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.55;
}

.cta-band {
  padding: 80px 0 82px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), inset 0 -1px 0 rgba(0,0,0,0.15);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 34px;
}

.btn-cta {
  min-width: 182px;
}

.site-footer {
  color: #fff;
}

.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.footer-nav a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.96);
}

.footer-nav a {
  font-size: 15px;
  font-weight: 500;
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  font-size: 18px;
  font-style: italic;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .section-title-lined span.reveal-item {
  transform: scaleX(0);
  transform-origin: center;
}

.motion-ready .reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal.is-visible .section-title-lined span.reveal-item {
  transform: scaleX(1);
}

.motion-ready .hero-copy h1.reveal-item {
  transform: translateY(28px);
}

.motion-ready .hero-copy .btn.reveal-item,
.motion-ready .cta-inner .btn.reveal-item {
  transform: translateY(18px) scale(0.96);
}

.motion-ready .reveal.is-visible .hero-copy .btn.reveal-item,
.motion-ready .reveal.is-visible .cta-inner .btn.reveal-item {
  transform: translateY(0) scale(1);
}

.motion-ready .info-card.reveal-item,
.motion-ready .benefit-card.reveal-item,
.motion-ready .contatti-card.reveal-item,
.motion-ready .perche-row.reveal-item,
.motion-ready .calcolo-media.reveal-item {
  transform: translateY(24px) scale(0.98);
}

.motion-ready .reveal.is-visible .info-card.reveal-item,
.motion-ready .reveal.is-visible .benefit-card.reveal-item,
.motion-ready .reveal.is-visible .contatti-card.reveal-item,
.motion-ready .reveal.is-visible .perche-row.reveal-item,
.motion-ready .reveal.is-visible .calcolo-media.reveal-item {
  transform: translateY(0) scale(1);
}

.motion-ready .reveal.is-visible .info-card.reveal-item:hover,
.motion-ready .reveal.is-visible .benefit-card.reveal-item:hover,
.motion-ready .reveal.is-visible .contatti-card.reveal-item:hover {
  transform: translateY(-6px) scale(1);
}

.motion-ready .wallet-analyzer-input.reveal-item,
.motion-ready .wallet-analyzer-scan-btn.reveal-item,
.motion-ready .wallet-analyzer-send-btn.reveal-item,
.motion-ready .calcolo-list li.reveal-item {
  transform: translateY(36px);
}

.motion-ready .wallet-analyzer-send-btn.reveal-item {
  transform: translateY(36px) scale(0.94);
}

.motion-ready .reveal.is-visible .wallet-analyzer-input.reveal-item,
.motion-ready .reveal.is-visible .wallet-analyzer-scan-btn.reveal-item,
.motion-ready .reveal.is-visible .wallet-analyzer-send-btn.reveal-item,
.motion-ready .reveal.is-visible .calcolo-list li.reveal-item {
  transform: translateY(0) scale(1);
}

.motion-ready .hero-band--calcolo .reveal-item,
.motion-ready .calcolo-layout .reveal-item {
  transition-duration: 0.9s;
}

.motion-ready .hero-band--calcolo .hero-copy h1.reveal-item {
  transform: translateY(38px);
}

.motion-ready .hero-band--calcolo.is-visible .hero-copy h1.reveal-item {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal,
  .motion-ready .reveal-item,
  .motion-ready .section-title-lined span.reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .hero-copy h1 { font-size: 58px; }
  .reasons-block h2, .cta-inner h2 { font-size: 52px; }
  .cards-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  :root { --header-height: 74px; }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 1002;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(8, 36, 79, 0.98);
    box-shadow: 0 18px 40px rgba(5, 18, 40, 0.28);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
  }

  .site-nav a.active:not(.btn) {
    background: rgba(36, 185, 138, 0.14);
  }

  .site-nav a.active:not(.btn)::after {
    display: none;
  }

  .btn-nav {
    width: 100%;
  }

  .hero-grid {
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    padding: 42px 0 46px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1,
  .reasons-block h2,
  .cta-inner h2 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .hero-visual-placeholder {
    width: min(100%, 360px);
  }

  .cards-grid--three,
  .cards-grid--four {
    grid-template-columns: 1fr;
  }

  .section,
  .benefits-band,
  .cta-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-title-lined {
    gap: 14px;
    margin-bottom: 36px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-text {
    font-size: 19px;
  }

  .hero-band::before,
  .benefits-band::before {
    opacity: 0.5;
  }

  .hero-copy h1,
  .reasons-block h2,
  .cta-inner h2 {
    font-size: 36px;
  }

  .hero-copy p,
  .hero-list li,
  .check-list li {
    font-size: 16px;
  }

  .section-title-lined {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-title-lined span {
    display: none;
  }

  .section-title-lined h2 {
    font-size: 31px;
  }

  .info-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 26px 20px;
  }

  .benefit-card {
    min-height: auto;
  }

  .cta-inner h2 {
    margin-bottom: 26px;
  }

  .footer-inner {
    min-height: auto;
    padding: 24px 0;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    min-height: 56px;
    font-size: 16px;
    padding: 0 12px;
    text-align: center;
  }
}


.hero-visual,
.hero-visual-placeholder {
  display: none !important;
}


/* perche.html */
.hero-band--perche {
  background-image: url('IMG/sfondo_hero_perche.jpg');
}

.hero-copy--perche {
  max-width: 620px;
}

.hero-copy--perche p {
  max-width: 520px;
  margin-bottom: 0;
}

.perche-layout {
  display: grid;
  gap: 64px;
}

.perche-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 32px;
}

.perche-row--reverse {
  grid-template-columns: 1fr 320px;
}

.perche-row--reverse .perche-copy {
  order: 1;
}

.perche-row--reverse .perche-media {
  order: 2;
  justify-self: end;
}

.perche-media img {
  width: 100%;
  border-radius: 8px;
}

.perche-copy h2 {
  margin: 0 0 14px;
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.perche-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .perche-row,
  .perche-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .perche-row--reverse .perche-copy,
  .perche-row--reverse .perche-media {
    order: initial;
    justify-self: stretch;
  }

  .perche-layout {
    gap: 44px;
  }
}

@media (max-width: 640px) {
  .perche-copy h2 {
    font-size: 20px;
  }

  .perche-copy p {
    font-size: 16px;
  }
}


/* calcolo_rischio.html */
.hero-band--calcolo {
  background-image: url('IMG/sfondo_hero_calcolo_rischio.jpg');
}

.hero-copy--calcolo {
  max-width: 980px;
}

.hero-copy--calcolo p {
  max-width: 520px;
  margin-bottom: 0;
}

.calcolo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 44px;
}

.calcolo-media img {
  width: 100%;
}

.calcolo-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.calcolo-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 24px;
  color: var(--text-dark);
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.calcolo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 9px;
  border-left: 3px solid #28c18c;
  border-bottom: 3px solid #28c18c;
  transform: rotate(-45deg);
}

@media (max-width: 920px) {
  .calcolo-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calcolo-media {
    max-width: 220px;
    margin: 0 auto;
  }

  .calcolo-list li {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .calcolo-list li {
    font-size: 18px;
    margin-bottom: 18px;
  }
}


/* contatti.html */
.hero-band--contatti {
  background-image: url('IMG/sfondo_hero_contatti.jpg');
}

.hero-copy--contatti {
  max-width: 620px;
}

.hero-copy--contatti p {
  max-width: 520px;
  margin-bottom: 0;
}

.contatti-layout {
  display: grid;
  gap: 40px;
}

.contatti-title-lined {
  margin-bottom: 0;
}

.contatti-card {
  max-width: 352px;
  min-height: 116px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 28px;
}

.contatti-card img {
  width: 48px;
}

.contatti-card-icon {
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
}

.contatti-card-text {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

@media (max-width: 640px) {
  .contatti-layout {
    gap: 28px;
  }

  .contatti-card {
    max-width: 100%;
  }
}

/* calcolo_rischio.html - wallet form */
.hero-copy--calcolo {
  max-width: 980px;
}

.wallet-analyzer-form {
  max-width: 980px;
  margin-top: 28px;
}

.wallet-analyzer-input {
  display: block;
  width: 100%;
  max-width: 980px;
  height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
}

.wallet-analyzer-input::placeholder {
  color: rgba(20, 61, 130, 0.62);
}

.wallet-analyzer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.wallet-analyzer-scan-btn {
  min-height: 58px;
  padding-inline: 29px;
  border: 0;
  white-space: nowrap;
  cursor: pointer;
}

.wallet-analyzer-upload-btn {
  display: none;
}

.qr-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wallet-analyzer-send-btn {
  min-width: 172px;
  min-height: 58px;
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, var(--green-top) 0%, var(--green-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px rgba(7, 47, 31, 0.18);
  cursor: pointer;
}

.wallet-analyzer-send-btn:disabled {
  background: #cfd6e2;
  box-shadow: none;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}

.motion-ready .wallet-analyzer-send-btn.reveal-item:disabled {
  opacity: 0;
}

.motion-ready .reveal.is-visible .wallet-analyzer-send-btn.reveal-item:disabled {
  opacity: 1;
}

.wallet-analyzer-reader {
  display: none;
  width: 100%;
  min-height: 280px;
  border: 2px dashed rgba(20, 61, 130, 0.18);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.qr-modal-open {
  overflow: hidden;
}

.qr-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 18, 42, 0.72);
  z-index: 10000;
}

.qr-modal.is-open {
  display: flex;
}

.qr-modal-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 58px 28px 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(5, 18, 40, 0.34);
}

.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 82, 180, 0.10);
  color: var(--text-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.qr-modal-title {
  margin: 0 0 18px;
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.qr-scanner-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.qr-scanner-status.is-error {
  color: #b42318;
  font-weight: 700;
}

@media (max-width: 640px), (hover: none) and (pointer: coarse) {
  .wallet-analyzer-input {
    width: 100%;
  }

  .wallet-analyzer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wallet-analyzer-camera-btn {
    display: none;
  }

  .wallet-analyzer-upload-btn {
    display: inline-flex;
  }

  .wallet-analyzer-scan-btn,
  .wallet-analyzer-send-btn {
    width: 100%;
    min-height: 56px;
  }
}
