:root {
  --primary: #008C8C;
  --primary-dark: #006060;
  --dark: #111111;
  --light: #ffffff;
  --bg-page: #f8fcfc;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {       
  background-color: var(--light);
  font-family: 'Inter', "SF Pro Display", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 140, 140, 0.1);
  height: var(--nav-h);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92vw, 1400px);
  margin: 0 auto;
  position: relative;
}

.nav-left-block,
.navbar-right,
.header-socials-group,
.lang-switch {
  display: flex;
  align-items: center;
}

.logo {
  height: 36px;
  border-radius: 8px;
  display: block;
}

.logo-link {
  display: flex;
  align-items: center;
}

.brand-text {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary);
  margin-left: 15px;
  white-space: nowrap;
}

.brand-slogan {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--primary);
}

.header-socials-group {
  margin-left: 20px;
}

.header-socials-group a {
  font-size: 1.1rem;
  padding: 0 8px;
  transition: transform 0.2s ease;
}

.header-socials-group a:hover {
  transform: translateY(-2px);
}

.header-socials-group .fa-instagram,
.footer-socials .fa-instagram {
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-socials-group .fa-tiktok,
.footer-socials .fa-tiktok {
  color: #000000;
}

.header-socials-group .fa-youtube,
.footer-socials .fa-youtube {
  color: #FF0000;
}

.header-socials-group .fa-facebook-f,
.footer-socials .fa-facebook-f {
  color: #1877F2;
}

.nav-divider-big {
  width: 1px;
  height: 20px;
  background: #ddd;
  margin: 0 15px;
}

.icon-divider {
  width: 1px;
  height: 12px;
  background: rgba(0, 140, 140, 0.3);
  margin: 0 5px;
}

.nav-links-container {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-btn-simple {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-btn-simple:hover {
  background: rgba(0, 140, 140, 0.07);
  color: var(--primary);
}

.nav-btn-simple.is-active {
  color: var(--primary);
  background: rgba(0, 140, 140, 0.08);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
}

.lang-btn.is-active {
  color: var(--primary);
  font-weight: 900;
}

.lang-divider {
  width: 1px;
  height: 12px;
  background: #ccc;
  margin: 0 8px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: rgba(0, 140, 140, 0.08);
  border: 1px solid rgba(0, 140, 140, 0.16);
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-dark);
  cursor: pointer;
}

/* =========================================
   BOLLE TAPPI GLOBALI SU TUTTO IL SITO
========================================= */
.global-bubbles-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Fondamentale: impedisce alle bolle di bloccare i click */
  z-index: 0; /* Passano nel livello piÃ¹ profondo, dietro a scritte ed elementi! */
  overflow: hidden;
}

.g-bubble {
  position: absolute;
  top: 100%; /* Partono da sotto lo schermo */
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset -3px -3px 10px rgba(0, 140, 140, 0.1), 0 5px 15px rgba(0, 140, 140, 0.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatUp linear infinite;
  will-change: transform, opacity;
}

.g-bubble img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(0, 140, 140, 0.2));
  animation: spinTappi 6s ease-in-out infinite alternate;
}

@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.65; } /* Appaiono dolcemente */
  90% { opacity: 0.65; }
  100% { transform: translateY(-120vh) translateX(35px); opacity: 0; } /* Scompaiono oltre il top */
}

@keyframes spinTappi {
  0% { transform: rotate(-12deg) scale(0.95); }
  100% { transform: rotate(12deg) scale(1.05); }
}

/* Grandezze molto piccole e tempi sfalsati per creare un flusso naturale continuo */
.gb-1 { left: 5%; width: 40px; height: 40px; animation-duration: 18s; animation-delay: 0s; }
.gb-2 { left: 15%; width: 25px; height: 25px; animation-duration: 22s; animation-delay: 4s; }
.gb-3 { left: 25%; width: 35px; height: 35px; animation-duration: 15s; animation-delay: 8s; }
.gb-4 { left: 35%; width: 45px; height: 45px; animation-duration: 25s; animation-delay: 2s; }
.gb-5 { left: 48%; width: 30px; height: 30px; animation-duration: 19s; animation-delay: 11s; }
.gb-6 { left: 60%; width: 40px; height: 40px; animation-duration: 21s; animation-delay: 5s; }
.gb-7 { left: 72%; width: 25px; height: 25px; animation-duration: 16s; animation-delay: 9s; }
.gb-8 { left: 82%; width: 38px; height: 38px; animation-duration: 24s; animation-delay: 1s; }
.gb-9 { left: 92%; width: 32px; height: 32px; animation-duration: 20s; animation-delay: 14s; }
.gb-10 { left: 10%; width: 42px; height: 42px; animation-duration: 26s; animation-delay: 7s; }
.gb-11 { left: 55%; width: 28px; height: 28px; animation-duration: 17s; animation-delay: 13s; }
.gb-12 { left: 88%; width: 45px; height: 45px; animation-duration: 23s; animation-delay: 10s; }

