@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --sky-dark: #31132f;
  --sky-violet: #632052;
  --magenta: #b5216a;
  --fuchsia: #e52b79;
  --pink: #e75a9a;
  --pink-light: #ef91bd;
  --violet-deep: #251329;
  --black: #050509;
  --night-blue: #111a36;
  --mesh-blue: #27305c;
  --ice-deep: #4b123e;
  --ice-4: #bd286f;
  --ice-5: #d14685;
  --horizon: #9cd8e5;
  --white: #ffffff;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  --grad-sky: linear-gradient(180deg, var(--sky-dark) 0%, var(--sky-violet) 40%, #7a2a63 65%, #a52666 100%);
  --glow-soft: rgba(229, 43, 121, 0.35);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--fuchsia);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container { width: min(1160px, 92%); margin-inline: auto; }

section[id] { scroll-margin-top: 92px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--fuchsia); color: var(--white);
  padding: 0.75rem 1.25rem; z-index: 100; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pink), var(--fuchsia), var(--magenta));
  z-index: 200;
  box-shadow: 0 0 12px var(--glow-soft);
  border-radius: 0 2px 2px 0;
}

/* Site nav — header fisso, trasparente in cima, sfondo allo scroll */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.is-scrolled {
  background: rgba(5, 5, 9, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(229, 43, 121, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}
.site-nav-logo {
  height: 46px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.site-nav.is-scrolled .site-nav-logo { height: 38px; }
.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.site-nav-menu > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}
.site-nav-menu > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--pink), var(--fuchsia));
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav-menu > a:hover { color: var(--white); }
.site-nav-menu > a:hover::after { width: 100%; }
.site-nav-menu > a.site-nav-cta {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  background: linear-gradient(135deg, var(--fuchsia), var(--magenta));
  border-radius: 999px;
  padding: 0.62rem 1.5rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.site-nav-menu > a.site-nav-cta::after { display: none; }
.site-nav-menu > a.site-nav-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--glow-soft);
}
/* Hamburger (mobile) */
.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
}
.site-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-nav-toggle { display: flex; }
  .site-nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 5, 9, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 43, 121, 0.18);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0.35s ease;
  }
  .site-nav-menu.is-open { max-height: 340px; visibility: visible; }
  .site-nav-menu > a { padding: 1rem 6%; }
  .site-nav-menu > a::after { display: none; }
  .site-nav-menu > a.site-nav-cta { margin: 0.75rem 6% 1.25rem; text-align: center; }
}
.btn-small { padding: 0.55rem 1.3rem; font-size: 0.8rem; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  padding: 1.05rem 2.5rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 48px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-accent {
  background: linear-gradient(120deg, var(--fuchsia), var(--magenta));
  box-shadow: 0 14px 36px var(--glow-soft);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 80%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.btn-accent::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.55s ease, height 0.55s ease;
  pointer-events: none;
}
.btn-accent:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 48px var(--glow-soft); }
.btn-accent:hover::after { transform: translateX(100%); }
.btn-accent:hover::before { width: 340px; height: 340px; }
.btn-accent:active { transform: translateY(-1px) scale(0.99); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--fuchsia); color: #ffd6ea; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--white);
}
.btn-outline:hover { background: rgba(229,43,121,0.15); border-color: var(--fuchsia); }

.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  white-space: nowrap;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }

/* --- COSMIC BACKGROUND --- */
.cosmic-bg {
  position: fixed; inset: 0; z-index: -2;
  background: var(--grad-sky);
  overflow: hidden;
}
.cosmic-bg .glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; filter: blur(130px); opacity: 0.5; pointer-events: none; }
.cosmic-bg .g1 { top: -200px; left: -100px; background: var(--magenta); }
.cosmic-bg .g2 { top: 10%; right: -180px; background: var(--fuchsia); opacity: 0.4; }
.cosmic-bg .g3 { bottom: -150px; left: 20%; background: var(--mesh-blue); }

