/* sito/migliori-estensioni-vinted/confronto.css — stile della pagina di confronto (it, en e fr), stessi colori di index.html */
:root {
  --bg: #0f1115; --panel: #171a21; --panel-2: #1d212a; --border: #262b35; --border-soft: #1f232c;
  --text: #eceef2; --muted: #9aa3b1; --accent: #e3a008; --accent-2: #f7c948; --on-accent: #1d1400;
  --ok: #2fbf71; --no: #f87171; --soft: #c3cad5; --radius: 18px; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text);
  background: radial-gradient(1000px 520px at 50% -8%, rgba(227, 160, 8, .14), transparent 65%), var(--bg);
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.grad { background: linear-gradient(135deg, #ffe9a8, var(--accent-2) 35%, var(--accent) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; margin: 0; }
section { padding: 64px 0 8px; scroll-margin-top: 70px; }
.testa-sezione { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.testa-sezione h2 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 10px; }
.testa-sezione p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }

/* ------------------------------ pulsanti ------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; text-decoration: none; border: 1px solid var(--border); color: var(--text); background: var(--panel-2); transition: transform .15s var(--ease), filter .15s var(--ease), background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #242935; }
.btn.primario { border: 0; color: var(--on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 30px rgba(227, 160, 8, .28); }
.btn.primario:hover { filter: brightness(1.06); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn.piccolo { height: 40px; padding: 0 18px; font-size: 14px; }

/* -------------------------------- menu (come la home) -------------------------------- */
.menu { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(15, 17, 21, .78); border-bottom: 1px solid var(--border-soft); }
.menu .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.marchio { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.marchio img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px rgba(227, 160, 8, .35); }
.menu nav { display: flex; gap: 22px; margin-left: 12px; }
.menu nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu nav a:hover, .menu nav a[aria-current] { color: var(--text); }
.menu .lingue { margin-left: auto; display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.menu .lingue a { padding: 5px 10px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.menu .lingue a[aria-current] { background: var(--panel-2); color: var(--text); }

/* -------------------------------- apertura -------------------------------- */
.hero { padding: 48px 0 8px; text-align: center; }
.briciole { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.briciole a { color: var(--muted); }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; margin: 16px auto 16px; max-width: 860px; }
.lead { color: var(--soft); font-size: 18.5px; max-width: 720px; margin: 0 auto; }
.meta { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.trasparenza { max-width: 760px; margin: 26px auto 0; text-align: left; display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--soft); }
.trasparenza b { color: var(--text); }
.indice { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; }
.indice a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); }
.indice a:hover { color: var(--text); border-color: rgba(227, 160, 8, .5); }

/* ------------------------------ scelte rapide ------------------------------ */
.scelte { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.scelta { background: var(--panel); border: 1px solid var(--border-soft); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s var(--ease); }
.scelta:hover { border-color: rgba(227, 160, 8, .5); transform: translateY(-2px); }
.scelta .ico { font-size: 24px; }
.scelta small { display: block; color: var(--muted); font-size: 13.5px; margin: 6px 0 2px; }
.scelta b { font-size: 17px; }
.scelta.oro { border-color: rgba(227, 160, 8, .55); background: linear-gradient(180deg, rgba(227, 160, 8, .12), var(--panel) 70%); }

/* -------------------------------- tabella -------------------------------- */
.tabella { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 980px; font-size: 14.5px; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--panel-2); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { position: sticky; left: 0; background: var(--panel); font-weight: 700; white-space: nowrap; z-index: 1; }
tr.vints th, tr.vints td { background: #221d10; }
tr.vints th { color: var(--accent-2); }
.si { color: var(--ok); font-weight: 700; }
.no { color: var(--no); font-weight: 700; }
.nd { color: #6b7383; }
.nota-tab { color: var(--muted); font-size: 13.5px; margin: 10px 2px 0; }

/* ------------------------------ schede degli strumenti ------------------------------ */
.strumento { background: var(--panel); border: 1px solid var(--border-soft); border-radius: 20px; padding: 24px; margin-bottom: 16px; scroll-margin-top: 80px; }
.strumento.primo { border-color: rgba(227, 160, 8, .55); background: linear-gradient(180deg, rgba(227, 160, 8, .10), var(--panel) 45%); box-shadow: 0 20px 50px rgba(227, 160, 8, .08); }
.testa { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.pos { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); }
.primo .pos { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); border: 0; }
.testa .nome { flex: 1; min-width: 200px; }
.testa h3 { font-size: 21px; margin: 0 0 4px; }
.testa .nome p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: rgba(227, 160, 8, .14); color: var(--accent-2); margin-left: 6px; vertical-align: 3px; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.chip { font-size: 13.5px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; color: var(--soft); }
.chip b { color: var(--text); }
.strumento > p { color: var(--soft); margin: 12px 0 0; }
.procontro { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.procontro div { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.procontro h4 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.pro h4 { color: var(--ok); } .contro h4 { color: var(--no); }
.procontro ul { margin: 0; padding-left: 18px; color: var(--soft); font-size: 15px; }
.procontro li { margin: 3px 0; }
.vetrina { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.azioni { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.esterno { font-size: 14.5px; display: inline-block; margin-top: 14px; }

/* -------------------------------- griglie -------------------------------- */
.griglia { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.carta { background: var(--panel); border: 1px solid var(--border-soft); border-radius: 16px; padding: 18px; }
.carta .ico { font-size: 24px; margin-bottom: 6px; }
.carta h3 { font-size: 18px; margin: 0 0 4px; }
.carta p { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.carta p b { color: var(--text); }

/* --------------------------------- FAQ --------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--border-soft); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-2); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--soft); }

/* --------------------------------- invito --------------------------------- */
.cta { margin: 64px 0 0; text-align: center; border-radius: 28px; padding: 48px 22px; background: linear-gradient(135deg, rgba(227, 160, 8, .16), rgba(247, 201, 72, .06)), var(--panel); border: 1px solid rgba(227, 160, 8, .25); }
.cta img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 14px; box-shadow: 0 14px 34px rgba(227, 160, 8, .35); }
.cta h2 { font-size: clamp(26px, 3.6vw, 36px); }
.cta p { color: var(--soft); max-width: 560px; margin: 12px auto 24px; font-size: 17px; }
.cta .azioni { justify-content: center; }

/* -------------------------------- piede (come la home) -------------------------------- */
footer { border-top: 1px solid var(--border-soft); margin-top: 72px; padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer .su { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
footer .su a { color: var(--muted); text-decoration: none; }
footer .su a:hover, footer .su a[aria-current] { color: var(--text); }
footer .su .marchio { font-size: 17px; margin-right: auto; }
footer .su .marchio img { width: 28px; height: 28px; }
footer .legale { font-size: 12.5px; color: #717a88; max-width: 860px; margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scelta, .btn { transition: none; } }
@media (max-width: 980px) { .menu nav { display: none; } }
@media (max-width: 640px) {
  section { padding-top: 52px; }
  .lead { font-size: 17px; }
  .procontro { grid-template-columns: 1fr; }
  .strumento { padding: 18px; }
  .menu .btn { display: none; }
}