.hero-fullscreen {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(0, 140, 140, 0.05) 0%, #ffffff 70%);
  padding: calc(var(--nav-h) + 56px) 18px 64px;
}

.hero-title-container {
  border: 2px solid var(--primary);
  border-radius: 32px;
  padding: 35px 50px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 70px rgba(0, 140, 140, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 850px;
  margin: 0 auto 25px;
  position: relative;
  z-index: 10;
}

.hero-mini-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(0, 140, 140, 0.08);
  border: 1px solid rgba(0, 140, 140, 0.16);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.slogan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  font-weight: 500;
  margin-bottom: 6px;
}

.hero-main-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero-main-title span {
  display: block;
}

.glow-text {
  background: linear-gradient(135deg, var(--primary), #00d2d2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 46px;
}

.store-btn img {
  height: 50px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-btn:hover img {
  transform: scale(1.08);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #888;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.mobile-world-cloud {
  display: none;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.hero-graphics-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
}

.glow-orb.primary {
  width: 450px;
  height: 450px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.glow-orb.secondary {
  width: 350px;
  height: 350px;
  background: #00e5ff;
  bottom: 10%;
  left: -50px;
}

.floating-chip {
  position: absolute;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 140, 140, 0.2);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 140, 140, 0.06);
  font-weight: 900;
  color: var(--primary-dark);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 4;
  animation: chipDriftA 14s infinite ease-in-out;
  white-space: nowrap;
  will-change: transform;
}

.main-wrapper {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 42px) 18px 38px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(circle at 50% 0%, rgba(0, 140, 140, 0.06) 0%, #ffffff 58%);
}

.main-container {
  width: min(92vw, 1120px);
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(0, 140, 140, 0.22);
  border-radius: 34px;
  box-shadow: 0 28px 72px rgba(0, 140, 140, 0.10);
  padding: clamp(28px, 4vw, 56px);
}

.description {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 12px;
}

.brand-name {
  background: linear-gradient(135deg, var(--primary), #00c9c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chip-1 { top: 20%; left: 8%; animation-name: chipDriftA; animation-duration: 16s; }
.chip-2 { top: 24%; right: 10%; animation-name: chipDriftB; animation-duration: 18s; animation-delay: -4s; }
.chip-3 { top: 44%; left: 5%; animation-name: chipDriftC; animation-duration: 20s; animation-delay: -7s; }
.chip-4 { top: 60%; right: 8%; animation-name: chipDriftD; animation-duration: 17s; animation-delay: -2s; }
.chip-5 { bottom: 20%; left: 15%; animation-name: chipDriftB; animation-duration: 19s; animation-delay: -8s; }
.chip-6 { bottom: 25%; right: 15%; animation-name: chipDriftC; animation-duration: 21s; animation-delay: -5s; }
.chip-7 { top: 13%; right: 26%; animation-name: chipDriftD; animation-duration: 22s; animation-delay: -11s; }
.chip-8 { bottom: 15%; left: 35%; animation-name: chipDriftA; animation-duration: 18s; animation-delay: -9s; }
.chip-9 { top: 75%; left: 10%; animation-name: chipDriftC; animation-duration: 16s; animation-delay: -3s; }
.chip-10 { top: 38%; right: 22%; animation-name: chipDriftA; animation-duration: 23s; animation-delay: -12s; }
.chip-11 { top: 14%; left: 30%; animation-name: chipDriftB; animation-duration: 17s; animation-delay: -6s; }
.chip-12 { bottom: 12%; right: 35%; animation-name: chipDriftD; animation-duration: 20s; animation-delay: -10s; }
.chip-13 { top: 10%; left: 14%; animation-name: chipDriftC; animation-duration: 19s; animation-delay: -13s; }

@keyframes chipDriftA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  25% { transform: translate3d(34px, -22px, 0) rotate(2.5deg); }
  50% { transform: translate3d(8px, 18px, 0) rotate(-2deg); }
  75% { transform: translate3d(-30px, -7px, 0) rotate(1.5deg); }
}

@keyframes chipDriftB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  25% { transform: translate3d(-30px, 17px, 0) rotate(-2deg); }
  50% { transform: translate3d(-7px, -26px, 0) rotate(2deg); }
  75% { transform: translate3d(28px, 8px, 0) rotate(-1.5deg); }
}

@keyframes chipDriftC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(22px, 26px, 0) rotate(-2deg); }
  50% { transform: translate3d(-28px, 10px, 0) rotate(2.5deg); }
  75% { transform: translate3d(14px, -24px, 0) rotate(-1.5deg); }
}

