/* ZASKA — Landing page beta tester
   Identità visiva: blu primario #00008b, accento verde brillante,
   sfondo azzurro/grigio chiarissimo, card bianche arrotondate, testo blu scuro. */

:root {
  --zaska-blue: #00008b;
  --zaska-blue-dark: #00006a;
  --zaska-green: #22c55e;
  --zaska-bg: #f4f7fc;
  --zaska-card: #ffffff;
  --zaska-text: #0a0a2a;
  --zaska-text-muted: #4b4f6b;
  --zaska-border: #e1e6f5;
  --zaska-shadow: 0 12px 32px rgba(0, 0, 139, 0.08);
  --zaska-radius: 20px;
  --zaska-max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--zaska-bg);
  color: var(--zaska-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--zaska-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

h1, h2, h3 {
  color: var(--zaska-blue);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 16px;
  color: var(--zaska-text-muted);
}

a {
  color: var(--zaska-blue);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--zaska-green);
  margin-bottom: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 252, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--zaska-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--zaska-blue);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-header nav a {
  color: var(--zaska-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Hero */

.hero {
  padding-top: 64px;
  text-align: center;
}

.hero .brand-mark {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--zaska-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--zaska-green);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto 8px;
  font-size: 1.05rem;
}

.hero-closing {
  font-weight: 700;
  color: var(--zaska-blue);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--zaska-blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 139, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 139, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--zaska-blue);
  border-color: var(--zaska-blue);
}

.btn-ghost {
  background: #eef1fb;
  color: var(--zaska-text-muted);
  cursor: not-allowed;
}

/* Cards */

.card {
  background: var(--zaska-card);
  border-radius: var(--zaska-radius);
  box-shadow: var(--zaska-shadow);
  border: 1px solid var(--zaska-border);
  padding: 32px;
}

/* Video section */

.video-card {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--zaska-blue) 0%, var(--zaska-blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame video,
.video-frame img.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  text-align: center;
  padding: 24px;
}

.video-fallback .play-glyph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.video-label {
  padding: 18px 32px;
  font-weight: 600;
  color: var(--zaska-text-muted);
  font-size: 0.95rem;
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  text-align: left;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--zaska-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-card .note {
  font-size: 0.88rem;
  color: var(--zaska-blue);
  font-weight: 600;
}

/* Problem / solution */

.problem-solution {
  background: linear-gradient(180deg, #ffffff 0%, var(--zaska-bg) 100%);
}

.problem-solution .container {
  text-align: center;
}

.problem-solution .lede {
  max-width: 680px;
  margin: 0 auto;
}

/* Beta tester section */

.beta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.beta-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  display: inline-block;
  background: var(--zaska-green);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.beta-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--zaska-text-muted);
}

.beta-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.beta-meta .card {
  padding: 20px 24px;
}

.beta-meta strong {
  display: block;
  color: var(--zaska-blue);
  margin-bottom: 4px;
}

/* Download section */

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.store-card {
  text-align: center;
}

.store-card .store-glyph {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--zaska-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  overflow: hidden;
}

.store-card .store-glyph img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.store-card .btn-ghost {
  width: 100%;
  margin-top: 12px;
}

.store-glyph-play,
.store-glyph-apple {
  background: #ffffff;
  border: 1px solid var(--zaska-border);
}

.store-badge-link {
  display: inline-block;
  margin-top: 12px;
}

.store-badge-img {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Regulation section */

.regulation-card {
  max-width: 780px;
  margin: 0 auto;
}

details.reg-summary {
  margin-top: 20px;
  border-top: 1px solid var(--zaska-border);
  padding-top: 16px;
}

details.reg-summary summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--zaska-blue);
  list-style: none;
}

details.reg-summary summary::-webkit-details-marker {
  display: none;
}

details.reg-summary summary::before {
  content: "+ ";
  color: var(--zaska-green);
  font-weight: 800;
}

details.reg-summary[open] summary::before {
  content: "\2212 ";
}

details.reg-summary ol {
  padding-left: 20px;
  color: var(--zaska-text-muted);
}

.regulation-cta {
  margin-top: 24px;
}

/* Footer */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--zaska-border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-links span {
  color: var(--zaska-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--zaska-blue);
}

.footer-copy {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--zaska-text-muted);
  text-align: center;
}

/* Regolamento page */

.reg-page {
  background: var(--zaska-card);
  border-radius: var(--zaska-radius);
  box-shadow: var(--zaska-shadow);
  border: 1px solid var(--zaska-border);
  padding: 40px;
  max-width: 820px;
  margin: 48px auto;
}

.reg-page h2 {
  margin-top: 40px;
}

.reg-page h2:first-of-type {
  margin-top: 0;
}

.reg-page ol,
.reg-page ul {
  color: var(--zaska-text-muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 640px) {
  section {
    padding: 48px 0;
  }

  .reg-page {
    padding: 24px;
    margin: 24px auto;
  }

  .hero {
    padding-top: 40px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