.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 20%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 45% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 60% 12%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 72% 25%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 85% 18%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 8% 60%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 22% 45%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 38% 55%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 55% 48%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 68% 60%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 48% 75%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 75% 85%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 5% 35%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 33% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 64% 38%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 95% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 18% 90%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 62%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 88%, rgba(255,255,255,0.4), transparent);
  background-size: 100% 100%;
  animation: twinkle 6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* --- REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal-left.is-visible { transform: translateX(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-right.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-scale.is-visible { transform: scale(1); }
.reveal-scale { transform: scale(0.96); }

/* --- HERO --- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  min-height: calc(100vh - 140px);
  min-height: calc(100svh - 140px);
}
.hero-copy .kicker { margin-bottom: 1.5rem; display: inline-block; }

.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5rem); font-weight: 900; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 {
  display: block;
  background: linear-gradient(120deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.2rem; color: var(--pink-light); max-width: 38ch; margin-bottom: 1.5rem; }
.hero-sub em { color: var(--white); font-style: normal; }
.microcopy { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.microcopy strong { color: var(--white); }

.badge {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--pink-light);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.25rem; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-trust li {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--pink-light); padding-left: 1.2rem; position: relative;
}
.hero-trust li::before { content: "✦"; position: absolute; left: 0; color: var(--fuchsia); }

.hero-cover { display: flex; justify-content: center; justify-self: center; position: relative; }
.hero-cover img {
  width: min(360px, 82vw);
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 60px var(--glow-soft);
  border: 2px solid #000;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.hero-cover img:hover { transform: rotate(0deg) scale(1.02); }

/* Hero entrance (staggered) */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-copy > * { animation: riseIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.26s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.54s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.68s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.82s; }
.hero-cover { animation: riseIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }

/* Glow pulsante dietro la copertina */
.hero-cover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(430px, 95vw);
  height: min(430px, 95vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-soft) 0%, transparent 68%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 5.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

/* --- BAND --- */
.band { border-block: 1px solid rgba(229,43,121,0.18); background: rgba(5,5,9,0.35); padding: 2.5rem 0; }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.band-item { text-align: center; padding: 1rem; }
.band-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.band-item p { color: var(--pink-light); font-size: 0.9rem; }

/* --- SECTIONS --- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(76%, 860px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fuchsia), transparent);
  opacity: 0.4;
}
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .kicker { margin-bottom: 1rem; display: inline-block; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.section-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fuchsia), var(--magenta));
  margin-top: 1.3rem;
}
.section-head[style*="center"]::after { margin-inline: auto; }
.section-head h2 span {
  background: linear-gradient(120deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--pink-light); font-size: 1.1rem; }

/* Split / book */
.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-visual { display: flex; justify-content: center; }
.split-visual.reveal { transition-delay: 0.15s; }
.split-visual img {
  width: 270px;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 50px var(--glow-soft);
  border: 2px solid #000;
}
.points { list-style: none; display: grid; gap: 1.25rem; }
.points li { display: flex; gap: 1.1rem; align-items: flex-start; }
.points .p-num {
  font-family: var(--font-display); font-weight: 900; font-size: 1.2rem;
  background: linear-gradient(120deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 2.2rem;
}
.points h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.points p { color: var(--pink-light); font-size: 0.95rem; }
.points li + li { border-top: 1px solid rgba(229,43,121,0.15); padding-top: 1.25rem; }

/* Author section (layout pari pari al riferimento, tema fucsia) */
.np-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2.5rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid rgba(229, 43, 121, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(37,19,41,0.85), rgba(17,26,54,0.6) 55%, rgba(5,5,9,0.9));
  padding: clamp(2rem, 4vw, 3rem);
}
.np-photo {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px var(--glow-soft);
}
.np-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.np-card-copy .kicker { display: block; margin-bottom: 0.75rem; }
.np-card-copy h2 { font-size: clamp(1.9rem, 4vw, 2.25rem); font-weight: 800; }

.np-bio {
  max-width: 48rem;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.np-card + .np-bio { margin-top: clamp(3rem, 5vw, 4rem); }
.np-bio p {
  color: var(--pink-light);
  font-size: 1.125rem;
  line-height: 1.625;
  text-align: center;
}
.np-bio p:last-child { color: var(--white); }

.np-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(3rem, 5vw, 4rem);
}
.np-pillar {
  border: 1px solid rgba(229, 43, 121, 0.25);
  background: linear-gradient(160deg, rgba(37,19,41,0.8), rgba(11,13,36,0.85));
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s, box-shadow 0.3s;
}
.np-pillar:hover {
  transform: translateY(-6px);
  border-color: var(--fuchsia);
  box-shadow: 0 20px 45px rgba(0,0,0,0.4), 0 0 36px var(--glow-soft);
}
.np-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
}
.np-pillar p { color: var(--pink-light); font-size: 0.9rem; line-height: 1.65; }

@media (min-width: 769px) {
  .np-bio p { text-align: left; }
}
@media (max-width: 768px) {
  .np-card { grid-template-columns: 1fr; justify-items: center; }
  .np-photo { width: min(280px, 100%); }
  .np-card-copy { text-align: center; }
  .np-pillars { grid-template-columns: 1fr; }
}

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.quote {
  background: linear-gradient(160deg, rgba(37,19,41,0.85), rgba(11,13,36,0.85));
  border: 1px solid rgba(229,43,121,0.2);
  border-radius: 18px;
  padding: 2.2rem;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s, box-shadow 0.3s;
}
.quote:hover { transform: translateY(-6px); border-color: rgba(231,90,154,0.45); box-shadow: 0 24px 50px rgba(0,0,0,0.4), 0 0 40px var(--glow-soft); }
.quote .stars { color: var(--fuchsia); font-size: 1.1rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.2rem; }
.quote footer { font-size: 0.85rem; color: var(--pink-light); text-transform: uppercase; letter-spacing: 0.06em; }

/* Buy */
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.editions.single { grid-template-columns: 1fr; max-width: 480px; }
.edition {
  background: linear-gradient(170deg, rgba(37,19,41,0.9), rgba(11,13,36,0.9));
  border: 1px solid rgba(229,43,121,0.25);
  border-radius: 20px;
  padding: 2.6rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.edition:hover { transform: translateY(-8px); border-color: var(--fuchsia); box-shadow: 0 26px 60px rgba(0,0,0,0.45), 0 0 44px var(--glow-soft); }
.edition.featured { border: 2px solid var(--fuchsia); background: linear-gradient(170deg, rgba(63,20,52,0.95), rgba(20,12,40,0.95)); }
.edition .tag {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink);
  margin-bottom: 1.2rem; display: inline-block;
}
.edition h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.edition .price { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; margin: 0.8rem 0 1.6rem; }
.edition .price small { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 400; color: var(--pink-light); }
.edition .btn { width: 100%; }
.edition .ed-img {
  display: block; width: 160px; aspect-ratio: 0.65; object-fit: cover;
  margin: 0 auto 1.4rem; border-radius: 6px; border: 2px solid #000;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}
.edition:hover .ed-img { transform: scale(1.05); }

.buy-note { text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 2rem; }

/* First book */
.first-book {
  background: radial-gradient(80% 100% at 50% 0%, rgba(181,33,106,0.18), transparent 60%);
}
.first-book-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.first-cover { display: flex; justify-content: center; }
.first-cover img {
  width: 240px;
  aspect-ratio: 0.647;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 50px var(--glow-soft);
  border: 2px solid #000;
}
.first-copy .kicker { margin-bottom: 1rem; display: inline-block; }
.first-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.first-copy h2 span {
  background: linear-gradient(120deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.first-copy p { color: var(--pink-light); margin-bottom: 1.75rem; max-width: 46ch; }

@media (max-width: 720px) {
  .first-book-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .first-copy p { margin-inline: auto; }
}

/* Footer */
.site-footer { border-top: 1px solid rgba(229, 43, 121, 0.15); padding: 3.5rem 0 2.5rem; background: rgba(5, 5, 9, 0.6); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { height: 54px; width: auto; display: block; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; line-height: 1.75; }
.footer-title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--fuchsia); }
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(229, 43, 121, 0.35), transparent); margin-bottom: 2rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); text-align: left; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* --- Senior polish --- */
::selection {
  background: var(--fuchsia);
  color: #fff;
}

html { -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; }

/* Smooth anchored scrolling with header offset */
html { scroll-padding-top: 72px; }

/* Cover polish: subtle top sheen + hover lift */
.hero-cover { position: relative; }
.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(200deg, rgba(255,255,255,0.16), transparent 40%, rgba(229,43,121,0.10));
  pointer-events: none;
  z-index: 2;
}
.hero-cover img { position: relative; z-index: 1; }

