/* ================================================
   landing.css — PrenotaStile v3
   Mobile-first · Dark premium · Dual-path hero
   ================================================ */

/* ---- Animazioni ---- */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }
@keyframes pulseGlow  { 0%,100% { box-shadow:0 0 0 0 rgba(201,169,110,.35); } 50% { box-shadow:0 0 0 10px rgba(201,169,110,0); } }
@keyframes shimmer    { 0% { background-position:200% center; } 100% { background-position:-200% center; } }
@keyframes floatPin   { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }

.anim-1 { animation: fadeInUp .55s ease both; }
.anim-2 { animation: fadeInUp .55s .1s ease both; }
.anim-3 { animation: fadeInUp .55s .2s ease both; }
.anim-4 { animation: fadeInUp .55s .3s ease both; }
.anim-5 { animation: fadeInUp .55s .4s ease both; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 2rem;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 50% -5%,  rgba(201,169,110,.13) 0%, transparent 60%),
    radial-gradient(ellipse 60%  50% at 90%  60%, rgba(201,169,110,.06) 0%, transparent 65%),
    radial-gradient(ellipse 40%  40% at 10%  70%, rgba(201,169,110,.04) 0%, transparent 65%);
}
/* particelle decorative */
.hero-bg::before {
  content: '';
  position: absolute; top: 15%; right: 8%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.07) 0%, transparent 70%);
  filter: blur(40px);
}
.hero-bg::after {
  content: '';
  position: absolute; bottom: 20%; left: 5%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.05) 0%, transparent 70%);
  filter: blur(30px);
}

.hero-inner {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.hero-content { flex: 1; max-width: 600px; }

/* Tag badge */
.hero-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .875rem;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  border: 1px solid rgba(201,169,110,.25);
  font-size: .72rem; font-weight: 700;
  color: var(--accent); letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulseGlow 2s infinite;
}

/* Titolo hero */
.hero-title {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-subtitle {
  font-size: clamp(.9rem, 2.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Dual-path cards */
.hero-paths {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.path-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: ''; position: absolute; inset: 0;
  opacity: 0; transition: opacity .2s;
}
.path-card:hover { transform: translateY(-2px); }
.path-card:active { transform: translateY(0); }

.path-card-client {
  background: linear-gradient(135deg, rgba(201,169,110,.12) 0%, rgba(201,169,110,.04) 100%);
  border-color: rgba(201,169,110,.3);
}
.path-card-client:hover { border-color: rgba(201,169,110,.55); box-shadow: 0 8px 32px rgba(201,169,110,.15); }

.path-card-owner {
  background: var(--bg-card);
  border-color: var(--border);
}
.path-card-owner:hover { border-color: var(--border-hover); background: var(--bg-elevated); }

.path-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.path-card-client .path-icon { background: rgba(201,169,110,.15); }
.path-card-owner  .path-icon { background: var(--bg-elevated); }

.path-info { flex: 1; min-width: 0; }
.path-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .2rem; }
.path-title { font-size: .95rem; font-weight: 700; color: var(--text); }
.path-card-client .path-title { color: var(--accent); }
.path-sub   { font-size: .78rem; color: var(--text-secondary); margin-top: .1rem; }

.path-arrow {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.path-card-client .path-arrow { background: var(--accent); color: #0a0a0a; }
.path-card-owner  .path-arrow { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border); }
.path-card:hover .path-arrow  { transform: translateX(3px); }

/* Stats */
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: nowrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.hero-stats::-webkit-scrollbar { display: none; }
.hero-stat { flex-shrink: 0; }
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.hero-stat-label { font-size: .75rem; color: var(--text-muted); margin-top: .25rem; }

/* Mini mappa hero */
.hero-visual { flex: 1; max-width: 500px; min-width: 0; position: relative; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -30px;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,.42) 0%, rgba(201,169,110,.12) 45%, transparent 70%);
  filter: blur(28px);
  border-radius: 50%;
  pointer-events: none;
  animation: goldMapGlow 4s ease-in-out infinite;
}
@keyframes goldMapGlow {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%       { opacity: .75; transform: scale(1.06); }
}
.map-preview {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(201,169,110,.3);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(201,169,110,.15);
}
.map-preview #miniMap { width: 100%; height: 100%; }
/* Versione link: tutto il map-preview è cliccabile */
.map-preview-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
.map-preview-link:hover {
  box-shadow: var(--shadow-lg), 0 0 70px rgba(201,169,110,.35);
  transform: translateY(-2px);
}
/* Hint "Tocca per aprire" — visibile in basso al centro */
.map-click-hint {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex; align-items: center; gap: .4rem;
  background: rgba(15,12,8,.75);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: .8rem; font-weight: 600;
  padding: .45rem .9rem;
  border-radius: 2rem;
  border: 1px solid rgba(201,169,110,.4);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .3s ease;
}
.map-preview-link:hover .map-click-hint {
  opacity: .85;
}

/* ---- Sezione trust strip ---- */
.trust-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0;
}
.trust-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  width: max-content;
  gap: 0;
  padding: 1.1rem 0;
  will-change: transform;
  animation: trust-ticker 45s linear infinite;
}
.trust-strip:hover .trust-track { animation-play-state: paused; }
@keyframes trust-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--text-muted); white-space: nowrap;
  padding: 0 2rem;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ---- Come funziona — Stepper Accordion ---- */

