/* ============================================================
   AlbumBuilder PRO — Home Page
   home.css
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 92px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Glow di sfondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 30% 50%, rgba(184,134,11,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 70% 40%, rgba(184,134,11,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* ── Colonna sinistra ─── */
.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: var(--font-weight-semi);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse-gold 2s ease infinite;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,134,11,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(184,134,11,0); }
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: var(--font-weight-black);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-title-line2 {
  display: block;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}
.hero-trust-item .check-icon {
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* ── Colonna destra (visual) ─── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-laptop-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
}

/* Glow sotto il laptop */
.hero-laptop-wrap::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 80px;
  background: rgba(184,134,11,0.25);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 0;
}

.hero-laptop {
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.95));
  animation: float 5s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Overlay immagine admin-managed (sovrapposta allo schermo del laptop) */
.hero-screen-overlay {
  position: absolute;
  top: 8%;
  left: 14%;
  width: 72%;
  height: 60%;
  z-index: 2;
  overflow: hidden;
  border-radius: 4px;
}
.hero-screen-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease;
}
.hero-screen-overlay img.fade-out { opacity: 0; }
.hero-screen-overlay img.fade-in-img { opacity: 1; }

/* Badge floating accanto al laptop */
.hero-badge {
  position: absolute;
  background: rgba(10,10,10,0.9);
  border: 1px solid rgba(184,134,11,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  z-index: 3;
  animation: float-badge 4s ease-in-out infinite;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-badge-1 {
  bottom: 20%;
  left: -10%;
  animation-delay: 0.5s;
}
.hero-badge-2 {
  top: 15%;
  right: -8%;
  animation-delay: 1s;
}
.hero-badge-label {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.hero-badge-value {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-gold-light);
}

/* ══════════════════════════════════════════════════════════
   SEZIONE DIVIDER
   ══════════════════════════════════════════════════════════ */
.section-divider-wrap {
  padding: 8px 0;
}

/* ══════════════════════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════════════════════ */
.features-section {
  padding: var(--section-py) 0;
}
.features-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
.features-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold-dark);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card-glow);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184,134,11,0.5);
  border-top-color: var(--color-gold-light);
  box-shadow: var(--shadow-card), 0 0 40px rgba(184,134,11,0.1);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--color-gold);
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semi);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════ */
.stats-strip {
  padding: 48px 0;
  background: linear-gradient(180deg, #000 0%, #080808 50%, #000 100%);
  position: relative;
}
.stats-strip::before,
.stats-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.4), transparent);
}
.stats-strip::before { top: 0; }
.stats-strip::after  { bottom: 0; }

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '◆';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--color-gold-dark);
  font-size: 0.6rem;
}
.stat-value {
  font-size: 2rem;
  font-weight: var(--font-weight-black);
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════
   ALBUMLIVE PREVIEW SECTION
   ══════════════════════════════════════════════════════════ */
.albumlive-section {
  padding: var(--section-py) 0;
}
.albumlive-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.albumlive-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}
.albumlive-content p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.albumlive-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.albumlive-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.albumlive-feature .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-gold);
  flex-shrink: 0;
}

/* Preview placeholder AlbumLive */
.albumlive-visual {
  position: relative;
}
.albumlive-preview-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(184,134,11,0.08);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.albumlive-preview-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 80%;
  opacity: 0.5;
}
.albumlive-preview-photo {
  background: var(--color-border);
  border-radius: 6px;
  aspect-ratio: 3/2;
}
.albumlive-preview-photo:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
.albumlive-preview-label {
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semi);
}
.albumlive-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(184,134,11,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   PRICING SUMMARY
   ══════════════════════════════════════════════════════════ */
.pricing-summary-section {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #000 0%, #040404 50%, #000 100%);
}
.pricing-summary-header {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-summary-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
.pricing-summary-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
}
.pricing-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-summary-footer {
  text-align: center;
}
.pricing-summary-footer p {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE HOME
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container { gap: 40px; }
  .hero-badge-1 { left: -2%; }
  .hero-badge-2 { right: -2%; }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-visual  { order: 2; }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-laptop-wrap { max-width: 440px; margin: 0 auto; }
  .hero-badge { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 0 24px; }
  .albumlive-inner { grid-template-columns: 1fr; }
  .pricing-summary-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hero-title       { font-size: 2.2rem; }
  .hero-title-line2 { font-size: 2.2rem; }
  .stat-item { padding: 16px 0; }
  .stats-inner { flex-direction: column; }
  .stat-item::after { display: none; }
}

/* ── HOME CTA FINALE ───────────────────────────────────── */
.home-pricing-cta {
  padding: 60px 0 80px;
}
.home-pricing-cta-inner {
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
}
.home-pricing-cta-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.home-pricing-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
