/* ============================================
   LANDING PRODUCT — YUKIMORI
   Condiviso dalle 4 landing (PA-IT/EN, MA-IT/EN)
   Sakura Circuit — premium depth
   Accent per prodotto via CSS variable
============================================ */

/* ============================================
   PRODUCT ACCENT — brand mono-accent sakura
   (PA e MA condividono lo stesso accent — allineato alle cover PDF reali)
============================================ */
:root {
  --accent: var(--sakura);
  --accent-light: var(--sakura-light);
  --accent-10: var(--sakura-10);
  --accent-15: var(--sakura-15);
  --accent-20: var(--sakura-20);
}

/* ============================================
   PREMIUM DEPTH — layer gradient radiali
============================================ */
body.product-landing::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 8%, var(--accent-10), transparent 60%),
    radial-gradient(ellipse 55% 45% at 92% 12%, rgba(200,164,94,0.05), transparent 65%),
    radial-gradient(ellipse 65% 50% at 50% 100%, var(--accent-15), transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
/* Sale sopra il gradient ::before senza catturare nav/drawer che restano fixed. */
body.product-landing > *:not(nav):not(.nav-drawer) { position: relative; z-index: 1; }

/* ============================================
   HERO — answer-first + cover split
============================================ */
.product-hero {
  padding: 108px 80px 64px;
  position: relative;
}
.product-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,164,94,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,94,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 45% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}
.product-hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
}
.product-hero-text {
  min-width: 0;
  text-align: left;
}
.product-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--pearl);
  margin-bottom: 26px;
}
.product-h1 .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-light) 55%, var(--gold) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}
.product-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(240,236,232,0.65);
  max-width: 560px;
  margin: 0 0 34px;
  line-height: 1.7;
}
.product-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,236,232,0.5);
  margin-bottom: 34px;
}

/* iPhone mockup — sfondo trasparente, "galleggia" sull'obsidian.
   Il PNG WebP porta la sua ombra: qui solo un alone accent morbido dietro. */
.product-hero-cover {
  margin: 0;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 959 / 1200;
  max-height: 62vh;
  position: relative;
  transition: transform 0.6s ease;
}
.product-hero-cover::before {
  content: '';
  position: absolute;
  inset: 8% 6% 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 50% 55%, var(--accent-20), transparent 70%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
}
.product-hero-cover:hover {
  transform: translateY(-4px);
}
.product-hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-hero-meta span::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--accent);
}

/* ============================================
   CTA — neon glow
============================================ */
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--obsidian);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 42px;
  border-radius: 3px;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
  box-shadow:
    0 0 0 1px var(--accent-15),
    0 4px 14px -8px rgba(0,0,0,0.55),
    0 0 12px -10px var(--accent);
}
.product-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--accent-20),
    0 6px 16px -8px rgba(0,0,0,0.6),
    0 0 16px -10px var(--accent-light);
}
.product-cta .arr { transition: transform 0.3s; }
.product-cta:hover .arr { transform: translateX(4px); }

/* ============================================
   SECTION EYEBROW variant with accent
============================================ */
.eyebrow-accent {
  color: var(--accent);
}
.eyebrow-accent::before { background: var(--accent); }

/* ============================================
   FEATURE GRID — 6 blocchi (PA) / features (MA)
============================================ */
.content-narrow {
  max-width: 1100px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-15);
  border: 1px solid var(--gold-15);
  margin-top: 44px;
}
.feature {
  background: var(--obsidian);
  padding: 36px 32px;
  position: relative;
  transition: background 0.4s;
}
.feature:hover {
  background: linear-gradient(160deg, var(--accent-10), transparent 70%);
}
.feature-icon {
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px var(--accent-20));
}
.feature-num {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 8px;
}
.feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--pearl);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(240,236,232,0.55);
}