@keyframes chipDriftD {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.5deg); }
  25% { transform: translate3d(-18px, -24px, 0) rotate(2deg); }
  50% { transform: translate3d(31px, -4px, 0) rotate(-2.5deg); }
  75% { transform: translate3d(-10px, 24px, 0) rotate(1.5deg); }
}

.scroll-story-wrapper {
  width: 100%;
  background: #fff;
  position: relative;
  z-index: 20;
}

.story-section {
  padding: 100px 0;
  width: 100%;
}

.bg-light {
  background: #fafdfd;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 60px;
}

.story-reverse {
  flex-direction: row-reverse;
}

.story-text {
  flex: 1;
  max-width: 500px;
}

.story-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 140, 140, 0.1);
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.story-text h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.story-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.story-features {
  list-style: none;
}

.story-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}

.story-features i {
  color: var(--primary);
  background: rgba(0, 140, 140, 0.1);
  padding: 7px;
  border-radius: 50%;
  font-size: 0.9rem;
  text-align: center;
  min-width: 32px;
}

/* Le animazioni ufficiali Font Awesome rendono ogni punto più leggibile su
   telefono e desktop. Partono quando la relativa sezione è visibile e sono
   sfalsate per evitare un movimento uniforme. */
.story-features .story-icon-animated {
  display: block;
  transform-origin: center;
  animation-play-state: paused;
  --fa-animation-duration: 3.2s;
  --fa-animation-timing: ease-in-out;
}

.visible .story-features .story-icon-animated {
  animation-play-state: running;
}

.story-features li:nth-child(2) .story-icon-animated {
  --fa-animation-delay: -1.05s;
}

.story-features li:nth-child(3) .story-icon-animated {
  --fa-animation-delay: -2.1s;
}

/* Preferiti: la stella gialla riprende l'icona reale dell'app e alterna
   delicatamente stato vuoto/pieno senza spostare il testo. */
.favorite-star-demo {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.13);
  box-shadow: 0 0 0 1px rgba(255, 179, 0, 0.12);
}

.story-features .favorite-star-demo i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f5b400 !important;
  font-size: 1.05rem;
  transform-origin: center;
}

.favorite-star-demo .star-outline {
  opacity: 1;
  animation: favoriteStarOutline 3.4s ease-in-out infinite;
}

.favorite-star-demo .star-fill {
  opacity: 0;
  transform: scale(0.62) rotate(-8deg);
  filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0));
  animation: favoriteStarFill 3.4s ease-in-out infinite;
}

@keyframes favoriteStarFill {
  0%, 18% {
    opacity: 0;
    transform: scale(0.62) rotate(-8deg);
    filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0));
  }
  38%, 68% {
    opacity: 1;
    transform: scale(1.08) rotate(0deg);
    filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.5));
  }
  86%, 100% {
    opacity: 0;
    transform: scale(0.7) rotate(7deg);
    filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0));
  }
}

@keyframes favoriteStarOutline {
  0%, 24%, 82%, 100% { opacity: 1; }
  42%, 68% { opacity: 0.18; }
}

.text-red {
  color: #e53935 !important;
}

.text-primary {
  color: var(--primary) !important;
}

.section-light-divider {
  width: min(70%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 140, 140, 0.2), transparent);
  margin: 0 auto;
}

.story-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-mockup {
  --scroll-rotate-y: 0deg;
  --scroll-rotate-x: 0deg;
  --scroll-translate-y: 0px;
  --scroll-scale: 1;
  width: 290px;
  height: 580px;
  background: #ffffff;
  border-radius: 42px;
  border: 8px solid #111;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transform:
    translateY(var(--scroll-translate-y))
    rotateY(calc(-8deg + var(--scroll-rotate-y)))
    rotateX(calc(4deg + var(--scroll-rotate-x)))
    scale(var(--scroll-scale));
  transition: opacity 0.75s ease, transform 0.18s linear, box-shadow 0.35s ease;
  opacity: 0;
}

.alt-shadow {
  transform:
    translateY(var(--scroll-translate-y))
    rotateY(calc(8deg + var(--scroll-rotate-y)))
    rotateX(calc(4deg + var(--scroll-rotate-x)))
    scale(var(--scroll-scale));
}

.visible .phone-mockup {
  opacity: 1;
}

.phone-mockup:hover {
  box-shadow: 0 42px 82px rgba(0, 0, 0, 0.18);
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 34px;
  display: block;
}

.gamification-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
  color: var(--dark);
}

.gamification-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.gami-header {
  text-align: center;
  margin-bottom: 20px;
}

.gami-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.gami-header p {
  color: #555;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.badges-timeline-horizontal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.timeline-line {
  position: absolute;
  top: 161px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, rgba(229, 57, 53, 0.8), rgba(30, 136, 229, 0.8), rgba(255, 179, 0, 0.8), rgba(0, 140, 140, 0.8), rgba(229, 57, 53, 0.8));
  background-size: 300% 100%;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 140, 140, 0.4);
  animation: glowLineHorizontal 4s linear infinite;
}

