.section-space {
  padding: 6rem 0;
}

.section-title {
  max-width: 760px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}
.nav-link::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.2rem;
  left: 0.5rem;
  height: 2px;
  content: "";
  background: var(--secondary);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.45);
  transition: 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  padding: 9rem 0 6rem;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 16%;
  left: 52%;
  width: 28rem;
  height: 28rem;
  content: "";
  background: rgba(var(--primary-rgb), 0.13);
  filter: blur(90px);
  border-radius: 50%;
}

.hero-logo {
  display: block;
  width: min(520px, 82vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 1.25rem;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.8rem;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 920px;
  padding-inline: 0.08em;
  margin: 1.3rem auto 1rem;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero h1 > span {
  display: inline-block;
  padding-inline: 0.025em;
  padding-block: 0.025em 0.06em;
}

.hero-copy {
  max-width: 680px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-showcase {
  position: relative;
  max-width: 980px;
  margin: 4rem auto 0;
}

.showcase-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(var(--primary-rgb), 0.14),
      rgba(var(--secondary-rgb), 0.08)
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 2.2rem;
  box-shadow: var(--shadow);
}

.showcase-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.phone {
  position: absolute;
  left: 50%;
  width: min(235px, 33vw);
  overflow: hidden;
  background: #111;
  border: 7px solid #17131f;
  border-radius: 2rem;
  box-shadow: var(--phone-shadow);
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-center {
  z-index: 3;
  top: 48px;
  transform: translateX(-50%);
}

.phone-left {
  top: 96px;
  transform: translateX(-150%) rotate(-5deg) scale(0.88);
  opacity: 0.78;
}

.phone-right {
  top: 96px;
  transform: translateX(50%) rotate(5deg) scale(0.88);
  opacity: 0.78;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 750;
}

.floating-note i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.note-one {
  top: 16%;
  left: 4%;
}

.note-two {
  right: 4%;
  bottom: 13%;
}

.feature-card {
  height: 100%;
  padding: 1.65rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.42);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.1);
  border-radius: 1rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.status-pill {
  padding: 0.38rem 0.7rem;
  color: var(--text-muted);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.gallery-wrap {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.screenshot-theme-selector {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.screenshot-theme-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.75rem 1.25rem;

  color: var(--text-muted);
  background: var(--surface-soft);

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 700;

  transition: all 0.25s ease;
}

.screenshot-theme-btn:hover {
  transform: translateY(-2px);
  color: var(--text-main);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.screenshot-theme-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));

  border-color: transparent;

  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.25);
}

[data-bs-theme="dark"] .screenshot-theme-btn.active {
  color: #ffffff;
}

.screenshot-theme-btn i {
  font-size: 1rem;
}

.splide__slide {
  padding: 1.1rem 0.6rem 2.1rem;
}

.splide__slide img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.23);
  transition: transform 0.25s ease;
}

.splide__slide.is-active img {
  transform: translateY(-8px);
}
.splide__arrow {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  opacity: 1;
}

.splide__arrow svg {
  fill: var(--text-main);
}

.splide__pagination__page {
  background: rgba(var(--primary-rgb), 0.35);
}

.splide__pagination__page.is-active {
  background: var(--secondary);
}

.stats-card {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.13),
    rgba(var(--secondary-rgb), 0.08)
  );
  border: 1px solid var(--border);
  border-radius: 1.25rem;
}

.stats-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.stats-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: #120458;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  color: #fff;
}
.cta-card::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  content: "";
  background: #ff2a6d;
  filter: blur(90px);
  border-radius: 50%;
  opacity: 0.4;
}

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

.store-button {
  display: inline-flex;
  min-width: 190px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #17131f;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.9rem;
  transition: transform 0.2s ease;
}
.store-button:hover {
  color: #17131f;
  transform: translateY(-3px);
}

.store-button i {
  font-size: 1.6rem;
}

.store-button small {
  display: block;
  font-size: 0.66rem;
  line-height: 1;
}

.store-button strong {
  display: block;
  font-size: 0.95rem;
}

.store-button.disabled {
  opacity: 0.62;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }
  .nav-link::after {
    display: none;
  }
  .hero {
    padding-top: 7.5rem;
  }
  .hero::before {
    top: 10%;
    left: 50%;
    width: clamp(18rem, 45vw, 22rem);
    height: clamp(18rem, 45vw, 22rem);
    transform: translateX(-50%);
  }
  .showcase-panel {
    min-height: 440px;
  }
  .phone {
    width: min(220px, 42vw);
  }
  .floating-note {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 4rem 0;
  }
  .hero {
    padding-bottom: 4rem;
  }
  .hero::before {
    top: 5rem;
    left: 50%;

    width: clamp(14rem, 65vw, 18rem);
    height: clamp(14rem, 65vw, 18rem);

    transform: translateX(-50%);
    filter: blur(60px);
  }
  .showcase-panel {
    min-height: 410px;
    border-radius: 1.5rem;
  }
  .phone {
    width: 58vw;
  }
  .phone-left,
  .phone-right {
    display: none;
  }
  .gallery-wrap {
    padding: 1rem;
    border-radius: 1.4rem;
  }
  .cta-card {
    border-radius: 1.5rem;
  }
  .store-button {
    width: 100%;
    justify-content: center;
  }

  #navMenuLinks {
    text-align: center;
  }

  #navMenuLinks .header-actions {
    justify-content: center;
  }

  #navMenuLinks #btnDropdownIdioma span {
    display: initial;
  }
}

@media (max-width: 350px) {
  #navMenuLinks #btnDropdownIdioma span {
    display: none;
  }
}
