:root {
  --teal-dark: #0a5a6e;
  --teal: #0c8496;
  --cyan: #2cc4c4;
  --ink: #1c2b2e;
  --muted: #5b6c70;
  --bg: #f7fafa;
  --card: #ffffff;
  --border: rgba(12, 132, 150, 0.14);
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 250, 250, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.brand img { width: 30px; height: 30px; border-radius: 7px; }

nav.site-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
nav.site-nav a { color: var(--ink); }
nav.site-nav a:hover { color: var(--teal); text-decoration: none; }

/* Cluster nav + selettore lingua a destra nell'header */
.nav-cluster { display: flex; align-items: center; gap: 22px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: var(--card);
}
.lang-switch a {
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.4;
}
.lang-switch a:hover { color: var(--teal); text-decoration: none; }
.lang-switch a.active { background: var(--teal); color: #fff; }
.lang-switch a.active:hover { color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--cyan));
  color: white;
  padding: 84px 0 96px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 28px;
  max-width: 520px;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: white; color: var(--teal-dark); }
.btn-primary:hover { background: #eafcfc; text-decoration: none; }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

.hero-art {
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.hero-art img { width: 100%; display: block; }

/* Sections */
section { padding: 76px 0; }

.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-title h2 {
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-title p { color: var(--muted); font-size: 16px; margin: 0; }

.version-pill {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, rgba(12,132,150,0.1), rgba(44,196,196,0.05));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  margin-bottom: 44px;
}

.spotlight img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 24px 48px rgba(10,90,110,0.22);
}

.spotlight-badge {
  display: inline-block;
  background: #f0a020;
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.spotlight h3 { font-size: 23px; margin: 0 0 10px; letter-spacing: -0.01em; }
.spotlight p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

.showcase-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.showcase-item img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 18px;
}

.showcase-item h3 { font-size: 18px; margin: 0 0 8px; }
.showcase-item p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

.transcode-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.transcode-note .icon-big { font-size: 30px; }
.transcode-note h3 { font-size: 16px; margin: 0 0 8px; }
.transcode-note p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .transcode-note { grid-template-columns: 1fr; text-align: left; }
  .spotlight { grid-template-columns: 1fr; padding: 24px; }
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.gallery-item {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.gallery-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(12,132,150,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step .num {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step h3 { font-size: 16px; margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

.section-alt { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.privacy-strip {
  background: var(--bg);
}

.privacy-strip .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.privacy-strip .icon-big { font-size: 36px; }
.privacy-strip h3 { margin: 0 0 6px; font-size: 17px; }
.privacy-strip p { margin: 0; color: var(--muted); font-size: 14.5px; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  font-size: 13.5px;
  color: var(--muted);
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site nav { display: flex; gap: 20px; }
footer.site nav a { color: var(--muted); }
footer.site nav a:hover { color: var(--teal); }

/* Simple content pages */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--cyan));
  color: white;
  padding: 56px 0;
}

.page-hero h1 { margin: 0 0 8px; font-size: 34px; }
.page-hero p { margin: 0; color: rgba(255,255,255,0.9); }

.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.content h2 { font-size: 21px; margin: 36px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content p, .content li { color: #33454a; font-size: 15.5px; }
.content ul { padding-left: 20px; }

details.faq {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

details.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15.5px;
}

details.faq p { margin: 12px 0 0; }

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 8px;
}

.meta-updated {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 34px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  nav.site-nav { display: none; }
  .privacy-strip .wrap { grid-template-columns: 1fr; text-align: center; }
}
