/* Guardia: sito pubblico. Colori del logo (blu notte, blu dello scudo, verde del mirino). */
:root {
  --navy: #071a3a; --navy-2: #0d2550; --blue: #1678f0; --blue-2: #0e5cc8; --cyan: #22e6ff; --green: #22af54;
  --text: #0f172a; --muted: #5b6b82; --bg: #ffffff; --soft: #f4f6fa; --border: #e2e7ee;
  --radius: 18px;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); line-height: 1.6; font-size: 17px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h1 span { background: linear-gradient(90deg, var(--cyan), #6fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }

/* barra in alto */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 26, 58, .92); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { width: 36px; height: 38px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: #b8c7df; text-decoration: none; font-size: 15px; font-weight: 600; }
.nav nav a:hover { color: #fff; }

/* pulsanti */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; border: 2px solid transparent; transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn.big { padding: 16px 30px; font-size: 18px; box-shadow: 0 10px 30px rgba(22, 120, 240, .35); }
.btn.big svg { width: 22px; height: 22px; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }

/* hero */
.hero { background: radial-gradient(1200px 600px at 75% 20%, #123a7a 0%, var(--navy) 55%, #030a1a 100%); color: #fff; padding: 72px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: var(--cyan); margin-bottom: 14px; }
.lead { font-size: 19px; color: #c9d6ea; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 28px 0 22px; }
.note { font-size: 14px; color: #9fb1cc; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero .ticks li { color: #dbe5f4; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); background: #fff; }
.hero-shot { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }

/* striscia */
.strip { background: var(--soft); border-bottom: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip-grid div { display: flex; flex-direction: column; }
.strip-grid strong { font-size: 20px; color: var(--navy); }
.strip-grid span { font-size: 15px; color: var(--muted); }

/* sezioni */
.section { padding: 90px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: linear-gradient(160deg, var(--navy) 0%, #0b2a5c 100%); color: #fff; }
.sub { font-size: 19px; color: var(--muted); max-width: 760px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 23, 42, .08); }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px;
  background: linear-gradient(135deg, #dbeafe, #cffafe); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery .shot { box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
figcaption { padding: 14px 16px; font-size: 15px; color: var(--muted); background: #fff; border-top: 1px solid var(--border); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.steps p { color: var(--muted); margin: 0; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 14px; }

.why { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.why p { font-size: 18px; color: #334155; }
.honest { background: #fff7e6; border: 1px solid #fde4b0; border-radius: var(--radius); padding: 28px; }
.honest p { font-size: 16px; color: #7c4a03; margin: 0; }
.honest h3 { color: #92400e; }

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

.tech { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tech p { color: #c9d6ea; font-size: 18px; }
.ticks.light li { color: #dbe5f4; margin-bottom: 4px; }
.tech .shot { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

.faq { max-width: 860px; }
.faq h2 { margin-bottom: 26px; }
details { border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background: #fff; }
details[open] { box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); }

.download { text-align: center; background: radial-gradient(900px 400px at 50% 0%, #e6f0ff 0%, #fff 70%); }
.download .sub { margin: 0 auto 28px; }
.big-emblem { width: 96px; margin: 0 auto 18px; }
.download .note { color: var(--muted); margin-top: 14px; }

/* sostieni */
.support { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.small-print { font-size: 14px; color: var(--muted); max-width: 640px; }
.support-ways { display: grid; gap: 14px; }
.way { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.way p { color: var(--muted); }
.way dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.way dt { color: var(--muted); font-size: 15px; }
.way dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.way code { font-size: 16px; }
.copy-btn { margin-left: 8px; border: 1px solid var(--border); background: var(--soft); border-radius: 8px; padding: 2px 10px; font: inherit; font-size: 14px; cursor: pointer; }
.btn.ghost-dark { background: #fff; color: var(--navy); border-color: var(--border); justify-content: center; }
.btn.ghost-dark:hover { background: var(--soft); }
.support-ways .btn.big { justify-content: center; }

/* piè di pagina */
.foot { background: #030a1a; color: #93a4bf; padding: 60px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; }
.foot h4 { color: #fff; margin: 4px 0 12px; font-size: 15px; }
.foot a { color: #c9d6ea; display: block; text-decoration: none; margin-bottom: 6px; }
.foot p a { display: inline; }
.foot a:hover { color: #fff; }
.foot .brand { margin-bottom: 12px; }
.copy { border-top: 1px solid #13223f; margin-top: 36px; padding-top: 20px; font-size: 13px; }

/* schermi piccoli */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-grid, .tech, .why, .support { grid-template-columns: 1fr; }
  .hero-shot { transform: none; }
  .cards, .cards.three, .gallery, .steps { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cards.three, .gallery, .steps, .strip-grid, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .btn.big { width: 100%; justify-content: center; }
}
