/* /ellebox montata sulle tavole ChatGPT di Social (9/11/2026:
   ellebox_desktop_parte1-4, ellebox_iphone) e sulle icone 3D di
   pagine/ellebox/tavole/icone (in /img/ebx). Testi invariati; le foto
   restano quelle reali. Caricato dopo lo stile in linea della pagina. */

/* Vetro con bordo neon, come nelle tavole */
.eb-shot, .eb-launch, .eb-fact, .eb-feat > div, .eb-where > div, .eb-cards > div,
.eb-notif, .eb-laundry, .eb-portcard, .eb-spec-wrap, .eb-pay, .eb-price,
.eb-terms > div, .eb-doc {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 45%), rgba(20, 22, 58, .55);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 26px rgba(146, 83, 251, .14), 0 14px 40px rgba(0, 0, 0, .28);
}
.eb-shot::after, .eb-launch::after, .eb-fact::after, .eb-feat > div::after, .eb-where > div::after,
.eb-cards > div::after, .eb-notif::after, .eb-laundry::after, .eb-portcard::after,
.eb-pay::after, .eb-price::after, .eb-terms > div::after, .eb-doc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-brand);
  opacity: .75;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.eb-fact::before { display: none; }
.ebi { display: block; object-fit: contain; filter: drop-shadow(0 0 12px rgba(146, 83, 251, .35)); }
.ebi.lg { width: 64px; height: 64px; }

