/* Homepage-specific styles */

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    padding: 100px 0 80px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #060114;
  font-size: 10px;
  font-weight: 700;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .accent {
  background: linear-gradient(
    100deg,
    var(--accent-cyan) 0%,
    var(--accent-violet) 60%,
    var(--galaxy-pink) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-faint);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  flex-shrink: 0;
  color: var(--accent-cyan);
}

/* Phone mockup */
.phone-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stage::before {
  /* atmospheric glow behind phone */
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(0, 212, 255, 0.18) 0%,
      rgba(123, 97, 255, 0.12) 40%,
      transparent 70%
    );
  filter: blur(40px);
  z-index: 0;
}

/* Disclaimer sotto il mockup hero: piccolo, mono uppercase, faint */
.hero-disclaimer {
  margin: 22px auto 0;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  text-align: center;
  font-weight: 400;
  opacity: 0.72;
}

/* iPhone Pro Max mockup — 3 layer realistici (frame titanium → bezel nero → display).
   Stesso markup riusato anche dal carousel via modifier .phone--mini. */
.phone {
  position: relative;
  z-index: 1;
  width: min(320px, 78%);
  aspect-ratio: 9 / 19.5;
  /* Frame titanio realistico — gradient con doppio highlight metallico */
  border-radius: clamp(50px, 17%, 64px);
  background:
    linear-gradient(135deg,
      #4a4a4d 0%,
      #2c2c2e 22%,
      #1a1a1c 50%,
      #2c2c2e 78%,
      #4a4a4d 100%);
  padding: 5px;
  box-shadow:
    /* Highlight metallo direzionato top-left + ombra interna bottom-right */
    inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.22),
    inset -1.5px -1.5px 0 rgba(0, 0, 0, 0.7),
    /* Profilo bordo */
    0 0 0 0.5px rgba(0, 0, 0, 0.4),
    /* Drop shadow ambient + glow viola residuale (firma hero) */
    0 60px 120px -30px rgba(0, 0, 0, 0.85),
    0 30px 60px -20px rgba(123, 97, 255, 0.22);
  transform: rotate(-3deg);
}

.phone-bezel {
  /* Anello nero sottile tra il frame metallico e il display (signature iPhone Pro) */
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: clamp(45px, 16%, 60px);
  padding: 2.5px;
  position: relative;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.04) inset;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: clamp(43px, 15%, 56px);
  overflow: hidden;
  background: #000;
  position: relative;
  display: block;
}

/* Antenne — 4 piccoli "tagli" sul telaio metallico (5G band gaps) */
.iphone-antenna {
  position: absolute;
  background: rgba(0, 0, 0, 0.55);
  z-index: 3;
  pointer-events: none;
  border-radius: 1px;
}
.iphone-antenna.ant-tl { top: -0.5px; left: 18%;  width: 1.5px; height: 6px; }
.iphone-antenna.ant-tr { top: -0.5px; right: 18%; width: 1.5px; height: 6px; }
.iphone-antenna.ant-bl { bottom: -0.5px; left: 18%;  width: 1.5px; height: 6px; }
.iphone-antenna.ant-br { bottom: -0.5px; right: 18%; width: 1.5px; height: 6px; }

/* Inside-phone UI: live stacking acquisition mock (legacy, non usato — la UI ora
   e' parte dello screenshot composito hero_galaxy con i comandi reali dell'app). */
.phone-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 56px 16px 16px;
  gap: 12px;
  position: relative;
}

.phone-ui-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.9), transparent 50%),
    radial-gradient(1px 1px at 60% 50%, rgba(255, 232, 176, 0.85), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255, 255, 255, 0.7), transparent 50%),
    radial-gradient(1px 1px at 80% 20%, rgba(200, 220, 255, 0.7), transparent 50%),
    radial-gradient(1px 1px at 30% 85%, rgba(255, 255, 255, 0.6), transparent 50%),
    radial-gradient(1px 1px at 75% 75%, rgba(255, 232, 176, 0.7), transparent 50%),
    radial-gradient(1.2px 1.2px at 50% 25%, rgba(255, 255, 255, 0.85), transparent 50%);
  pointer-events: none;
}

.phone-ui-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 232, 176, 0.4),
    rgba(255, 96, 160, 0.2) 50%,
    transparent 75%
  );
  filter: blur(8px);
  top: 38%;
  left: 30%;
}

.phone-ui-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.phone-ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 3px 7px;
  backdrop-filter: blur(8px);
}

.phone-ui-pill .live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.phone-ui-spacer {
  flex: 1;
}

