/* Messaggeria.com Landing Page - Static PHP Version */
/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Font */
@font-face {
  font-family: 'Material Symbols';
  src: url('fonts/material-symbols-rounded.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1a2e;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Brand colors */
:root {
  --neon-pink: #F303F3;
  --neon-cyan: #50BEF7;
  --bg-anthracite: #1a1a2e;
  --neon-pink-light: rgba(243, 3, 243, 0.2);
  --neon-cyan-light: rgba(80, 190, 247, 0.2);
}

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Background effects */
.bg-blur-pink {
  position: absolute;
  width: 400px; height: 400px;
  background: var(--neon-pink-light);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.bg-blur-cyan {
  position: absolute;
  width: 320px; height: 320px;
  background: var(--neon-cyan-light);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* Hero section */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 24px; position: relative; overflow: hidden; }
.hero-inner { width: 100%; max-width: 1152px; position: relative; z-index: 10; }

/* Language selector */
.lang-selector { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.lang-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.2); }
.lang-dropdown {
  position: absolute; right: 0; top: 100%; margin-top: 8px;
  background: rgba(30,30,50,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  display: none;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.lang-dropdown.active { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}
.lang-option:hover { background: rgba(255,255,255,0.1); }
.lang-option.active { background: rgba(80,190,247,0.2); }

/* Hero content */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero { padding: 24px 16px; min-height: auto; }
}

.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 8px; }
@media (max-width: 768px) { .hero-title { font-size: 2.5rem; } }
.hero-title .cyan { color: var(--neon-cyan); }
.hero-title .pink { color: var(--neon-pink); }
.hero-subtitle { font-size: 1.5rem; font-style: italic; font-weight: 900; letter-spacing: 0.1em; color: #fff; margin-bottom: 24px; }
.hero-desc { font-size: 1.125rem; color: #d1d5db; line-height: 1.6; max-width: 500px; margin-bottom: 24px; }
.hero-badges { display: flex; gap: 32px; align-items: center; }
@media (max-width: 768px) { .hero-badges { justify-content: center; } }
.badge { display: flex; align-items: center; gap: 12px; color: #9ca3af; }
.badge-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.badge-icon.pink { background: rgba(243, 3, 243, 0.2); }
.badge-icon.cyan { background: rgba(80, 190, 247, 0.2); }
.badge-icon svg { width: 20px; height: 20px; }

.hero-image { display: flex; justify-content: center; }
.hero-image-wrapper { position: relative; }
.hero-image-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(243,3,243,0.3), rgba(80,190,247,0.3));
  border-radius: 50%;
  filter: blur(40px);
  transform: scale(1.1);
}
.hero-image img { width: 350px; height: 350px; position: relative; z-index: 10; }
@media (max-width: 768px) { .hero-image img { width: 200px; height: 200px; } }

/* Section: Come funziona + Perché ti conviene */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 32px;
  background: linear-gradient(135deg, rgba(243,3,243,0.1), rgba(128,0,128,0.2), rgba(80,190,247,0.1));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}
.card-green {
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(16,185,129,0.2), rgba(20,184,166,0.1));
  border: 1px solid rgba(74,222,128,0.3);
}
.card-blur { position: absolute; width: 96px; height: 96px; border-radius: 50%; filter: blur(30px); }
.card-blur.pink { background: rgba(243,3,243,0.2); top: 0; right: 0; transform: translate(50%, -50%); }
.card-blur.cyan { background: rgba(80,190,247,0.2); bottom: 0; left: 0; transform: translate(-50%, 50%); }
.card-blur.green { background: rgba(74,222,128,0.2); }
.card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.card-title.cyan { color: var(--neon-cyan); }
.card-title.green { color: #4ade80; }
.card-content { position: relative; z-index: 10; }
.card-text { font-size: 1rem; line-height: 1.6; color: #d1d5db; }
.card-text p { margin-bottom: 12px; }
.card-text .highlight-cyan { color: var(--neon-cyan); font-weight: 700; }
.card-text .highlight-pink { color: var(--neon-pink); font-weight: 600; }
.card-text .highlight-yellow { color: #facc15; font-weight: 600; }
.card-quote { font-style: italic; border-left: 2px solid var(--neon-cyan); padding-left: 12px; margin-top: 16px; color: #fff; font-weight: 500; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-item {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border-radius: 12px; padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.feature-item:hover { border-color: rgba(255,255,255,0.3); transform: scale(1.05); }
.feature-item svg { width: 32px; height: 32px; margin-bottom: 8px; }
.feature-item .green { color: #4ade80; }
.feature-item .yellow { color: #facc15; }
.feature-item .cyan { color: var(--neon-cyan); }
.feature-item .pink { color: var(--neon-pink); }
.feature-item p { font-size: 0.875rem; font-weight: 600; color: #fff; }

/* Video promo */
.video-promo {
  position: relative; display: block; width: 100%;
  overflow: hidden; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
  text-decoration: none;
}
.video-promo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s;
}
.video-promo:hover .video-promo-bg { transform: scale(1.05); }
.video-promo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(243,3,243,0.3), rgba(0,0,0,0.5), rgba(80,190,247,0.3));
}
.video-promo-darken { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.video-promo-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 48px 24px; text-align: center;
}
@media (min-width: 768px) { .video-promo-content { padding: 64px 24px; } }

.play-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 28px; height: 28px; color: #fff; margin-left: 4px; }
.play-btn-ping {
  position: absolute; width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(1.5); opacity: 0; }
}

.video-promo h3 { font-size: 1.5rem; font-weight: 900; color: #fff; }
@media (min-width: 768px) { .video-promo h3 { font-size: 1.875rem; } }
.video-promo p { font-size: 0.875rem; color: #e5e7eb; max-width: 500px; }
@media (min-width: 768px) { .video-promo p { font-size: 1rem; } }
.video-promo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 8px 20px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 700; color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
  margin-top: 8px;
}
.video-promo:hover .video-promo-btn { background: rgba(255,255,255,0.2); }

/* Carousel */
.carousel { position: relative; width: 100%; }
.carousel-viewport { overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #111827, #1a1a2e); border: 1px solid rgba(80,190,247,0.3); }
.carousel-track { display: flex; transition: transform 0.5s ease-out; }
.carousel-slide { flex-shrink: 0; width: 100%; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; }
.carousel-image { width: 100%; max-width: 350px; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(243,3,243,0.5); margin-bottom: 24px; }
.carousel-image img { width: 100%; height: 100%; object-fit: cover; }
.carousel-icon { margin-bottom: 24px; color: var(--neon-cyan); }
.carousel-icon svg { width: 128px; height: 128px; }
.carousel-title { font-size: 1.125rem; font-weight: 800; color: var(--neon-pink); margin-bottom: 16px; text-align: center; }
.carousel-text { font-size: 1rem; color: #fff; text-align: center; max-width: 500px; line-height: 1.6; font-weight: 300; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(26,26,46,0.8); border: 1px solid rgba(80,190,247,0.5);
  color: var(--neon-cyan); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; z-index: 10;
}
.carousel-arrow:hover { background: #1a1a2e; border-color: var(--neon-cyan); }
.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }
.carousel-arrow svg { width: 24px; height: 24px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: #4b5563; border: none; cursor: pointer; transition: all 0.3s; }
.carousel-dot:hover { background: #6b7280; }
.carousel-dot.active { background: var(--neon-cyan); width: 32px; border-radius: 999px; }

/* What is section */
.what-is { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; }
@media (max-width: 768px) { .what-is { grid-template-columns: 1fr; } }
.what-is-left { padding: 32px; background: rgba(17,24,39,0.5); border: 1px solid rgba(80,190,247,0.3); border-radius: 16px; }
.what-is-right { padding: 32px; background: linear-gradient(180deg, #111827, #1a1a2e); border: 1px solid rgba(243,3,243,0.3); border-radius: 16px; display: flex; flex-direction: column; justify-content: center; }

.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-row { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.feature-icon.cyan { background: linear-gradient(135deg, rgba(243,3,243,0.2), rgba(80,190,247,0.2)); border: 1px solid rgba(80,190,247,0.3); }
.feature-icon.pink { background: linear-gradient(135deg, rgba(243,3,243,0.2), rgba(168,85,247,0.2)); border: 1px solid rgba(243,3,243,0.3); }
.feature-icon.green { background: linear-gradient(135deg, rgba(74,222,128,0.2), rgba(16,185,129,0.2)); border: 1px solid rgba(74,222,128,0.3); }
.feature-icon svg { width: 20px; height: 20px; }

.feature-text { font-size: 0.875rem; color: #d1d5db; line-height: 1.6; }
.feature-text .highlight { font-weight: 600; }
.feature-text .cyan { color: var(--neon-cyan); }
.feature-text .pink { color: var(--neon-pink); }
.feature-text .green { color: #4ade80; }

.section-title { font-size: 1.5rem; font-weight: 800; color: var(--neon-pink); margin-bottom: 24px; }
.section-desc { font-size: 1.125rem; color: #fff; line-height: 1.6; font-weight: 300; margin-bottom: 24px; }

.cta-title { font-size: 1.25rem; font-weight: 700; color: #fff; text-align: center; margin-bottom: 32px; line-height: 1.3; }

/* Buttons */
.btn { width: 100%; padding: 16px 24px; border-radius: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; border: none; font-size: 1rem; transition: all 0.3s; text-decoration: none; }
.btn-whatsapp { background: #22c55e; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); }
.btn-whatsapp:hover { background: #16a34a; box-shadow: 0 10px 15px -3px rgba(34,197,94,0.5); transform: scale(1.05); }
.btn-email { background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan)); color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); }
.btn-email:hover { opacity: 0.9; transform: scale(1.05); }
.btn svg { width: 24px; height: 24px; }

/* Share */
.share-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; transition: transform 0.3s; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}
.share-btn:hover { transform: scale(1.1); }
.share-btn:active { transform: scale(0.95); }
.share-btn svg { width: 32px; height: 32px; color: #fff; }

/* Footer */
.footer { text-align: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(55,65,81,0.5); }
.footer p { color: #9ca3af; font-size: 0.875rem; margin-bottom: 8px; }
.footer a { color: var(--neon-cyan); text-decoration: underline; transition: color 0.3s; }
.footer a:hover { color: var(--neon-pink); }

/* Spacing */
.section { margin-bottom: 64px; }
@media (max-width: 768px) { .section { margin-bottom: 48px; } }
