.feature-pills--desktop {
  --fp-accent: var(--color-primary, #ffcd02);
  --fp-ink: #0b0f17;
  --fp-muted: rgba(11, 15, 23, 0.72);
  --fp-border: rgba(12, 18, 28, 0.12);
  --fp-surface: #ffffff;
  --fp-surface-soft: rgba(255, 255, 255, 0.85);
  --fp-shadow: 0 22px 52px rgba(11, 15, 23, 0.14);
  --fp-shadow-soft: 0 14px 30px rgba(11, 15, 23, 0.08);
  padding: 96px 0;
  background:
    radial-gradient(640px 360px at 18% 0%, rgba(255, 205, 2, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
  border-top: 1px solid var(--fp-border);
  border-bottom: 1px solid var(--fp-border);
}

.feature-pills--desktop .feature-pills__header {
  max-width: 760px;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.feature-pills--desktop .feature-pills__title {
  font-size: clamp(2.2rem, 1.8rem + 1.6vw, 2.9rem);
  color: var(--fp-ink);
  margin: 10px 0 12px;
  line-height: 1.05;
}

.feature-pills--desktop .feature-pills__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fp-muted);
  margin: 0;
}

.feature-pills--desktop .feature-pills__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 32px;
  justify-content: center;
  align-items: center;
}


.feature-pills__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--fp-border);
  background: var(--fp-surface);
  font-weight: 600;
  color: var(--fp-ink);
  box-shadow: 0 10px 24px rgba(11, 15, 23, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
  white-space: nowrap;
  cursor: pointer;
}

.feature-pills--pill-sm .feature-pills__pill {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.feature-pills--pill-lg .feature-pills__pill {
  padding: 14px 20px;
  font-size: 1rem;
}

.feature-pills__pill:focus-visible {
  outline: 2px solid rgba(255, 205, 2, 0.6);
  outline-offset: 2px;
}

.feature-pills__pill:hover {
  border-color: rgba(12, 18, 28, 0.24);
  box-shadow: 0 18px 34px rgba(11, 15, 23, 0.12);
  transform: translateY(-1px);
}

.feature-pills__pill.is-active {
  background: var(--fp-accent);
  border-color: rgba(11, 15, 23, 0.12);
  color: #0b0f17;
  box-shadow: 0 20px 40px rgba(255, 205, 2, 0.26);
}

.feature-pills__pill-label {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.feature-pills__pill-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.feature-pills__pill-chevron {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.feature-pills__pill-chevron svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.feature-pills__pill.is-active .feature-pills__pill-chevron {
  transform: rotate(180deg);
}

.feature-pills--no-icons .feature-pills__pill-icon {
  display: none;
}

.feature-pills__panels {
  position: relative;
}

.feature-pills__panel {
  border-radius: 22px;
  border: 1px solid rgba(12, 18, 28, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 253, 0.95));
  box-shadow:
    0 24px 56px rgba(11, 15, 23, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}

.feature-pills__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.feature-pills__panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(255, 205, 2, 0), rgba(255, 205, 2, 0.95) 50%, rgba(255, 205, 2, 0));
}

.feature-pills--enhanced .feature-pills__panels {
  min-height: 320px;
}

.feature-pills--enhanced .feature-pills__panel {
  position: absolute;
  inset: 0;
  margin: 0;
  max-height: none;
  opacity: 0;
  transform: translateY(10px);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.feature-pills--enhanced .feature-pills__panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feature-pills__panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.feature-pills__panel-content {
  text-align: center;
}

.feature-pills--panel-single .feature-pills__panel-grid {
  grid-template-columns: 1fr;
}

.feature-pills__panel-title {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 1.5rem + 1.2vw, 2.45rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--fp-ink);
}

.feature-pills__panel-text {
  margin: 0 0 22px;
  color: var(--fp-muted);
  line-height: 1.8;
  font-size: 1.12rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.feature-pills__panel-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 14px;
  justify-items: center;
  position: relative;
}

.feature-pills__panel-bullets::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(12, 18, 28, 0.12);
  transform: translateX(-50%);
}

.feature-pills__panel-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--fp-ink);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  width: min(100%, 360px);
}

.feature-pills__panel-bullets li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fp-accent);
  margin-top: 7px;
  flex-shrink: 0;
}


@media (max-width: 1100px) {
  .feature-pills--desktop {
    padding: 80px 0;
  }

  .feature-pills__panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-pills__panel-bullets {
    grid-template-columns: 1fr;
  }

  .feature-pills__panel-bullets::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .feature-pills__pill-label {
    max-width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-pills__pill,
  .feature-pills__pill-chevron,
  .feature-pills--enhanced .feature-pills__panel {
    transition: none;
  }
}