/* ============================================
   PULL-QUOTE + MORE CONTENT
============================================ */
.callout-quote {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
  padding: 0 24px;
}
.callout-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.35;
  color: var(--pearl);
}
.callout-quote .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-light) 55%, var(--gold) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.callout-quote cite {
  display: block;
  margin-top: 14px;
  font-family: 'Syne Mono', monospace;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.more-content {
  max-width: 900px;
  margin: 56px auto 0;
}
.more-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.more-item {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(240,236,232,0.72);
  padding: 14px 20px;
  border: 1px solid var(--gold-15);
  border-radius: 4px;
  background: rgba(240,236,232,0.02);
  transition: border-color 0.3s, background 0.3s;
}
.more-item:hover {
  border-color: var(--accent-20);
  background: var(--accent-10);
}
@media (max-width: 700px) {
  .more-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROSE SECTION — sezione descrittiva "respiro"
   (bilanciamento fra sezioni a griglia)
============================================ */
.prose-section {
  max-width: 760px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.prose-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(240,236,232,0.78);
}
.prose-section strong {
  color: var(--pearl);
  font-weight: 500;
}
.prose-section code {
  font-family: 'Syne Mono', monospace;
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(240,236,232,0.05);
  color: var(--accent);
}
.prose-section em {
  color: rgba(240,236,232,0.62);
  font-style: italic;
}

/* ============================================
   SELF-SELECT — a chi serve / a chi non serve
============================================ */
.select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 44px;
}
.select-card {
  padding: 40px 36px;
  border: 1px solid var(--gold-15);
  border-radius: 4px;
  background: rgba(240,236,232,0.015);
  position: relative;
  overflow: hidden;
}
.select-card.yes { border-color: var(--accent-20); }
.select-card.yes::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-10), transparent 60%);
  pointer-events: none;
}
.select-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}
.select-card.yes .select-head { color: var(--accent); }
.select-head svg {
  width: 18px; height: 18px;
}
.select-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.select-list li {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(240,236,232,0.7);
  padding-left: 22px;
  position: relative;
}
.select-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.select-card:not(.yes) .select-list li::before {
  background: rgba(240,236,232,0.3);
}

/* ============================================
   PREVIEW — pagine PDF
============================================ */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.preview-card {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--gold-15);
  background: rgba(240,236,232,0.02);
  position: relative;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-20);
  box-shadow: 0 12px 32px -12px var(--accent);
}
.preview-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.preview-hook {
  margin-top: 34px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(240,236,232,0.55);
}

/* ============================================
   SPECS BOX — proof by content
============================================ */
.specs-box {
  max-width: 720px;
  margin: 44px auto 0;
  border: 1px solid var(--gold-15);
  border-radius: 4px;
  background: rgba(240,236,232,0.02);
  padding: 8px 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--gold-15);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}
.spec-val {
  font-size: 15px;
  color: var(--pearl);
  line-height: 1.6;
}
.spec-val strong { color: var(--accent); font-weight: 500; }

/* ============================================
   FAQ — native <details>
============================================ */
.faq-list {
  max-width: 800px;
  margin: 44px auto 0;
  border-top: 1px solid var(--gold-15);
}
.faq-item {
  border-bottom: 1px solid var(--gold-15);
  padding: 4px 0;
}
.faq-item[open] { background: linear-gradient(180deg, var(--accent-10), transparent 60%); }
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 22px 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.3s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 8px 26px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(240,236,232,0.7);
}
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   FINAL CTA + CROSS-LINK
============================================ */
.final-cta {
  text-align: center;
  padding: 96px 80px;
  border-top: 1px solid var(--gold-15);
  background: linear-gradient(180deg, transparent 0%, var(--accent-10) 100%);
}
.final-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 26px;
  color: var(--pearl);
}
.final-cta h2 em { color: var(--accent); font-style: italic; }
.cross-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,236,232,0.55);
  transition: color 0.3s;
}
.cross-link:hover { color: var(--accent); }
.cross-link .arr { transition: transform 0.3s; }
.cross-link:hover .arr { transform: translateX(4px); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .product-hero { padding: 92px 24px 56px; }
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 720px;
  }
  .product-hero-text { text-align: center; }
  .product-hero-sub { margin: 0 auto 34px; max-width: 620px; }
  .product-hero-meta { justify-content: center; }
  .product-hero-cover {
    width: 240px;
    max-height: 42vh;
    margin: 0 auto;
    transform: perspective(1800px) rotateY(-3deg) rotateX(1deg);
    order: -1;
  }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .select-grid { grid-template-columns: 1fr; gap: 20px; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 24px; }
  .final-cta { padding: 72px 24px; }
}
@media (max-width: 600px) {
  .product-hero { padding: 84px 20px 40px; }
  .product-hero-inner { gap: 24px; }
  .product-hero-meta { flex-direction: column; gap: 10px; align-items: center; }
  .product-hero-cover { width: 200px; max-height: 38vh; }
  .feature-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   REDUCED MOTION — kill animazioni, tutto visibile
============================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .product-cta, .preview-card, .feature, .faq-q, .cross-link {
    transition: none !important;
  }
  .product-cta:hover, .preview-card:hover, .cross-link:hover { transform: none !important; }
}