/* Premium focus ring */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--fuchsia);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(229,43,121,0.25);
}

/* Slight hand-tuned breathing room in headings */
.hero h1, .section-head h2 { text-wrap: balance; }
.hero-sub, .first-copy p { text-wrap: pretty; }

/* Stars: two layers for depth (see HTML) */

/* --- Second-landing: prose --- */
.prose {
  max-width: 72ch;
  margin: 0 auto;
}
.prose p {
  color: var(--pink-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.prose .pitch {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  border-left: 3px solid var(--fuchsia);
  padding-left: 1.25rem;
}
.prose strong { color: var(--white); }

.amazon-cover { margin: 0 auto 1.4rem; max-width: 170px; }
.amazon-cover img {
  width: 100%;
  aspect-ratio: 0.647;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px var(--glow-soft);
}

/* --- Author page --- */
.author-hero {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.author-hero-visual { display: flex; justify-content: center; }
.author-portrait {
  width: min(320px, 76vw);
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #000;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 60px var(--glow-soft);
  position: relative;
  background: linear-gradient(160deg, var(--violet-deep), var(--black));
}
.author-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255,255,255,0.1), transparent 45%);
  pointer-events: none;
}
.author-hero-copy h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 900; letter-spacing: -0.015em; margin-bottom: 1rem; }
.author-hero-copy h1 span {
  background: linear-gradient(120deg, var(--pink), var(--fuchsia));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.author-hero-copy .hero-sub { margin-bottom: 0; }

/* Stagger ingresso hero autore + card pubblicazioni */
.author-hero-visual.reveal { transition-delay: 0.1s; }
.author-hero-copy.reveal { transition-delay: 0.28s; }
.author-books > .reveal:nth-child(2) { transition-delay: 0.14s; }

.author-books { max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; justify-items: center; align-items: start; }

.author-books .edition {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
  width: 100%;
  border: 1px solid rgba(229,43,121,0.18);
  background: linear-gradient(170deg, rgba(25,14,40,0.9), rgba(10,8,20,0.9));
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.75rem;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s, box-shadow 0.3s;
}
.author-books .edition:hover { transform: translateY(-4px); border-color: rgba(231,90,154,0.45); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.author-books .edition.featured { border-color: rgba(229,43,121,0.65); }
.author-books .book-cover {
  width: 100%;
  max-width: 200px;
}
.author-books .book-cover img {
  width: 100%;
  aspect-ratio: 0.647;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #000;
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
  display: block;
}
.author-books .book-card-info { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.author-books .book-card-info h3 { margin-bottom: 0; }
.author-books .btn { margin-top: 0.4rem; }
.author-books .edition .btn-outline {
  background: var(--fuchsia);
  border-color: var(--fuchsia);
  color: var(--white);
}
.author-books .edition .btn-outline:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }

@media (max-width: 720px) {
  .author-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 540px) {
  .author-books { grid-template-columns: 1fr; }
}

/* --- Blue theme (primo libro) --- */
.theme-blue {
  --sky-dark: #0a1a2f;
  --sky-violet: #123754;
  --magenta: #2a6e9e;
  --fuchsia: #1a8fd0;
  --pink: #3aa0d8;
  --pink-light: #a8d8d8;
  --violet-deep: #0c2038;
  --night-blue: #0f2c47;
  --mesh-blue: #184878;
  --ice-4: #2a6e9e;
  --ice-5: #3aa0d8;
  --horizon: #a8d8d8;
  --glow-soft: rgba(90, 180, 230, 0.35);
  --grad-sky: linear-gradient(180deg, #0a1a2f 0%, #123754 40%, #1b4a6e 65%, #22608f 100%);
}


/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy, .split-visual { text-align: center; }
  .hero-cta, .hero-trust { justify-content: center; }
  .split-visual { order: -1; }
  .points { text-align: left; }
  .split-copy { text-align: left; }
}

/* --- Sub pages (chi siamo, contatti, legali) --- */
.site-nav.page-nav {
  background: rgba(5, 5, 9, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(229, 43, 121, 0.16);
}
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
}
.nav-back:hover { color: var(--fuchsia); }
.nav-back svg { width: 16px; height: 16px; flex: none; }
.is-hidden { display: none !important; }

.page { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.page-narrow { max-width: 760px; margin-inline: auto; }
.page .kicker { display: block; margin-bottom: 1rem; }
.page h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1rem;
}
.page-rule {
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fuchsia), var(--pink));
  margin-bottom: 2.5rem;
}
.page-content > * + * { margin-top: 1.2rem; }
.page-content p, .page-content li { color: rgba(255, 255, 255, 0.72); line-height: 1.75; font-size: 1.02rem; }
.page-content p.emph { color: var(--white); }
.page-content strong { color: var(--white); font-weight: 700; }
.page-content a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--fuchsia); }
.page-content h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.page-content h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--pink); margin-bottom: 0.5rem; }
.page-content ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: 0.4rem; }
.page-content .page-meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); padding-top: 1rem; }
.page-cta { margin-top: 3rem; text-align: center; }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 2.5rem; align-items: start; }
.info-col { display: grid; gap: 1.2rem; }
.info-card {
  background: linear-gradient(170deg, rgba(37, 19, 41, 0.9), rgba(11, 13, 36, 0.9));
  border: 1px solid rgba(229, 43, 121, 0.25);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}
