/* YourCollage — sito statico. Brand: indaco + giallo, celle di collage. */

:root {
  --indigo: #3634a3;
  --indigo-bright: #5e5ce6;
  --indigo-deep: #201e63;
  --yellow: #ffd60a;
  --ink: #1c1c2e;
  --ink-soft: #55556e;
  --paper: #fafafc;
  --card: #ffffff;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  background: rgba(250, 250, 252, 0.82);
  border-bottom: 1px solid rgba(28, 28, 46, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
}

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

.nav .logo img { width: 28px; height: 28px; border-radius: 7px; }

.nav nav { margin-left: auto; display: flex; gap: 22px; }

.nav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav nav a:hover { color: var(--indigo-bright); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--indigo-bright) 0%, var(--indigo) 55%, var(--indigo-deep) 100%);
  color: #fff;
  padding: 88px 0 0;
  text-align: center;
}

/* celle di collage decorative */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 56px;
  pointer-events: none;
}

.hero::before {
  width: 380px; height: 380px;
  background: rgba(255, 255, 255, 0.07);
  top: -90px; left: -110px;
  transform: rotate(-14deg);
}

.hero::after {
  width: 300px; height: 300px;
  background: rgba(255, 214, 10, 0.14);
  top: 40px; right: -90px;
  transform: rotate(12deg);
}

.hero .badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--indigo-deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 9px 22px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero h1 em { font-style: normal; color: var(--yellow); }

.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--indigo-deep);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.store-button:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3); }

.store-note { display: block; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.hero .device {
  margin: 56px auto -2px;
  max-width: 340px;
  display: block;
}

.hero .device img {
  width: 100%;
  display: block;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- Sezioni ---------- */

section { padding: 84px 0; }

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 52px;
  font-size: 17px;
}

/* Feature grid */

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

.feature {
  background: var(--card);
  border: 1px solid rgba(28, 28, 46, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 10px rgba(28, 28, 46, 0.04);
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(94, 92, 230, 0.1);
  font-size: 22px;
  margin-bottom: 16px;
}

.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Screenshot strip */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.shots img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(32, 30, 99, 0.18);
}

/* Banda privacy */

.privacy-band {
  background: var(--indigo-deep);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-band::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 48px;
  background: rgba(255, 214, 10, 0.12);
  bottom: -120px; right: -70px;
  transform: rotate(14deg);
}

.privacy-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; letter-spacing: -0.02em; }
.privacy-band p { color: rgba(255, 255, 255, 0.82); max-width: 640px; margin: 0 auto 22px; }

.privacy-band a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
}

.privacy-band a:hover { text-decoration: underline; }

/* ---------- Pagine interne ---------- */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}

.page h1 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -0.02em; margin-bottom: 10px; }
.page .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.page h2 { font-size: 22px; margin: 40px 0 12px; }
.page p, .page li { color: var(--ink-soft); font-size: 16px; }
.page ul { padding-left: 22px; margin: 10px 0; }
.page strong { color: var(--ink); }

.page a { color: var(--indigo-bright); }

details {
  background: var(--card);
  border: 1px solid rgba(28, 28, 46, 0.08);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

details summary {
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
}

details p { margin-top: 10px; }

.contact-card {
  background: linear-gradient(150deg, var(--indigo-bright), var(--indigo));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
  margin-top: 44px;
  text-align: center;
}

.contact-card h2 { margin: 0 0 8px; }
.contact-card p { color: rgba(255, 255, 255, 0.85); }
.contact-card a {
  display: inline-block;
  margin-top: 16px;
  background: var(--yellow);
  color: var(--indigo-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid rgba(28, 28, 46, 0.07);
  padding: 34px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}

footer nav { margin-bottom: 10px; display: flex; justify-content: center; gap: 22px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--indigo-bright); }

@media (max-width: 640px) {
  .nav nav { gap: 14px; }
  section { padding: 60px 0; }
  .privacy-band { padding: 42px 24px; }
}