@keyframes glowLineHorizontal {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.t-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.t-top {
  order: 1;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.t-top h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 900;
}

.t-top p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.t-icon {
  order: 2;
  background: #f4fbfb;
  padding: 6px;
  border-radius: 50%;
  display: flex;
}

.b-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  background: #fff;
}

.t-step:hover .b-icon {
  transform: scale(1.1);
}

.t-bottom {
  order: 3;
  margin-top: 15px;
}

.b-req {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 12px;
}

.text-blue { color: #1e88e5 !important; }
.text-gold { color: #ffb300 !important; }
.card-starter .b-icon { color: #e53935; background: #ffebee; }
.card-starter .b-req { color: #e53935; background: rgba(229, 57, 53, 0.1); }
.card-explorer .b-icon { color: #1e88e5; background: #e3f2fd; }
.card-explorer .b-req { color: #1e88e5; background: rgba(30, 136, 229, 0.1); }
.card-influencer .b-icon { color: #ffb300; background: #fff8e1; }
.card-influencer .b-req { color: #ffb300; background: rgba(255, 179, 0, 0.1); }
.glowing-icon { box-shadow: 0 0 25px rgba(255, 179, 0, 0.5) !important; }
.card-star .b-icon { color: var(--primary); background: #e0f2f2; }
.card-star .b-req { color: var(--primary); background: rgba(0, 140, 140, 0.1); }

.invite-banner {
  margin-top: 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0, 140, 140, 0.22);
}

.fab-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 140, 140, 0.4);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.75s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-sticky-bar {
  display: none;
}

footer {
  padding: 40px 0;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid rgba(0, 140, 140, 0.15);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.footer-socials a {
  transition: transform 0.2s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  transform: scale(1.1);
}

.copyright {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (min-width: 901px) {
  .footer-socials.mobile-only {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  .header-socials-group {
    display: none;
  }

  .brand-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.08rem;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-slogan {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links-container {
    position: absolute;
    top: calc(var(--nav-h) - 2px);
    left: 50%;
    right: auto;
    width: min(92vw, 360px);
    transform: translate(-50%, -8px) scale(0.96);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid rgba(0, 140, 140, 0.22);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 80, 80, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .nav-links-container.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 10px) scale(1);
  }

  .nav-links-container::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 26px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1.5px solid rgba(0, 140, 140, 0.22);
    border-top: 1.5px solid rgba(0, 140, 140, 0.22);
    transform: rotate(45deg);
  }

  .nav-btn-simple {
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    border-radius: 14px;
  }

  .lang-switch {
    justify-content: center;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid rgba(0, 140, 140, 0.12);
  }

  .lang-switch .nav-divider-big {
    display: none;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 96px;
  }

  .hero-fullscreen {
    min-height: 100svh;
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 26px);
    padding-bottom: 34px;
  }

  .hero-title-container {
    width: min(92vw, 620px);
    margin: 14px auto 18px;
    padding: 22px 16px 24px;
    border-radius: 24px;
    z-index: 12;
    background: rgba(255, 255, 255, 0.94);
  }

  .hero-mini-brand {
    display: flex;
    width: fit-content;
    margin: 0 auto 8px;
    padding: 6px 16px;
    font-size: 1rem;
  }

  .hero-kicker {
    display: block;
    width: 100%;
    max-width: 290px;
    margin: 0 auto 14px;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .hero-main-title {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    letter-spacing: -1px;
  }

  .download-cta-group {
    display: none;
  }

  .store-btn {
    flex: 1;
    max-width: 170px;
  }

  .store-btn img {
    width: 100%;
    height: auto;
    max-height: 44px;
  }

  .hero-graphics-bg {
    z-index: 2;
  }

  .hero-graphics-bg .floating-chip {
    display: none;
  }

  .mobile-world-cloud {
    position: relative;
    z-index: 13;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 138px));
    justify-content: center;
    gap: 13px 16px;
    width: min(92vw, 330px);
    padding: 0;
    pointer-events: none;
  }

  .mobile-world-cloud-top {
    margin: 10px auto 0;
  }

  .mobile-world-cloud-bottom {
    margin: 0 auto 0;
  }

  .mobile-chip {
    width: 138px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 140, 140, 0.18);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(0, 140, 140, 0.08);
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: mobileCloudA 8.5s ease-in-out infinite;
    will-change: transform;
  }

  .mobile-chip:nth-child(2n) {
    animation-name: mobileCloudB;
    animation-duration: 9.5s;
    animation-delay: -2s;
  }

  .mobile-chip:nth-child(3n) {
    animation-name: mobileCloudC;
    animation-duration: 10.5s;
    animation-delay: -4s;
  }

  .mobile-chip:nth-child(4n) {
    animation-name: mobileCloudD;
    animation-duration: 11.5s;
    animation-delay: -5s;
  }

  .mobile-chip:nth-child(5n) {
    animation-duration: 12s;
    animation-delay: -7s;
  }

  .desktop-scroll-indicator {
    display: none;
  }

  .mobile-scroll-indicator {
    grid-column: 1 / -1;
    margin: 0;
    padding: 5px 0 3px;
    color: rgba(17, 17, 17, 0.44);
    font-size: 0.95rem;
    line-height: 1;
  }

  @keyframes mobileCloudA {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
    28% { transform: translate3d(7px, -5px, 0) rotate(0.8deg); }
    58% { transform: translate3d(-5px, 4px, 0) rotate(-0.4deg); }
    82% { transform: translate3d(3px, 2px, 0) rotate(0.5deg); }
  }

  @keyframes mobileCloudB {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(1.2deg); }
    25% { transform: translate3d(-7px, 5px, 0) rotate(-0.8deg); }
    60% { transform: translate3d(6px, -4px, 0) rotate(0.5deg); }
    84% { transform: translate3d(-2px, -2px, 0) rotate(-0.4deg); }
  }

  @keyframes mobileCloudC {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    30% { transform: translate3d(5px, 6px, 0) rotate(-0.9deg); }
    64% { transform: translate3d(-6px, -5px, 0) rotate(0.8deg); }
    86% { transform: translate3d(2px, -2px, 0) rotate(-0.3deg); }
  }

  @keyframes mobileCloudD {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.5deg); }
    24% { transform: translate3d(-5px, -6px, 0) rotate(0.9deg); }
    62% { transform: translate3d(7px, 4px, 0) rotate(-0.8deg); }
    88% { transform: translate3d(-2px, 2px, 0) rotate(0.3deg); }
  }

  .story-section {
    padding: 58px 0;
  }

  .story-container,
  .story-reverse {
    flex-direction: column !important;
    text-align: center;
    gap: 35px;
    padding: 0 20px;
  }

  .reverse-mobile {
    flex-direction: column !important;
  }

  .story-text {
    max-width: 100%;
  }

  .story-features li {
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
  }

  .story-features i {
    margin-top: 1px;
  }

  .phone-mockup {
    width: min(245px, 72vw);
    height: auto;
    aspect-ratio: auto;
    padding: 6px;
    border: 0;
    border-radius: 40px;
    overflow: visible;
    background: #111111;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    opacity: var(--mobile-phone-opacity, 0.18);
    transform:
      translate3d(
        var(--mobile-phone-x, -44px),
        var(--mobile-phone-y, 76px),
        0
      )
      rotateY(var(--mobile-phone-rotate-y, -32deg))
      rotateX(var(--mobile-phone-rotate-x, 7deg))
      rotateZ(var(--mobile-phone-rotate-z, -3.5deg))
      scale(var(--mobile-phone-scale, 0.89));
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: box-shadow 0.25s ease;
    will-change: transform, opacity;
  }

  .phone-mockup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    border-radius: 34px;
  }

  .phone-mockup-list {
    width: min(238px, 69vw);
  }

  .phone-mockup-list img {
    aspect-ratio: 900 / 1900;
  }

  .visible .phone-mockup {
    opacity: var(--mobile-phone-opacity, 0.18);
    transform:
      translate3d(
        var(--mobile-phone-x, -44px),
        var(--mobile-phone-y, 76px),
        0
      )
      rotateY(var(--mobile-phone-rotate-y, -32deg))
      rotateX(var(--mobile-phone-rotate-x, 7deg))
      rotateZ(var(--mobile-phone-rotate-z, -3.5deg))
      scale(var(--mobile-phone-scale, 0.89));
    animation: none;
  }

  .phone-mockup.mobile-phone-visible {
    animation: none;
  }

  .gamification-section {
    padding: 58px 0;
  }

  .badges-timeline-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }

  .timeline-line {
    width: 4px;
    height: calc(100% - 60px);
    left: 32px;
    top: 30px;
    right: auto;
    background: linear-gradient(180deg, rgba(229, 57, 53, 0.8), rgba(30, 136, 229, 0.8), rgba(255, 179, 0, 0.8), rgba(0, 140, 140, 0.8), rgba(229, 57, 53, 0.8));
    background-size: 100% 300%;
    animation: glowLineVertical 4s linear infinite;
  }

  @keyframes glowLineVertical {
    0% { background-position: 50% 0%; }
    100% { background-position: 50% 100%; }
  }

  .t-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    text-align: left;
    margin-bottom: 35px;
  }

  .t-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 0;
    background: transparent;
    justify-content: center;
    order: auto;
  }

  .t-top {
    grid-column: 2;
    grid-row: 1;
    order: auto;
    height: auto;
    justify-content: flex-start;
    margin-bottom: 6px;
  }

  .t-bottom {
    grid-column: 2;
    grid-row: 2;
    order: auto;
    margin-top: 0;
  }

  .b-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .invite-banner {
    flex-direction: column;
    padding: 20px 15px;
    font-size: 0.95rem;
  }

  .fab-to-top {
    bottom: 98px;
    right: 15px;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 9999;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 140, 140, 0.18);
    border-radius: 22px;
    padding: 10px 11px;
    box-shadow:
      0 -10px 34px rgba(0, 0, 0, 0.09),
      0 0 0 rgba(0, 140, 140, 0);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    animation: stickyCtaBreath 6.5s ease-in-out infinite;
  }

  .mobile-sticky-bar::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
      110deg,
      transparent 0%,
      transparent 30%,
      rgba(0, 210, 210, 0.18) 47%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(0, 210, 210, 0.18) 53%,
      transparent 70%,
      transparent 100%
    );
    transform: translateX(-130%);
    animation: stickyCtaSweep 6.5s ease-in-out infinite;
  }

  .sticky-text {
    position: relative;
    z-index: 2;
    font-weight: 900;
    font-size: 0.92rem;
    color: var(--primary);
    white-space: nowrap;
    padding-left: 2px;
    letter-spacing: -0.1px;
  }

  .sticky-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
  }

  .store-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    max-width: 31vw;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.22s ease, filter 0.22s ease;
  }

  .store-link::after {
    content: "";
    position: absolute;
    top: -35%;
    bottom: -35%;
    width: 42%;
    left: -60%;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.72),
      transparent
    );
    transform: rotate(18deg);
    animation: storeBadgeShine 6.5s ease-in-out infinite;
  }

  .store-link:nth-child(2)::after {
    animation-delay: 0.18s;
  }

  .store-link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.10));
  }

  .store-link:active {
    transform: scale(0.96);
  }

  @keyframes stickyCtaBreath {
    0%, 72%, 100% {
      transform: translateY(0);
      border-color: rgba(0, 140, 140, 0.18);
      box-shadow:
        0 -10px 34px rgba(0, 0, 0, 0.09),
        0 0 0 rgba(0, 140, 140, 0);
    }

    80% {
      transform: translateY(-2px);
      border-color: rgba(0, 190, 190, 0.42);
      box-shadow:
        0 -12px 36px rgba(0, 0, 0, 0.10),
        0 0 24px rgba(0, 190, 190, 0.18);
    }

    88% {
      transform: translateY(0);
      border-color: rgba(0, 140, 140, 0.22);
      box-shadow:
        0 -10px 34px rgba(0, 0, 0, 0.09),
        0 0 10px rgba(0, 140, 140, 0.08);
    }
  }

  @keyframes stickyCtaSweep {
    0%, 70% {
      transform: translateX(-130%);
      opacity: 0;
    }

    78% {
      opacity: 1;
    }

    88%, 100% {
      transform: translateX(130%);
      opacity: 0;
    }
  }

  @keyframes storeBadgeShine {
    0%, 72% {
      left: -60%;
      opacity: 0;
    }

    78% {
      opacity: 1;
    }

    90%, 100% {
      left: 120%;
      opacity: 0;
    }
  }
}