.info-card.info-note { background: linear-gradient(135deg, rgba(181, 33, 106, 0.16), rgba(49, 19, 47, 0.45)); }
.info-card-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.9rem;
}
.info-card-label svg { width: 20px; height: 20px; color: var(--fuchsia); flex: none; }
.info-card p { color: rgba(255, 255, 255, 0.72); line-height: 1.7; font-size: 0.95rem; }
.info-card a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s ease; }
.info-card a:hover { color: var(--fuchsia); }

.form-card {
  background: linear-gradient(170deg, rgba(37, 19, 41, 0.9), rgba(11, 13, 36, 0.9));
  border: 1px solid rgba(229, 43, 121, 0.25);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .span2 { grid-column: span 2; }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.45rem;
}
.form-card input:not([type="checkbox"]),
.form-card select,
.form-card textarea {
  width: 100%;
  background: rgba(5, 5, 9, 0.65);
  border: 1px solid rgba(229, 43, 121, 0.25);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-card :is(input:not([type="checkbox"]), select, textarea):focus {
  outline: none;
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 3px rgba(229, 43, 121, 0.18);
}
.form-card ::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-card select option { background: #1a0d1c; color: var(--white); }
.form-card textarea { resize: vertical; min-height: 130px; }
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  line-height: 1.6;
}
.privacy-check input { width: auto; accent-color: var(--fuchsia); margin-top: 0.25rem; }
.privacy-check a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.privacy-check a:hover { color: var(--fuchsia); }
.form-error { display: none; margin-top: 1rem; font-size: 0.9rem; color: #ff7a9c; }
.form-error.show { display: block; }
.form-success { display: none; text-align: center; padding: 3rem 1rem 2rem; }
.form-success.show { display: block; }
.form-success svg { width: 64px; height: 64px; color: var(--fuchsia); margin: 0 auto 1rem; }
.form-success h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.form-success p { color: rgba(255, 255, 255, 0.7); }
.form-card .btn { margin-top: 1.5rem; }

/* Tabelle legali */
.page-content table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.page-content th, .page-content td {
  border: 1px solid rgba(229, 43, 121, 0.3);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.page-content th { background: rgba(99, 32, 82, 0.4); color: var(--white); font-weight: 700; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
}