.phone-ui-bottom {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 10px 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-ui-bottom .label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.phone-ui-bottom .label .value {
  color: var(--accent-cyan);
}

.phone-ui-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.phone-ui-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 999px;
}

.phone-ui-shutter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.phone-ui-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-ui-shutter {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

/* Floating badges around phone */
.phone-badge {
  position: absolute;
  z-index: 2;
  background: rgba(8, 4, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.phone-badge.b1 {
  top: 10%;
  left: -2%;
  transform: rotate(-4deg);
}

.phone-badge.b2 {
  bottom: 14%;
  right: -2%;
  transform: rotate(3deg);
}

.phone-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  flex-shrink: 0;
}

.phone-badge.b2 .badge-dot {
  background: var(--galaxy-pink);
  box-shadow: 0 0 8px var(--galaxy-pink);
}

.phone-badge .badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.phone-badge .badge-value {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 640px) {
  .phone-badge {
    display: none;
  }
}

/* Stat strip */
.stat-strip {
  margin-top: 60px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 40px;
  }
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* Features section */
.features-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: transform 240ms ease, border-color 240ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-strong);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.18),
    rgba(123, 97, 255, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 17px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
}

/* Section header layout */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 40px;
  }
}

.section-head .lead {
  max-width: 480px;
}

/* Screenshots */
/* ===== Carousel 3D coverflow ===== */
.carousel {
  position: relative;
  margin: 40px auto 0;
  padding: 60px 0 110px;
  perspective: 1500px;
  overflow: hidden;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 720px;
  transform-style: preserve-3d;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 9 / 19.5;
  /* Center via half negative margins (calc on width) */
  margin-left: calc(-1 * clamp(110px, 13vw, 160px));
  margin-top: calc(-1 * clamp(238px, 28.17vw, 347px));
  transform-origin: center center;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 600ms ease,
              filter 600ms ease;
  cursor: pointer;
}

.carousel-slide[data-pos="0"] {
  transform: translateX(0) translateZ(0) rotateY(0) scale(1);
  opacity: 1;
  filter: brightness(1);
  z-index: 10;
  cursor: default;
}
.carousel-slide[data-pos="-1"] {
  transform: translateX(-95%) translateZ(-150px) rotateY(35deg) scale(0.85);
  opacity: 0.9;
  filter: brightness(0.75);
  z-index: 8;
}
.carousel-slide[data-pos="1"] {
  transform: translateX(95%) translateZ(-150px) rotateY(-35deg) scale(0.85);
  opacity: 0.9;
  filter: brightness(0.75);
  z-index: 8;
}
.carousel-slide[data-pos="-2"] {
  transform: translateX(-170%) translateZ(-300px) rotateY(45deg) scale(0.65);
  opacity: 0.45;
  filter: brightness(0.55) blur(2px);
  z-index: 6;
}
.carousel-slide[data-pos="2"] {
  transform: translateX(170%) translateZ(-300px) rotateY(-45deg) scale(0.65);
  opacity: 0.45;
  filter: brightness(0.55) blur(2px);
  z-index: 6;
}
.carousel-slide[data-pos="hidden"] {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) translateZ(-600px) scale(0.3);
  z-index: 1;
}

/* Modifier .phone--mini per disabilitare il rotate(-3deg) dell'hero */
.phone--mini {
  transform: none;
  width: 100%;
  margin: 0;
}

/* Frecce navigazione */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--fg);
  font-size: 22px;
  font-weight: 300;
  font-family: inherit;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-border-strong);
  transform: translateY(-50%) scale(1.05);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Caption — testo aggiornato dinamicamente con la slide centrale */
.carousel-caption {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  z-index: 15;
  max-width: 90%;
  pointer-events: none;
}
.cap-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cap-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
}
.cap-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.cap-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Indicatori (dots) */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 250ms ease, width 250ms ease, border-radius 250ms ease;
}
.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
.carousel-dot:hover { background: rgba(255, 255, 255, 0.45); }
.carousel-dot.active:hover { background: var(--accent); }

/* Pulsanti laterali iPhone — Action + Volume sx, Power dx
   Shared: applicato sia su .phone hero sia su .phone--mini nel carousel. */
