/* ==========================================================================
   Landing pubblica (frontend/index.html + landing-en.html).
   Va caricato DOPO style.css: riusa variabili, .card, .btn, .badge, table.
   Tutto e' namespaced sotto .landing per non toccare la SPA (/login).
   ========================================================================== */

.landing {
  --maxw: 1120px;
  --accent-2: #8b5cf6;
  --woo: #9b6fd6;
  --ebay-r: #e53238; --ebay-b: #0064d2; --ebay-y: #f5af02; --ebay-g: #86b817;
  line-height: 1.55;
  overflow-x: hidden;
}
.landing .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.landing h1, .landing h2, .landing h3, .landing h4 { color: var(--text); letter-spacing: -.02em; }
.landing h2 { text-transform: none; letter-spacing: -.02em; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; margin: 0 0 .75rem; }
.landing h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.landing h4 { font-size: 1rem; margin: 0 0 .3rem; }
.landing p { margin: 0 0 1rem; }
.landing .muted { font-size: inherit; }
.landing a { color: var(--accent); }
.landing .grad {
  background: linear-gradient(90deg, #6d9bff 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.landing .icon { width: 1.1em; height: 1.1em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* bottoni: estende a.btn di style.css */
.landing .btn { border-radius: 8px; font-weight: 500; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.landing .btn:hover { transform: translateY(-1px); }
.landing a.btn { color: #fff; box-shadow: 0 0 0 1px rgba(79,124,255,.35), 0 8px 24px -12px rgba(79,124,255,.8); }
.landing a.btn.secondary { color: var(--text); box-shadow: none; }
.landing a.btn.secondary:hover { background: var(--hover-bg); }
.landing .btn.lg { padding: .8rem 1.4rem; font-size: 1rem; }

/* --- nav sticky --- */
/* Sfondo dal tema (chiaro di default da style.css): prima era scuro fisso e
   sul tema chiaro nome e "Accedi" non si leggevano. */
.l-nav { position: sticky; top: 0; z-index: 50; background: var(--bg); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.l-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
.l-nav .brand { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.l-nav .brand small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.l-nav .links { display: flex; align-items: center; gap: 1.5rem; }
.l-nav .links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.l-nav .links a:hover { color: var(--text); }
.l-nav .links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.l-nav .actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); margin: 0; padding: .4rem .55rem; font-size: 1.1rem; line-height: 1; }

/* --- hero --- */
.hero { position: relative; padding: 4.5rem 0 3.5rem; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 600px; pointer-events: none; z-index: -1;
  background: radial-gradient(600px 300px at 30% 30%, rgba(79,124,255,.22), transparent 70%),
              radial-gradient(500px 300px at 75% 20%, rgba(139,92,246,.16), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 1rem 0 1.25rem; font-weight: 700; }
.hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin-bottom: 1.75rem; }
.hero .cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .7rem .3rem .4rem; border: 1px solid var(--border); border-radius: 999px; font-size: .78rem; color: var(--muted); background: rgba(255,255,255,.02); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(62,207,142,.2); margin-left: .3rem; }
.pill b { color: var(--text); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.trust li { display: flex; align-items: center; gap: .4rem; }
.trust .icon { color: var(--ok); }

/* --- hero visual: flowbar + finestra mock + chip fluttuanti --- */
.hero-visual { position: relative; min-width: 0; }
.tab-visual, .mock { min-width: 0; }
.flowbar { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1rem; font-size: .85rem; }
.flowbar .node { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 8px; background: var(--card); font-weight: 600; }
.flowbar .node .sq { width: 10px; height: 10px; border-radius: 3px; }
.flowbar .line { flex: 1; max-width: 140px; height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .7; }
.flowbar .line::before, .flowbar .line::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: flow 2.2s linear infinite; }
.flowbar .line::after { animation-delay: -1.1s; animation-direction: reverse; top: -3px; }
@keyframes flow { from { left: 0; } to { left: calc(100% - 8px); } }
.ebay-word { font-weight: 800; letter-spacing: -.03em; }
.ebay-word i { font-style: normal; }
.ebay-word i:nth-child(1) { color: var(--ebay-r); } .ebay-word i:nth-child(2) { color: var(--ebay-b); }
.ebay-word i:nth-child(3) { color: var(--ebay-y); } .ebay-word i:nth-child(4) { color: var(--ebay-g); }

.mock { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; font-size: .8rem; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--muted); font-size: .75rem; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: inline-block; }
.mock-bar span { margin-left: .5rem; }
.mock table { font-size: .78rem; white-space: nowrap; }
.mock th { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
.mock td, .mock th { padding: .5rem .7rem; }
.mock tr:last-child td { border-bottom: 0; }
.mock .thumb { width: 22px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, #2a2e38, #3a3f4d); display: inline-block; vertical-align: middle; margin-right: .5rem; }
.mock .btn-mini { display: inline-block; padding: .2rem .5rem; border-radius: 5px; font-size: .7rem; font-weight: 500; border: 1px solid var(--border); color: var(--text); }
.mock .btn-mini.orange { border-color: rgba(245,166,35,.5); color: var(--warn); }
.mock .btn-mini.green { border-color: rgba(62,207,142,.5); color: var(--ok); }
.badge.prepared { background: rgba(79,124,255,.15); color: var(--accent); }
.badge.verified { background: rgba(139,92,246,.14); color: #7c3aed; }
.badge.published { background: rgba(62,207,142,.15); color: var(--ok); }
.badge.error { background: rgba(255,92,92,.15); color: var(--danger); }

.float-chip { position: absolute; display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; font-size: .78rem; box-shadow: 0 16px 40px -16px rgba(0,0,0,.9); animation: floaty 6s ease-in-out infinite; }
.float-chip .icon { color: var(--ok); }
.float-chip b { font-weight: 600; }
.float-chip small { color: var(--muted); display: block; }
.float-chip.c1 { right: -14px; top: 30px; animation-delay: -1s; }
.hero .mock table { width: 100%; table-layout: auto; font-size: .75rem; }
.hero .mock td, .hero .mock th { padding: .45rem .55rem; }
.hero .mock td:first-child { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.float-chip.c2 { left: -18px; bottom: -14px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* --- strip di fatti --- */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.015); }
.facts .wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.fact { display: flex; flex-direction: column; gap: .15rem; font-size: .8rem; color: var(--muted); }
.fact b { color: var(--text); font-size: .95rem; font-weight: 600; }

/* --- sezioni --- */
.section { padding: 5rem 0; }
.section.tight { padding-top: 3rem; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 600; margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* --- per chi e' --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.landing .card { margin-bottom: 0; }
.icon-box { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(79,124,255,.12); color: var(--accent); margin-bottom: 1rem; }
.icon-box .icon { width: 20px; height: 20px; }
.icon-box.violet { background: rgba(139,92,246,.12); color: #7c3aed; }
.icon-box.green { background: rgba(62,207,142,.12); color: var(--ok); }
.icon-box.orange { background: rgba(245,166,35,.12); color: var(--warn); }
.card p { color: var(--muted); font-size: .92rem; }
.card p:last-child { margin-bottom: 0; }
.card ul.plain { margin: .75rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.card ul.plain li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .4rem; }
.card ul.plain .icon { color: var(--ok); margin-top: .15rem; }

/* --- come funziona --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; font-size: .85rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.step .mini { margin-top: 1rem; padding: .6rem .75rem; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); font-size: .75rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.step .mini b { color: var(--text); font-weight: 500; }
.step .mini .ok { color: var(--ok); }

/* --- funzioni a tab --- */
.tabs-nav { display: flex; gap: .35rem; margin-bottom: 2rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; border-bottom: 1px solid var(--border); }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { margin: 0; background: none; color: var(--muted); border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: .7rem .9rem; font-size: .92rem; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; margin-bottom: -1px; }
.tab-btn:hover { color: var(--text); }
.tab-btn[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tab-btn .icon { width: 1rem; height: 1rem; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; }
.tab-panel[hidden] { display: none; }
.tab-visual { position: sticky; top: 90px; }
.tab-visual .caption { color: var(--muted); font-size: .8rem; margin: .75rem 0 0; text-align: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
.feature { display: flex; gap: .85rem; align-items: flex-start; }
.feature .icon-box { width: 34px; height: 34px; margin: 0; border-radius: 8px; flex-shrink: 0; }
.feature .icon-box .icon { width: 17px; height: 17px; }
.feature h4 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.feature p { color: var(--muted); font-size: .88rem; margin: 0; }
.tag-pro { display: inline-block; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; padding: .1rem .4rem; border-radius: 4px; background: rgba(139,92,246,.12); color: #7c3aed; font-weight: 600; }

/* mock: stepper prepara/verifica/pubblica */
.mock .pad { padding: 1rem; }
.stepper { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.stepper span { flex: 1; text-align: center; padding: .45rem .3rem; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); font-size: .75rem; }
.stepper span.done { border-color: rgba(62,207,142,.5); color: var(--ok); }
.stepper span.now { border-color: var(--accent); color: var(--text); background: rgba(79,124,255,.1); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .8rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist .icon { color: var(--ok); }
.checklist li.warn .icon { color: var(--warn); }
.checklist li .r { margin-left: auto; color: var(--muted); font-size: .72rem; }

/* mock: timeline sync */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 62px 1fr auto; gap: .75rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .78rem; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.timeline .ev b { font-weight: 600; }
.timeline .ev small { display: block; color: var(--muted); }
.timeline .st { font-size: .7rem; color: var(--ok); }
.timeline .st.wait { color: var(--muted); }

/* mock: kv (profilo prezzo / account) */
.kv { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-size: .78rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); }
.kv dd code { font-size: .72rem; }
.mock .row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .8rem; }
.mock .row:last-child { border-bottom: 0; }
.mock .row small { color: var(--muted); display: block; font-size: .72rem; }
.mock .bar { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.mock .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.mock .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mock .stat { padding: .7rem .8rem; border: 1px solid var(--border); border-radius: 8px; }
.mock .stat b { display: block; font-size: 1.2rem; font-weight: 600; }
.mock .stat small { color: var(--muted); font-size: .7rem; }
.mock .log { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; line-height: 1.7; color: var(--muted); }
.mock .log .i { color: var(--accent); } .mock .log .o { color: var(--ok); } .mock .log .w { color: var(--warn); }
.mock .log b { color: var(--text); font-weight: 500; }
.flag { display: inline-block; font-size: .7rem; padding: .15rem .45rem; border: 1px solid var(--border); border-radius: 5px; color: var(--text); margin: 0 .25rem .25rem 0; }
.flag.on { border-color: rgba(62,207,142,.5); }

/* --- perche' e' diverso --- */
.why .grid-3 .card h3 { display: flex; align-items: center; gap: .6rem; }
.approach { margin-top: 2.5rem; }
.approach table { white-space: normal; font-size: .9rem; }
.approach th, .approach td { padding: .8rem .9rem; vertical-align: top; }
.approach th:first-child, .approach td:first-child { width: 28%; color: var(--text); font-weight: 500; }
.approach th:nth-child(2), .approach td:nth-child(2) { background: rgba(79,124,255,.06); }
.approach td { color: var(--muted); }
.approach td .icon { color: var(--ok); margin-right: .3rem; }
.approach td .icon.no { color: var(--danger); }

/* --- prezzi --- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(79,124,255,.6); }
.plan .ribbon { position: absolute; top: -12px; left: 1.5rem; padding: .2rem .6rem; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-size: .72rem; font-weight: 600; }
.plan .name { font-weight: 600; font-size: 1.05rem; margin-bottom: .25rem; }
.plan .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; margin: .5rem 0 .1rem; line-height: 1; }
.plan .price span { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: .85rem; min-height: 2.6em; margin-bottom: 1rem; }
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .9rem; flex: 1; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .55rem; color: var(--text); }
.plan li .icon { color: var(--ok); margin-top: .2rem; }
.plan li.dim { color: var(--muted); } .plan li.dim .icon { color: var(--muted); }
.plan .btn { text-align: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.5rem; }
.compare-table { white-space: normal; margin-top: 1rem; }
.compare-table th { font-size: .85rem; color: var(--text); padding: .75rem .9rem; }
.compare-table td { padding: .75rem .9rem; font-size: .92rem; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; width: 20%; }
.compare-table td:first-child { color: var(--text); }
.compare-table td small { display: block; color: var(--muted); font-size: .78rem; }
.compare-table .yes { color: var(--ok); } .compare-table .no { color: var(--muted); }
.compare-table thead th:nth-child(3) { color: var(--accent); }

/* --- novita' --- */
.changelog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.changelog li { padding: 1.1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; font-size: .9rem; }
.changelog .ver { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: var(--accent); background: rgba(79,124,255,.12); padding: .1rem .45rem; border-radius: 4px; margin-right: .5rem; }
.changelog time { color: var(--muted); font-size: .78rem; }
.changelog p { margin: .5rem 0 0; color: var(--muted); }
.changelog p b { color: var(--text); font-weight: 600; }

/* --- requisiti --- */
.req { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.req div { padding: 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--card); font-size: .85rem; color: var(--muted); }
.req div b { display: block; color: var(--text); font-size: 1rem; margin-bottom: .2rem; }

/* --- faq --- */
.faq { max-width: 46rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: .25rem 0; }
.faq-item summary { cursor: pointer; font-size: 1rem; font-weight: 500; padding: .9rem 2rem .9rem 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; color: var(--muted); font-size: 1.3rem; font-weight: 300; transition: transform .15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }

/* --- cta finale + footer --- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 3.5rem 2rem; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(79,124,255,.18), rgba(139,92,246,.14)); }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.5rem; }
.cta-band .cta-row { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

.l-footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 3rem; font-size: .85rem; color: var(--muted); }
.l-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.l-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: .75rem; }
.l-footer ul { list-style: none; margin: 0; padding: 0; }
.l-footer li { margin-bottom: .45rem; }
.l-footer a { color: var(--muted); text-decoration: none; }
.l-footer a:hover { color: var(--text); }
.l-footer .brand { color: var(--text); font-weight: 700; font-size: 1rem; margin-bottom: .5rem; display: block; }
.l-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .8rem; }

/* --- responsive --- */
@media (max-width: 1000px) {
  .facts .wrap { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .req { grid-template-columns: repeat(3, 1fr); }
  .tab-panel { grid-template-columns: 1fr; gap: 1.75rem; }
  .tab-visual { position: static; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .l-nav .links { display: none; }
  .l-nav.open .links { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 64px; padding: 1rem 1.5rem 1.25rem; background: var(--card); border-bottom: 1px solid var(--border); gap: 1rem; }
  .nav-toggle { display: inline-block; }
  .l-nav .actions .btn.secondary { display: none; }
  .hero { padding-top: 3rem; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-visual { margin: 0 .75rem; }
  .mock { overflow-x: auto; }
  .float-chip.c1 { right: -6px; }
  .float-chip.c2 { left: -6px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .changelog { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .l-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .l-nav .brand small { display: none; }
  .l-nav .actions { gap: .5rem; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .req { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .l-footer .cols { grid-template-columns: 1fr; }
  .l-footer .bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .flowbar .line::before, .flowbar .line::after, .float-chip { animation: none; }
  .landing .btn { transition: none; }
}

/* ==========================================================================
   Pagina di Kicla (frontend/kicla.html, la radice di kicla.com). Riusa i
   pezzi qui sopra (nav, hero, mock, step, prezzi, faq, footer); sotto solo
   quello che la landing del plugin non ha.
   ========================================================================== */

.kicla .l-nav .brand { align-items: center; gap: .5rem; font-size: 1.15rem; }
.kicla .l-nav .brand img { width: 34px; height: auto; }
.kicla .hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.kicla .hero .lead b { color: var(--text); font-weight: 600; }
.kicla .section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* loghi dei canali, gli stessi colori del pannello */
.ch { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: -.02em; flex-shrink: 0; position: relative; }
.ch.woo { background: #7f54b3; } .ch.vt { background: #09b1ba; } .ch.wa { background: #21bf73; }
.ch.eb { background: #fff; border: 1px solid var(--border); font-size: .62rem; }
.ch.eb::before { content: "e"; color: var(--ebay-r); font-weight: 800; font-size: .8rem; }
.ch.off { opacity: .28; filter: grayscale(1); }
.ch.live::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); border: 2px solid var(--card); }
.chs { display: inline-flex; gap: .3rem; }

/* striscia "funziona con" */
.works-with { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.works-with .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem 2.25rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.works-with .lbl { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.works-with .item { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .98rem; }
.works-with .item .ch { width: 28px; height: 28px; font-size: .72rem; border-radius: 7px; }
.works-with .item small { color: var(--muted); font-weight: 400; font-size: .78rem; }

/* miniature dei prodotti nei mock: colori al posto delle foto */
.k-thumb { width: 26px; height: 26px; border-radius: 6px; display: inline-block; flex-shrink: 0; vertical-align: middle; background: linear-gradient(135deg, #ffd6a5, #ff9f68); }
.k-thumb.t2 { background: linear-gradient(135deg, #a0c4ff, #5a7dff); }
.k-thumb.t3 { background: linear-gradient(135deg, #caffbf, #4cc38a); }
.k-thumb.t4 { background: linear-gradient(135deg, #ffc6ff, #b47cff); }
.k-thumb.t5 { background: linear-gradient(135deg, #fdffb6, #f1c40f); }
.k-thumb.t6 { background: linear-gradient(135deg, #ffadad, #e5484d); }
.k-thumb.lg { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
.cell-prod { display: flex; align-items: center; gap: .55rem; }
.cell-prod small { display: block; color: var(--muted); font-size: .68rem; }
.cell-prod small.where { display: flex; align-items: center; gap: .2rem; color: var(--accent); font-weight: 600; }
.cell-prod small.where .icon { width: .9em; height: .9em; }

/* hero: la Dashboard */
.k-dash { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 330px; }
.k-side { border-right: 1px solid var(--border); padding: .75rem .6rem; display: flex; flex-direction: column; gap: .2rem; background: var(--bg); }
.k-side .logo { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .8rem; margin-bottom: .6rem; }
.k-side .logo img { width: 22px; }
.k-side span { padding: .35rem .5rem; border-radius: 6px; color: var(--muted); font-size: .72rem; display: flex; justify-content: space-between; align-items: center; }
.k-side span.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.k-side .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.k-side .num { background: var(--danger); color: #fff; border-radius: 999px; font-size: .6rem; padding: 0 .35rem; line-height: 1.4; }
.k-main { padding: .9rem; min-width: 0; display: flex; flex-direction: column; gap: .7rem; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.kpi { border: 1px solid var(--border); border-radius: 8px; padding: .55rem .65rem; min-width: 0; }
.kpi small { color: var(--muted); font-size: .64rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; display: block; margin-top: .1rem; }
.kpi i { font-style: normal; font-size: .64rem; color: var(--ok); }
.k-chart { border: 1px solid var(--border); border-radius: 8px; padding: .6rem .7rem .5rem; }
.k-chart .head { display: flex; justify-content: space-between; color: var(--muted); font-size: .66rem; margin-bottom: .45rem; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 74px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), rgba(79,124,255,.35)); min-height: 4px; }
.bars i.hi { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.k-feed { display: flex; flex-direction: column; gap: .3rem; }
.k-feed div { display: flex; align-items: center; gap: .5rem; font-size: .7rem; color: var(--muted); }
.k-feed b { color: var(--text); font-weight: 600; }
.k-feed .when { margin-left: auto; font-size: .64rem; white-space: nowrap; }
/* i riquadri fluttuanti stanno sui bordi: non coprono i numeri della Dashboard */
.kicla .float-chip.c1 { top: -22px; right: -14px; }
.kicla .float-chip.c2 { left: -26px; top: auto; bottom: -40px; }
.kicla .float-chip.c3 { right: -10px; bottom: -40px; animation-delay: -4.5s; }
.kicla .hero-visual { margin-bottom: 1.5rem; }
/* pagina del plugin: titolo piu' lungo, tabella delle inserzioni piu' larga */
.kicla .hero-ebay .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.kicla .hero-ebay h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.kicla .hero-ebay .float-chip.c1 { top: 66px; }
.hero-ebay .mock .k-thumb { width: 22px; height: 22px; margin-right: .5rem; }

/* il problema */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pain { padding: 1.4rem; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.pain .icon-box { background: rgba(229,72,77,.1); color: var(--danger); }
.pain h3 { font-size: 1.02rem; }
.pain p { color: var(--muted); font-size: .9rem; margin: 0; }
.pain-answer { margin: 2.5rem auto 0; max-width: 46rem; text-align: center; font-size: 1.15rem; color: var(--text); }
.pain-answer b { background: linear-gradient(90deg, #6d9bff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* funzioni: righe testo + mock, alternate */
.f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
.f-row + .f-row { margin-top: 5.5rem; }
.f-row.rev .f-text { order: 2; }
.f-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; margin-bottom: .8rem; }
.f-text > p { color: var(--muted); font-size: 1.02rem; }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.ticks li .icon { color: var(--ok); margin-top: .2rem; }
.ticks li span { color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 600; }
.f-visual { position: relative; min-width: 0; }
.f-visual .caption { color: var(--muted); font-size: .8rem; margin: .75rem 0 0; text-align: center; }
.k-tabs { display: flex; gap: .2rem; padding: .5rem .7rem 0; border-bottom: 1px solid var(--border); font-size: .72rem; overflow: hidden; }
.k-tabs span { padding: .35rem .55rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.k-tabs span.on { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.k-tabs .n { background: var(--danger); color: #fff; border-radius: 999px; padding: 0 .3rem; font-size: .6rem; margin-left: .2rem; }
.kicla .mock table { width: 100%; }
.kicla .mock td { vertical-align: middle; }
.kicla .mock td, .kicla .mock th { padding: .5rem .6rem; }
.row-flag td { background: rgba(229,72,77,.05); }
.pill-s { display: inline-block; padding: .12rem .45rem; border-radius: 999px; font-size: .64rem; font-weight: 600; }
.pill-s.ok { background: rgba(28,157,99,.12); color: var(--ok); }
.pill-s.warn { background: rgba(245,166,35,.15); color: var(--warn); }
.pill-s.red { background: rgba(229,72,77,.12); color: var(--danger); }
.pill-s.blue { background: var(--accent-soft); color: var(--accent); }
.strike { text-decoration: line-through; color: var(--muted); margin-right: .3rem; }

/* email "Hai venduto" che diventa un ordine */
.mail-to-order { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .75rem; align-items: center; margin-top: 1rem; }
.mail-card { border: 1px solid var(--border); border-radius: 10px; background: var(--card); padding: .7rem .8rem; font-size: .74rem; box-shadow: 0 12px 30px -20px rgba(0,0,0,.5); min-width: 0; }
.mail-card small { display: block; color: var(--muted); font-size: .66rem; }
.mail-card b { display: block; margin: .15rem 0; }
.mail-to-order .arrow { color: var(--accent); }

/* Spedire: il telefono */
.phone { width: 270px; max-width: 100%; margin: 0 auto; border: 9px solid #1c2333; border-radius: 34px; background: var(--card); overflow: hidden; box-shadow: 0 40px 70px -35px rgba(20,30,60,.65); position: relative; }
.phone::before { content: ""; display: block; width: 84px; height: 18px; margin: 6px auto 0; border-radius: 999px; background: #1c2333; }
.phone .scr { padding: .6rem .75rem .9rem; font-size: .72rem; }
.phone .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; }
.phone .top b { font-size: .95rem; }
.phone .net { font-size: .62rem; color: var(--warn); background: rgba(245,166,35,.12); padding: .1rem .45rem; border-radius: 999px; }
.phone h5 { margin: .6rem 0 .35rem; font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pick { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: .55rem; padding: .5rem; border: 1px solid var(--border); border-radius: 10px; margin-bottom: .4rem; align-items: center; }
.pick .k-thumb { width: 54px; height: 54px; border-radius: 8px; }
.pick b { display: block; font-size: .74rem; line-height: 1.25; }
.pick small { color: var(--muted); display: block; font-size: .64rem; }
.pick .where { display: inline-flex; align-items: center; gap: .2rem; color: var(--accent); font-weight: 600; font-size: .66rem; margin-top: .15rem; }
.pick .where .icon { width: .85em; height: .85em; }
.ship-btn { display: block; text-align: center; padding: .55rem; border-radius: 10px; background: var(--ok); color: #fff; font-weight: 600; font-size: .78rem; margin-top: .55rem; }

/* prezzi automatici */
.rule { border: 1px solid var(--border); border-radius: 10px; padding: .75rem .85rem; margin-bottom: .6rem; }
.rule .t { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-weight: 600; font-size: .8rem; margin-bottom: .35rem; }
.rule p { color: var(--muted); font-size: .74rem; margin: 0; }
.rule p b { color: var(--text); }
.switch { width: 30px; height: 17px; border-radius: 999px; background: var(--ok); position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.down { color: var(--ok); font-weight: 600; } .up { color: var(--accent); font-weight: 600; }

/* profitto */
.pl { width: 100%; font-size: .78rem; }
.pl td { padding: .45rem .8rem; }
.pl td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pl tr.tot td { font-weight: 700; font-size: .88rem; border-top: 2px solid var(--border); }
.pl tr.tot td:last-child { color: var(--ok); }
.minus { color: var(--muted); }
.best { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-top: 1px solid var(--border); font-size: .74rem; }
.best b { font-weight: 600; }
.best .chip { margin-left: auto; }

/* e tutto il resto */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4.5rem; }
.more { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.more .icon-box { width: 36px; height: 36px; margin: 0; flex-shrink: 0; }
.more h4 { font-size: .95rem; }
.more p { color: var(--muted); font-size: .85rem; margin: 0; }

/* plugin eBay */
.plug { border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(160deg, rgba(79,124,255,.07), rgba(139,92,246,.06) 60%, transparent), var(--card); padding: 3rem; }
.plug .section-head { max-width: 46rem; }
.plug-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.plug-col { border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; background: var(--card); }
.plug-col h3 { display: flex; align-items: center; gap: .6rem; }
.plug-col .where-tag { font-size: .72rem; color: var(--muted); font-weight: 500; display: block; margin-top: -.3rem; margin-bottom: .75rem; }
.plug .flowbar { justify-content: flex-start; margin: 1.5rem 0 0; flex-wrap: wrap; }
.plug .flowbar .node img { width: 22px; }
.plug-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; align-items: center; }
.plug-cta .note { color: var(--muted); font-size: .85rem; }

/* prima / dopo */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.vs-col { border-radius: 14px; padding: 1.6rem; border: 1px solid var(--border); background: var(--card); }
.vs-col.with { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -35px rgba(79,124,255,.55); }
.vs-col h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.vs-col li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.vs-col li .icon { margin-top: .2rem; }
.vs-col.without li .icon { color: var(--danger); }
.vs-col.with li { color: var(--text); }
.vs-col.with li .icon { color: var(--ok); }

/* prezzi */
.kicla .plan .per-day { color: var(--ok); font-weight: 600; font-size: .85rem; margin-bottom: .25rem; }
.kicla .plan li small { display: block; color: var(--muted); font-size: .8rem; }
.guarantee { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.75rem; color: var(--muted); font-size: .88rem; }
.guarantee span { display: inline-flex; align-items: center; gap: .4rem; }
.guarantee .icon { color: var(--ok); }

/* barra "crea l'account" fissa in basso, solo su telefono */
.sticky-cta { display: none; }

@media (max-width: 1000px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .f-row.rev .f-text { order: 0; }
  .f-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .plug { padding: 2rem 1.5rem; }
}
@media (max-width: 860px) {
  .plug-cols, .vs { grid-template-columns: minmax(0, 1fr); }
  .k-dash { grid-template-columns: minmax(0, 1fr); }
  .kicla .hero-ebay .wrap { grid-template-columns: minmax(0, 1fr); }
  .k-side { display: none; }
  .kicla .float-chip.c2 { left: -6px; }
  .kicla .float-chip.c3 { right: 6px; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: .75rem; align-items: center; justify-content: space-between; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -20px rgba(20,30,60,.5); transform: translateY(110%); transition: transform .2s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
  .sticky-cta small b { color: var(--text); display: block; font-size: .88rem; }
  .kicla .l-footer { padding-bottom: 6rem; }
}
@media (max-width: 600px) {
  .pains, .more-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:last-child { display: none; }
  .hide-s { display: none; }
  .kicla .float-chip.c2 { display: none; }
  .plug { padding: 1.75rem 1rem; border-radius: 16px; }
  .plug-col { padding: 1.15rem; }
  .plug .flowbar { display: none; }
  .guarantee { flex-direction: column; align-items: flex-start; max-width: 22rem; margin-left: auto; margin-right: auto; }
  .mail-to-order { grid-template-columns: minmax(0, 1fr); }
  .mail-to-order .arrow { transform: rotate(90deg); justify-self: center; }
  .works-with .wrap { gap: .75rem 1.25rem; }
  .works-with .lbl { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
