/* software.airgrid.eu – Copyright © 2026 Airgrid Network - Software Division */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --card: #ffffff;
  --text: #17202c;
  --muted: #5a6677;
  --line: #dde5ee;
  --brand: #145a9e;
  --brand-2: #2f9fc0;
  --accent: #e8574f;
  --ok: #1f9d55;
  --shadow: 0 10px 30px rgba(16, 42, 72, 0.12);
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141b;
    --bg-soft: #151c25;
    --card: #19212c;
    --text: #e8edf3;
    --muted: #9aa7b8;
    --line: #2a3442;
    --brand: #5aa8ec;
    --brand-2: #4cc0dd;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Testata */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand small { font-weight: 500; color: var(--muted); }
.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .top nav { display: none; } .brand small { display: none; } }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.disabled { background: var(--bg-soft); color: var(--muted); border-color: var(--line); cursor: default; filter: none; }
.btn small { font-weight: 500; opacity: 0.85; }

/* Sezioni */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 20px; }
.lead { font-size: 20px; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--brand-2); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center;
        background: radial-gradient(1200px 500px at 50% -10%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent); }
.hero .icon { width: 112px; height: 112px; margin-bottom: 12px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 12px; }
.hero .req { color: var(--muted); font-size: 14px; }
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; margin: 0 auto; background: #fff; }
.hero .shot { margin-top: 44px; }

/* Griglie */
.grid { display: grid; gap: 20px; }
.grid.f3 { grid-template-columns: repeat(3, 1fr); }
.grid.f2 { grid-template-columns: repeat(2, 1fr); align-items: center; gap: 44px; }
@media (max-width: 900px) { .grid.f3 { grid-template-columns: 1fr 1fr; } .grid.f2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid.f3 { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }

/* Prezzo */
.price-card { max-width: 560px; margin: 32px auto 0; background: var(--card); border: 2px solid var(--brand);
              border-radius: 20px; padding: 32px; box-shadow: var(--shadow); text-align: left; }
.price-card .badge { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
                     padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.price { font-size: 52px; font-weight: 800; letter-spacing: -0.02em; }
.price s { font-size: 24px; color: var(--muted); font-weight: 600; margin-left: 8px; }
.price span { font-size: 18px; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.price-card .btn { width: 100%; margin-top: 20px; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.fine.ok { color: var(--ok); font-weight: 600; }
.fine.bad { color: var(--accent); font-weight: 600; }
.mac-box { margin-top: 20px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg-soft); }
.mac-box label { display: block; margin-bottom: 8px; }
.mac-box input { width: 100%; font: 600 18px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em;
                 padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.mac-box input:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }

/* Download */
.download-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 0; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
                    background: var(--brand-2); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.note { background: color-mix(in srgb, var(--accent) 9%, var(--card)); border-left: 4px solid var(--accent);
        border-radius: 8px; padding: 14px 16px; font-size: 15px; margin-top: 18px; }
.meta { font-size: 13px; color: var(--muted); word-break: break-all; margin-top: 14px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Catalogo */
.product-card { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center;
                background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.product-card img { width: 96px; height: 96px; }
.product-card p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 700px) { .product-card { grid-template-columns: 64px 1fr; } .product-card img { width: 64px; height: 64px; }
                            .product-card .btn { grid-column: 1 / -1; } }

/* Piè di pagina */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