.device-btn {
  position: absolute;
  background:
    linear-gradient(180deg,
      #3a3a3c 0%,
      #2a2a2c 30%,
      #1a1a1c 70%,
      #2a2a2c 100%);
  border-radius: 1.5px;
  z-index: 6;
  pointer-events: none;
  box-shadow:
    -1px 0 1.5px rgba(0, 0, 0, 0.5),
    1px 0 1.5px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}
.phone .device-btn { width: 5px; }
.phone .btn-action { left: -3px;  top: 11%; height: 4%; }
.phone .btn-vol-up { left: -3px;  top: 17%; height: 8%; }
.phone .btn-vol-dn { left: -3px;  top: 27%; height: 8%; }
.phone .btn-power  { right: -3px; top: 22%; height: 12%; }

/* Mobile — carousel più stretto, slide laterali ridotte, no frecce */
@media (max-width: 600px) {
  .carousel { padding: 40px 0 110px; }
  .carousel-stage { height: 600px; }
  .carousel-slide {
    width: clamp(180px, 60vw, 240px);
    margin-left: calc(-1 * clamp(90px, 30vw, 120px));
    margin-top: calc(-1 * clamp(195px, 65vw, 260px));
  }
  .carousel-slide[data-pos="-2"], .carousel-slide[data-pos="2"] { opacity: 0; pointer-events: none; }
  .carousel-slide[data-pos="-1"] {
    transform: translateX(-105%) translateZ(-100px) rotateY(25deg) scale(0.7);
    opacity: 0.5;
  }
  .carousel-slide[data-pos="1"] {
    transform: translateX(105%) translateZ(-100px) rotateY(-25deg) scale(0.7);
    opacity: 0.5;
  }
  .carousel-arrow { display: none; }
  .carousel-caption { bottom: 46px; }
}

@media (max-width: 400px) {
  .carousel-stage { height: 540px; }
  .carousel-slide {
    width: clamp(160px, 64vw, 220px);
    margin-left: calc(-1 * clamp(80px, 32vw, 110px));
    margin-top: calc(-1 * clamp(173px, 69vw, 238px));
  }
}

/* Hero phone — real screenshot inside frame */
.phone-screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  z-index: 1;
}

/* Privacy section */
.privacy-block {
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

@media (min-width: 900px) {
  .privacy-block {
    grid-template-columns: 1fr 1fr;
    padding: 64px;
    gap: 48px;
    align-items: center;
  }
}

.privacy-block::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(
    ellipse at center right,
    rgba(0, 212, 255, 0.1),
    transparent 60%
  );
  pointer-events: none;
  border-radius: inherit;
}

.privacy-block > * {
  position: relative;
  z-index: 1;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--fg);
}

.privacy-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Audience */
.audience-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.audience-item {
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.audience-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  flex-shrink: 0;
  width: 28px;
  padding-top: 3px;
}

.audience-item p {
  color: var(--fg);
  font-size: 15px;
  line-height: 1.5;
}

/* Final CTA */
.final-cta {
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 96px 32px;
  }
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 50% 100%,
      rgba(123, 97, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(0, 212, 255, 0.15),
      transparent 60%
    );
  pointer-events: none;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .lead {
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ROADMAP / CAPABILITY TIERS */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

/* 4 categorie di feature disponibili al lancio */
.roadmap-grid--cats {
  margin-top: 32px;
}
@media (min-width: 600px) {
  .roadmap-grid--cats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1000px) {
  .roadmap-grid--cats { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.roadmap-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

/* Roadmap "Prossimi aggiornamenti": card piena larghezza fra le categorie e gli extra */
.roadmap-card--wide {
  margin-top: 22px;
  padding: 28px 28px;
}

.roadmap-card .tier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.roadmap-card.tier-l1 .tier-label { color: var(--accent-cyan); }
.roadmap-card.tier-l3 .tier-label { color: var(--accent-violet, #b08cff); }
.roadmap-card.tier-expl .tier-label { color: var(--galaxy-pink, #ff7ed1); }

/* Tier list 2-column dentro la roadmap wide */
.tier-list--2col {
  list-style: none;
  padding: 0; margin: 0;
}
@media (min-width: 700px) {
  .tier-list--2col {
    column-count: 2;
    column-gap: 32px;
  }
  .tier-list--2col li { break-inside: avoid; }
}

/* Nota introduttiva (es. card "In esplorazione") */
.tier-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.tier-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.roadmap-card.tier-l1 .tier-list li::before {
  background: var(--accent-cyan);
  opacity: 0.8;
}

.roadmap-card.tier-l3 .tier-list li::before {
  background: var(--accent-violet, #b08cff);
  opacity: 0.75;
}
.roadmap-card.tier-expl .tier-list li::before {
  background: var(--galaxy-pink, #ff7ed1);
  opacity: 0.75;
}
