:root{
  --bg:#0b1220; --card:#111a2e; --text:#e8eefc; --muted:#a9b6d6;
  --accent:#6ea8ff; --border:rgba(255,255,255,.08);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(110,168,255,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(110,255,210,.12), transparent 60%),
    var(--bg);
  color:var(--text);
}

.wrap{ max-width:1100px; margin:0 auto; padding:28px 18px; }

.badge{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
}

h1{ margin:14px 0 6px; font-size: 40px; letter-spacing:-0.02em; }

.subtitle{ margin:0 0 14px; color:var(--muted); max-width: 70ch; }

.cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  text-decoration:none;
  color:var(--text);
  background: rgba(110,168,255,.16);

  /* overlay + micro-interactions */
  position: relative;
  overflow: hidden;
  transition: transform .12s ease, border-color .12s ease;
}

/* ora i ghost sono uguali agli altri (stesso colore) */
.btn.ghost{ background: rgba(110,168,255,.16); }

/* overlay più chiaro su hover/focus */
.btn::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.10);
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after{ opacity: 1; }

.btn:hover{ border-color: rgba(255,255,255,.14); }
.btn:active{ transform: translateY(1px); }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  padding-top: 6px;
}

.card{
  background: rgba(17,26,46,.84);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.card.full{ grid-column: 1 / -1; }

.card h2{ margin:0 0 10px; font-size: 18px; }

.card ul{ margin:0; padding-left: 18px; color: var(--muted); }

.card li{ margin: 6px 0; }

.muted{ color: var(--muted); }

code{
  background: rgba(0,0,0,.28);
  padding:2px 6px;
  border-radius: 8px;
  border:1px solid var(--border);
}

.shots{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }

figure{ margin:0; }

img{
  width:100%;
  height:auto;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.2);
}

figcaption{ color: var(--muted); font-size: 13px; margin-top: 6px; }

.footer{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding-bottom: 40px;
}

a{ color: var(--accent); }

@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .shots{ grid-template-columns: 1fr; }
  h1{ font-size: 32px; }
}