/* Desktop: 3 colonne statiche */
.steps-accordion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.step-item:hover { border-color: rgba(201,169,110,.22); box-shadow: 0 12px 40px rgba(201,169,110,.08); }
.step-header {
  display: flex; align-items: center; gap: .875rem;
  cursor: default;
}
.step-number {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: rgba(201,169,110,.18); line-height: 1; flex-shrink: 0; min-width: 2.4rem;
}
.step-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-glow); border: 1px solid rgba(201,169,110,.18);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.step-title { font-size: .95rem; font-weight: 600; flex: 1; }
.step-chevron { display: none; color: var(--text-muted); flex-shrink: 0; transition: transform .25s ease; }
.step-body {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.step-body p { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.step-cta {
  display: inline-block; margin-top: .75rem;
  font-size: .8rem; font-weight: 600; color: var(--accent);
  text-decoration: none; transition: opacity .15s;
}
.step-cta:hover { opacity: .75; }

/* ---- Salon cards ---- */
.salon-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all .2s ease; cursor: pointer;
  text-decoration: none; display: block;
}
.salon-card:hover { border-color: rgba(201,169,110,.2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.salon-card-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); overflow: hidden;
}
.salon-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.salon-card-body  { padding: 1rem; }
.salon-card-type  { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.salon-card-name  { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; color: var(--text); }
.salon-card-addr  { font-size: .78rem; color: var(--text-secondary); display: flex; align-items: center; gap: .35rem; margin-bottom: .75rem; }
.salon-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--border); }

/* ---- Feature strip ---- */
.feature-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-sm); background: var(--accent-glow);
  border: 1px solid rgba(201,169,110,.15);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.feature-title { font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }
