/* ============================================================
   BASE STYLE — CLEAN, LIGHT, PROFESSIONAL
   Designed for InteractiveWish.com
   ============================================================ */

/* ----------------------------------------
   RESET & DEFAULTS
---------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  color: #333;
  background: #fafafa;
}

/* ----------------------------------------
   TYPOGRAPHY
---------------------------------------- */
h1, h2, h3 {
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
}

h2 {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

ul, ol {
  margin: 16px 0 16px 22px;
}

a {
  color: #0056b8;
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: #003d82;
}

/* ----------------------------------------
   CONTAINER
---------------------------------------- */
.container {
  width: 92%;
  max-width: 1100px;
  margin: auto;
}

/* ----------------------------------------
   HEADER
---------------------------------------- */
.site-header {
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo a {
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.main-nav a {
  font-size: 15px;
  color: #333;
}

.main-nav a:hover {
  color: #000;
}

/* ----------------------------------------
   HERO SECTION
---------------------------------------- */
.hero {
  padding: 80px 0;
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-text p {
  max-width: 540px;
  opacity: 0.85;
}

.hero-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* ----------------------------------------
   BUTTONS
---------------------------------------- */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 10px;
  transition: 0.25s;
}

.btn-primary {
  background: #0077ff;
  color: #fff;
}

.btn-primary:hover {
  background: #005fcc;
}

.btn-secondary {
  background: #eee;
  color: #333;
}

.btn-secondary:hover {
  background: #ddd;
}

.btn-ghost {
  border: 2px solid #0077ff;
  color: #0077ff;
  background: transparent;
}

.btn-ghost:hover {
  background: #0077ff;
  color: #fff;
}

/* ----------------------------------------
   SECTIONS
---------------------------------------- */
.section {
  padding: 70px 0;
}

.section-alt {
  padding: 70px 0;
  background: #f2f5fb;
  border-top: 1px solid #e6eaf3;
  border-bottom: 1px solid #e6eaf3;
}

/* ----------------------------------------
   LISTS & CARDS
---------------------------------------- */
.steps li {
  margin-bottom: 16px;
  padding-left: 6px;
}

.advantages li {
  margin-bottom: 10px;
}

/* BLOG PREVIEW */
.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.blog-card {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: 0.25s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.blog-card p {
  opacity: 0.8;
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.site-footer {
  background: #111;
  color: #fff;
  padding: 40px 0;
  margin-top: 50px;
}

.site-footer a {
  color: #ddd;
}

.site-footer a:hover {
  color: #fff;
}

.footer-inner p {
  margin-bottom: 10px;
}

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */
@media (min-width: 768px) {

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .main-nav ul {
    gap: 28px;
  }

  .blog-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* REGOLA AGGIUNTA/MODIFICATA PER IL MENU MOBILE */
@media (max-width: 767px) {
    /* Forzo il menu ad andare a capo e riduco lo spazio tra le voci */
    .main-nav ul {
        flex-wrap: wrap; /* Permette alle voci di andare su più righe */
        justify-content: flex-end; /* Allinea a destra le voci */
        gap: 8px 12px; /* Riduci il gap orizzontale e verticale */
    }

    /* Riduci ulteriormente la dimensione del testo del menu in mobile */
    .main-nav a {
        font-size: 13px;
    }

    /* Riduci il padding dell'header per guadagnare spazio */
    .header-inner {
        padding: 10px 0;
    }
}

/* Regola specifica per l'allineamento dei pulsanti */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .mockup-phone {
    max-width: 220px;
  }
}

/* ============================================================
   HOMEPAGE ENHANCEMENTS — INTERACTIVEWISH
   ============================================================ */

/* Logo pill (Beta) */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #ddd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
}

/* HERO highlight */
.hero-highlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, #fbe9d2 0, transparent 55%),
    radial-gradient(circle at bottom right, #e3f0ff 0, transparent 55%),
    #ffffff;
}

.hero-highlight::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 50%, rgba(255,215,130,0.16), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

/* Ensure content stays above background */
.hero-highlight .hero-inner {
  position: relative;
  z-index: 1;
}

/* Layout for hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 119, 255, 0.07);
  color: #0056b8;
  margin-bottom: 16px;
}

.hero-tagline {
  max-width: 560px;
  opacity: 0.9;
}

.hero-bullets {
  margin: 18px 0 0 0;
  list-style: none;
}

.hero-bullets li {
  margin-bottom: 6px;
  padding-left: 22px;
  position: relative;
  font-size: 15px;
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: #0077ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.hero-secondary {
  font-size: 15px;
}

.hero-note {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.8;
}

/* Phone mockup */
.mockup-phone {
  width: 270px;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 10px 18px;
  border-radius: 32px;
  background: linear-gradient(145deg, #fdfdfd, #e8edf5);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-phone-notch {
  width: 40%;
  height: 9px;
  border-radius: 0 0 10px 10px;
  background: #111;
  margin-bottom: 10px;
}

.mockup-screen {
  width: 75%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0,0,0,0.08);
}

.mockup-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-caption {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  opacity: 0.8;
}

/* Strip benefits */
.strip-benefits {
  padding: 18px 0 24px;
  background: #111;
  color: #fff;
}

.strip-benefits-inner {
  text-align: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.22);
  opacity: 0.9;
}

/* Eyebrow label */
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #777;
  margin-bottom: 8px;
}

/* Steps grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 22px;
}

.step-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  position: relative;
}

.step-number {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  font-weight: 700;
  color: rgba(0,0,0,0.08);
}

/* Featured section */
.section-featured {
  background: radial-gradient(circle at top, #fff7e0 0, #fff 45%, #f7f9ff 100%);
  border-top: 1px solid #f1e7d4;
  border-bottom: 1px solid #dde5ff;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.featured-list {
  margin: 18px 0 0 0;
  list-style: none;
}

.featured-list li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  font-size: 15px;
}

.featured-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: #c08400;
}

/* Card preview */
.card-preview {
  background: #111111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  color: #fff;
  max-width: 360px;
  margin: 0 auto;
}

.card-preview-header {
  height: 22px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #333, #222);
}

.card-preview-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.card-preview-body {
  position: relative;
  padding: 16px 16px 18px;
}

.card-preview-gold {
  border-radius: 14px;
  height: 150px;
  background: radial-gradient(circle at 10% 0%, #fff6ce 0, #ffd386 30%, #e3a93f 55%, #8d5a16 100%);
  position: relative;
  overflow: hidden;
}

.card-preview-gold::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.25), transparent 60%),
    radial-gradient(circle at 110% 0%, rgba(255,255,255,0.3), transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.card-preview-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mini-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.mini-dot-green {
  background: #21c55d;
  top: 20%;
  left: 18%;
}

.mini-dot-blue {
  background: #38bdf8;
  bottom: 22%;
  right: 20%;
}

.mini-dot-red {
  background: #fb7185;
  top: 55%;
  left: 45%;
}

.card-preview-label {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.9;
}

/* Metrics */
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 13px;
}