@media (max-width: 420px) {
  .sticky-text {
    display: none;
  }

  .mobile-sticky-bar {
    justify-content: center;
  }

  .store-link {
    width: 132px;
    max-width: 42vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .phone-mockup {
    opacity: 1 !important;
    transform: none !important;
  }

  .favorite-star-demo .star-outline {
    opacity: 0 !important;
  }

  .favorite-star-demo .star-fill {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
.b-icon.badge-art {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  overflow: visible;
}

.b-icon.badge-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.t-step:hover .b-icon.badge-art {
  transform: scale(1.08) translateY(-2px);
}

@media (max-width: 900px) {
  .b-icon.badge-art {
    width: 62px;
    height: 62px;
  }
}

/* =========================================
   TIMELINE BADGE: PASSAGGIO CONTINUO (Sfera di luce pura su linea colorata)
========================================= */

/* Linea principale unica colorata con gradiente */
.timeline-line {
  display: block !important;
  position: absolute;
  top: 172px;
  left: 12.5%;
  width: 75%;
  height: 4px;
  background: linear-gradient(90deg, #e53935 0%, #1e88e5 33.33%, #ffb300 66.66%, #008c8c 100%);
  border-radius: 4px;
  z-index: 1;
}

/* La sfera di luce pura che viaggia sulla linea senza bordi netti */
.timeline-line::after {
  content: '';
  position: absolute;
  top: -6px; /* Centra verticalmente la sferetta da 16px sulla linea da 4px */
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  /* Usiamo due ombre: una stretta intensissima, una larghissima e morbida per l'effetto bagliore vero */
  box-shadow: 0 0 15px 8px rgba(255, 255, 255, 0.9), 0 0 35px 15px rgba(255, 255, 255, 0.4);
  animation: travelOrbDesk 8s linear infinite alternate;
  pointer-events: none; /* Evita che interferisca coi clic */
}

@keyframes travelOrbDesk {
  0% { left: 0%; }
  100% { left: calc(100% - 16px); }
}

/* Pulizia: nascondiamo eventuali frammenti rimasti dalle vecchie card */
.t-step:not(:last-child)::after {
  display: none;
}

/* Impostiamo i colori base dei glow per i badge */
.t-step { --badge-glow: rgba(0, 140, 140, 0.5); position: relative; }
.card-starter { --badge-glow: rgba(229, 57, 53, 0.55); }
.card-explorer { --badge-glow: rgba(30, 136, 229, 0.55); }
.card-influencer { --badge-glow: rgba(255, 179, 0, 0.62); }
.card-star { --badge-glow: rgba(0, 140, 140, 0.58); }

/* Animazioni dei Badge sincronizzate perfettamente col timer della luce (8s lineari alternate) */
.card-starter .b-icon.badge-art img { animation: pulseStarter 8s linear infinite alternate; }
@keyframes pulseStarter {
   0%, 6% { transform: scale(1.15); filter: brightness(1.15) drop-shadow(0 0 14px var(--badge-glow)); }
   14%, 100% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

.card-explorer .b-icon.badge-art img { animation: pulseExplorer 8s linear infinite alternate; }
@keyframes pulseExplorer {
   0%, 25% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
   30%, 36% { transform: scale(1.15); filter: brightness(1.15) drop-shadow(0 0 14px var(--badge-glow)); }
   41%, 100% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

.card-influencer .b-icon.badge-art img { animation: pulseInfluencer 8s linear infinite alternate; }
@keyframes pulseInfluencer {
   0%, 58% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
   63%, 69% { transform: scale(1.15); filter: brightness(1.15) drop-shadow(0 0 14px var(--badge-glow)); }
   74%, 100% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

.card-star .b-icon.badge-art img { animation: pulseStar 8s linear infinite alternate; }
@keyframes pulseStar {
   0%, 86% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
   94%, 100% { transform: scale(1.15); filter: brightness(1.15) drop-shadow(0 0 14px var(--badge-glow)); }
}

/* Adattamento Mobile: la linea e il bagliore diventano verticali */
@media (max-width: 900px) {
  .timeline-line {
    width: 4px;
    height: calc(100% - 110px); /* Ridotto per non farla uscire sotto l'ultimo badge */
    left: 33px; /* Centrato sotto la griglia icone mobile */
    top: 45px; /* Abbassato da 25px a 45px per non sporgere in alto dal primo badge */
    background: linear-gradient(180deg, #e53935 0%, #1e88e5 33.33%, #ffb300 66.66%, #008c8c 100%);
  }

  .timeline-line::after {
    /* Manteniamo la sfera perfettamente tonda anche su mobile */
    width: 16px;
    height: 16px;
    top: 0;
    left: -6px; /* Centra la sferetta da 16px sulla linea da 4px */
    animation: travelOrbMob 8s linear infinite alternate;
  }

  @keyframes travelOrbMob {
    0% { top: 0%; }
    100% { top: calc(100% - 16px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-step::after,
  .b-icon.badge-art img {
    animation: none !important;
    transform: none;
    filter: none;
  }
}

/* Pill Tap-Search flottante â€” solo desktop */
@media (min-width: 901px) {
  .hero-mini-brand {
    position: absolute;
    top: -25px;
    left: 50%;
    z-index: 20;

    margin: 0;
    padding: 11px 28px;

    font-size: 1.15rem;
    letter-spacing: 0.4px;

    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: 999px;

    box-shadow:
      0 10px 28px rgba(0, 140, 140, 0.18),
      0 0 0 7px rgba(255, 255, 255, 0.85);

    animation: floatingBrandPill 3.4s ease-in-out infinite;
  }

  @keyframes floatingBrandPill {
    0%, 100% {
      transform: translate(-50%, 0);
    }

    50% {
      transform: translate(-50%, -6px);
    }
  }
}

/* =========================================
   ALTRE FUNZIONI: COLLAGE SCHERMATE + TAP/PREMIUM
========================================= */
.more-features-section {
  position: relative;
  z-index: 20;
  overflow: hidden;
  padding: 100px 20px 112px;
  background:
    radial-gradient(circle at 20% 45%, rgba(0, 140, 140, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}

.more-features-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(54px, 7vw, 90px);
}

.phone-collage {
  width: min(100%, 430px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 7px;
  align-items: start;
  perspective: 1200px;
}

.mini-phone {
  grid-column: span 2;
  position: relative;
  aspect-ratio: 9 / 19;
  opacity: 0;
  overflow: hidden;
  border: 4px solid #111111;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 18px 34px rgba(0, 96, 96, 0.13),
    0 5px 12px rgba(0, 0, 0, 0.07);
  transform: translateY(72px) scale(0.84);
  transition:
    opacity 0.58s ease,
    transform 0.76s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
  transition-delay: 0s;
  will-change: transform;
}

.mini-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.mini-phone-profiles {
  --phone-final-transform: translateY(30px) rotate(-3deg);
  --phone-delay: 0.04s;
}

.mini-phone-content {
  --phone-final-transform: translateY(-8px) scale(1.065);
  --phone-delay: 0.15s;
}

.mini-phone-worlds {
  --phone-final-transform: translateY(34px) rotate(3deg);
  --phone-delay: 0.26s;
}

.mini-phone-public-profile {
  grid-column: 2 / span 2;
  --phone-final-transform: translateY(-8px) rotate(-2deg);
  --phone-delay: 0.37s;
}

.mini-phone-keywords {
  grid-column: 4 / span 2;
  --phone-final-transform: translateY(-4px) rotate(2deg);
  --phone-delay: 0.48s;
}

.more-features-section.visible .mini-phone {
  opacity: 1;
  transform: var(--phone-final-transform);
  transition-delay: var(--phone-delay);
}

.mini-phone.featured-phone {
  z-index: 3;
  border-color: #111111;
  box-shadow:
    0 22px 42px rgba(0, 140, 140, 0.22),
    0 0 0 7px rgba(0, 140, 140, 0.07);
}

@media (hover: hover) {
  .more-features-section.visible .mini-phone:hover {
    z-index: 5;
    transform: translateY(-10px) scale(1.055);
    transition-delay: 0s;
    box-shadow:
      0 26px 48px rgba(0, 140, 140, 0.21),
      0 8px 18px rgba(0, 0, 0, 0.08);
  }
}

.more-features-copy h2 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.25px;
}

.more-features-copy > p {
  max-width: 640px;
  margin-bottom: 32px;
  color: #555;
  font-size: 1.08rem;
  line-height: 1.6;
}

.more-features-list {
  display: grid;
  gap: 15px;
  list-style: none;
}

.more-features-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(0, 140, 140, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(0, 140, 140, 0.06);
}

.more-feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--primary);
  background: rgba(0, 140, 140, 0.1);
  font-size: 1.05rem;
}

.tap-feature-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #00b8b8);
  box-shadow: 0 8px 18px rgba(0, 140, 140, 0.2);
}

.more-features-list h3 {
  margin: 1px 0 5px;
  font-size: 1.02rem;
  font-weight: 900;
}

.more-features-list p {
  margin: 0;
  color: #555;
  font-size: 0.94rem;
  line-height: 1.48;
}

.more-features-ending {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding: 13px 17px;
  border-radius: 16px;
  color: #5e4a00;
  background: rgba(255, 193, 7, 0.13);
  border: 1px solid rgba(255, 179, 0, 0.2);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.more-features-ending i {
  flex: 0 0 auto;
  color: #f5b400;
  filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.36));
}

@media (max-width: 900px) {
  .more-features-section {
    padding: 64px 18px 72px;
  }

  .more-features-inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .phone-collage {
    width: min(94vw, 420px);
    gap: 0;
    padding: 8px 12px 18px;
  }

  .mini-phone {
    border-width: 3px;
    border-radius: 18px;
  }

  .mini-phone-profiles {
    z-index: 2;
    transform-origin: bottom right;
    --phone-final-transform: translate(7px, 30px) rotate(-6deg);
  }

  .mini-phone-content {
    z-index: 3;
    transform-origin: bottom center;
    --phone-final-transform: translateY(-5px) scale(1.065);
  }

  .mini-phone-worlds {
    z-index: 2;
    transform-origin: bottom left;
    --phone-final-transform: translate(-7px, 30px) rotate(6deg);
  }

  .mini-phone-public-profile {
    z-index: 1;
    transform-origin: top right;
    --phone-final-transform: translate(-5px, -10px) rotate(-4.5deg);
  }

  .mini-phone-keywords {
    z-index: 1;
    transform-origin: top left;
    --phone-final-transform: translate(5px, -8px) rotate(4.5deg);
  }

  .more-features-copy {
    text-align: center;
  }

  .more-features-copy h2,
  .more-features-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .more-features-list,
  .more-features-ending {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .phone-collage {
    width: calc(100vw - 14px);
    gap: 0;
    padding-inline: 10px;
  }

  .mini-phone {
    border-radius: 15px;
  }

  .more-features-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .more-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-phone,
  .more-features-section.visible .mini-phone {
    opacity: 1 !important;
    transform: var(--phone-final-transform) !important;
    transition-delay: 0s !important;
  }
}