.feature-text  { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- Mock window ---- */
.mock-window { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.mock-titlebar { padding: .875rem 1rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .45rem; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.mock-booking-row { display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: var(--text); }
.mock-dot-status  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-price { margin-left: auto; font-size: .75rem; color: var(--accent); }

/* ---- Piani / Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.pricing-card.elite {
  border-color: rgba(180,130,255,.4);
  background: linear-gradient(160deg, rgba(140,80,255,.08) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 0 1px rgba(180,130,255,.12), 0 20px 60px rgba(140,80,255,.08);
}
.pricing-card.elite .pricing-badge {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
}
.pricing-card.elite .pricing-amount { color: #c084fc; }
.pricing-card.elite .pricing-featured-plan { color: #c084fc; }
.pricing-check-elite { background: rgba(180,130,255,.15); color: #c084fc; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: rgba(201,169,110,.45);
  background: linear-gradient(160deg, rgba(201,169,110,.1) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 0 1px rgba(201,169,110,.15), 0 20px 60px rgba(201,169,110,.1);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0a0a0a;
  font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .875rem; border-radius: var(--radius-full); white-space: nowrap;
}
.pricing-plan {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .75rem;
}
.pricing-featured-plan { color: var(--accent); }
.pricing-price {
  display: flex; align-items: flex-end; gap: .25rem;
  margin-bottom: .35rem;
}
.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 700; line-height: 1;
  color: var(--text);
}
.pricing-card.featured .pricing-amount { color: var(--accent); }
.pricing-currency { font-size: 1.2rem; font-weight: 600; color: var(--text-secondary); margin-bottom: .4rem; }
.pricing-period { font-size: .8rem; color: var(--text-muted); margin-bottom: .2rem; padding-bottom: .2rem; }
.pricing-desc {
  font-size: .82rem; color: var(--text-secondary); line-height: 1.55;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: .7rem; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .84rem; color: var(--text-secondary); line-height: 1.4;
}
.pricing-check {
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-top: .1rem;
}
.pricing-check-yes { background: rgba(201,169,110,.15); color: var(--accent); }
.pricing-check-no  { background: var(--bg-elevated); color: var(--text-muted); opacity: .5; }
.pricing-feature.disabled { opacity: .45; }
.pricing-cta { margin-top: auto; }

/* ---- CTA section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 4rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: 50%;
  transform: translateX(-50%); width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(201,169,110,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .875rem; }
.cta-title em { font-style: italic; color: var(--accent); }
.cta-sub { color: var(--text-secondary); font-size: .95rem; max-width: 460px; margin: 0 auto 2.25rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { font-family: var(--font-heading); font-size: 1.25rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.footer-brand span { color: var(--text); }
.footer-tagline { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.footer-col-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); margin-bottom: 1rem; }
.footer-link { display: block; font-size: .85rem; color: var(--text-muted); padding: .2rem 0; transition: color var(--transition); }
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem; font-size: .78rem; color: var(--text-muted);
}

/* ---- Sticky bottom bar (mobile) ---- */
.mobile-bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: .875rem 1.25rem;
  padding-bottom: calc(.875rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,10,.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  z-index: 100;
  gap: .625rem;
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .hero-visual { display: none; }
  .hero-inner  { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: none; margin: 0; }
  /* Stepper: 1 colonna su tablet, accordion attivo */
  .steps-accordion {
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  }
  .step-item {
    border: none; border-bottom: 1px solid var(--border);
    border-radius: 0; padding: 0;
    transition: background .15s;
  }
  .step-item:last-child { border-bottom: none; }
  .step-item:hover { box-shadow: none; border-color: transparent; }
  .step-item.open { background: var(--bg-elevated); }
  .step-header {
    cursor: pointer; padding: 1rem 1.25rem;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .step-header:active { background: rgba(255,255,255,.03); }
  .step-chevron { display: flex; }
  .step-item.open .step-chevron { transform: rotate(90deg); color: var(--accent); }
  .step-item.open .step-number { color: rgba(201,169,110,.35); }
  .step-body {
    max-height: 0; overflow: hidden; opacity: 0;
    margin-top: 0; padding: 0 1.25rem; border-top: none;
    transition: max-height .32s ease, opacity .22s ease, padding .22s ease;
  }
  .step-item.open .step-body {
    max-height: 220px; opacity: 1;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    min-height: 100dvh;
    padding-top: 70px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    justify-content: flex-start;
  }
  .hero-inner { padding: 1.5rem 1.25rem 0; gap: 0; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-subtitle { font-size: .9rem; margin-bottom: 1.5rem; }

  /* Path cards full width on mobile */
  .hero-paths { gap: .625rem; margin-bottom: 1.5rem; }
  .path-card  { padding: .875rem 1rem; }
  .path-icon  { width: 40px; height: 40px; font-size: 1.1rem; }
  .path-title { font-size: .9rem; }
  .path-sub   { display: none; }

  /* Stats scroll horizontal */
  .hero-stats { gap: 1.75rem; padding-top: 1.25rem; }
  .hero-stat-value { font-size: 1.4rem; }

  /* Trust strip — nessun override, il ticker funziona su tutti i dispositivi */

  /* How cards: horizontal scroll on mobile */
  .how-grid {
    display: flex; gap: 1rem;
    overflow-x: auto; scrollbar-width: none;
    padding-bottom: .5rem;
    grid-template-columns: unset;
  }
  .how-grid::-webkit-scrollbar { display: none; }
  .how-card { min-width: 240px; flex-shrink: 0; }

  /* Salon cards: 1 column */
  .salon-cards-grid { grid-template-columns: 1fr !important; }

  /* Features section: stack */
  .features-owner-grid { grid-template-columns: 1fr !important; }

  /* CTA */
  .cta-section { padding: 2.5rem 1.25rem; border-radius: var(--radius-lg); }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
  footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }

  /* Pricing: 1 colonna su mobile */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Show sticky bottom bar */
  .mobile-bottom-bar { display: flex; }
}

/* ============================================================
   PRICING CARDS — Metallic Shimmer Overlay
   ============================================================ */
@keyframes metalShimmer {
  0%   { background-position: -200% -200%; }
  100% { background-position: 200%  200%; }
}

/* Starter — Bronzo */
.pricing-card-starter {
  overflow: hidden;
  background: linear-gradient(160deg, #0d0b07 0%, #181208 60%, #0d0b07 100%) !important;
  border-color: rgba(160, 110, 50, 0.55) !important;
  box-shadow: 0 4px 32px rgba(160, 110, 50, 0.08), inset 0 1px 0 rgba(200, 150, 80, 0.08);
}
.pricing-card-starter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    transparent 0%,
    transparent 32%,
    rgba(160, 100, 40, 0.07) 40%,
    rgba(210, 150, 70, 0.18) 50%,
    rgba(160, 100, 40, 0.07) 60%,
    transparent 68%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: metalShimmer 28s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.pricing-card-starter .pricing-plan { color: #c8935a; }
.pricing-card-starter .pricing-amount,
.pricing-card-starter .pricing-currency { color: #c8935a; }

/* Pro — Platino */
.pricing-card-pro {
  overflow: hidden;
  background: linear-gradient(160deg, #0b0c10 0%, #131520 60%, #0b0c10 100%) !important;
  border-color: rgba(190, 205, 225, 0.45) !important;
  box-shadow: 0 4px 36px rgba(190, 205, 225, 0.08), inset 0 1px 0 rgba(220, 235, 255, 0.06);
}
.pricing-card-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    transparent 0%,
    transparent 30%,
    rgba(180, 200, 230, 0.07) 40%,
    rgba(230, 240, 255, 0.22) 50%,
    rgba(180, 200, 230, 0.07) 60%,
    transparent 70%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: metalShimmer 24s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.pricing-card-pro .pricing-badge {
  background: linear-gradient(135deg, #bcd0ea, #e0ecff, #bcd0ea) !important;
  color: #0a0a0a !important;
}
.pricing-card-pro .pricing-featured-plan { color: #c8dcf0 !important; }
.pricing-card-pro .pricing-amount,
.pricing-card-pro .pricing-currency { color: #b8d4f0 !important; }
.pricing-card-pro .pricing-check-yes { background: rgba(180,210,250,.12) !important; color: #b8d4f0 !important; }

/* Business — Oro */
.pricing-card-business {
  overflow: hidden;
  background: linear-gradient(160deg, #100d04 0%, #1e1606 60%, #100d04 100%) !important;
  border-color: rgba(201, 169, 110, 0.65) !important;
  box-shadow: 0 4px 40px rgba(201, 169, 110, 0.14), inset 0 1px 0 rgba(240, 200, 110, 0.10);
}
.pricing-card-business::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    transparent 0%,
    transparent 28%,
    rgba(201, 169, 110, 0.10) 38%,
    rgba(250, 210, 110, 0.28) 50%,
    rgba(201, 169, 110, 0.10) 62%,
    transparent 72%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: metalShimmer 20s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.pricing-card-business .pricing-badge {
  background: linear-gradient(135deg, #c9a96e, #e8c47e, #c9a96e) !important;
  color: #0a0a0a !important;
}
.pricing-card-business .pricing-plan { color: #e8c47e; }
.pricing-card-business .pricing-amount,
.pricing-card-business .pricing-currency { color: var(--accent); }

/* Ensure children stack above shimmer */
.pricing-card-starter > *,
.pricing-card-pro > *,
.pricing-card-business > * { position: relative; z-index: 1; }

/* ============================================================
   LAUNCH OFFER BANNER — Premium Rotating Border
   ============================================================ */
@keyframes rotateBorderAnim {
  to { transform: rotate(360deg); }
}
@keyframes bannerGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(201,169,110,0.15); }
  50%       { box-shadow: 0 0 32px rgba(201,169,110,0.30); }
}

.launch-banner-outer {
  position: relative;
  border-radius: 18px;
  padding: 2px;
  overflow: hidden;
  animation: bannerGlow 3s ease-in-out infinite;
}
.launch-banner-outer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260%;
  height: 260%;
  margin: -130% 0 0 -130%;
  background: conic-gradient(
    from 0deg,
    transparent   0deg,
    #7a5c2e      60deg,
    #c9a96e     100deg,
    #f0d080     130deg,
    #e8c47e     160deg,
    #c9a96e     190deg,
    #7a5c2e     230deg,
    transparent 270deg,
    transparent 360deg
  );
  animation: rotateBorderAnim 5s linear infinite;
  z-index: 0;
}
.launch-banner-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #120e05, #1e1608, #120e05);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.launch-banner-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,169,110,.18), rgba(201,169,110,.06));
  border: 1px solid rgba(201,169,110,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(201,169,110,.2);
}
.launch-banner-content { flex: 1; min-width: 0; }
.launch-banner-label {
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .2rem;
  opacity: .7;
}
.launch-banner-title {
  font-size: 1rem;
  font-weight: 800;
  color: #f5e0a8;
  line-height: 1.2;
  margin-bottom: .3rem;
}
.launch-banner-sub {
  font-size: .8rem;
  color: rgba(245,224,168,.7);
  line-height: 1.5;
  margin-bottom: .5rem;
}
.launch-banner-spots {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(201,169,110,.15);
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 20px;
  padding: .25rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 640px) {
  .launch-banner-outer { border-radius: 14px; }
  .launch-banner-inner { padding: .9rem 1rem; gap: .75rem; }
  .launch-banner-icon  { width: 40px; height: 40px; border-radius: 10px; }
  .launch-banner-title { font-size: .92rem; }
  .launch-banner-sub   { font-size: .75rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-tabs {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.faq-tab {
  padding: .55rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.faq-tab:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.faq-tab.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-panel {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: .975rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s ease;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-question.open {
  color: var(--accent);
}
.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform .25s ease;
  min-width: 1.3rem;
  text-align: center;
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer p {
  padding: 0 0 1.1rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 640px) {
  .faq-tabs { flex-direction: row; }
  .faq-tab  { flex: 1; text-align: center; padding: .5rem .8rem; font-size: .85rem; }
  .faq-question { font-size: .9rem; }
}

/* ============================================================
   NFC CARD SECTION
   ============================================================ */
.nfc-section {
  padding: 6rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: visible;
}
.nfc-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
}
/* --- Testo --- */
.nfc-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c9a96e;
  background: rgba(201,169,110,.1);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 2rem;
  padding: .35rem .85rem;
  margin-bottom: 1.5rem;
}
.nfc-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.1rem;
  font-family: var(--font-heading);
}
.nfc-title em { color: var(--accent); font-style: normal; }
.nfc-sub {
  font-size: .97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 1.75rem;
}
.nfc-pills {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}
.nfc-pill-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .875rem;
  color: var(--text-secondary);
}
.nfc-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.nfc-pill-item strong { color: var(--text); }
/* hint flip */
.nfc-flip-hint--mobile,
.nfc-flip-hint--desktop {
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: rgba(201,169,110,.5);
  margin-top: 1rem;
  letter-spacing: .04em;
}
.nfc-flip-hint--mobile  { display: none; }
.nfc-flip-hint--desktop { display: flex; }
@media (hover: none) {
  .nfc-flip-hint--desktop { display: none; }
  .nfc-flip-hint--mobile  { display: flex; }
}

/* --- Carta 3D --- */
.nfc-card-scene {
  width: 360px;
  height: 226px;
  perspective: 1200px;
  flex-shrink: 0;
  cursor: pointer;
}
.nfc-card {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.4,0,.2,1);
  animation: cardFloat 5s ease-in-out infinite;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(201,169,110,.28), 0 4px 16px rgba(0,0,0,.6);
}
/* Desktop con hover reale: la carta si gira al passaggio del mouse */
@media (hover: hover) {
  .nfc-card-scene:hover .nfc-card {
    transform: rotateY(180deg);
    animation: none;
  }
}
/* Touch/mobile: la carta si gira solo via classe JS al tap */
@media (hover: none) {
  .nfc-card-scene.flipped .nfc-card {
    transform: rotateY(180deg);
    animation: none;
  }
}
@keyframes cardFloat {
  0%   { transform: rotateX(4deg) rotateY(-6deg); }
  50%  { transform: rotateX(-2deg) rotateY(6deg); }
  100% { transform: rotateX(4deg) rotateY(-6deg); }
}

/* Facce comuni */
.nfc-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  overflow: hidden;
  /* Sfondo: nero + striature diagonali dorate */
  background:
    /* highlight centrale */
    linear-gradient(40deg, transparent 30%, rgba(201,169,110,.22) 50%, transparent 70%),
    /* striature sottili */
    repeating-linear-gradient(
      40deg,
      transparent,
      transparent 18px,
      rgba(201,169,110,.07) 18px,
      rgba(201,169,110,.07) 19px
    ),
    #000;
  border: 1px solid rgba(201,169,110,.35);
}
.nfc-face-back {
  transform: rotateY(180deg);
}

/* Decorazioni angoli (SVG via clip) */
.nfc-corner {
  position: absolute;
  pointer-events: none;
}
.nfc-corner-tl { top: -2px; left: -2px; }
.nfc-corner-br { bottom: -2px; right: -2px; transform: rotate(180deg); }

/* --- FRONTE --- */
.nfc-front-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1.1rem;
}
.nfc-logo-icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
}
.nfc-logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.nfc-logo-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.nfc-logo-name span { color: rgba(255,255,255,.7); font-weight: 400; }
.nfc-logo-sub {
  font-size: .5rem;
  letter-spacing: .18em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: .1rem;
}
/* NFC tag in alto a destra */
.nfc-tag-fr {
  position: absolute;
  top: .7rem;
  right: .9rem;
  opacity: .6;
}

/* --- RETRO --- */
.nfc-back-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
/* Icona NFC */
.nfc-icon-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.nfc-icon-box {
  width: 64px; height: 64px;
  background: #c9a96e;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nfc-icon-label {
  font-size: .9rem;
  font-weight: 800;
  color: #000;
  letter-spacing: .06em;
}
/* QR simulato */
.nfc-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.nfc-qr-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 2px;
  width: 78px; height: 78px;
}
.nfc-qr-cell {
  border-radius: 1px;
  background: transparent;
}
.nfc-qr-cell.on  { background: #c9a96e; }
.nfc-qr-cell.big { border-radius: 3px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .nfc-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.5rem;
    text-align: center;
  }
  .nfc-sub, .nfc-pills { margin-left: auto; margin-right: auto; }
  .nfc-pills { align-items: center; }
  /* annulla desktop media query dentro ≤900px */
  .nfc-anim-stage {
    width: 100%;
    max-width: 440px;
    height: 480px;
  }
}
@media (max-width: 480px) {
  .nfc-card-scene { width: 300px; height: 189px; }
  .nfc-logo-icon  { width: 56px; height: 56px; }
  .nfc-logo-name  { font-size: 1.2rem; }
  .nfc-front-content { padding: 0 1.25rem; gap: .75rem; }
  .nfc-back-content  { gap: 1.5rem; }
  .nfc-icon-box { width: 50px; height: 50px; border-radius: 11px; }
  .nfc-qr-grid  { width: 62px; height: 62px; }
}

/* =======================================================
   NFC ANIMATION STAGE
   ======================================================= */
.nfc-anim-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
  flex-shrink: 0;
  perspective: 1200px;
}

/* Desktop: stage più alto così la carta fluttua senza uscire dai bordi */
@media (min-width: 601px) {
  .nfc-anim-stage {
    width: 480px;
    max-width: 480px;
    height: 560px;
  }
  /* Su desktop la carta sale di più ma resta dentro la stage più alta */
  .nfc-anim-stage.ph1 .nfc-anim-card-wrap,
  .nfc-anim-stage.ph2 .nfc-anim-card-wrap,
  .nfc-anim-stage.ph3 .nfc-anim-card-wrap { transform: translateX(-50%) translateY(-220px) !important; }
  .nfc-anim-stage.ph2 .nfc-anim-card-wrap { animation: nfcFloatDk 4s ease-in-out infinite !important; }
  .nfc-anim-stage.ph4 .nfc-anim-card-wrap { transform: translateX(-8%) translateY(-90px) scale(.55) !important; }
  @keyframes nfcFloatDk { 0%,100%{transform:translateX(-50%) translateY(-220px)} 50%{transform:translateX(-50%) translateY(-236px)} }
  .nfc-phone-wrap { right: 10px; bottom: 70px; }
  .nfc-phone { width: 120px; height: 228px; }
  .nfc-env-wrap { bottom: 30px; }
  .nfc-envelope { width: 300px; height: 180px; }
  .nfc-anim-card-wrap { width: 340px; bottom: 120px; }
}

/* --- BUSTA --- */
.nfc-env-wrap {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: opacity .5s ease;
}
.nfc-anim-stage.ph1 .nfc-env-wrap,
.nfc-anim-stage.ph2 .nfc-env-wrap,
.nfc-anim-stage.ph3 .nfc-env-wrap,
.nfc-anim-stage.ph4 .nfc-env-wrap { opacity: 0; }

.nfc-envelope {
  position: relative;
  width: 300px;
  height: 180px;
}
.nfc-env-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1e1708, #0e0b05);
  border: 1.5px solid rgba(201,169,110,.5);
  border-radius: 4px 4px 10px 10px;
  overflow: hidden;
}
.nfc-env-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: rgba(201,169,110,.04);
  border-right: 1px solid rgba(201,169,110,.2);
}
.nfc-env-body::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: rgba(201,169,110,.04);
}
.nfc-env-lines {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nfc-env-line {
  height: 2px;
  width: 100px;
  background: rgba(201,169,110,.18);
  border-radius: 1px;
}
.nfc-env-line:last-child { width: 60px; }
.nfc-env-flap {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 55%;
  background: linear-gradient(170deg, #251c08, #0e0b05);
  border: 1.5px solid rgba(201,169,110,.4);
  border-bottom: 1px solid rgba(201,169,110,.3);
  clip-path: polygon(0 0, 100% 0, 50% 80%);
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform .8s cubic-bezier(.4,0,.2,1);
  z-index: 4;
  border-radius: 4px 4px 0 0;
}
.nfc-anim-stage.ph1 .nfc-env-flap { transform: rotateX(-170deg); }

/* --- CARTA ANIMATA --- */
.nfc-anim-card-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  bottom: 110px;
  z-index: 2;
  width: min(340px, 90%);
  height: auto;
  aspect-ratio: 85.6 / 53.98; /* proporzioni carta di credito standard */
  transform-style: preserve-3d;
  opacity: 0;
  transition: transform .9s cubic-bezier(.32,.72,0,1), opacity .6s ease;
}
.nfc-anim-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.4,0,.2,1);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(201,169,110,.28), 0 4px 16px rgba(0,0,0,.6);
}

/* Phase 1: carta sale dalla busta */
.nfc-anim-stage.ph1 .nfc-anim-card-wrap {
  opacity: 1;
  transform: translateX(-50%) translateY(-190px);
  z-index: 5;
}
/* Phase 2: carta fluttua */
.nfc-anim-stage.ph2 .nfc-anim-card-wrap {
  opacity: 1;
  transform: translateX(-50%) translateY(-190px);
  z-index: 5;
  animation: nfcFloat 4s ease-in-out infinite;
}
/* Phase 3: flip */
.nfc-anim-stage.ph3 .nfc-anim-card-wrap {
  opacity: 1;
  transform: translateX(-50%) translateY(-190px);
  z-index: 5;
}
.nfc-anim-stage.ph3 .nfc-anim-card {
  transform: rotateY(180deg);
}
/* Phase 4: carta va DIETRO il telefono */
.nfc-anim-stage.ph4 .nfc-anim-card-wrap {
  opacity: 1;
  transform: translateX(-10%) translateY(-80px) scale(.55);
  z-index: 4;
  transition: transform 1.1s cubic-bezier(.32,.72,0,1), opacity .6s;
}

@keyframes nfcFloat {
  0%, 100% { transform: translateX(-50%) translateY(-190px); }
  50%       { transform: translateX(-50%) translateY(-208px); }
}

/* --- PILLOLE FEATURE (rimosse dall'animazione) --- */

/* --- SMARTPHONE (z-index > carta) --- */
.nfc-phone-wrap {
  position: absolute;
  right: -20px;
  bottom: 60px;
  z-index: 10;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .7s ease, transform .7s ease;
}
.nfc-anim-stage.ph4 .nfc-phone-wrap {
  opacity: 1;
  transform: translateX(0);
}
.nfc-phone {
  width: 116px;
  height: 220px;
  background: #0d0d0d;
  border: 2px solid rgba(201,169,110,.28);
  border-radius: 26px;
  overflow: visible;
  position: relative;
  box-shadow: 0 20px 56px rgba(0,0,0,.75), 0 0 0 1px rgba(201,169,110,.08);
}
.nfc-phone-notch {
  width: 38px; height: 6px;
  background: rgba(201,169,110,.18);
  border-radius: 3px;
  margin: 8px auto 0;
}
.nfc-phone-screen {
  padding: 8px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity .5s .6s;
  position: relative;
  overflow: visible;
}
.nfc-anim-stage.ph4 .nfc-phone-screen { opacity: 1; }
.nfc-screen-cover {
  height: 50px;
  background: linear-gradient(135deg, rgba(201,169,110,.22), rgba(0,0,0,.45));
  border-radius: 8px;
  margin-bottom: 3px;
}
.nfc-screen-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nfc-screen-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e, #7a5c20);
  flex-shrink: 0;
}
.nfc-screen-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nfc-screen-line {
  height: 5px;
  background: rgba(255,255,255,.14);
  border-radius: 2px;
  width: 100%;
}
.nfc-screen-line:first-child { background: rgba(255,255,255,.28); }
.nfc-screen-btn-sm {
  height: 16px;
  background: rgba(201,169,110,.75);
  border-radius: 8px;
}
.nfc-screen-slots-sm {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nfc-screen-slot-sm {
  height: 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,169,110,.12);
  border-radius: 6px;
}

/* --- PROFILO SALONE OVERLAY full-stage (appare in ph4) --- */
.nfc-profile-overlay {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  border-radius: 26px;
  border: 2px solid rgba(201,169,110,.4);
  z-index: 15;
  opacity: 0;
  /* parte dalla zona del telefono (in basso a destra) e si espande */
  transform: scale(0.18);
  transform-origin: 85% 85%; /* zona del telefono in basso a destra */
  transition: opacity .75s .85s, transform .75s .85s cubic-bezier(.22,.72,0,1), border-radius .75s .85s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.nfc-anim-stage.ph4 .nfc-profile-overlay {
  opacity: 1;
  transform: scale(1);
  border-radius: 20px;
}

/* Hero */
.npo-hero {
  position: relative;
  height: 200px;
  flex-shrink: 0;
  background: #1a1a1a;
  overflow: hidden;
}
.npo-hero-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1408 0%, #0e0a04 40%, #1a1208 70%, #0d0b06 100%);
}
.npo-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.1) 100%);
}
.npo-hero-top {
  position: absolute;
  top: .75rem;
  left: .75rem;
}
.npo-back-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.npo-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .875rem 1rem;
}
.npo-verified-tag {
  display: inline-block;
  background: #c9a96e;
  color: #0d0d0d;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 99px;
  margin-bottom: .45rem;
}
.npo-salon-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .4rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.npo-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
}
.npo-rating {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  padding: .2rem .55rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.npo-addr {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
}

/* Trust badges */
.npo-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.npo-trust-badge {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 99px;
  padding: .25rem .65rem;
  font-size: .68rem;
  color: #e0c48a;
  font-weight: 600;
}

/* Sezione servizi */
.npo-section {
  padding: .8rem 1rem 0;
  flex: 1;
}
.npo-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.npo-section-title::before {
  content: '';
  display: block;
  width: 3px; height: .9em;
  background: #c9a96e;
  border-radius: 2px;
  flex-shrink: 0;
}
.npo-service-list {
  background: #141414;
  border: 1px solid rgba(201,169,110,.15);
  border-radius: 12px;
  overflow: hidden;
}
.npo-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.npo-service:last-child { border-bottom: none; }
.npo-svc-name {
  font-size: .82rem;
  font-weight: 600;
  color: #e8e0d0;
}
.npo-svc-price {
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: #c9a96e;
}

/* CTA */
.npo-cta-bar {
  padding: .75rem 1rem 1rem;
  flex-shrink: 0;
}
.npo-cta-btn {
  width: 100%;
  padding: .7rem;
  background: linear-gradient(135deg, #c9a96e, #a07840);
  color: #0d0d0d;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: default;
  box-shadow: 0 4px 16px rgba(201,169,110,.35);
}

/* --- RIPPLE NFC --- */
.nfc-ripple-wrap {
  position: absolute;
  top: 50px;
  left: -28px;
  width: 56px;
  height: 56px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s .9s;
}
.nfc-anim-stage.ph4 .nfc-ripple-wrap { opacity: 1; }
.nfc-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.8px solid rgba(201,169,110,.65);
  animation: nfcRipple 1.5s ease-out infinite;
}
@keyframes nfcRipple {
  0%   { transform: scale(.5); opacity: .9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* --- PHASE OUT --- */
.nfc-anim-stage.ph-out {
  opacity: 0;
  transition: opacity .6s ease !important;
}
/* Reset istantaneo dell'overlay durante ph-out per evitare flash al loop successivo */
.nfc-anim-stage.ph-out .nfc-profile-overlay {
  opacity: 0 !important;
  transform: scale(0.18) !important;
  transition: none !important;
}

/* --- RESPONSIVE mobile-first --- */

/* Schermi molto piccoli (≤360px — iPhone SE, Android compatti) */
@media (max-width: 360px) {
  .nfc-anim-stage { height: 380px; }
  .nfc-envelope { width: 200px; height: 122px; }
  .nfc-anim-card-wrap { width: min(260px, 92%); bottom: 60px; }
  .nfc-anim-stage.ph1 .nfc-anim-card-wrap,
  .nfc-anim-stage.ph2 .nfc-anim-card-wrap,
  .nfc-anim-stage.ph3 .nfc-anim-card-wrap { transform: translateX(-50%) translateY(-100px) !important; }
  .nfc-anim-stage.ph2 .nfc-anim-card-wrap { animation: nfcFloatXs 4s ease-in-out infinite; }
  @keyframes nfcFloatXs { 0%,100%{transform:translateX(-50%) translateY(-100px)} 50%{transform:translateX(-50%) translateY(-114px)} }
  .nfc-anim-stage.ph4 .nfc-anim-card-wrap { transform: translateX(-8%) translateY(-50px) scale(.50) !important; }
  .nfc-phone { width: 82px; height: 158px; }
  .nfc-phone-wrap { right: 4px; bottom: 50px; }
  .npo-hero { height: 150px; }
  .npo-salon-name { font-size: 1.05rem; }
}

/* Schermi medi (361–600px — iPhone 14, Android standard) */
@media (min-width: 361px) and (max-width: 600px) {
  .nfc-anim-stage { height: 420px; }
  .nfc-envelope { width: 240px; height: 146px; }
  .nfc-anim-card-wrap { width: min(300px, 90%); bottom: 70px; }
  .nfc-anim-stage.ph1 .nfc-anim-card-wrap,
  .nfc-anim-stage.ph2 .nfc-anim-card-wrap,
  .nfc-anim-stage.ph3 .nfc-anim-card-wrap { transform: translateX(-50%) translateY(-120px) !important; }
  .nfc-anim-stage.ph2 .nfc-anim-card-wrap { animation: nfcFloatSm 4s ease-in-out infinite; }
  @keyframes nfcFloatSm { 0%,100%{transform:translateX(-50%) translateY(-120px)} 50%{transform:translateX(-50%) translateY(-134px)} }
  .nfc-anim-stage.ph4 .nfc-anim-card-wrap { transform: translateX(-8%) translateY(-55px) scale(.50) !important; }
  .nfc-phone { width: 90px; height: 172px; }
  .nfc-phone-wrap { right: 4px; bottom: 55px; }
  .npo-hero { height: 170px; }
  .npo-salon-name { font-size: 1.15rem; }
}
