/* ============================================================
   InteractiveWish — Pregnancy & Gender Reveal Landing Page CSS
   ============================================================ */

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

:root {
  /* Palette principale */
  --c-mint:     #AAF0D1;
  --c-blush:    #F4C2C2;
  --c-powder:   #B0C4DE;
  --c-dark:     #2a3a30;
  --c-mid:      #3d5a4a;
  --c-text:     #2d3d35;
  --c-light:    #f0fdf8;
  --c-white:    #ffffff;

  /* Modalità Gravidanza — verde menta #AAF0D1 */
  --pm-color:   #AAF0D1;
  --pm-dark:    #6ecfaa;
  --pm-grad:    linear-gradient(135deg, #AAF0D1 0%, #6ecfaa 100%);
  --pm-light:   #e6fdf5;
  --pm-shadow:  rgba(110,207,170,0.40);
  /* Modalità Gender Reveal — rosa cipria #F4C2C2 + celeste polvere #B0C4DE */
  --gm-pink:    #F4C2C2;
  --gm-blue:    #B0C4DE;
  --gm-grad:    linear-gradient(90deg, #F4C2C2 0%, #F4C2C2 20%, #B0C4DE 100%);
  --gm-shadow:  rgba(176,196,222,0.40);

  --grad-hero:  linear-gradient(135deg, #1a2e24 0%, #2a4a38 50%, #3a5e4a 100%);
  --grad-baby:  linear-gradient(135deg, #AAF0D1 0%, #F4C2C2 50%, #B0C4DE 100%);

  --radius:     16px;
  --shadow:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.2);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--c-light);
  color: var(--c-text);
  overflow-x: hidden;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.plp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(42,58,48,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.plp-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plp-logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--grad-baby);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plp-nav { display: flex; align-items: center; gap: 20px; }
.plp-nav-ctagroup { display: flex; align-items: center; gap: 8px; }
.plp-nav-cta {
  padding: 10px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.plp-nav-cta--pregnancy { background: var(--pm-grad); color: #1a3a28; box-shadow: 0 3px 10px var(--pm-shadow); }
.plp-nav-cta--gender    { background: var(--gm-grad); color: #1a2840; box-shadow: 0 3px 10px var(--gm-shadow); }
.plp-nav-cta--pregnancy:hover, .plp-nav-cta--gender:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── SEZIONI GENERICHE ── */
.plp-section { padding: 80px 20px; }
.plp-section-inner { max-width: 920px; margin: 0 auto; }
.plp-section-inner--wide { max-width: 1100px; margin: 0 auto; }

.plp-section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  color: var(--c-dark);
}
.plp-section-sub {
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ── HERO ── */
.plp-hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}
.plp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91,171,138,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.plp-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.plp-confetti span {
  position: absolute;
  font-size: 1.8rem;
  animation: floatUp linear infinite;
  opacity: 0.7;
  bottom: -40px;
}
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  80%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}
.plp-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.plp-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  color: white;
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.15;
}
.plp-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── CTA DUAL (due modalità) ── */
.plp-cta-dual {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.btn-pregnancy {
  background: var(--pm-grad);
  color: #1a3a28;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 24px var(--pm-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-gender {
  background: var(--gm-grad);
  color: #1a2840;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 24px var(--gm-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-pregnancy:hover, .btn-gender:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.2); }

.btn-ghost-white {
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: white; }

/* ── SEZIONE EMOTIVA (testo lungo) ── */
.plp-emotional { padding: 80px 20px; }
.plp-emotional-inner { max-width: 800px; margin: 0 auto; }
.plp-emotional-block {
  background: white;
  border-radius: var(--radius);
  padding: 48px 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.plp-emotional-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}
.plp-emotional-block--pregnancy::before { background: var(--pm-grad); }
.plp-emotional-block--gender::before    { background: var(--gm-grad); }
.plp-emotional-block--share::before     { background: linear-gradient(135deg, #fde68a 0%, #e8a0ad 100%); }
.plp-emotional-block--close::before     { background: linear-gradient(135deg, #a8d5c2 0%, #89b8d0 100%); }

.plp-emotional-block-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}
.plp-emotional-block h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--c-dark);
  margin-bottom: 16px;
}
.plp-emotional-block p {
  color: #445544;
  font-size: 1.05rem;
  line-height: 1.8;
}
.plp-emotional-block-cta {
  margin-top: 28px;
}

/* ── MODALITÀ (due card affiancate) ── */
.plp-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 0;
}
.plp-mode-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.plp-mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.plp-mode-head {
  padding: 36px 28px 28px;
  text-align: center;
}
.plp-mode-head.pregnancy { color: #1a3a28; }
.plp-mode-head.gender    { color: #1a2840; }
.plp-mode-head.pregnancy { background: var(--pm-grad); }
.plp-mode-head.gender    { background: var(--gm-grad); }

.plp-mode-emoji { font-size: 3.5rem; display: block; margin-bottom: 12px; }
.plp-mode-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.plp-mode-head h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.plp-mode-head p  { font-size: 0.9rem; opacity: 0.88; line-height: 1.5; }

.plp-mode-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.plp-mode-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.plp-mode-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e8f5ef;
  font-size: 0.95rem;
  color: var(--c-text);
}
.plp-mode-features li:last-child { border-bottom: none; }
.plp-mode-features .fi { flex-shrink: 0; }

.plp-mode-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
}
.plp-mode-cta.pregnancy { background: var(--pm-grad); color: #1a3a28; box-shadow: 0 4px 16px var(--pm-shadow); }
.plp-mode-cta.gender    { background: var(--gm-grad); color: #1a2840; box-shadow: 0 4px 16px var(--gm-shadow); }
.plp-mode-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── COME FUNZIONA (tabs) ── */
.plp-how-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.plp-how-tab {
  background: none;
  border: 2px solid #c8e6d8;
  color: #5a7a6a;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.plp-how-tab:hover { border-color: var(--pm-color); color: var(--pm-color); }
.plp-how-tab.active-pregnancy {
  background: var(--pm-grad);
  border-color: transparent;
  color: #1a3a28;
  box-shadow: 0 4px 14px var(--pm-shadow);
}
.plp-how-tab.active-gender {
  background: var(--gm-grad);
  border-color: transparent;
  color: #1a2840;
  box-shadow: 0 4px 14px var(--gm-shadow);
}
.plp-how-panels {}
.plp-how-panel { display: none; }
.plp-how-panel.active { display: block; }

.plp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.plp-step {
  text-align: center;
  padding: 28px 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.plp-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 16px;
}
.plp-step-num.pregnancy { background: var(--pm-grad); color: #1a3a28; box-shadow: 0 4px 14px var(--pm-shadow); }
.plp-step-num.gender    { background: var(--gm-grad); color: #1a2840; box-shadow: 0 4px 14px var(--gm-shadow); }
.plp-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--c-dark); }
.plp-step p  { font-size: 0.88rem; color: #666; line-height: 1.5; }

/* ── BENEFICI ── */
.plp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.plp-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.plp-benefit-icon { font-size: 2rem; flex-shrink: 0; }
.plp-benefit h3   { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--c-dark); }
.plp-benefit p    { font-size: 0.88rem; color: #666; line-height: 1.5; }

/* ── IDEE DI UTILIZZO ── */
.plp-ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.plp-idea {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: transform 0.2s;
}
.plp-idea:hover { transform: translateY(-3px); }
.plp-idea:nth-child(odd)::after {
  content: '';
  position: absolute;
  top: -4px; left: 0; right: 0;
  height: 4px;
  background: var(--pm-grad);
  border-radius: var(--radius) var(--radius) 0 0;
}
.plp-idea:nth-child(even)::after {
  content: '';
  position: absolute;
  top: -4px; left: 0; right: 0;
  height: 4px;
  background: var(--gm-grad);
  border-radius: var(--radius) var(--radius) 0 0;
}
.plp-idea h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--c-dark); }
.plp-idea p  { font-size: 0.88rem; color: #666; line-height: 1.5; }

/* ── ESEMPI MESSAGGI (bolle chat) ── */
.plp-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.plp-bubble {
  background: white;
  border-radius: 20px 20px 20px 4px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-text);
  position: relative;
}
.plp-bubble em {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #999;
  font-style: normal;
}

/* ── TIPS & TRICKS ── */
.plp-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.plp-tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.plp-tip-icon { font-size: 2rem; flex-shrink: 0; }
.plp-tip h3   { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--c-dark); }
.plp-tip p    { font-size: 0.88rem; color: #666; line-height: 1.5; }

/* ── REVIEWS ── */
.plp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.plp-review {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.plp-review-stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 12px; }
.plp-review-text  { font-size: 0.95rem; color: #444; line-height: 1.6; margin-bottom: 16px; }
.plp-review-author { font-weight: 700; color: var(--c-dark); font-size: 0.9rem; }
.plp-review-mode {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-top: 8px;
}
.plp-review-mode--pregnancy { background: var(--pm-grad); color: #1a3a28; }
.plp-review-mode--gender    { background: var(--gm-grad); color: #1a2840; }

/* ── FAQ ── */
.plp-faq-list { max-width: 720px; margin: 0 auto; }
.plp-faq-item { border-bottom: 1px solid #d4e8dd; }
.plp-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
.plp-faq-q::after { content: '+'; font-size: 1.4rem; color: var(--pm-color); flex-shrink: 0; transition: transform 0.2s; }
.plp-faq-item.open .plp-faq-q::after { transform: rotate(45deg); }
.plp-faq-a {
  display: none;
  padding: 0 0 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}
.plp-faq-item.open .plp-faq-a { display: block; }

/* ── CTA FINALE ── */
.plp-cta-final {
  background: var(--grad-hero);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.plp-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91,171,138,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.plp-cta-final h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: white;
  margin-bottom: 16px;
  position: relative;
}
.plp-cta-final p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}

/* ── FOOTER ── */
.plp-footer {
  background: var(--c-dark);
  padding: 48px 20px 32px;
  color: rgba(255,255,255,0.6);
}
.plp-footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.plp-footer-brand { font-size: 0.9rem; margin-bottom: 24px; }
.plp-footer-brand strong { color: white; }
.plp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.plp-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.plp-footer-links a:hover { color: white; }
.plp-footer-seo {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
  line-height: 1.6;
  max-width: 800px;
}
.plp-footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── UTILITY (data-soon) ── */
[data-soon] { opacity: 0.7; cursor: not-allowed; }
[data-soon]:hover { transform: none !important; box-shadow: none !important; }

/* ── SEZIONE ALTERNATA ── */
.plp-section--alt { background: white; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .plp-cta-dual { flex-direction: column; align-items: stretch; }
  .btn-pregnancy, .btn-gender { text-align: center; justify-content: center; }
  .plp-emotional-block { padding: 32px 24px; }
  .plp-how-tabs { gap: 6px; }
  .plp-how-tab { padding: 9px 16px; font-size: 0.82rem; }
  .plp-header-inner { padding: 0 12px; }
  .plp-nav-cta { padding: 8px 10px; font-size: 0.78rem; }
}