.metric-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid #e2e8ff;
  min-width: 110px;
}

.metrics-inline {
  margin: 10px 0 20px 0; /* Riduci il margine superiore per avvicinarlo all'H2 */
}

.metric-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid #e2e8ff;
  min-width: 110px;
}

.metric-number {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #1f2933;
}

.metric-label {
  display: block;
  opacity: 0.8;
}

/* Advantages grid */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Share section */
.share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 18px;
}

.share-step h3 {
  margin-bottom: 8px;
}

.share-step em {
  font-style: italic;
  opacity: 0.85;
}

/* Footer tagline */
.footer-tagline {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.75;
}

/* ----------------------------------------
   HIDDEN GIFTS SHOWCASE
---------------------------------------- */
.hidden-gifts-showcase {
  margin-top: 50px; /* Spazio dal CTA precedente */
  padding: 30px 0;
  border-top: 1px solid #ddd;
}

.hidden-gifts-showcase h3 {
  font-size: 24px;
  color: #c08400; /* Colore oro/natale */
}

.hidden-gifts-showcase p {
  font-size: 16px;
  margin-bottom: 25px;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.gift-box {
  background: #f7f9ff;
  border: 1px solid #e2e8ff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  
  /* Miglioramento per il link */
  display: block;
  text-decoration: none; 
  color: inherit; 
}

.gift-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gift-box img {
  width: 70%; /* Rendi l'immagine responsiva all'interno della sua scatola */
  height: auto;
  display: block;
  margin: 10px auto 5px;
}

.gift-caption {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #0077ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 5px;
}

/* Responsività per schermi più grandi */
@media (min-width: 768px) {
  .gifts-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
}