/* ---- Apertura ---- */
.eb-hero h1.eb-grad, .eb-grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eb-shot { padding: 16px 16px 12px; }
.eb-shot img { border-radius: 14px; }
.eb-shot { overflow: visible; }
.eb-chips { gap: 8px; margin-top: 16px; }
.eb-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; font-size: 10.5px; letter-spacing: 1px;
  color: #fff;
  background: rgba(20, 22, 58, .7);
  border: 1px solid rgba(35, 236, 249, .55);
  box-shadow: 0 0 12px rgba(35, 236, 249, .18);
}
.eb-chip.m { color: #fff; border-color: rgba(35, 236, 249, .55); }
.eb-chip:nth-child(5n) { border-color: rgba(251, 73, 200, .6); }
.eb-chip .ebi { width: 18px; height: 18px; }

/* Barra prezzi: monete, testo, pulsante */
.eb-launch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 28px;
  text-align: left;
  margin-top: 10px;
}
.eb-launch .ebi { width: 78px; height: 78px; }
.eb-launch-t { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.eb-launch-t span:first-child { font-size: 19px; color: #fff; }
.eb-launch .btn { text-decoration: none; padding: 14px 34px; }

/* Tre card: icona a sinistra, titolo e testo a destra */
.eb-fact { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; align-content: start; column-gap: 16px; padding: 24px; }
.eb-fact .ebi { grid-row: 1 / span 2; width: 70px; height: 70px; }
.eb-fact h3, .eb-fact p { grid-column: 2; }

/* ---- Cosa fa: 4 × 2 card ---- */
.eb-feat { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-top: 0; }
.eb-feat > div, .eb-feat > div:nth-child(even) {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  padding: 20px;
  border: 0;
  border-left: 0;
}
.eb-feat > div > .ebi { grid-row: 1; grid-column: 1; width: 60px; height: 60px; }
.eb-feat .n {
  grid-row: 1; grid-column: 2;
  font-size: 26px; font-weight: 800; letter-spacing: 0;
  color: var(--neon-teal); padding: 0 0 0 14px;
  border-left: 1px solid rgba(202, 211, 255, .25);
  align-self: center;
}
.eb-feat > div > div { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; }
.eb-feat h4 { font-size: 17px; }

/* ---- Dove si usa: icona a sinistra, titolo e spunte ---- */
.eb-where > div { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 20px; padding: 26px; }
.eb-where > div > .ebi { grid-row: 1 / span 2; width: 92px; height: 92px; align-self: center; }
.eb-where h4, .eb-where ul { grid-column: 2; }
.eb-where li { padding-left: 26px; }
.eb-where li::before {
  content: '✓'; width: auto; height: auto; top: 0; left: 0;
  background: none; color: var(--neon-teal); font-weight: 800;
}

/* ---- ElleBox + MyInfinity: due colonne come nella tavola ---- */
.ebn-cols { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.eb-flow .dot {
  width: 96px; height: 96px; border-radius: 26px;
  background: rgba(20, 22, 58, .8);
  border: 1.5px solid rgba(35, 236, 249, .6);
  box-shadow: 0 0 24px rgba(146, 83, 251, .3);
}
.eb-flow .dot .ebi { width: 66px; height: 66px; }
.eb-flow::before { top: 48px; }
.eb-cards > div { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; align-content: start; column-gap: 12px; padding: 18px; }
.eb-cards > div > .ebi { grid-row: 1 / span 2; width: 50px; height: 50px; }
.eb-cards h4, .eb-cards p { grid-column: 2; }
.eb-notif { margin-top: 22px; }
.eb-n { background: rgba(8, 9, 27, .45); }
.eb-n .e .ebi { width: 34px; height: 34px; }
.eb-laundry { margin-top: 0; display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; align-content: start; column-gap: 18px; padding: 24px; }
.eb-laundry .ebi { grid-row: 1 / span 2; width: 92px; height: 92px; }
.eb-laundry h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.eb-laundry p { grid-column: 2; font-size: 14px; color: var(--neon-testo-2); }
.eb-portcard { margin-top: 22px; padding: 26px; }
.eb-portcard h3 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.eb-portcard h3 .accent { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eb-portcard > p { font-size: 14px; color: var(--neon-testo-2); margin-bottom: 10px; }
.eb-portlist li { font-size: 13.5px; padding: 8px 0; }
.eb-portlist .k { color: #08091B; background: var(--neon-teal); box-shadow: 0 0 10px rgba(35, 236, 249, .5); }
.eb-portlist .k.a { background: var(--neon-rosa); color: #fff; }

/* ---- Le viste e la scheda tecnica ---- */
#viste { padding-top: 40px; }
.eb-viste h2 { text-align: center; }
.eb-viste img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(202, 211, 255, .15); }
.eb-spec {
  margin-top: 30px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 45%), rgba(20, 22, 58, .55);
  box-shadow: 0 0 0 1.5px rgba(146, 83, 251, .55), 0 0 26px rgba(146, 83, 251, .14);
}
.eb-spec th, .eb-spec td { padding: 10px 26px; border-bottom: 1px solid rgba(202, 211, 255, .10); }
.eb-spec th { color: #fff; font-weight: 700; }
.eb-spec td { color: var(--neon-testo-2); }

/* ---- ElleBox Pay: card orizzontale ---- */
.eb-pay { grid-template-columns: 220px 1fr; padding: 28px 34px; }
.eb-pay-shot img { max-width: 210px; filter: drop-shadow(0 0 24px rgba(251, 73, 200, .35)); }
.eb-pay .amt { font-size: 46px; }
.eb-pay li::before { color: var(--neon-teal); }

/* ---- Prezzi: card con icona a sinistra ---- */
.eb-offer { max-width: 1100px; }
.eb-price, .eb-price.hl {
  display: grid; grid-template-columns: 120px 1fr; align-content: start; column-gap: 22px;
  background: linear-gradient(135deg, rgba(35, 236, 249, .06), rgba(146, 83, 251, .16) 55%, rgba(251, 73, 200, .08)), rgba(20, 22, 58, .55);
}
.eb-price > .ebi { grid-row: 1 / span 6; width: 112px; height: 112px; align-self: center; }
.eb-price > *:not(.ebi) { grid-column: 2; }
.eb-price .lbl { color: var(--neon-teal); }
.eb-price .btn { justify-self: start; }
.eb-price .btn-ghost { background: var(--gradient-brand); border: 0; color: #fff; }
.eb-terms { max-width: 1100px; }
.eb-terms > div { display: block; padding: 16px 16px 16px 70px; }
.eb-terms > div > .ebi { position: absolute; left: 14px; top: 16px; width: 44px; height: 44px; }
.eb-terms > div > b, .eb-terms > div { color: var(--neon-testo-2); }
.eb-offer-cta { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }

/* ---- Brochure: icona libro a sinistra, pulsante a destra ---- */
.eb-doc { display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; padding: 22px 30px; }
.eb-doc .ebi { width: 84px; height: 84px; }

/* ---- Telefono (tavola iPhone) ---- */
@media (max-width: 1000px) {
  .eb-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ebn-cols { grid-template-columns: 1fr; }
  .eb-portcard { margin-top: 18px; }
}
@media (max-width: 900px) {
  .eb-hero { padding-bottom: 20px; }
  .eb-shot .eb-chips { position: static; margin-top: 16px; }
}
@media (max-width: 760px) {
  .eb-feat { grid-template-columns: 1fr; }
  .eb-launch { grid-template-columns: auto 1fr; }
  .eb-launch .btn { grid-column: 1 / -1; justify-self: center; }
  .eb-launch .ebi { width: 56px; height: 56px; }
  .eb-price, .eb-price.hl { grid-template-columns: 84px 1fr; padding: 22px; }
  .eb-price > .ebi { width: 80px; height: 80px; align-self: start; }
  .eb-terms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .eb-terms > div { text-align: center; padding: 12px 6px; font-size: 11px; }
  .eb-terms b { font-size: 11.5px; overflow-wrap: anywhere; hyphens: auto; }
  .eb-price .amt { font-size: 42px; }
  .eb-terms > div > .ebi { position: static; margin: 0 auto 6px; width: 36px; height: 36px; }
  .eb-doc { grid-template-columns: 64px 1fr; }
  .eb-doc .ebi { width: 60px; height: 60px; }
  .eb-doc .btn { grid-column: 1 / -1; justify-self: center; }
  .eb-pay { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .eb-where > div, .eb-laundry { grid-template-columns: 72px 1fr; padding: 20px; }
  .eb-where > div > .ebi, .eb-laundry .ebi { width: 68px; height: 68px; }
  .eb-cards > div { padding: 18px; }
  .eb-fact { grid-template-columns: 60px 1fr; }
  .eb-fact .ebi { width: 56px; height: 56px; }
}
